diff --git a/packages/nextcloud/lib/ids.dart b/packages/nextcloud/lib/ids.dart index aa8ec337323..05c0729fa66 100644 --- a/packages/nextcloud/lib/ids.dart +++ b/packages/nextcloud/lib/ids.dart @@ -48,6 +48,9 @@ final class AppIDs { /// ID for the sharebymail app. static const sharebymail = 'sharebymail'; + /// ID for the spreed app. + static const spreed = 'spreed'; + /// ID for the theming app. static const theming = 'theming'; diff --git a/packages/nextcloud/lib/spreed.dart b/packages/nextcloud/lib/spreed.dart new file mode 100644 index 00000000000..7a7a9edc8a3 --- /dev/null +++ b/packages/nextcloud/lib/spreed.dart @@ -0,0 +1,13 @@ +// coverage:ignore-file +import 'package:nextcloud/src/api/spreed.openapi.dart'; +import 'package:nextcloud/src/client.dart'; + +export 'src/api/spreed.openapi.dart'; + +// ignore: public_member_api_docs +extension SpreedExtension on NextcloudClient { + static final _spreed = Expando(); + + /// Client for the spreed APIs + Client get spreed => _spreed[this] ??= Client.fromClient(this); +} diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 7e779595fd3..61632a969d2 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -7339,6 +7339,304 @@ abstract class SharebymailCapabilities static Serializer get serializer => _$sharebymailCapabilitiesSerializer; } +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_Spreed_Config_AttachmentsInterface { + bool get allowed; + String? get folder; +} + +abstract class SpreedPublicCapabilities_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; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Attachments._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Attachments.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 => + _$spreedPublicCapabilitiesSpreedConfigAttachmentsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_Spreed_Config_CallInterface { + bool get enabled; + @BuiltValueField(wireName: 'breakout-rooms') + bool get breakoutRooms; + bool get recording; + @BuiltValueField(wireName: 'recording-consent') + int get recordingConsent; + @BuiltValueField(wireName: 'supported-reactions') + BuiltList get supportedReactions; + @BuiltValueField(wireName: 'predefined-backgrounds') + BuiltList get predefinedBackgrounds; + @BuiltValueField(wireName: 'can-upload-background') + bool get canUploadBackground; +} + +abstract class SpreedPublicCapabilities_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; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Call._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Call.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 => + _$spreedPublicCapabilitiesSpreedConfigCallSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_Spreed_Config_ChatInterface { + @BuiltValueField(wireName: 'max-length') + int get maxLength; + @BuiltValueField(wireName: 'read-privacy') + int get readPrivacy; + @BuiltValueField(wireName: 'has-translation-providers') + bool get hasTranslationProviders; + @BuiltValueField(wireName: 'typing-privacy') + int get typingPrivacy; +} + +abstract class SpreedPublicCapabilities_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; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Chat._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Chat.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 => + _$spreedPublicCapabilitiesSpreedConfigChatSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_Spreed_Config_ConversationsInterface { + @BuiltValueField(wireName: 'can-create') + bool get canCreate; +} + +abstract class SpreedPublicCapabilities_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; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Conversations._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Conversations.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 => + _$spreedPublicCapabilitiesSpreedConfigConversationsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_Spreed_Config_PreviewsInterface { + @BuiltValueField(wireName: 'max-gif-size') + int get maxGifSize; +} + +abstract class SpreedPublicCapabilities_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; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Previews._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Previews.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 => + _$spreedPublicCapabilitiesSpreedConfigPreviewsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_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 + implements + SpreedPublicCapabilities_Spreed_Config_SignalingInterface, + Built { + factory SpreedPublicCapabilities_Spreed_Config_Signaling([ + final void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? b, + ]) = _$SpreedPublicCapabilities_Spreed_Config_Signaling; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config_Signaling._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config_Signaling.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 => + _$spreedPublicCapabilitiesSpreedConfigSignalingSerializer; +} + +@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 class SpreedPublicCapabilities_Spreed_Config + implements + SpreedPublicCapabilities_Spreed_ConfigInterface, + Built { + factory SpreedPublicCapabilities_Spreed_Config([ + final void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? b, + ]) = _$SpreedPublicCapabilities_Spreed_Config; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed_Config._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed_Config.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 => + _$spreedPublicCapabilitiesSpreedConfigSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilities_SpreedInterface { + BuiltList get features; + SpreedPublicCapabilities_Spreed_Config get config; + String get version; +} + +abstract class SpreedPublicCapabilities_Spreed + implements + SpreedPublicCapabilities_SpreedInterface, + Built { + factory SpreedPublicCapabilities_Spreed([final void Function(SpreedPublicCapabilities_SpreedBuilder)? b]) = + _$SpreedPublicCapabilities_Spreed; + + // coverage:ignore-start + const SpreedPublicCapabilities_Spreed._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities_Spreed.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 => _$spreedPublicCapabilitiesSpreedSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SpreedPublicCapabilitiesInterface { + SpreedPublicCapabilities_Spreed get spreed; +} + +abstract class SpreedPublicCapabilities + implements SpreedPublicCapabilitiesInterface, Built { + factory SpreedPublicCapabilities([final void Function(SpreedPublicCapabilitiesBuilder)? b]) = + _$SpreedPublicCapabilities; + + // coverage:ignore-start + const SpreedPublicCapabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SpreedPublicCapabilities.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 => _$spreedPublicCapabilitiesSerializer; +} + @BuiltValue(instantiable: false) abstract interface class ThemingPublicCapabilities_ThemingInterface { String get name; @@ -7539,6 +7837,7 @@ abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capa NotificationsCapabilities? get notificationsCapabilities; ProvisioningApiCapabilities? get provisioningApiCapabilities; SharebymailCapabilities? get sharebymailCapabilities; + SpreedPublicCapabilities? get spreedPublicCapabilities; ThemingPublicCapabilities? get themingPublicCapabilities; UserStatusCapabilities? get userStatusCapabilities; WeatherStatusCapabilities? get weatherStatusCapabilities; @@ -7661,6 +7960,13 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerialize )! as SharebymailCapabilities) .toBuilder(); } catch (_) {} + try { + result._spreedPublicCapabilities = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(SpreedPublicCapabilities), + )! as SpreedPublicCapabilities) + .toBuilder(); + } catch (_) {} try { result._themingPublicCapabilities = (_jsonSerializers.deserialize( data, @@ -7694,6 +8000,7 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerialize result._notificationsCapabilities, result._provisioningApiCapabilities, result._sharebymailCapabilities, + result._spreedPublicCapabilities, result._themingPublicCapabilities, result._userStatusCapabilities, result._weatherStatusCapabilities, @@ -10047,6 +10354,45 @@ final Serializers _serializers = (Serializers().toBuilder() SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.new, ) ..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(SpreedPublicCapabilities_Spreed_Config), + SpreedPublicCapabilities_Spreed_Config.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments), + SpreedPublicCapabilities_Spreed_Config_Attachments.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config_Attachments.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Call), + SpreedPublicCapabilities_Spreed_Config_Call.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config_Call.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Chat), + SpreedPublicCapabilities_Spreed_Config_Chat.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config_Chat.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations), + SpreedPublicCapabilities_Spreed_Config_Conversations.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config_Conversations.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Previews), + SpreedPublicCapabilities_Spreed_Config_Previews.new, + ) + ..add(SpreedPublicCapabilities_Spreed_Config_Previews.serializer) + ..addBuilderFactory( + const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling), + SpreedPublicCapabilities_Spreed_Config_Signaling.new, + ) + ..add(SpreedPublicCapabilities_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 ddf970e3451..28a57bf0a7d 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -194,6 +194,25 @@ 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 _$themingPublicCapabilitiesThemingSerializer = _$ThemingPublicCapabilities_ThemingSerializer(); Serializer _$themingPublicCapabilitiesSerializer = _$ThemingPublicCapabilitiesSerializer(); @@ -4706,53 +4725,37 @@ class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_AttachmentsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ThemingPublicCapabilities_Theming, _$ThemingPublicCapabilities_Theming]; + final Iterable types = const [ + SpreedPublicCapabilities_Spreed_Config_Attachments, + _$SpreedPublicCapabilities_Spreed_Config_Attachments + ]; @override - final String wireName = 'ThemingPublicCapabilities_Theming'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Attachments'; @override - Iterable serialize(Serializers serializers, ThemingPublicCapabilities_Theming object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Attachments object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'url', - serializers.serialize(object.url, specifiedType: const FullType(String)), - 'slogan', - serializers.serialize(object.slogan, specifiedType: const FullType(String)), - 'color', - serializers.serialize(object.color, specifiedType: const FullType(String)), - 'color-text', - serializers.serialize(object.colorText, specifiedType: const FullType(String)), - 'color-element', - serializers.serialize(object.colorElement, specifiedType: const FullType(String)), - 'color-element-bright', - serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), - 'color-element-dark', - serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), - 'logo', - serializers.serialize(object.logo, specifiedType: const FullType(String)), - 'background', - serializers.serialize(object.background, specifiedType: const FullType(String)), - 'background-plain', - serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), - 'background-default', - serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), - 'logoheader', - serializers.serialize(object.logoheader, specifiedType: const FullType(String)), - 'favicon', - serializers.serialize(object.favicon, specifiedType: const FullType(String)), + 'allowed', + serializers.serialize(object.allowed, specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.folder; + if (value != null) { + result + ..add('folder') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - ThemingPublicCapabilities_Theming deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ThemingPublicCapabilities_ThemingBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4760,47 +4763,11 @@ class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'slogan': - result.slogan = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color': - result.color = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-text': - result.colorText = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element': - result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element-bright': - result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element-dark': - result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'logo': - result.logo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'background': - result.background = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'background-plain': - result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'background-default': - result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'logoheader': - result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'allowed': + result.allowed = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'favicon': - result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'folder': + result.folder = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -4809,27 +4776,43 @@ class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSeriali } } -class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_CallSerializer + implements StructuredSerializer { @override - final Iterable types = const [ThemingPublicCapabilities, _$ThemingPublicCapabilities]; + final Iterable types = const [ + SpreedPublicCapabilities_Spreed_Config_Call, + _$SpreedPublicCapabilities_Spreed_Config_Call + ]; @override - final String wireName = 'ThemingPublicCapabilities'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Call'; @override - Iterable serialize(Serializers serializers, ThemingPublicCapabilities object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Call object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'theming', - serializers.serialize(object.theming, specifiedType: const FullType(ThemingPublicCapabilities_Theming)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'breakout-rooms', + serializers.serialize(object.breakoutRooms, specifiedType: const FullType(bool)), + 'recording', + serializers.serialize(object.recording, specifiedType: const FullType(bool)), + 'recording-consent', + serializers.serialize(object.recordingConsent, specifiedType: const FullType(int)), + 'supported-reactions', + serializers.serialize(object.supportedReactions, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'predefined-backgrounds', + serializers.serialize(object.predefinedBackgrounds, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'can-upload-background', + serializers.serialize(object.canUploadBackground, specifiedType: const FullType(bool)), ]; return result; } @override - ThemingPublicCapabilities deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ThemingPublicCapabilitiesBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_CallBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4837,9 +4820,28 @@ class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer); + break; + case 'predefined-backgrounds': + result.predefinedBackgrounds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'can-upload-background': + result.canUploadBackground = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -4848,31 +4850,37 @@ class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_ChatSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusCapabilities_UserStatus, _$UserStatusCapabilities_UserStatus]; + final Iterable types = const [ + SpreedPublicCapabilities_Spreed_Config_Chat, + _$SpreedPublicCapabilities_Spreed_Config_Chat + ]; @override - final String wireName = 'UserStatusCapabilities_UserStatus'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Chat'; @override - Iterable serialize(Serializers serializers, UserStatusCapabilities_UserStatus object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Chat object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'restore', - serializers.serialize(object.restore, specifiedType: const FullType(bool)), - 'supports_emoji', - serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), + 'max-length', + serializers.serialize(object.maxLength, specifiedType: const FullType(int)), + 'read-privacy', + serializers.serialize(object.readPrivacy, specifiedType: const FullType(int)), + 'has-translation-providers', + serializers.serialize(object.hasTranslationProviders, specifiedType: const FullType(bool)), + 'typing-privacy', + serializers.serialize(object.typingPrivacy, specifiedType: const FullType(int)), ]; return result; } @override - UserStatusCapabilities_UserStatus deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusCapabilities_UserStatusBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_ChatBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4880,14 +4888,17 @@ class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'max-length': + result.maxLength = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'restore': - result.restore = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'read-privacy': + result.readPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'supports_emoji': - result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'has-translation-providers': + result.hasTranslationProviders = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'typing-privacy': + result.typingPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -4896,27 +4907,32 @@ class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSeriali } } -class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_ConversationsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusCapabilities, _$UserStatusCapabilities]; + final Iterable types = const [ + SpreedPublicCapabilities_Spreed_Config_Conversations, + _$SpreedPublicCapabilities_Spreed_Config_Conversations + ]; @override - final String wireName = 'UserStatusCapabilities'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Conversations'; @override - Iterable serialize(Serializers serializers, UserStatusCapabilities object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Conversations object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'user_status', - serializers.serialize(object.userStatus, specifiedType: const FullType(UserStatusCapabilities_UserStatus)), + 'can-create', + serializers.serialize(object.canCreate, specifiedType: const FullType(bool)), ]; return result; } @override - UserStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Conversations deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusCapabilitiesBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4924,9 +4940,8 @@ class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_PreviewsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WeatherStatusCapabilities_WeatherStatus, - _$WeatherStatusCapabilities_WeatherStatus + SpreedPublicCapabilities_Spreed_Config_Previews, + _$SpreedPublicCapabilities_Spreed_Config_Previews ]; @override - final String wireName = 'WeatherStatusCapabilities_WeatherStatus'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Previews'; @override - Iterable serialize(Serializers serializers, WeatherStatusCapabilities_WeatherStatus object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Previews object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'max-gif-size', + serializers.serialize(object.maxGifSize, specifiedType: const FullType(int)), ]; return result; } @override - WeatherStatusCapabilities_WeatherStatus deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WeatherStatusCapabilities_WeatherStatusBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4967,8 +4982,8 @@ class _$WeatherStatusCapabilities_WeatherStatusSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'max-gif-size': + result.maxGifSize = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -4977,28 +4992,37 @@ class _$WeatherStatusCapabilities_WeatherStatusSerializer } } -class _$WeatherStatusCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_Config_SignalingSerializer + implements StructuredSerializer { @override - final Iterable types = const [WeatherStatusCapabilities, _$WeatherStatusCapabilities]; + final Iterable types = const [ + SpreedPublicCapabilities_Spreed_Config_Signaling, + _$SpreedPublicCapabilities_Spreed_Config_Signaling + ]; @override - final String wireName = 'WeatherStatusCapabilities'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config_Signaling'; @override - Iterable serialize(Serializers serializers, WeatherStatusCapabilities object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config_Signaling object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'weather_status', - serializers.serialize(object.weatherStatus, - specifiedType: const FullType(WeatherStatusCapabilities_WeatherStatus)), + 'session-ping-limit', + serializers.serialize(object.sessionPingLimit, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.helloV2TokenKey; + if (value != null) { + result + ..add('hello-v2-token-key') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - WeatherStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WeatherStatusCapabilitiesBuilder(); + final result = SpreedPublicCapabilities_Spreed_Config_SignalingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5006,10 +5030,11 @@ class _$WeatherStatusCapabilitiesSerializer implements StructuredSerializer { +class _$SpreedPublicCapabilities_Spreed_ConfigSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data - ]; + final Iterable types = const [SpreedPublicCapabilities_Spreed_Config, _$SpreedPublicCapabilities_Spreed_Config]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data'; + final String wireName = 'SpreedPublicCapabilities_Spreed_Config'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed_Config object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'version', - serializers.serialize(object.version, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version)), - 'capabilities', - serializers.serialize(object.capabilities, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities)), + 'attachments', + serializers.serialize(object.attachments, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments)), + 'call', + serializers.serialize(object.call, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Call)), + 'chat', + serializers.serialize(object.chat, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Chat)), + 'conversations', + serializers.serialize(object.conversations, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations)), + 'previews', + serializers.serialize(object.previews, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Previews)), + 'signaling', + serializers.serialize(object.signaling, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling)), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed_Config deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + final result = SpreedPublicCapabilities_Spreed_ConfigBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5054,15 +5086,35 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version); + case 'attachments': + result.attachments.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Attachments))! + as SpreedPublicCapabilities_Spreed_Config_Attachments); break; - case 'capabilities': - result.capabilities.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities); + case 'call': + result.call.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Call))! + as SpreedPublicCapabilities_Spreed_Config_Call); + break; + case 'chat': + result.chat.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Chat))! + as SpreedPublicCapabilities_Spreed_Config_Chat); + break; + case 'conversations': + result.conversations.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Conversations))! + as SpreedPublicCapabilities_Spreed_Config_Conversations); + break; + case 'previews': + result.previews.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Previews))! + as SpreedPublicCapabilities_Spreed_Config_Previews); + break; + case 'signaling': + result.signaling.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config_Signaling))! + as SpreedPublicCapabilities_Spreed_Config_Signaling); break; } } @@ -5071,34 +5123,31 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer } } -class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilities_SpreedSerializer implements StructuredSerializer { @override - final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs - ]; + final Iterable types = const [SpreedPublicCapabilities_Spreed, _$SpreedPublicCapabilities_Spreed]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs'; + final String wireName = 'SpreedPublicCapabilities_Spreed'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities_Spreed object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'config', + serializers.serialize(object.config, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities_Spreed deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + final result = SpreedPublicCapabilities_SpreedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5106,13 +5155,17 @@ class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'features': + result.features.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data); + case 'config': + result.config.replace( + serializers.deserialize(value, specifiedType: const FullType(SpreedPublicCapabilities_Spreed_Config))! + as SpreedPublicCapabilities_Spreed_Config); + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -5121,31 +5174,27 @@ class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer } } -class _$OcsGetCapabilitiesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SpreedPublicCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson, - _$OcsGetCapabilitiesResponseApplicationJson - ]; + final Iterable types = const [SpreedPublicCapabilities, _$SpreedPublicCapabilities]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson'; + final String wireName = 'SpreedPublicCapabilities'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson object, + Iterable serialize(Serializers serializers, SpreedPublicCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs)), + 'spreed', + serializers.serialize(object.spreed, specifiedType: const FullType(SpreedPublicCapabilities_Spreed)), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SpreedPublicCapabilities deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJsonBuilder(); + final result = SpreedPublicCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5153,10 +5202,9 @@ class _$OcsGetCapabilitiesResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs); + case 'spreed': + result.spreed.replace(serializers.deserialize(value, + specifiedType: const FullType(SpreedPublicCapabilities_Spreed))! as SpreedPublicCapabilities_Spreed); break; } } @@ -5165,33 +5213,53 @@ class _$OcsGetCapabilitiesResponseApplicationJsonSerializer } } -class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSerializer { @override - final Iterable types = const [ - ProfileApiSetVisibilityResponseApplicationJson_Ocs, - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs - ]; + final Iterable types = const [ThemingPublicCapabilities_Theming, _$ThemingPublicCapabilities_Theming]; @override - final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson_Ocs'; + final String wireName = 'ThemingPublicCapabilities_Theming'; @override - Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ThemingPublicCapabilities_Theming object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'slogan', + serializers.serialize(object.slogan, specifiedType: const FullType(String)), + 'color', + serializers.serialize(object.color, specifiedType: const FullType(String)), + 'color-text', + serializers.serialize(object.colorText, specifiedType: const FullType(String)), + 'color-element', + serializers.serialize(object.colorElement, specifiedType: const FullType(String)), + 'color-element-bright', + serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), + 'color-element-dark', + serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), + 'logo', + serializers.serialize(object.logo, specifiedType: const FullType(String)), + 'background', + serializers.serialize(object.background, specifiedType: const FullType(String)), + 'background-plain', + serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), + 'background-default', + serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), + 'logoheader', + serializers.serialize(object.logoheader, specifiedType: const FullType(String)), + 'favicon', + serializers.serialize(object.favicon, specifiedType: const FullType(String)), ]; return result; } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ThemingPublicCapabilities_Theming deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + final result = ThemingPublicCapabilities_ThemingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5199,11 +5267,47 @@ class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'url': + result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'slogan': + result.slogan = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color': + result.color = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-text': + result.colorText = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element': + result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element-bright': + result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element-dark': + result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'logo': + result.logo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'background': + result.background = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'background-plain': + result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'background-default': + result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'logoheader': + result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'favicon': + result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -5212,32 +5316,27 @@ class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer } } -class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - ProfileApiSetVisibilityResponseApplicationJson, - _$ProfileApiSetVisibilityResponseApplicationJson - ]; + final Iterable types = const [ThemingPublicCapabilities, _$ThemingPublicCapabilities]; @override - final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson'; + final String wireName = 'ThemingPublicCapabilities'; @override - Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson object, + Iterable serialize(Serializers serializers, ThemingPublicCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs)), + 'theming', + serializers.serialize(object.theming, specifiedType: const FullType(ThemingPublicCapabilities_Theming)), ]; return result; } @override - ProfileApiSetVisibilityResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ThemingPublicCapabilities deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProfileApiSetVisibilityResponseApplicationJsonBuilder(); + final result = ThemingPublicCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5245,10 +5344,9 @@ class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs))! - as ProfileApiSetVisibilityResponseApplicationJson_Ocs); + case 'theming': + result.theming.replace(serializers.deserialize(value, + specifiedType: const FullType(ThemingPublicCapabilities_Theming))! as ThemingPublicCapabilities_Theming); break; } } @@ -5257,34 +5355,31 @@ class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer } } -class _$ReferenceSerializer implements StructuredSerializer { +class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSerializer { @override - final Iterable types = const [Reference, _$Reference]; + final Iterable types = const [UserStatusCapabilities_UserStatus, _$UserStatusCapabilities_UserStatus]; @override - final String wireName = 'Reference'; + final String wireName = 'UserStatusCapabilities_UserStatus'; @override - Iterable serialize(Serializers serializers, Reference object, + Iterable serialize(Serializers serializers, UserStatusCapabilities_UserStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'richObjectType', - serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), - 'richObject', - serializers.serialize(object.richObject, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), - 'openGraphObject', - serializers.serialize(object.openGraphObject, specifiedType: const FullType(OpenGraphObject)), - 'accessible', - serializers.serialize(object.accessible, specifiedType: const FullType(bool)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'restore', + serializers.serialize(object.restore, specifiedType: const FullType(bool)), + 'supports_emoji', + serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), ]; return result; } @override - Reference deserialize(Serializers serializers, Iterable serialized, + UserStatusCapabilities_UserStatus deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceBuilder(); + final result = UserStatusCapabilities_UserStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5292,19 +5387,14 @@ class _$ReferenceSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'richObjectType': - result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'richObject': - result.richObject.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'openGraphObject': - result.openGraphObject.replace( - serializers.deserialize(value, specifiedType: const FullType(OpenGraphObject))! as OpenGraphObject); + case 'restore': + result.restore = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'accessible': - result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'supports_emoji': + result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -5313,33 +5403,27 @@ class _$ReferenceSerializer implements StructuredSerializer { } } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data, - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data - ]; + final Iterable types = const [UserStatusCapabilities, _$UserStatusCapabilities]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data'; + final String wireName = 'UserStatusCapabilities'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, UserStatusCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), + 'user_status', + serializers.serialize(object.userStatus, specifiedType: const FullType(UserStatusCapabilities_UserStatus)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + UserStatusCapabilities deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + final result = UserStatusCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5347,9 +5431,9 @@ class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'references': - result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + case 'user_status': + result.userStatus.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusCapabilities_UserStatus))! as UserStatusCapabilities_UserStatus); break; } } @@ -5358,34 +5442,31 @@ class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$WeatherStatusCapabilities_WeatherStatusSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson_Ocs, - _$ReferenceApiResolveOneResponseApplicationJson_Ocs + WeatherStatusCapabilities_WeatherStatus, + _$WeatherStatusCapabilities_WeatherStatus ]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs'; + final String wireName = 'WeatherStatusCapabilities_WeatherStatus'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, WeatherStatusCapabilities_WeatherStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + WeatherStatusCapabilities_WeatherStatus deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + final result = WeatherStatusCapabilities_WeatherStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5393,13 +5474,8 @@ class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data))! - as ReferenceApiResolveOneResponseApplicationJson_Ocs_Data); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -5408,32 +5484,28 @@ class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiResolveOneResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$WeatherStatusCapabilitiesSerializer implements StructuredSerializer { @override - final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson, - _$ReferenceApiResolveOneResponseApplicationJson - ]; + final Iterable types = const [WeatherStatusCapabilities, _$WeatherStatusCapabilities]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson'; + final String wireName = 'WeatherStatusCapabilities'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson object, + Iterable serialize(Serializers serializers, WeatherStatusCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs)), + 'weather_status', + serializers.serialize(object.weatherStatus, + specifiedType: const FullType(WeatherStatusCapabilities_WeatherStatus)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + WeatherStatusCapabilities deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJsonBuilder(); + final result = WeatherStatusCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5441,10 +5513,10 @@ class _$ReferenceApiResolveOneResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs))! - as ReferenceApiResolveOneResponseApplicationJson_Ocs); + case 'weather_status': + result.weatherStatus.replace( + serializers.deserialize(value, specifiedType: const FullType(WeatherStatusCapabilities_WeatherStatus))! + as WeatherStatusCapabilities_WeatherStatus); break; } } @@ -5453,32 +5525,35 @@ class _$ReferenceApiResolveOneResponseApplicationJsonSerializer } } -class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson_Ocs_Data, - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs_Data'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), + 'version', + serializers.serialize(object.version, + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version)), + 'capabilities', + serializers.serialize(object.capabilities, + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities)), ]; return result; } @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); + final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5486,9 +5561,15 @@ class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'references': - result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + case 'version': + result.version.replace(serializers.deserialize(value, + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version); + break; + case 'capabilities': + result.capabilities.replace(serializers.deserialize(value, + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities); break; } } @@ -5497,34 +5578,34 @@ class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson_Ocs, - _$ReferenceApiResolveResponseApplicationJson_Ocs + OcsGetCapabilitiesResponseApplicationJson_Ocs, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiResolveResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + final result = OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5537,8 +5618,8 @@ class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data))! - as ReferenceApiResolveResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data); break; } } @@ -5547,31 +5628,31 @@ class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiResolveResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson, - _$ReferenceApiResolveResponseApplicationJson + OcsGetCapabilitiesResponseApplicationJson, + _$OcsGetCapabilitiesResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson object, + Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiResolveResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJsonBuilder(); + final result = OcsGetCapabilitiesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5581,8 +5662,8 @@ class _$ReferenceApiResolveResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs))! - as ReferenceApiResolveResponseApplicationJson_Ocs); + specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs); break; } } @@ -5591,32 +5672,33 @@ class _$ReferenceApiResolveResponseApplicationJsonSerializer } } -class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson_Ocs_Data, - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data + ProfileApiSetVisibilityResponseApplicationJson_Ocs, + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs_Data'; + final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + ProfileApiSetVisibilityResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + final result = ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5624,9 +5706,11 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'references': - result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -5635,34 +5719,32 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson_Ocs, - _$ReferenceApiExtractResponseApplicationJson_Ocs + ProfileApiSetVisibilityResponseApplicationJson, + _$ProfileApiSetVisibilityResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs'; + final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ProfileApiSetVisibilityResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + final result = ProfileApiSetVisibilityResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5670,13 +5752,10 @@ class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data))! - as ReferenceApiExtractResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs))! + as ProfileApiSetVisibilityResponseApplicationJson_Ocs); break; } } @@ -5685,31 +5764,34 @@ class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiExtractResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceSerializer implements StructuredSerializer { @override - final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson, - _$ReferenceApiExtractResponseApplicationJson - ]; + final Iterable types = const [Reference, _$Reference]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson'; + final String wireName = 'Reference'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson object, + Iterable serialize(Serializers serializers, Reference object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs)), + 'richObjectType', + serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, specifiedType: const FullType(OpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, specifiedType: const FullType(bool)), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + Reference deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJsonBuilder(); + final result = ReferenceBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5717,10 +5799,19 @@ class _$ReferenceApiExtractResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs))! - as ReferenceApiExtractResponseApplicationJson_Ocs); + case 'richObjectType': + result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'richObject': + result.richObject.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + break; + case 'openGraphObject': + result.openGraphObject.replace( + serializers.deserialize(value, specifiedType: const FullType(OpenGraphObject))! as OpenGraphObject); + break; + case 'accessible': + result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -5729,39 +5820,33 @@ class _$ReferenceApiExtractResponseApplicationJsonSerializer } } -class _$ReferenceProviderSerializer implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ReferenceProvider, _$ReferenceProvider]; + final Iterable types = const [ + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data, + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ReferenceProvider'; + final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceProvider object, + Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'icon_url', - serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(int)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), ]; - Object? value; - value = object.searchProvidersIds; - if (value != null) { - result - ..add('search_providers_ids') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } + return result; } @override - ReferenceProvider deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceProviderBuilder(); + final result = ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5769,21 +5854,9 @@ class _$ReferenceProviderSerializer implements StructuredSerializer); + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); break; } } @@ -5792,34 +5865,34 @@ class _$ReferenceProviderSerializer implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs, - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs + ReferenceApiResolveOneResponseApplicationJson_Ocs, + _$ReferenceApiResolveOneResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + final result = ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5832,8 +5905,9 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)]))! as BuiltList); - break; + specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data))! + as ReferenceApiResolveOneResponseApplicationJson_Ocs_Data); + break; } } @@ -5841,32 +5915,32 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiGetProvidersInfoResponseApplicationJson, - _$ReferenceApiGetProvidersInfoResponseApplicationJson + ReferenceApiResolveOneResponseApplicationJson, + _$ReferenceApiResolveOneResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson'; + final String wireName = 'ReferenceApiResolveOneResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs)), + specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiGetProvidersInfoResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); + final result = ReferenceApiResolveOneResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5876,8 +5950,8 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs))! - as ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs); + specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs))! + as ReferenceApiResolveOneResponseApplicationJson_Ocs); break; } } @@ -5886,32 +5960,32 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data, - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data + ReferenceApiResolveResponseApplicationJson_Ocs_Data, + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'success', - serializers.serialize(object.success, specifiedType: const FullType(bool)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiResolveResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + final result = ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5919,8 +5993,9 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'success': - result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); break; } } @@ -5929,35 +6004,34 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson_Ocs, - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs + ReferenceApiResolveResponseApplicationJson_Ocs, + _$ReferenceApiResolveResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiResolveResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + final result = ReferenceApiResolveResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5970,8 +6044,8 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data))! - as ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data))! + as ReferenceApiResolveResponseApplicationJson_Ocs_Data); break; } } @@ -5980,32 +6054,31 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson, - _$ReferenceApiTouchProviderResponseApplicationJson + ReferenceApiResolveResponseApplicationJson, + _$ReferenceApiResolveResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJsonBuilder(); + final result = ReferenceApiResolveResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6015,8 +6088,8 @@ class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs))! - as ReferenceApiTouchProviderResponseApplicationJson_Ocs); + specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs))! + as ReferenceApiResolveResponseApplicationJson_Ocs); break; } } @@ -6025,37 +6098,32 @@ class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + ReferenceApiExtractResponseApplicationJson_Ocs_Data, + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs_Data'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types object, + Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'description', - serializers.serialize(object.description, specifiedType: const FullType(String)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiExtractResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); + final result = ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6063,14 +6131,9 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); break; } } @@ -6079,35 +6142,34 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializ } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data + ReferenceApiExtractResponseApplicationJson_Ocs, + _$ReferenceApiExtractResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'types', - serializers.serialize(object.types, - specifiedType: - const FullType(BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiExtractResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + final result = ReferenceApiExtractResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6115,11 +6177,13 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'types': - result.types.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)]))! - as BuiltList); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data))! + as ReferenceApiExtractResponseApplicationJson_Ocs_Data); break; } } @@ -6128,35 +6192,31 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs + ReferenceApiExtractResponseApplicationJson, + _$ReferenceApiExtractResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ReferenceApiExtractResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + final result = ReferenceApiExtractResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6164,13 +6224,10 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data))! - as TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs))! + as ReferenceApiExtractResponseApplicationJson_Ocs); break; } } @@ -6179,32 +6236,39 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson, - _$TextProcessingApiTaskTypesResponseApplicationJson - ]; + final Iterable types = const [ReferenceProvider, _$ReferenceProvider]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson'; + final String wireName = 'ReferenceProvider'; @override - Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReferenceProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, specifiedType: const FullType(String)), + 'icon_url', + serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.searchProvidersIds; + if (value != null) { + result + ..add('search_providers_ids') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); + final result = ReferenceProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6212,139 +6276,21 @@ class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs))! - as TextProcessingApiTaskTypesResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - } - } - - return result.build(); - } -} - -class _$TextProcessingTaskSerializer implements StructuredSerializer { - @override - final Iterable types = const [TextProcessingTask, _$TextProcessingTask]; - @override - final String wireName = 'TextProcessingTask'; - - @override - Iterable serialize(Serializers serializers, TextProcessingTask object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'type', - serializers.serialize(object.type, specifiedType: const FullType(String)), - 'status', - serializers.serialize(object.status, specifiedType: const FullType(int)), - 'appId', - serializers.serialize(object.appId, specifiedType: const FullType(String)), - 'input', - serializers.serialize(object.input, specifiedType: const FullType(String)), - 'identifier', - serializers.serialize(object.identifier, specifiedType: const FullType(String)), - ]; - Object? value; - value = object.id; - if (value != null) { - result - ..add('id') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.userId; - if (value != null) { - result - ..add('userId') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.output; - if (value != null) { - result - ..add('output') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; - } - - @override - TextProcessingTask deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingTaskBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'appId': - result.appId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'input': - result.input = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'title': + result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'output': - result.output = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'icon_url': + result.iconUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'identifier': - result.identifier = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'order': + result.order = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - } - } - - return result.build(); - } -} - -class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data, - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data - ]; - @override - final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data'; - - @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), - ]; - - return result; - } - - @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + case 'search_providers_ids': + result.searchProvidersIds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -6353,35 +6299,34 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiScheduleResponseApplicationJson_Ocs, - _$TextProcessingApiScheduleResponseApplicationJson_Ocs + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs, + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)])), ]; return result; } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs deserialize( + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + final result = ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6394,8 +6339,7 @@ class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data))! - as TextProcessingApiScheduleResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)]))! as BuiltList); break; } } @@ -6404,32 +6348,32 @@ class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiScheduleResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiScheduleResponseApplicationJson, - _$TextProcessingApiScheduleResponseApplicationJson + ReferenceApiGetProvidersInfoResponseApplicationJson, + _$ReferenceApiGetProvidersInfoResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiScheduleResponseApplicationJson'; + final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs)), + specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiScheduleResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiGetProvidersInfoResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJsonBuilder(); + final result = ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6439,8 +6383,8 @@ class _$TextProcessingApiScheduleResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs))! - as TextProcessingApiScheduleResponseApplicationJson_Ocs); + specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs))! + as ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs); break; } } @@ -6449,32 +6393,32 @@ class _$TextProcessingApiScheduleResponseApplicationJsonSerializer } } -class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data, - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data, + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data'; + final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), + 'success', + serializers.serialize(object.success, specifiedType: const FullType(bool)), ]; return result; } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data deserialize( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + final result = ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6482,9 +6426,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + case 'success': + result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -6493,34 +6436,35 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiGetTaskResponseApplicationJson_Ocs, - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs + ReferenceApiTouchProviderResponseApplicationJson_Ocs, + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ReferenceApiTouchProviderResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + final result = ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6533,8 +6477,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data))! - as TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data))! + as ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data); break; } } @@ -6543,32 +6487,32 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiGetTaskResponseApplicationJson, - _$TextProcessingApiGetTaskResponseApplicationJson + ReferenceApiTouchProviderResponseApplicationJson, + _$ReferenceApiTouchProviderResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson'; + final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs)), + specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiGetTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiTouchProviderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJsonBuilder(); + final result = ReferenceApiTouchProviderResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6578,8 +6522,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs))! - as TextProcessingApiGetTaskResponseApplicationJson_Ocs); + specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs))! + as ReferenceApiTouchProviderResponseApplicationJson_Ocs); break; } } @@ -6588,33 +6532,37 @@ class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer } } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data, - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types ]; @override - final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types'; @override Iterable serialize( - Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data object, + Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), ]; return result; } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data deserialize( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6622,9 +6570,14 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -6633,35 +6586,35 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs, - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs'; + final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data)), + 'types', + serializers.serialize(object.types, + specifiedType: + const FullType(BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)])), ]; return result; } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs deserialize( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6669,13 +6622,11 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data))! - as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data); + case 'types': + result.types.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)]))! + as BuiltList); break; } } @@ -6684,32 +6635,35 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiDeleteTaskResponseApplicationJson, - _$TextProcessingApiDeleteTaskResponseApplicationJson + TextProcessingApiTaskTypesResponseApplicationJson_Ocs, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson'; + final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TextProcessingApiDeleteTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); + final result = TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6717,10 +6671,13 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs))! - as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data))! + as TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data); break; } } @@ -6729,33 +6686,32 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer } } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data, - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + TextProcessingApiTaskTypesResponseApplicationJson, + _$TextProcessingApiTaskTypesResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'tasks', - serializers.serialize(object.tasks, specifiedType: const FullType(BuiltList, [FullType(TextProcessingTask)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + TextProcessingApiTaskTypesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + final result = TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6763,9 +6719,10 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'tasks': - result.tasks.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(TextProcessingTask)]))! as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs))! + as TextProcessingApiTaskTypesResponseApplicationJson_Ocs); break; } } @@ -6774,36 +6731,53 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerialize } } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextProcessingTaskSerializer implements StructuredSerializer { @override - final Iterable types = const [ - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs, - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs - ]; + final Iterable types = const [TextProcessingTask, _$TextProcessingTask]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs'; + final String wireName = 'TextProcessingTask'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextProcessingTask object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(int)), + 'appId', + serializers.serialize(object.appId, specifiedType: const FullType(String)), + 'input', + serializers.serialize(object.input, specifiedType: const FullType(String)), + 'identifier', + serializers.serialize(object.identifier, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.id; + if (value != null) { + result + ..add('id') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.userId; + if (value != null) { + result + ..add('userId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.output; + if (value != null) { + result + ..add('output') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + TextProcessingTask deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + final result = TextProcessingTaskBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6811,13 +6785,29 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data))! - as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'appId': + result.appId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'input': + result.input = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'output': + result.output = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'identifier': + result.identifier = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -6826,33 +6816,32 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TextProcessingApiListTasksByAppResponseApplicationJson, - _$TextProcessingApiListTasksByAppResponseApplicationJson + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data, + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson'; + final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), ]; return result; } @override - TextProcessingApiListTasksByAppResponseApplicationJson deserialize( + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); + final result = TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6860,10 +6849,9 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs))! - as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs); + case 'task': + result.task.replace( + serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); break; } } @@ -6872,39 +6860,35 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer } } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer - implements StructuredSerializer { +class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + TextProcessingApiScheduleResponseApplicationJson_Ocs, + _$TextProcessingApiScheduleResponseApplicationJson_Ocs ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; + final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, + Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'from', - serializers.serialize(object.from, specifiedType: const FullType(String)), - 'fromLabel', - serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), - 'to', - serializers.serialize(object.to, specifiedType: const FullType(String)), - 'toLabel', - serializers.serialize(object.toLabel, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages deserialize( + TextProcessingApiScheduleResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); + final result = TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6912,17 +6896,58 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'fromLabel': - result.fromLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'to': - result.to = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data))! + as TextProcessingApiScheduleResponseApplicationJson_Ocs_Data); break; - case 'toLabel': - result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + } + } + + return result.build(); + } +} + +class _$TextProcessingApiScheduleResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TextProcessingApiScheduleResponseApplicationJson, + _$TextProcessingApiScheduleResponseApplicationJson + ]; + @override + final String wireName = 'TextProcessingApiScheduleResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + TextProcessingApiScheduleResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TextProcessingApiScheduleResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs))! + as TextProcessingApiScheduleResponseApplicationJson_Ocs); break; } } @@ -6931,36 +6956,32 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali } } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs_Data, - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data, + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'languages', - serializers.serialize(object.languages, - specifiedType: - const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)])), - 'languageDetection', - serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data deserialize( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); + final result = TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6968,14 +6989,9 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'languages': - result.languages.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]))! - as BuiltList); - break; - case 'languageDetection': - result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'task': + result.task.replace( + serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); break; } } @@ -6984,34 +7000,34 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer } } -class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson_Ocs, - _$TranslationApiLanguagesResponseApplicationJson_Ocs + TextProcessingApiGetTaskResponseApplicationJson_Ocs, + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs'; + final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiGetTaskResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); + final result = TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7024,8 +7040,8 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! - as TranslationApiLanguagesResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data))! + as TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data); break; } } @@ -7034,32 +7050,32 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer } } -class _$TranslationApiLanguagesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiLanguagesResponseApplicationJson, - _$TranslationApiLanguagesResponseApplicationJson + TextProcessingApiGetTaskResponseApplicationJson, + _$TextProcessingApiGetTaskResponseApplicationJson ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson'; + final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs)), + specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiGetTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJsonBuilder(); + final result = TextProcessingApiGetTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7069,8 +7085,8 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs))! - as TranslationApiLanguagesResponseApplicationJson_Ocs); + specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs))! + as TextProcessingApiGetTaskResponseApplicationJson_Ocs); break; } } @@ -7079,38 +7095,33 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer } } -class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson_Ocs_Data, - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data, + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; + final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs_Data object, + Iterable serialize( + Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'text', - serializers.serialize(object.text, specifiedType: const FullType(String)), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), ]; - Object? value; - value = object.from; - if (value != null) { - result - ..add('from') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - TranslationApiTranslateResponseApplicationJson_Ocs_Data deserialize( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); + final result = TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7118,11 +7129,9 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'text': - result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'task': + result.task.replace( + serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); break; } } @@ -7131,34 +7140,35 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer } } -class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson_Ocs, - _$TranslationApiTranslateResponseApplicationJson_Ocs + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs, + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs'; + final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_OcsBuilder(); + final result = TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7171,8 +7181,8 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data))! - as TranslationApiTranslateResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data))! + as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data); break; } } @@ -7181,32 +7191,32 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer } } -class _$TranslationApiTranslateResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - TranslationApiTranslateResponseApplicationJson, - _$TranslationApiTranslateResponseApplicationJson + TextProcessingApiDeleteTaskResponseApplicationJson, + _$TextProcessingApiDeleteTaskResponseApplicationJson ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson'; + final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs)), + specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiDeleteTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJsonBuilder(); + final result = TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7216,8 +7226,8 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs))! - as TranslationApiTranslateResponseApplicationJson_Ocs); + specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs))! + as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs); break; } } @@ -7226,31 +7236,33 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer } } -class _$UnifiedSearchProviderSerializer implements StructuredSerializer { +class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchProvider, _$UnifiedSearchProvider]; + final Iterable types = const [ + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data, + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'UnifiedSearchProvider'; + final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, UnifiedSearchProvider object, + Iterable serialize( + Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(int)), + 'tasks', + serializers.serialize(object.tasks, specifiedType: const FullType(BuiltList, [FullType(TextProcessingTask)])), ]; return result; } @override - UnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchProviderBuilder(); + final result = TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7258,14 +7270,9 @@ class _$UnifiedSearchProviderSerializer implements StructuredSerializer); break; } } @@ -7274,34 +7281,36 @@ class _$UnifiedSearchProviderSerializer implements StructuredSerializer { +class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchGetProvidersResponseApplicationJson_Ocs, - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs, + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ]; @override - final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; + final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data)), ]; return result; } @override - UnifiedSearchGetProvidersResponseApplicationJson_Ocs deserialize( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); + final result = TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7314,7 +7323,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)]))! as BuiltList); + specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data))! + as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data); break; } } @@ -7323,32 +7333,33 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer } } -class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchGetProvidersResponseApplicationJson, - _$UnifiedSearchGetProvidersResponseApplicationJson + TextProcessingApiListTasksByAppResponseApplicationJson, + _$TextProcessingApiListTasksByAppResponseApplicationJson ]; @override - final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson'; + final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson object, + Iterable serialize(Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), + specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchGetProvidersResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiListTasksByAppResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); + final result = TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7358,8 +7369,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! - as UnifiedSearchGetProvidersResponseApplicationJson_Ocs); + specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs))! + as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs); break; } } @@ -7368,39 +7379,39 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer } } -class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchResultEntry, _$UnifiedSearchResultEntry]; + final Iterable types = const [ + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + ]; @override - final String wireName = 'UnifiedSearchResultEntry'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; @override - Iterable serialize(Serializers serializers, UnifiedSearchResultEntry object, + Iterable serialize( + Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'thumbnailUrl', - serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'resourceUrl', - serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'rounded', - serializers.serialize(object.rounded, specifiedType: const FullType(bool)), - 'attributes', - serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'from', + serializers.serialize(object.from, specifiedType: const FullType(String)), + 'fromLabel', + serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), + 'to', + serializers.serialize(object.to, specifiedType: const FullType(String)), + 'toLabel', + serializers.serialize(object.toLabel, specifiedType: const FullType(String)), ]; return result; } @override - UnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultEntryBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7408,27 +7419,17 @@ class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer); + case 'toLabel': + result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -7437,38 +7438,36 @@ class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [UnifiedSearchResult, _$UnifiedSearchResult]; + final Iterable types = const [ + TranslationApiLanguagesResponseApplicationJson_Ocs_Data, + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'UnifiedSearchResult'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, UnifiedSearchResult object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'isPaginated', - serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), - 'entries', - serializers.serialize(object.entries, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)])), + 'languages', + serializers.serialize(object.languages, + specifiedType: + const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)])), + 'languageDetection', + serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), ]; - Object? value; - value = object.cursor; - if (value != null) { - result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(UnifiedSearchResult_Cursor))); - } + return result; } @override - UnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7476,19 +7475,14 @@ class _$UnifiedSearchResultSerializer implements StructuredSerializer); + case 'languages': + result.languages.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]))! + as BuiltList); break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchResult_Cursor))! as UnifiedSearchResult_Cursor); + case 'languageDetection': + result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -7497,33 +7491,34 @@ class _$UnifiedSearchResultSerializer implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchSearchResponseApplicationJson_Ocs, - _$UnifiedSearchSearchResponseApplicationJson_Ocs + TranslationApiLanguagesResponseApplicationJson_Ocs, + _$TranslationApiLanguagesResponseApplicationJson_Ocs ]; @override - final String wireName = 'UnifiedSearchSearchResponseApplicationJson_Ocs'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(UnifiedSearchResult)), + serializers.serialize(object.data, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); + final result = TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7535,8 +7530,9 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(UnifiedSearchResult))! - as UnifiedSearchResult); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! + as TranslationApiLanguagesResponseApplicationJson_Ocs_Data); break; } } @@ -7545,31 +7541,32 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer } } -class _$UnifiedSearchSearchResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TranslationApiLanguagesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - UnifiedSearchSearchResponseApplicationJson, - _$UnifiedSearchSearchResponseApplicationJson + TranslationApiLanguagesResponseApplicationJson, + _$TranslationApiLanguagesResponseApplicationJson ]; @override - final String wireName = 'UnifiedSearchSearchResponseApplicationJson'; + final String wireName = 'TranslationApiLanguagesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson object, + Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJsonBuilder(); + final result = TranslationApiLanguagesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7579,8 +7576,8 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs))! - as UnifiedSearchSearchResponseApplicationJson_Ocs); + specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs))! + as TranslationApiLanguagesResponseApplicationJson_Ocs); break; } } @@ -7589,34 +7586,38 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer } } -class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer - implements StructuredSerializer { +class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew, - _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew + TranslationApiTranslateResponseApplicationJson_Ocs_Data, + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; + final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew object, + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'regular', - serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'admin', - serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'text', + serializers.serialize(object.text, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew deserialize( + TranslationApiTranslateResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); + final result = TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7624,13 +7625,11 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'regular': - result.regular.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'text': + result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'admin': - result.admin.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -7639,42 +7638,34 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer } } -class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewGetResponseApplicationJson_Ocs_Data, - _$WhatsNewGetResponseApplicationJson_Ocs_Data + TranslationApiTranslateResponseApplicationJson_Ocs, + _$TranslationApiTranslateResponseApplicationJson_Ocs ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data'; + final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'changelogURL', - serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), - 'product', - serializers.serialize(object.product, specifiedType: const FullType(String)), - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data)), ]; - Object? value; - value = object.whatsNew; - if (value != null) { - result - ..add('whatsNew') - ..add(serializers.serialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); - } + return result; } @override - WhatsNewGetResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + TranslationApiTranslateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); + final result = TranslationApiTranslateResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7682,19 +7673,13 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'changelogURL': - result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'product': - result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'whatsNew': - result.whatsNew.replace(serializers.deserialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! - as WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data))! + as TranslationApiTranslateResponseApplicationJson_Ocs_Data); break; } } @@ -7703,30 +7688,32 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer } } -class _$WhatsNewGetResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TranslationApiTranslateResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson_Ocs, _$WhatsNewGetResponseApplicationJson_Ocs]; + final Iterable types = const [ + TranslationApiTranslateResponseApplicationJson, + _$TranslationApiTranslateResponseApplicationJson + ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs'; + final String wireName = 'TranslationApiTranslateResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs)), ]; return result; } @override - WhatsNewGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiTranslateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_OcsBuilder(); + final result = TranslationApiTranslateResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7734,13 +7721,10 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data))! - as WhatsNewGetResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs))! + as TranslationApiTranslateResponseApplicationJson_Ocs); break; } } @@ -7749,28 +7733,31 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer } } -class _$WhatsNewGetResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$UnifiedSearchProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson, _$WhatsNewGetResponseApplicationJson]; + final Iterable types = const [UnifiedSearchProvider, _$UnifiedSearchProvider]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson'; + final String wireName = 'UnifiedSearchProvider'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson object, + Iterable serialize(Serializers serializers, UnifiedSearchProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; return result; } @override - WhatsNewGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJsonBuilder(); + final result = UnifiedSearchProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7778,10 +7765,14 @@ class _$WhatsNewGetResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs))! - as WhatsNewGetResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'order': + result.order = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -7790,33 +7781,34 @@ class _$WhatsNewGetResponseApplicationJsonSerializer } } -class _$WhatsNewDismissResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - WhatsNewDismissResponseApplicationJson_Ocs, - _$WhatsNewDismissResponseApplicationJson_Ocs + UnifiedSearchGetProvidersResponseApplicationJson_Ocs, + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs ]; @override - final String wireName = 'WhatsNewDismissResponseApplicationJson_Ocs'; + final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)])), ]; return result; } @override - WhatsNewDismissResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchGetProvidersResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJson_OcsBuilder(); + final result = UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7828,7 +7820,8 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)]))! as BuiltList); break; } } @@ -7837,28 +7830,32 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer } } -class _$WhatsNewDismissResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [WhatsNewDismissResponseApplicationJson, _$WhatsNewDismissResponseApplicationJson]; + final Iterable types = const [ + UnifiedSearchGetProvidersResponseApplicationJson, + _$UnifiedSearchGetProvidersResponseApplicationJson + ]; @override - final String wireName = 'WhatsNewDismissResponseApplicationJson'; + final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson object, + Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), ]; return result; } @override - WhatsNewDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchGetProvidersResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJsonBuilder(); + final result = UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7867,9 +7864,9 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs))! - as WhatsNewDismissResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! + as UnifiedSearchGetProvidersResponseApplicationJson_Ocs); break; } } @@ -7878,28 +7875,39 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer } } -class _$WipeCheckWipeResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { @override - final Iterable types = const [WipeCheckWipeResponseApplicationJson, _$WipeCheckWipeResponseApplicationJson]; + final Iterable types = const [UnifiedSearchResultEntry, _$UnifiedSearchResultEntry]; @override - final String wireName = 'WipeCheckWipeResponseApplicationJson'; + final String wireName = 'UnifiedSearchResultEntry'; @override - Iterable serialize(Serializers serializers, WipeCheckWipeResponseApplicationJson object, + Iterable serialize(Serializers serializers, UnifiedSearchResultEntry object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'wipe', - serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + 'thumbnailUrl', + serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, specifiedType: const FullType(String)), + 'subline', + serializers.serialize(object.subline, specifiedType: const FullType(String)), + 'resourceUrl', + serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'rounded', + serializers.serialize(object.rounded, specifiedType: const FullType(bool)), + 'attributes', + serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), ]; return result; } @override - WipeCheckWipeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WipeCheckWipeResponseApplicationJsonBuilder(); + final result = UnifiedSearchResultEntryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7907,8 +7915,27 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'wipe': - result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'thumbnailUrl': + result.thumbnailUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'title': + result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'subline': + result.subline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'resourceUrl': + result.resourceUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'rounded': + result.rounded = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'attributes': + result.attributes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -7917,566 +7944,1980 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer } } -abstract mixin class StatusInterfaceBuilder { - void replace(StatusInterface other); - void update(void Function(StatusInterfaceBuilder) updates); - bool? get installed; - set installed(bool? installed); - - bool? get maintenance; - set maintenance(bool? maintenance); - - bool? get needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade); - - String? get version; - set version(String? version); - - String? get versionstring; - set versionstring(String? versionstring); +class _$UnifiedSearchResultSerializer implements StructuredSerializer { + @override + final Iterable types = const [UnifiedSearchResult, _$UnifiedSearchResult]; + @override + final String wireName = 'UnifiedSearchResult'; - String? get edition; - set edition(String? edition); + @override + Iterable serialize(Serializers serializers, UnifiedSearchResult object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'isPaginated', + serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), + 'entries', + serializers.serialize(object.entries, + specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)])), + ]; + Object? value; + value = object.cursor; + if (value != null) { + result + ..add('cursor') + ..add(serializers.serialize(value, specifiedType: const FullType(UnifiedSearchResult_Cursor))); + } + return result; + } + + @override + UnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchResultBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'isPaginated': + result.isPaginated = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'entries': + result.entries.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)]))! as BuiltList); + break; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchResult_Cursor))! as UnifiedSearchResult_Cursor); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchSearchResponseApplicationJson_Ocs, + _$UnifiedSearchSearchResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'UnifiedSearchSearchResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(UnifiedSearchResult)), + ]; + + return result; + } + + @override + UnifiedSearchSearchResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(UnifiedSearchResult))! + as UnifiedSearchResult); + break; + } + } + + return result.build(); + } +} + +class _$UnifiedSearchSearchResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UnifiedSearchSearchResponseApplicationJson, + _$UnifiedSearchSearchResponseApplicationJson + ]; + @override + final String wireName = 'UnifiedSearchSearchResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UnifiedSearchSearchResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UnifiedSearchSearchResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs))! + as UnifiedSearchSearchResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew, + _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew + ]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'regular', + serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'admin', + serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'regular': + result.regular.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'admin': + result.admin.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewGetResponseApplicationJson_Ocs_Data, + _$WhatsNewGetResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'changelogURL', + serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), + 'product', + serializers.serialize(object.product, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.whatsNew; + if (value != null) { + result + ..add('whatsNew') + ..add(serializers.serialize(value, + specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); + } + return result; + } + + @override + WhatsNewGetResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'changelogURL': + result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'product': + result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'whatsNew': + result.whatsNew.replace(serializers.deserialize(value, + specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! + as WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewGetResponseApplicationJson_Ocs, _$WhatsNewGetResponseApplicationJson_Ocs]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + WhatsNewGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data))! + as WhatsNewGetResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewGetResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewGetResponseApplicationJson, _$WhatsNewGetResponseApplicationJson]; + @override + final String wireName = 'WhatsNewGetResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + WhatsNewGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewGetResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs))! + as WhatsNewGetResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewDismissResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + WhatsNewDismissResponseApplicationJson_Ocs, + _$WhatsNewDismissResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'WhatsNewDismissResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + WhatsNewDismissResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewDismissResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$WhatsNewDismissResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WhatsNewDismissResponseApplicationJson, _$WhatsNewDismissResponseApplicationJson]; + @override + final String wireName = 'WhatsNewDismissResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + WhatsNewDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WhatsNewDismissResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs))! + as WhatsNewDismissResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$WipeCheckWipeResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [WipeCheckWipeResponseApplicationJson, _$WipeCheckWipeResponseApplicationJson]; + @override + final String wireName = 'WipeCheckWipeResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, WipeCheckWipeResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'wipe', + serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + WipeCheckWipeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WipeCheckWipeResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'wipe': + result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +abstract mixin class StatusInterfaceBuilder { + void replace(StatusInterface other); + void update(void Function(StatusInterfaceBuilder) updates); + bool? get installed; + set installed(bool? installed); + + bool? get maintenance; + set maintenance(bool? maintenance); + + bool? get needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade); + + String? get version; + set version(String? version); + + String? get versionstring; + set versionstring(String? versionstring); + + String? get edition; + set edition(String? edition); + + String? get productname; + set productname(String? productname); + + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); +} + +class _$Status extends Status { + @override + final bool installed; + @override + final bool maintenance; + @override + final bool needsDbUpgrade; + @override + final String version; + @override + final String versionstring; + @override + final String edition; + @override + final String productname; + @override + final bool extendedSupport; + + factory _$Status([void Function(StatusBuilder)? updates]) => (StatusBuilder()..update(updates))._build(); + + _$Status._( + {required this.installed, + required this.maintenance, + required this.needsDbUpgrade, + required this.version, + required this.versionstring, + required this.edition, + required this.productname, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'); + BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'); + BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); + BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); + BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'); + BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport'); + } + + @override + Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + StatusBuilder toBuilder() => StatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Status && + installed == other.installed && + maintenance == other.maintenance && + needsDbUpgrade == other.needsDbUpgrade && + version == other.version && + versionstring == other.versionstring && + edition == other.edition && + productname == other.productname && + extendedSupport == other.extendedSupport; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, installed.hashCode); + _$hash = $jc(_$hash, maintenance.hashCode); + _$hash = $jc(_$hash, needsDbUpgrade.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, versionstring.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, productname.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Status') + ..add('installed', installed) + ..add('maintenance', maintenance) + ..add('needsDbUpgrade', needsDbUpgrade) + ..add('version', version) + ..add('versionstring', versionstring) + ..add('edition', edition) + ..add('productname', productname) + ..add('extendedSupport', extendedSupport)) + .toString(); + } +} + +class StatusBuilder implements Builder, StatusInterfaceBuilder { + _$Status? _$v; + + bool? _installed; + bool? get installed => _$this._installed; + set installed(covariant bool? installed) => _$this._installed = installed; + + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(covariant bool? maintenance) => _$this._maintenance = maintenance; + + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(covariant bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(covariant String? versionstring) => _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(covariant String? productname) => _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + StatusBuilder(); + + StatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _installed = $v.installed; + _maintenance = $v.maintenance; + _needsDbUpgrade = $v.needsDbUpgrade; + _version = $v.version; + _versionstring = $v.versionstring; + _edition = $v.edition; + _productname = $v.productname; + _extendedSupport = $v.extendedSupport; + _$v = null; + } + return this; + } + + @override + void replace(covariant Status other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Status; + } + + @override + void update(void Function(StatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Status build() => _build(); + + _$Status _build() { + final _$result = _$v ?? + _$Status._( + installed: BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport')); + replace(_$result); + return _$result; + } +} + +abstract mixin class OCSMetaInterfaceBuilder { + void replace(OCSMetaInterface other); + void update(void Function(OCSMetaInterfaceBuilder) updates); + String? get status; + set status(String? status); + + int? get statuscode; + set statuscode(int? statuscode); + + String? get message; + set message(String? message); + + String? get totalitems; + set totalitems(String? totalitems); + + String? get itemsperpage; + set itemsperpage(String? itemsperpage); +} + +class _$OCSMeta extends OCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + + _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + } + + @override + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is OCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'OCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { + _$OCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + OCSMetaBuilder(); + + OCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(covariant OCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$OCSMeta; + } + + @override + void update(void Function(OCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + OCSMeta build() => _build(); + + _$OCSMeta _build() { + final _$result = _$v ?? + _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get apppassword; + set apppassword(String? apppassword); +} + +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} - String? get productname; - set productname(String? productname); +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); +} - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); +class _$AppPasswordGetAppPasswordResponseApplicationJson extends AppPasswordGetAppPasswordResponseApplicationJson { + @override + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; + + factory _$AppPasswordGetAppPasswordResponseApplicationJson( + [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordGetAppPasswordResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } } -class _$Status extends Status { +class AppPasswordGetAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; + + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + + AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + @override - final bool installed; + void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; + } + + @override + void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); + + _$AppPasswordGetAppPasswordResponseApplicationJson _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordGetAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get apppassword; + set apppassword(String? apppassword); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; + + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + @override - final bool maintenance; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + @override - final bool needsDbUpgrade; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + @override - final String version; + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + @override - final String versionstring; + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + } + @override - final String edition; + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + @override - final String productname; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AppPasswordRotateAppPasswordResponseApplicationJson + extends AppPasswordRotateAppPasswordResponseApplicationJson { @override - final bool extendedSupport; + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; - factory _$Status([void Function(StatusBuilder)? updates]) => (StatusBuilder()..update(updates))._build(); + factory _$AppPasswordRotateAppPasswordResponseApplicationJson( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); - _$Status._( - {required this.installed, - required this.maintenance, - required this.needsDbUpgrade, - required this.version, - required this.versionstring, - required this.edition, - required this.productname, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport'); + _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); } @override - Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); + AppPasswordRotateAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - StatusBuilder toBuilder() => StatusBuilder()..replace(this); + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Status && - installed == other.installed && - maintenance == other.maintenance && - needsDbUpgrade == other.needsDbUpgrade && - version == other.version && - versionstring == other.versionstring && - edition == other.edition && - productname == other.productname && - extendedSupport == other.extendedSupport; + return other is AppPasswordRotateAppPasswordResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, installed.hashCode); - _$hash = $jc(_$hash, maintenance.hashCode); - _$hash = $jc(_$hash, needsDbUpgrade.hashCode); - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, versionstring.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, productname.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Status') - ..add('installed', installed) - ..add('maintenance', maintenance) - ..add('needsDbUpgrade', needsDbUpgrade) - ..add('version', version) - ..add('versionstring', versionstring) - ..add('edition', edition) - ..add('productname', productname) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class StatusBuilder implements Builder, StatusInterfaceBuilder { - _$Status? _$v; +class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; - bool? _installed; - bool? get installed => _$this._installed; - set installed(covariant bool? installed) => _$this._installed = installed; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(covariant bool? maintenance) => _$this._maintenance = maintenance; + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; + } + + @override + void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); + + _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordRotateAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( + void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(covariant bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(covariant String? versionstring) => _$this._versionstring = versionstring; + @override + String toString() { + return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; +class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; - String? _productname; - String? get productname => _$this._productname; - set productname(covariant String? productname) => _$this._productname = productname; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - StatusBuilder(); + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); - StatusBuilder get _$this { + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _installed = $v.installed; - _maintenance = $v.maintenance; - _needsDbUpgrade = $v.needsDbUpgrade; - _version = $v.version; - _versionstring = $v.versionstring; - _edition = $v.edition; - _productname = $v.productname; - _extendedSupport = $v.extendedSupport; + _meta = $v.meta.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(covariant Status other) { + void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Status; + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; } @override - void update(void Function(StatusBuilder)? updates) { + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - Status build() => _build(); + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); - _$Status _build() { - final _$result = _$v ?? - _$Status._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'), - needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport')); + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class OCSMetaInterfaceBuilder { - void replace(OCSMetaInterface other); - void update(void Function(OCSMetaInterfaceBuilder) updates); - String? get status; - set status(String? status); - - int? get statuscode; - set statuscode(int? statuscode); - - String? get message; - set message(String? message); - - String? get totalitems; - set totalitems(String? totalitems); - - String? get itemsperpage; - set itemsperpage(String? itemsperpage); +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) updates); + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); } -class _$OCSMeta extends OCSMeta { - @override - final String status; - @override - final int statuscode; - @override - final String? message; - @override - final String? totalitems; +class _$AppPasswordDeleteAppPasswordResponseApplicationJson + extends AppPasswordDeleteAppPasswordResponseApplicationJson { @override - final String? itemsperpage; + final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates]) => + (AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, statuscode.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, totalitems.hashCode); - _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { - _$OCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; - - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; - - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; +class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder + implements + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - OCSMetaBuilder(); + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); - OCSMetaBuilder get _$this { + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OCSMeta other) { + void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OCSMeta; + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; } @override - void update(void Function(OCSMetaBuilder)? updates) { + void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - OCSMeta build() => _build(); + AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); - _$OCSMeta _build() { - final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AppPasswordDeleteAppPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); +abstract mixin class AutocompleteResult_Status0InterfaceBuilder { + void replace(AutocompleteResult_Status0Interface other); + void update(void Function(AutocompleteResult_Status0InterfaceBuilder) updates); + String? get status; + set status(String? status); + + String? get message; + set message(String? message); + + String? get icon; + set icon(String? icon); + + int? get clearAt; + set clearAt(int? clearAt); } -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { +class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { @override - final String apppassword; + final String status; + @override + final String? message; + @override + final String? icon; + @override + final int? clearAt; - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? updates]) => + (AutocompleteResult_Status0Builder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + _$AutocompleteResult_Status0._({required this.status, this.message, this.icon, this.clearAt}) : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + AutocompleteResult_Status0 rebuild(void Function(AutocompleteResult_Status0Builder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + AutocompleteResult_Status0Builder toBuilder() => AutocompleteResult_Status0Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + return other is AutocompleteResult_Status0 && + status == other.status && + message == other.message && + icon == other.icon && + clearAt == other.clearAt; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, clearAt.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') + ..add('status', status) + ..add('message', message) + ..add('icon', icon) + ..add('clearAt', clearAt)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder +class AutocompleteResult_Status0Builder implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; + Builder, + AutocompleteResult_Status0InterfaceBuilder { + _$AutocompleteResult_Status0? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; + + AutocompleteResult_Status0Builder(); + + AutocompleteResult_Status0Builder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _status = $v.status; + _message = $v.message; + _icon = $v.icon; + _clearAt = $v.clearAt; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data other) { + void replace(covariant AutocompleteResult_Status0 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; + _$v = other as _$AutocompleteResult_Status0; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(AutocompleteResult_Status0Builder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + AutocompleteResult_Status0 build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { + _$AutocompleteResult_Status0 _build() { final _$result = _$v ?? - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + _$AutocompleteResult_Status0._( + status: BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'), + message: message, + icon: icon, + clearAt: clearAt); replace(_$result); return _$result; } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class AutocompleteResult_StatusInterfaceBuilder { + void replace(AutocompleteResult_StatusInterface other); + void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); + JsonObject? get data; + set data(JsonObject? data); - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); + AutocompleteResult_Status0Builder get autocompleteResultStatus0; + set autocompleteResultStatus0(AutocompleteResult_Status0Builder? autocompleteResultStatus0); + + String? get string; + set string(String? string); } -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { +class _$AutocompleteResult_Status extends AutocompleteResult_Status { @override - final OCSMeta meta; + final JsonObject data; @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; + final AutocompleteResult_Status0? autocompleteResultStatus0; + @override + final String? string; - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? updates]) => + (AutocompleteResult_StatusBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); + _$AutocompleteResult_Status._({required this.data, this.autocompleteResultStatus0, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) updates) => + AutocompleteResult_Status rebuild(void Function(AutocompleteResult_StatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + AutocompleteResult_StatusBuilder toBuilder() => AutocompleteResult_StatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is AutocompleteResult_Status && + data == other.data && + autocompleteResultStatus0 == other.autocompleteResultStatus0 && + string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, autocompleteResultStatus0.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') + ..add('data', data) + ..add('autocompleteResultStatus0', autocompleteResultStatus0) + ..add('string', string)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder +class AutocompleteResult_StatusBuilder implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; + Builder, + AutocompleteResult_StatusInterfaceBuilder { + _$AutocompleteResult_Status? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + AutocompleteResult_Status0Builder? _autocompleteResultStatus0; + AutocompleteResult_Status0Builder get autocompleteResultStatus0 => + _$this._autocompleteResultStatus0 ??= AutocompleteResult_Status0Builder(); + set autocompleteResultStatus0(covariant AutocompleteResult_Status0Builder? autocompleteResultStatus0) => + _$this._autocompleteResultStatus0 = autocompleteResultStatus0; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { + AutocompleteResult_StatusBuilder(); + + AutocompleteResult_StatusBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; + _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); + _string = $v.string; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant AutocompleteResult_Status other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$AutocompleteResult_Status; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(AutocompleteResult_StatusBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); + AutocompleteResult_Status build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; + _$AutocompleteResult_Status _build() { + _$AutocompleteResult_Status _$result; try { - _$result = - _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$AutocompleteResult_Status._( + data: BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'), + autocompleteResultStatus0: _autocompleteResultStatus0?.build(), + string: string); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'autocompleteResultStatus0'; + _autocompleteResultStatus0?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'AutocompleteResult_Status', _$failedField, e.toString()); } rethrow; } @@ -8485,104 +9926,201 @@ class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class AutocompleteResultInterfaceBuilder { + void replace(AutocompleteResultInterface other); + void update(void Function(AutocompleteResultInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get label; + set label(String? label); + + String? get icon; + set icon(String? icon); + + String? get source; + set source(String? source); + + AutocompleteResult_StatusBuilder get status; + set status(AutocompleteResult_StatusBuilder? status); + + String? get subline; + set subline(String? subline); + + String? get shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); } -class _$AppPasswordGetAppPasswordResponseApplicationJson extends AppPasswordGetAppPasswordResponseApplicationJson { +class _$AutocompleteResult extends AutocompleteResult { @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; + final String id; + @override + final String label; + @override + final String icon; + @override + final String source; + @override + final AutocompleteResult_Status status; + @override + final String subline; + @override + final String shareWithDisplayNameUnique; - factory _$AppPasswordGetAppPasswordResponseApplicationJson( - [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$AutocompleteResult([void Function(AutocompleteResultBuilder)? updates]) => + (AutocompleteResultBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); + _$AutocompleteResult._( + {required this.id, + required this.label, + required this.icon, + required this.source, + required this.status, + required this.subline, + required this.shareWithDisplayNameUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique'); } @override - AppPasswordGetAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) updates) => + AutocompleteResult rebuild(void Function(AutocompleteResultBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..replace(this); + AutocompleteResultBuilder toBuilder() => AutocompleteResultBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is AutocompleteResult && + id == other.id && + label == other.label && + icon == other.icon && + source == other.source && + status == other.status && + subline == other.subline && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'AutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJsonBuilder - implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; +class AutocompleteResultBuilder + implements Builder, AutocompleteResultInterfaceBuilder { + _$AutocompleteResult? _$v; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + String? _label; + String? get label => _$this._label; + set label(covariant String? label) => _$this._label = label; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + String? _source; + String? get source => _$this._source; + set source(covariant String? source) => _$this._source = source; + + AutocompleteResult_StatusBuilder? _status; + AutocompleteResult_StatusBuilder get status => _$this._status ??= AutocompleteResult_StatusBuilder(); + set status(covariant AutocompleteResult_StatusBuilder? status) => _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(covariant String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(covariant String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + AutocompleteResultBuilder(); + + AutocompleteResultBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _id = $v.id; + _label = $v.label; + _icon = $v.icon; + _source = $v.source; + _status = $v.status.toBuilder(); + _subline = $v.subline; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson other) { + void replace(covariant AutocompleteResult other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; + _$v = other as _$AutocompleteResult; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(AutocompleteResultBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); + AutocompleteResult build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson _$result; + _$AutocompleteResult _build() { + _$AutocompleteResult _$result; try { - _$result = _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$AutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'), + status: status.build(), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'status'; + status.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'AutocompleteResult', _$failedField, e.toString()); } rethrow; } @@ -8591,220 +10129,220 @@ class AppPasswordGetAppPasswordResponseApplicationJsonBuilder } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); +abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); + void update(void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { +class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetResponseApplicationJson_Ocs { @override - final String apppassword; + final OCSMeta meta; + @override + final BuiltList data; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$AutoCompleteGetResponseApplicationJson_Ocs( + [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates]) => + (AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + _$AutoCompleteGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + AutoCompleteGetResponseApplicationJson_Ocs rebuild( + void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => + AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + return other is AutoCompleteGetResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder +class AutoCompleteGetResponseApplicationJson_OcsBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; + Builder, + AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + AutoCompleteGetResponseApplicationJson_OcsBuilder(); + + AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data other) { + void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + _$AutoCompleteGetResponseApplicationJson_Ocs _build() { + _$AutoCompleteGetResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJsonInterface other); + void update(void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) updates); + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; + set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseApplicationJson { @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; + final AutoCompleteGetResponseApplicationJson_Ocs ocs; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$AutoCompleteGetResponseApplicationJson( + [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates]) => + (AutoCompleteGetResponseApplicationJsonBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); + _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) updates) => + AutoCompleteGetResponseApplicationJson rebuild( + void Function(AutoCompleteGetResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => + AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is AutoCompleteGetResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) - .toString(); + return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder +class AutoCompleteGetResponseApplicationJsonBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson? _$v; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AutoCompleteGetResponseApplicationJson_OcsBuilder(); + set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + AutoCompleteGetResponseApplicationJsonBuilder(); - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { + AutoCompleteGetResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant AutoCompleteGetResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$AutoCompleteGetResponseApplicationJson; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); + AutoCompleteGetResponseApplicationJson build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; + _$AutoCompleteGetResponseApplicationJson _build() { + _$AutoCompleteGetResponseApplicationJson _$result; try { - _$result = - _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -8813,604 +10351,505 @@ class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); + void update(void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson - extends AppPasswordRotateAppPasswordResponseApplicationJson { +class _$AvatarAvatarGetAvatarDarkHeaders extends AvatarAvatarGetAvatarDarkHeaders { @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; + final int? xNcIscustomavatar; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); - } + _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); @override - AppPasswordRotateAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) updates) => + AvatarAvatarGetAvatarDarkHeaders rebuild(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..replace(this); + AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is AvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder +class AvatarAvatarGetAvatarDarkHeadersBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; + Builder, + AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarDarkHeaders? _$v; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + AvatarAvatarGetAvatarDarkHeadersBuilder(); - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { + AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { + void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; + _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); + AvatarAvatarGetAvatarDarkHeaders build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; - try { - _$result = _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordRotateAppPasswordResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$AvatarAvatarGetAvatarDarkHeaders _build() { + final _$result = _$v ?? _$AvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - JsonObject? get data; - set data(JsonObject? data); +abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarHeadersInterface other); + void update(void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs - extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { @override - final JsonObject data; + final int? xNcIscustomavatar; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); - } + _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) updates) => + AvatarAvatarGetAvatarHeaders rebuild(void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + AvatarAvatarGetAvatarHeadersBuilder toBuilder() => AvatarAvatarGetAvatarHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is AvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarHeaders')..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder +class AvatarAvatarGetAvatarHeadersBuilder implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + AvatarAvatarGetAvatarHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarHeaders? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + AvatarAvatarGetAvatarHeadersBuilder(); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { + AvatarAvatarGetAvatarHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant AvatarAvatarGetAvatarHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$AvatarAvatarGetAvatarHeaders; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); + AvatarAvatarGetAvatarHeaders build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$AvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? _$AvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { + void replace(LoginFlowV2CredentialsInterface other); + void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); + String? get server; + set server(String? server); + + String? get loginName; + set loginName(String? loginName); + + String? get appPassword; + set appPassword(String? appPassword); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson - extends AppPasswordDeleteAppPasswordResponseApplicationJson { +class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { @override - final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; + final String server; + @override + final String loginName; + @override + final String appPassword; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? updates]) => + (LoginFlowV2CredentialsBuilder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); + _$LoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { + BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword'); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) updates) => + LoginFlowV2Credentials rebuild(void Function(LoginFlowV2CredentialsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..replace(this); + LoginFlowV2CredentialsBuilder toBuilder() => LoginFlowV2CredentialsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is LoginFlowV2Credentials && + server == other.server && + loginName == other.loginName && + appPassword == other.appPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jc(_$hash, loginName.hashCode); + _$hash = $jc(_$hash, appPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'LoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder - implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; +class LoginFlowV2CredentialsBuilder + implements Builder, LoginFlowV2CredentialsInterfaceBuilder { + _$LoginFlowV2Credentials? _$v; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _server; + String? get server => _$this._server; + set server(covariant String? server) => _$this._server = server; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(covariant String? loginName) => _$this._loginName = loginName; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(covariant String? appPassword) => _$this._appPassword = appPassword; + + LoginFlowV2CredentialsBuilder(); + + LoginFlowV2CredentialsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; _$v = null; } return this; } @override - void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { + void replace(covariant LoginFlowV2Credentials other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; + _$v = other as _$LoginFlowV2Credentials; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); + LoginFlowV2Credentials build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; - try { - _$result = _$v ?? _$AppPasswordDeleteAppPasswordResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordDeleteAppPasswordResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$LoginFlowV2Credentials _build() { + final _$result = _$v ?? + _$LoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'), + appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword')); replace(_$result); return _$result; } } -abstract mixin class AutocompleteResult_Status0InterfaceBuilder { - void replace(AutocompleteResult_Status0Interface other); - void update(void Function(AutocompleteResult_Status0InterfaceBuilder) updates); - String? get status; - set status(String? status); - - String? get message; - set message(String? message); - - String? get icon; - set icon(String? icon); +abstract mixin class LoginFlowV2_PollInterfaceBuilder { + void replace(LoginFlowV2_PollInterface other); + void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); + String? get token; + set token(String? token); - int? get clearAt; - set clearAt(int? clearAt); + String? get endpoint; + set endpoint(String? endpoint); } -class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { - @override - final String status; - @override - final String? message; +class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { @override - final String? icon; + final String token; @override - final int? clearAt; + final String endpoint; - factory _$AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? updates]) => - (AutocompleteResult_Status0Builder()..update(updates))._build(); + factory _$LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? updates]) => + (LoginFlowV2_PollBuilder()..update(updates))._build(); - _$AutocompleteResult_Status0._({required this.status, this.message, this.icon, this.clearAt}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'); + _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint'); } @override - AutocompleteResult_Status0 rebuild(void Function(AutocompleteResult_Status0Builder) updates) => - (toBuilder()..update(updates)).build(); + LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_Status0Builder toBuilder() => AutocompleteResult_Status0Builder()..replace(this); + LoginFlowV2_PollBuilder toBuilder() => LoginFlowV2_PollBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status0 && - status == other.status && - message == other.message && - icon == other.icon && - clearAt == other.clearAt; + return other is LoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, endpoint.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') - ..add('status', status) - ..add('message', message) - ..add('icon', icon) - ..add('clearAt', clearAt)) + return (newBuiltValueToStringHelper(r'LoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) .toString(); } } -class AutocompleteResult_Status0Builder - implements - Builder, - AutocompleteResult_Status0InterfaceBuilder { - _$AutocompleteResult_Status0? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; +class LoginFlowV2_PollBuilder + implements Builder, LoginFlowV2_PollInterfaceBuilder { + _$LoginFlowV2_Poll? _$v; - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; - int? _clearAt; - int? get clearAt => _$this._clearAt; - set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; - AutocompleteResult_Status0Builder(); + LoginFlowV2_PollBuilder(); - AutocompleteResult_Status0Builder get _$this { - final $v = _$v; - if ($v != null) { - _status = $v.status; - _message = $v.message; - _icon = $v.icon; - _clearAt = $v.clearAt; + LoginFlowV2_PollBuilder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _endpoint = $v.endpoint; _$v = null; } return this; } @override - void replace(covariant AutocompleteResult_Status0 other) { + void replace(covariant LoginFlowV2_Poll other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status0; + _$v = other as _$LoginFlowV2_Poll; } @override - void update(void Function(AutocompleteResult_Status0Builder)? updates) { + void update(void Function(LoginFlowV2_PollBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status0 build() => _build(); + LoginFlowV2_Poll build() => _build(); - _$AutocompleteResult_Status0 _build() { + _$LoginFlowV2_Poll _build() { final _$result = _$v ?? - _$AutocompleteResult_Status0._( - status: BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'), - message: message, - icon: icon, - clearAt: clearAt); + _$LoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint')); replace(_$result); return _$result; } } -abstract mixin class AutocompleteResult_StatusInterfaceBuilder { - void replace(AutocompleteResult_StatusInterface other); - void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); - JsonObject? get data; - set data(JsonObject? data); - - AutocompleteResult_Status0Builder get autocompleteResultStatus0; - set autocompleteResultStatus0(AutocompleteResult_Status0Builder? autocompleteResultStatus0); +abstract mixin class LoginFlowV2InterfaceBuilder { + void replace(LoginFlowV2Interface other); + void update(void Function(LoginFlowV2InterfaceBuilder) updates); + LoginFlowV2_PollBuilder get poll; + set poll(LoginFlowV2_PollBuilder? poll); - String? get string; - set string(String? string); + String? get login; + set login(String? login); } -class _$AutocompleteResult_Status extends AutocompleteResult_Status { - @override - final JsonObject data; +class _$LoginFlowV2 extends LoginFlowV2 { @override - final AutocompleteResult_Status0? autocompleteResultStatus0; + final LoginFlowV2_Poll poll; @override - final String? string; + final String login; - factory _$AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? updates]) => - (AutocompleteResult_StatusBuilder()..update(updates))._build(); + factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => + (LoginFlowV2Builder()..update(updates))._build(); - _$AutocompleteResult_Status._({required this.data, this.autocompleteResultStatus0, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'); + _$LoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); } @override - AutocompleteResult_Status rebuild(void Function(AutocompleteResult_StatusBuilder) updates) => - (toBuilder()..update(updates)).build(); + LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_StatusBuilder toBuilder() => AutocompleteResult_StatusBuilder()..replace(this); + LoginFlowV2Builder toBuilder() => LoginFlowV2Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status && - data == other.data && - autocompleteResultStatus0 == other.autocompleteResultStatus0 && - string == other.string; + return other is LoginFlowV2 && poll == other.poll && login == other.login; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, autocompleteResultStatus0.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') - ..add('data', data) - ..add('autocompleteResultStatus0', autocompleteResultStatus0) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'LoginFlowV2') + ..add('poll', poll) + ..add('login', login)) .toString(); } } -class AutocompleteResult_StatusBuilder - implements - Builder, - AutocompleteResult_StatusInterfaceBuilder { - _$AutocompleteResult_Status? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; +class LoginFlowV2Builder implements Builder, LoginFlowV2InterfaceBuilder { + _$LoginFlowV2? _$v; - AutocompleteResult_Status0Builder? _autocompleteResultStatus0; - AutocompleteResult_Status0Builder get autocompleteResultStatus0 => - _$this._autocompleteResultStatus0 ??= AutocompleteResult_Status0Builder(); - set autocompleteResultStatus0(covariant AutocompleteResult_Status0Builder? autocompleteResultStatus0) => - _$this._autocompleteResultStatus0 = autocompleteResultStatus0; + LoginFlowV2_PollBuilder? _poll; + LoginFlowV2_PollBuilder get poll => _$this._poll ??= LoginFlowV2_PollBuilder(); + set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + String? _login; + String? get login => _$this._login; + set login(covariant String? login) => _$this._login = login; - AutocompleteResult_StatusBuilder(); + LoginFlowV2Builder(); - AutocompleteResult_StatusBuilder get _$this { + LoginFlowV2Builder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); - _string = $v.string; + _poll = $v.poll.toBuilder(); + _login = $v.login; _$v = null; } return this; } @override - void replace(covariant AutocompleteResult_Status other) { + void replace(covariant LoginFlowV2 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status; + _$v = other as _$LoginFlowV2; } @override - void update(void Function(AutocompleteResult_StatusBuilder)? updates) { + void update(void Function(LoginFlowV2Builder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status build() => _build(); + LoginFlowV2 build() => _build(); - _$AutocompleteResult_Status _build() { - _$AutocompleteResult_Status _$result; + _$LoginFlowV2 _build() { + _$LoginFlowV2 _$result; try { _$result = _$v ?? - _$AutocompleteResult_Status._( - data: BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'), - autocompleteResultStatus0: _autocompleteResultStatus0?.build(), - string: string); + _$LoginFlowV2._( + poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login')); } catch (_) { late String _$failedField; try { - _$failedField = 'autocompleteResultStatus0'; - _autocompleteResultStatus0?.build(); + _$failedField = 'poll'; + poll.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult_Status', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'LoginFlowV2', _$failedField, e.toString()); } rethrow; } @@ -9419,320 +10858,294 @@ class AutocompleteResult_StatusBuilder } } -abstract mixin class AutocompleteResultInterfaceBuilder { - void replace(AutocompleteResultInterface other); - void update(void Function(AutocompleteResultInterfaceBuilder) updates); +abstract mixin class OpenGraphObjectInterfaceBuilder { + void replace(OpenGraphObjectInterface other); + void update(void Function(OpenGraphObjectInterfaceBuilder) updates); String? get id; set id(String? id); - String? get label; - set label(String? label); - - String? get icon; - set icon(String? icon); - - String? get source; - set source(String? source); + String? get name; + set name(String? name); - AutocompleteResult_StatusBuilder get status; - set status(AutocompleteResult_StatusBuilder? status); + String? get description; + set description(String? description); - String? get subline; - set subline(String? subline); + String? get thumb; + set thumb(String? thumb); - String? get shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); + String? get link; + set link(String? link); } -class _$AutocompleteResult extends AutocompleteResult { +class _$OpenGraphObject extends OpenGraphObject { @override final String id; @override - final String label; - @override - final String icon; - @override - final String source; + final String name; @override - final AutocompleteResult_Status status; + final String? description; @override - final String subline; + final String? thumb; @override - final String shareWithDisplayNameUnique; + final String link; - factory _$AutocompleteResult([void Function(AutocompleteResultBuilder)? updates]) => - (AutocompleteResultBuilder()..update(updates))._build(); + factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => + (OpenGraphObjectBuilder()..update(updates))._build(); - _$AutocompleteResult._( - {required this.id, - required this.label, - required this.icon, - required this.source, - required this.status, - required this.subline, - required this.shareWithDisplayNameUnique}) + _$OpenGraphObject._({required this.id, required this.name, this.description, this.thumb, required this.link}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'); - BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique'); + BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); } @override - AutocompleteResult rebuild(void Function(AutocompleteResultBuilder) updates) => - (toBuilder()..update(updates)).build(); + OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResultBuilder toBuilder() => AutocompleteResultBuilder()..replace(this); + OpenGraphObjectBuilder toBuilder() => OpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult && + return other is OpenGraphObject && id == other.id && - label == other.label && - icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + name == other.name && + description == other.description && + thumb == other.thumb && + link == other.link; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, label.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, source.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, thumb.hashCode); + _$hash = $jc(_$hash, link.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult') + return (newBuiltValueToStringHelper(r'OpenGraphObject') ..add('id', id) - ..add('label', label) - ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) .toString(); } } -class AutocompleteResultBuilder - implements Builder, AutocompleteResultInterfaceBuilder { - _$AutocompleteResult? _$v; +class OpenGraphObjectBuilder + implements Builder, OpenGraphObjectInterfaceBuilder { + _$OpenGraphObject? _$v; String? _id; String? get id => _$this._id; set id(covariant String? id) => _$this._id = id; - String? _label; - String? get label => _$this._label; - set label(covariant String? label) => _$this._label = label; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - String? _source; - String? get source => _$this._source; - set source(covariant String? source) => _$this._source = source; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AutocompleteResult_StatusBuilder? _status; - AutocompleteResult_StatusBuilder get status => _$this._status ??= AutocompleteResult_StatusBuilder(); - set status(covariant AutocompleteResult_StatusBuilder? status) => _$this._status = status; + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; - String? _subline; - String? get subline => _$this._subline; - set subline(covariant String? subline) => _$this._subline = subline; + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(covariant String? thumb) => _$this._thumb = thumb; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(covariant String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; - AutocompleteResultBuilder(); + OpenGraphObjectBuilder(); - AutocompleteResultBuilder get _$this { + OpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { _id = $v.id; - _label = $v.label; - _icon = $v.icon; - _source = $v.source; - _status = $v.status.toBuilder(); - _subline = $v.subline; - _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _link = $v.link; _$v = null; } return this; } @override - void replace(covariant AutocompleteResult other) { + void replace(covariant OpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult; + _$v = other as _$OpenGraphObject; } @override - void update(void Function(AutocompleteResultBuilder)? updates) { + void update(void Function(OpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult build() => _build(); + OpenGraphObject build() => _build(); - _$AutocompleteResult _build() { - _$AutocompleteResult _$result; - try { - _$result = _$v ?? - _$AutocompleteResult._( - id: BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'), - status: status.build(), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'status'; - status.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult', _$failedField, e.toString()); - } - rethrow; - } + _$OpenGraphObject _build() { + final _$result = _$v ?? + _$OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link')); replace(_$result); return _$result; } } -abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class ResourceInterfaceBuilder { + void replace(ResourceInterface other); + void update(void Function(ResourceInterfaceBuilder) updates); + String? get richObjectType; + set richObjectType(String? richObjectType); - ListBuilder get data; - set data(ListBuilder? data); + MapBuilder get richObject; + set richObject(MapBuilder? richObject); + + OpenGraphObjectBuilder get openGraphObject; + set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + + bool? get accessible; + set accessible(bool? accessible); } -class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetResponseApplicationJson_Ocs { +class _$Resource extends Resource { @override - final OCSMeta meta; + final String richObjectType; @override - final BuiltList data; + final BuiltMap richObject; + @override + final OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$AutoCompleteGetResponseApplicationJson_Ocs( - [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$Resource([void Function(ResourceBuilder)? updates]) => (ResourceBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); + _$Resource._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'Resource', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Resource', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible'); } @override - AutoCompleteGetResponseApplicationJson_Ocs rebuild( - void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => - AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); + ResourceBuilder toBuilder() => ResourceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is Resource && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, richObjectType.hashCode); + _$hash = $jc(_$hash, richObject.hashCode); + _$hash = $jc(_$hash, openGraphObject.hashCode); + _$hash = $jc(_$hash, accessible.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'Resource') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class AutoCompleteGetResponseApplicationJson_OcsBuilder - implements - Builder, - AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; +class ResourceBuilder implements Builder, ResourceInterfaceBuilder { + _$Resource? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; - AutoCompleteGetResponseApplicationJson_OcsBuilder(); + OpenGraphObjectBuilder? _openGraphObject; + OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); + set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; - AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(covariant bool? accessible) => _$this._accessible = accessible; + + ResourceBuilder(); + + ResourceBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { + void replace(covariant Resource other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; + _$v = other as _$Resource; } @override - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(ResourceBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); + Resource build() => _build(); - _$AutoCompleteGetResponseApplicationJson_Ocs _build() { - _$AutoCompleteGetResponseApplicationJson_Ocs _$result; + _$Resource _build() { + _$Resource _$result; try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$Resource._( + richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Resource', _$failedField, e.toString()); } rethrow; } @@ -9741,101 +11154,124 @@ class AutoCompleteGetResponseApplicationJson_OcsBuilder } } -abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJsonInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) updates); - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; - set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollectionInterfaceBuilder { + void replace(CollectionInterface other); + void update(void Function(CollectionInterfaceBuilder) updates); + int? get id; + set id(int? id); + + String? get name; + set name(String? name); + + ListBuilder get resources; + set resources(ListBuilder? resources); } -class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseApplicationJson { +class _$Collection extends Collection { @override - final AutoCompleteGetResponseApplicationJson_Ocs ocs; + final int id; + @override + final String name; + @override + final BuiltList resources; - factory _$AutoCompleteGetResponseApplicationJson( - [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$Collection([void Function(CollectionBuilder)? updates]) => (CollectionBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); + _$Collection._({required this.id, required this.name, required this.resources}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); + BuiltValueNullFieldError.checkNotNull(resources, r'Collection', 'resources'); } @override - AutoCompleteGetResponseApplicationJson rebuild( - void Function(AutoCompleteGetResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => - AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); + CollectionBuilder toBuilder() => CollectionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson && ocs == other.ocs; + return other is Collection && id == other.id && name == other.name && resources == other.resources; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, resources.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'Collection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) + .toString(); } } -class AutoCompleteGetResponseApplicationJsonBuilder - implements - Builder, - AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson? _$v; +class CollectionBuilder implements Builder, CollectionInterfaceBuilder { + _$Collection? _$v; - AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AutoCompleteGetResponseApplicationJson_OcsBuilder(); - set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; - AutoCompleteGetResponseApplicationJsonBuilder(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AutoCompleteGetResponseApplicationJsonBuilder get _$this { + ListBuilder? _resources; + ListBuilder get resources => _$this._resources ??= ListBuilder(); + set resources(covariant ListBuilder? resources) => _$this._resources = resources; + + CollectionBuilder(); + + CollectionBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _id = $v.id; + _name = $v.name; + _resources = $v.resources.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AutoCompleteGetResponseApplicationJson other) { + void replace(covariant Collection other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson; + _$v = other as _$Collection; } @override - void update(void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollectionBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson build() => _build(); + Collection build() => _build(); - _$AutoCompleteGetResponseApplicationJson _build() { - _$AutoCompleteGetResponseApplicationJson _$result; + _$Collection _build() { + _$Collection _$result; try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$Collection._( + id: BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'), + resources: resources.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'resources'; + resources.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'Collection', _$failedField, e.toString()); } rethrow; } @@ -9844,505 +11280,602 @@ class AutoCompleteGetResponseApplicationJsonBuilder } } -abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$AvatarAvatarGetAvatarDarkHeaders extends AvatarAvatarGetAvatarDarkHeaders { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { @override - final int? xNcIscustomavatar; + final OCSMeta meta; + @override + final BuiltList data; - factory _$AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'data'); + } @override - AvatarAvatarGetAvatarDarkHeaders rebuild(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarDarkHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class AvatarAvatarGetAvatarDarkHeadersBuilder +class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder implements - Builder, - AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarDarkHeaders? _$v; + Builder, + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - AvatarAvatarGetAvatarDarkHeadersBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { + void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; + _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; } @override - void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarDarkHeaders build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => _build(); - _$AvatarAvatarGetAvatarDarkHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs); } -class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson + extends CollaborationResourcesSearchCollectionsResponseApplicationJson { @override - final int? xNcIscustomavatar; + final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; - factory _$AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesSearchCollectionsResponseApplicationJson', 'ocs'); + } @override - AvatarAvatarGetAvatarHeaders rebuild(void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => + CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( + void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarHeadersBuilder toBuilder() => AvatarAvatarGetAvatarHeadersBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CollaborationResourcesSearchCollectionsResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarHeaders')..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class AvatarAvatarGetAvatarHeadersBuilder +class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder implements - Builder, - AvatarAvatarGetAvatarHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarHeaders? _$v; + Builder, + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - AvatarAvatarGetAvatarHeadersBuilder(); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); - AvatarAvatarGetAvatarHeadersBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarHeaders other) { + void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarHeaders; + _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; } @override - void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { + void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarHeaders build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson build() => _build(); - _$AvatarAvatarGetAvatarHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesSearchCollectionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { - void replace(LoginFlowV2CredentialsInterface other); - void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); - String? get server; - set server(String? server); - - String? get loginName; - set loginName(String? loginName); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get appPassword; - set appPassword(String? appPassword); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { - @override - final String server; +class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { @override - final String loginName; + final OCSMeta meta; @override - final String appPassword; + final Collection data; - factory _$LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? updates]) => - (LoginFlowV2CredentialsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$LoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword'); + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'data'); } @override - LoginFlowV2Credentials rebuild(void Function(LoginFlowV2CredentialsBuilder) updates) => + CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - LoginFlowV2CredentialsBuilder toBuilder() => LoginFlowV2CredentialsBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2Credentials && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is CollaborationResourcesListCollectionResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, server.hashCode); - _$hash = $jc(_$hash, loginName.hashCode); - _$hash = $jc(_$hash, appPassword.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2Credentials') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class LoginFlowV2CredentialsBuilder - implements Builder, LoginFlowV2CredentialsInterfaceBuilder { - _$LoginFlowV2Credentials? _$v; - - String? _server; - String? get server => _$this._server; - set server(covariant String? server) => _$this._server = server; +class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder + implements + Builder, + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(covariant String? loginName) => _$this._loginName = loginName; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(covariant String? appPassword) => _$this._appPassword = appPassword; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - LoginFlowV2CredentialsBuilder(); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); - LoginFlowV2CredentialsBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _server = $v.server; - _loginName = $v.loginName; - _appPassword = $v.appPassword; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2Credentials other) { + void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2Credentials; + _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2Credentials build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => _build(); - _$LoginFlowV2Credentials _build() { - final _$result = _$v ?? - _$LoginFlowV2Credentials._( - server: BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'), - appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword')); + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2_PollInterfaceBuilder { - void replace(LoginFlowV2_PollInterface other); - void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); - String? get token; - set token(String? token); - - String? get endpoint; - set endpoint(String? endpoint); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesListCollectionResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs); } -class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { - @override - final String token; +class _$CollaborationResourcesListCollectionResponseApplicationJson + extends CollaborationResourcesListCollectionResponseApplicationJson { @override - final String endpoint; + final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; - factory _$LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? updates]) => - (LoginFlowV2_PollBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson( + [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..update(updates))._build(); - _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint'); + _$CollaborationResourcesListCollectionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); } @override - LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesListCollectionResponseApplicationJson rebuild( + void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - LoginFlowV2_PollBuilder toBuilder() => LoginFlowV2_PollBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + return other is CollaborationResourcesListCollectionResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, token.hashCode); - _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class LoginFlowV2_PollBuilder - implements Builder, LoginFlowV2_PollInterfaceBuilder { - _$LoginFlowV2_Poll? _$v; - - String? _token; - String? get token => _$this._token; - set token(covariant String? token) => _$this._token = token; +class CollaborationResourcesListCollectionResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - LoginFlowV2_PollBuilder(); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); - LoginFlowV2_PollBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _token = $v.token; - _endpoint = $v.endpoint; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2_Poll other) { + void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2_Poll; + _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson; } @override - void update(void Function(LoginFlowV2_PollBuilder)? updates) { + void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2_Poll build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson build() => _build(); - _$LoginFlowV2_Poll _build() { - final _$result = _$v ?? - _$LoginFlowV2_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint')); + _$CollaborationResourcesListCollectionResponseApplicationJson _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesListCollectionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesListCollectionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2InterfaceBuilder { - void replace(LoginFlowV2Interface other); - void update(void Function(LoginFlowV2InterfaceBuilder) updates); - LoginFlowV2_PollBuilder get poll; - set poll(LoginFlowV2_PollBuilder? poll); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get login; - set login(String? login); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$LoginFlowV2 extends LoginFlowV2 { +class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { @override - final LoginFlowV2_Poll poll; + final OCSMeta meta; @override - final String login; + final Collection data; - factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => - (LoginFlowV2Builder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$LoginFlowV2._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'data'); } @override - LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - LoginFlowV2Builder toBuilder() => LoginFlowV2Builder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2 && poll == other.poll && login == other.login; + return other is CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class LoginFlowV2Builder implements Builder, LoginFlowV2InterfaceBuilder { - _$LoginFlowV2? _$v; +class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder + implements + Builder, + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; - LoginFlowV2_PollBuilder? _poll; - LoginFlowV2_PollBuilder get poll => _$this._poll ??= LoginFlowV2_PollBuilder(); - set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _login; - String? get login => _$this._login; - set login(covariant String? login) => _$this._login = login; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - LoginFlowV2Builder(); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); - LoginFlowV2Builder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2 other) { + void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2; + _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(LoginFlowV2Builder)? updates) { + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2 build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => _build(); - _$LoginFlowV2 _build() { - _$LoginFlowV2 _$result; + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$LoginFlowV2._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login')); + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'poll'; - poll.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'LoginFlowV2', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10351,294 +11884,234 @@ class LoginFlowV2Builder implements Builder, Lo } } -abstract mixin class OpenGraphObjectInterfaceBuilder { - void replace(OpenGraphObjectInterface other); - void update(void Function(OpenGraphObjectInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); - - String? get description; - set description(String? description); - - String? get thumb; - set thumb(String? thumb); - - String? get link; - set link(String? link); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesRenameCollectionResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs); } -class _$OpenGraphObject extends OpenGraphObject { - @override - final String id; - @override - final String name; - @override - final String? description; - @override - final String? thumb; +class _$CollaborationResourcesRenameCollectionResponseApplicationJson + extends CollaborationResourcesRenameCollectionResponseApplicationJson { @override - final String link; + final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; - factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => - (OpenGraphObjectBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..update(updates))._build(); - _$OpenGraphObject._({required this.id, required this.name, this.description, this.thumb, required this.link}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); - BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); + _$CollaborationResourcesRenameCollectionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRenameCollectionResponseApplicationJson', 'ocs'); } @override - OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( + void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OpenGraphObjectBuilder toBuilder() => OpenGraphObjectBuilder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OpenGraphObject && - id == other.id && - name == other.name && - description == other.description && - thumb == other.thumb && - link == other.link; + return other is CollaborationResourcesRenameCollectionResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, description.hashCode); - _$hash = $jc(_$hash, thumb.hashCode); - _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OpenGraphObject') - ..add('id', id) - ..add('name', name) - ..add('description', description) - ..add('thumb', thumb) - ..add('link', link)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class OpenGraphObjectBuilder - implements Builder, OpenGraphObjectInterfaceBuilder { - _$OpenGraphObject? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - String? _description; - String? get description => _$this._description; - set description(covariant String? description) => _$this._description = description; - - String? _thumb; - String? get thumb => _$this._thumb; - set thumb(covariant String? thumb) => _$this._thumb = thumb; +class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; - String? _link; - String? get link => _$this._link; - set link(covariant String? link) => _$this._link = link; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - OpenGraphObjectBuilder(); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); - OpenGraphObjectBuilder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; - _thumb = $v.thumb; - _link = $v.link; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OpenGraphObject other) { + void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OpenGraphObject; + _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson; } @override - void update(void Function(OpenGraphObjectBuilder)? updates) { + void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - OpenGraphObject build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson build() => _build(); - _$OpenGraphObject _build() { - final _$result = _$v ?? - _$OpenGraphObject._( - id: BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'), - description: description, - thumb: thumb, - link: BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link')); + _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesRenameCollectionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CollaborationResourcesRenameCollectionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ResourceInterfaceBuilder { - void replace(ResourceInterface other); - void update(void Function(ResourceInterfaceBuilder) updates); - String? get richObjectType; - set richObjectType(String? richObjectType); - - MapBuilder get richObject; - set richObject(MapBuilder? richObject); - - OpenGraphObjectBuilder get openGraphObject; - set openGraphObject(OpenGraphObjectBuilder? openGraphObject); - - bool? get accessible; - set accessible(bool? accessible); +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$Resource extends Resource { - @override - final String richObjectType; - @override - final BuiltMap richObject; +class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs + extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { @override - final OpenGraphObject openGraphObject; + final OCSMeta meta; @override - final bool accessible; + final Collection data; - factory _$Resource([void Function(ResourceBuilder)? updates]) => (ResourceBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$Resource._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'Resource', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Resource', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'data'); } @override - Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ResourceBuilder toBuilder() => ResourceBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Resource && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is CollaborationResourcesAddResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, richObjectType.hashCode); - _$hash = $jc(_$hash, richObject.hashCode); - _$hash = $jc(_$hash, openGraphObject.hashCode); - _$hash = $jc(_$hash, accessible.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Resource') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ResourceBuilder implements Builder, ResourceInterfaceBuilder { - _$Resource? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; - - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; +class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder + implements + Builder, + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; - OpenGraphObjectBuilder? _openGraphObject; - OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); - set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(covariant bool? accessible) => _$this._accessible = accessible; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - ResourceBuilder(); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); - ResourceBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant Resource other) { + void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Resource; + _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; } @override - void update(void Function(ResourceBuilder)? updates) { + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - Resource build() => _build(); + CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => _build(); - _$Resource _build() { - _$Resource _$result; + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$Resource._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible')); + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Resource', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10647,124 +12120,105 @@ class ResourceBuilder implements Builder, ResourceInt } } -abstract mixin class CollectionInterfaceBuilder { - void replace(CollectionInterface other); - void update(void Function(CollectionInterfaceBuilder) updates); - int? get id; - set id(int? id); - - String? get name; - set name(String? name); - - ListBuilder get resources; - set resources(ListBuilder? resources); +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesAddResourceResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$Collection extends Collection { - @override - final int id; - @override - final String name; +class _$CollaborationResourcesAddResourceResponseApplicationJson + extends CollaborationResourcesAddResourceResponseApplicationJson { @override - final BuiltList resources; + final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; - factory _$Collection([void Function(CollectionBuilder)? updates]) => (CollectionBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson( + [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$Collection._({required this.id, required this.name, required this.resources}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); - BuiltValueNullFieldError.checkNotNull(resources, r'Collection', 'resources'); + _$CollaborationResourcesAddResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); } @override - Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesAddResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CollectionBuilder toBuilder() => CollectionBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Collection && id == other.id && name == other.name && resources == other.resources; + return other is CollaborationResourcesAddResourceResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, resources.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Collection') - ..add('id', id) - ..add('name', name) - ..add('resources', resources)) + return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class CollectionBuilder implements Builder, CollectionInterfaceBuilder { - _$Collection? _$v; - - int? _id; - int? get id => _$this._id; - set id(covariant int? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; +class CollaborationResourcesAddResourceResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; - ListBuilder? _resources; - ListBuilder get resources => _$this._resources ??= ListBuilder(); - set resources(covariant ListBuilder? resources) => _$this._resources = resources; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollectionBuilder(); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); - CollectionBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _resources = $v.resources.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant Collection other) { + void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Collection; + _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; } @override - void update(void Function(CollectionBuilder)? updates) { + void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - Collection build() => _build(); + CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); - _$Collection _build() { - _$Collection _$result; + _$CollaborationResourcesAddResourceResponseApplicationJson _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson _$result; try { - _$result = _$v ?? - _$Collection._( - id: BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'), - resources: resources.build()); + _$result = _$v ?? _$CollaborationResourcesAddResourceResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resources'; - resources.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Collection', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10773,49 +12227,48 @@ class CollectionBuilder implements Builder, Colle } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface other); + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ListBuilder get data; - set data(ListBuilder? data); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs - extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final BuiltList data; + final Collection data; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'meta'); + meta, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'data'); + data, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && + return other is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -10831,31 +12284,31 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -10866,25 +12319,24 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder } @override - void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -10894,7 +12346,7 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10903,40 +12355,39 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesRemoveResourceResponseApplicationJsonInterface other); + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson - extends CollaborationResourcesSearchCollectionsResponseApplicationJson { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson + extends CollaborationResourcesRemoveResourceResponseApplicationJson { @override - final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; + final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesSearchCollectionsResponseApplicationJson', 'ocs'); + _$CollaborationResourcesRemoveResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson && ocs == other.ocs; + return other is CollaborationResourcesRemoveResourceResponseApplicationJson && ocs == other.ocs; } @override @@ -10949,28 +12400,27 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson') + return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson') ..add('ocs', ocs)) .toString(); } } -class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -10980,23 +12430,23 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder } @override - void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson other) { + void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; + _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson build() => _build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; + _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; try { - _$result = _$v ?? _$CollaborationResourcesSearchCollectionsResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CollaborationResourcesRemoveResourceResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -11004,7 +12454,7 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesSearchCollectionsResponseApplicationJson', _$failedField, e.toString()); + r'CollaborationResourcesRemoveResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11013,48 +12463,50 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - CollectionBuilder get data; - set data(CollectionBuilder? data); + ListBuilder get data; + set data(ListBuilder? data); } -class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final Collection data; + final BuiltList data; - factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates]) => + (CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'meta'); + meta, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'data'); + data, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson_Ocs && + return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -11070,31 +12522,31 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; + Builder, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -11105,24 +12557,26 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -11132,7 +12586,7 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11141,39 +12595,41 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface other); + void update( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesListCollectionResponseApplicationJson - extends CollaborationResourcesListCollectionResponseApplicationJson { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { @override - final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; + final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesListCollectionResponseApplicationJson( - [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesListCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesListCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson && ocs == other.ocs; + return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && ocs == other.ocs; } @override @@ -11186,27 +12642,28 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson') + return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') ..add('ocs', ocs)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJsonBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; + Builder, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); - CollaborationResourcesListCollectionResponseApplicationJsonBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -11216,23 +12673,23 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson other) { + void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson; + _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates) { + void update(void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson _$result; + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _$result; try { - _$result = _$v ?? _$CollaborationResourcesListCollectionResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -11240,7 +12697,7 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson', _$failedField, e.toString()); + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11249,9 +12706,11 @@ class CollaborationResourcesListCollectionResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface other); + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -11259,38 +12718,40 @@ abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJs set data(CollectionBuilder? data); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { @override final OCSMeta meta; @override final Collection data; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'meta'); + meta, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'data'); + data, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) updates) => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs rebuild( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..replace(this); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder toBuilder() => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs && + return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -11306,19 +12767,19 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; + Builder, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); @@ -11328,9 +12789,9 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder CollectionBuilder get data => _$this._data ??= CollectionBuilder(); set data(covariant CollectionBuilder? data) => _$this._data = data; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get _$this { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -11341,24 +12802,26 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs other) { + void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; + _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => _build(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _$result; + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -11366,9 +12829,120 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder meta.build(); _$failedField = 'data'; data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', + _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface other); + void update( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) updates); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { + @override + final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs ocs; + + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates]) => + (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', 'ocs'); + } + + @override + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( + void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder toBuilder() => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? _$v; + + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + set ocs(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; + + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); + + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; + } + + @override + void update(void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson build() => _build(); + + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11377,234 +12951,276 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ContactsActionInterfaceBuilder { + void replace(ContactsActionInterface other); + void update(void Function(ContactsActionInterfaceBuilder) updates); + String? get title; + set title(String? title); + + String? get icon; + set icon(String? icon); + + String? get hyperlink; + set hyperlink(String? hyperlink); + + String? get appId; + set appId(String? appId); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson - extends CollaborationResourcesRenameCollectionResponseApplicationJson { +class _$ContactsAction extends ContactsAction { @override - final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; + final String title; + @override + final String icon; + @override + final String hyperlink; + @override + final String appId; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => + (ContactsActionBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRenameCollectionResponseApplicationJson', 'ocs'); + _$ContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..replace(this); + ContactsActionBuilder toBuilder() => ContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson && ocs == other.ocs; + return other is ContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, hyperlink.hashCode); + _$hash = $jc(_$hash, appId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'ContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder - implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; +class ContactsActionBuilder implements Builder, ContactsActionInterfaceBuilder { + _$ContactsAction? _$v; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder get _$this { + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; + + String? _appId; + String? get appId => _$this._appId; + set appId(covariant String? appId) => _$this._appId = appId; + + ContactsActionBuilder(); + + ContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson other) { + void replace(covariant ContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson; + _$v = other as _$ContactsAction; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates) { + void update(void Function(ContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson build() => _build(); + ContactsAction build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesRenameCollectionResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$ContactsAction _build() { + final _$result = _$v ?? + _$ContactsAction._( + title: BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get userId; + set userId(String? userId); - CollectionBuilder get data; - set data(CollectionBuilder? data); + String? get displayName; + set displayName(String? displayName); + + ListBuilder get actions; + set actions(ListBuilder? actions); } -class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs - extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { +class _$HoverCardGetUserResponseApplicationJson_Ocs_Data extends HoverCardGetUserResponseApplicationJson_Ocs_Data { @override - final OCSMeta meta; + final String userId; @override - final Collection data; + final String displayName; + @override + final BuiltList actions; - factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( + [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) : super._() { + BuiltValueNullFieldError.checkNotNull(userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'data'); + displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull(actions, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) updates) => + HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( + void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, actions.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder +class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; + Builder, + HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + ListBuilder? _actions; + ListBuilder get actions => _$this._actions ??= ListBuilder(); + set actions(covariant ListBuilder? actions) => _$this._actions = actions; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get _$this { + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs other) { + void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'), + actions: actions.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'actions'; + actions.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -11613,105 +13229,118 @@ class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; + set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); } -class _$CollaborationResourcesAddResourceResponseApplicationJson - extends CollaborationResourcesAddResourceResponseApplicationJson { +class _$HoverCardGetUserResponseApplicationJson_Ocs extends HoverCardGetUserResponseApplicationJson_Ocs { @override - final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final HoverCardGetUserResponseApplicationJson_Ocs_Data data; - factory _$CollaborationResourcesAddResourceResponseApplicationJson( - [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs( + [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); + _$HoverCardGetUserResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesAddResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder) updates) => + HoverCardGetUserResponseApplicationJson_Ocs rebuild( + void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => + HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson && ocs == other.ocs; + return other is HoverCardGetUserResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJsonBuilder +class HoverCardGetUserResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; + Builder, + HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CollaborationResourcesAddResourceResponseApplicationJsonBuilder get _$this { + HoverCardGetUserResponseApplicationJson_OcsBuilder(); + + HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson other) { + void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson _$result; + _$HoverCardGetUserResponseApplicationJson_Ocs _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CollaborationResourcesAddResourceResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesAddResourceResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11720,126 +13349,101 @@ class CollaborationResourcesAddResourceResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - CollectionBuilder get data; - set data(CollectionBuilder? data); +abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJsonInterface other); + void update(void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) updates); + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; + set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs - extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$HoverCardGetUserResponseApplicationJson extends HoverCardGetUserResponseApplicationJson { @override - final Collection data; + final HoverCardGetUserResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson( + [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates]) => + (HoverCardGetUserResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'data'); + _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) updates) => + HoverCardGetUserResponseApplicationJson rebuild( + void Function(HoverCardGetUserResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..replace(this); + HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => + HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) - .toString(); + return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson')..add('ocs', ocs)).toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder +class HoverCardGetUserResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson? _$v; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= HoverCardGetUserResponseApplicationJson_OcsBuilder(); + set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + HoverCardGetUserResponseApplicationJsonBuilder(); - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get _$this { + HoverCardGetUserResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs other) { + void replace(covariant HoverCardGetUserResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; + _$v = other as _$HoverCardGetUserResponseApplicationJson; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => _build(); + HoverCardGetUserResponseApplicationJson build() => _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; + _$HoverCardGetUserResponseApplicationJson _build() { + _$HoverCardGetUserResponseApplicationJson _$result; try { - _$result = _$v ?? - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11848,238 +13452,344 @@ class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationEntry_OrderInterfaceBuilder { + void replace(NavigationEntry_OrderInterface other); + void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); + JsonObject? get data; + set data(JsonObject? data); + + int? get $int; + set $int(int? $int); + + String? get string; + set string(String? string); } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson - extends CollaborationResourcesRemoveResourceResponseApplicationJson { +class _$NavigationEntry_Order extends NavigationEntry_Order { @override - final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; + final JsonObject data; + @override + final int? $int; + @override + final String? string; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? updates]) => + (NavigationEntry_OrderBuilder()..update(updates))._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); + _$NavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) updates) => + NavigationEntry_Order rebuild(void Function(NavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..replace(this); + NavigationEntry_OrderBuilder toBuilder() => NavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson && ocs == other.ocs; + return other is NavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationEntry_Order') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder - implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; +class NavigationEntry_OrderBuilder + implements Builder, NavigationEntry_OrderInterfaceBuilder { + _$NavigationEntry_Order? _$v; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); + int? _$int; + int? get $int => _$this._$int; + set $int(covariant int? $int) => _$this._$int = $int; - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder get _$this { + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; + + NavigationEntry_OrderBuilder(); + + NavigationEntry_OrderBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson other) { + void replace(covariant NavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; + _$v = other as _$NavigationEntry_Order; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationEntry_OrderBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson build() => _build(); + NavigationEntry_Order build() => _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesRemoveResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$NavigationEntry_Order _build() { + final _$result = _$v ?? + _$NavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class NavigationEntryInterfaceBuilder { + void replace(NavigationEntryInterface other); + void update(void Function(NavigationEntryInterfaceBuilder) updates); + String? get id; + set id(String? id); - ListBuilder get data; - set data(ListBuilder? data); + NavigationEntry_OrderBuilder get order; + set order(NavigationEntry_OrderBuilder? order); + + String? get href; + set href(String? href); + + String? get icon; + set icon(String? icon); + + String? get type; + set type(String? type); + + String? get name; + set name(String? name); + + bool? get active; + set active(bool? active); + + String? get classes; + set classes(String? classes); + + int? get unread; + set unread(int? unread); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { +class _$NavigationEntry extends NavigationEntry { @override - final OCSMeta meta; + final String id; @override - final BuiltList data; + final NavigationEntry_Order order; + @override + final String href; + @override + final String icon; + @override + final String type; + @override + final String name; + @override + final bool active; + @override + final String classes; + @override + final int unread; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => + (NavigationEntryBuilder()..update(updates))._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$NavigationEntry._( + {required this.id, + required this.order, + required this.href, + required this.icon, + required this.type, + required this.name, + required this.active, + required this.classes, + required this.unread}) : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); + BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..replace(this); + NavigationEntryBuilder toBuilder() => NavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is NavigationEntry && + id == other.id && + order == other.order && + href == other.href && + icon == other.icon && + type == other.type && + name == other.name && + active == other.active && + classes == other.classes && + unread == other.unread; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, href.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, active.hashCode); + _$hash = $jc(_$hash, classes.hashCode); + _$hash = $jc(_$hash, unread.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'NavigationEntry') + ..add('id', id) + ..add('order', order) + ..add('href', href) + ..add('icon', icon) + ..add('type', type) + ..add('name', name) + ..add('active', active) + ..add('classes', classes) + ..add('unread', unread)) .toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder - implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? _$v; +class NavigationEntryBuilder + implements Builder, NavigationEntryInterfaceBuilder { + _$NavigationEntry? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + NavigationEntry_OrderBuilder? _order; + NavigationEntry_OrderBuilder get order => _$this._order ??= NavigationEntry_OrderBuilder(); + set order(covariant NavigationEntry_OrderBuilder? order) => _$this._order = order; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + String? _href; + String? get href => _$this._href; + set href(covariant String? href) => _$this._href = href; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get _$this { + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + bool? _active; + bool? get active => _$this._active; + set active(covariant bool? active) => _$this._active = active; + + String? _classes; + String? get classes => _$this._classes; + set classes(covariant String? classes) => _$this._classes = classes; + + int? _unread; + int? get unread => _$this._unread; + set unread(covariant int? unread) => _$this._unread = unread; + + NavigationEntryBuilder(); + + NavigationEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _id = $v.id; + _order = $v.order.toBuilder(); + _href = $v.href; + _icon = $v.icon; + _type = $v.type; + _name = $v.name; + _active = $v.active; + _classes = $v.classes; + _unread = $v.unread; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs other) { + void replace(covariant NavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; + _$v = other as _$NavigationEntry; } @override - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(NavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs build() => _build(); + NavigationEntry build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _$result; + _$NavigationEntry _build() { + _$NavigationEntry _$result; try { _$result = _$v ?? - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$NavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread')); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'order'; + order.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'NavigationEntry', _$failedField, e.toString()); } rethrow; } @@ -12088,109 +13798,121 @@ class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsB } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface other); - void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace(NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); + void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { +class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs + extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { @override - final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final BuiltList data; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates]) => + (NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', 'ocs'); + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( + void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && ocs == other.ocs; + return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder +class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; + Builder, + NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson other) { + void replace(covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _$result; + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', _$failedField, e.toString()); + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -12199,132 +13921,104 @@ class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuild } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) - updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - CollectionBuilder get data; - set data(CollectionBuilder? data); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + void replace(NavigationGetAppsNavigationResponseApplicationJsonInterface other); + void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) updates); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$NavigationGetAppsNavigationResponseApplicationJson extends NavigationGetAppsNavigationResponseApplicationJson { @override - final Collection data; + final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? - updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$NavigationGetAppsNavigationResponseApplicationJson( + [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates]) => + (NavigationGetAppsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'data'); + _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson rebuild( + void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => + NavigationGetAppsNavigationResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is NavigationGetAppsNavigationResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder +class NavigationGetAppsNavigationResponseApplicationJsonBuilder implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson? _$v; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + set ocs(covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + NavigationGetAppsNavigationResponseApplicationJsonBuilder(); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs other) { + void replace(covariant NavigationGetAppsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; } @override - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _$result; + _$NavigationGetAppsNavigationResponseApplicationJson _build() { + _$NavigationGetAppsNavigationResponseApplicationJson _$result; try { - _$result = _$v ?? - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$result = _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', - _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'NavigationGetAppsNavigationResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -12333,109 +14027,123 @@ class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Oc } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface other); - void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface other); + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { +class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs + extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { @override - final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final BuiltList data; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates]) => + (NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', 'ocs'); + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) updates) => + NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( + void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder toBuilder() => + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && ocs == other.ocs; + return other is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder +class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? _$v; + Builder, + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson other) { + void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates) { + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _$result; + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', _$failedField, e.toString()); + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -12444,499 +14152,436 @@ class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBui } } -abstract mixin class ContactsActionInterfaceBuilder { - void replace(ContactsActionInterface other); - void update(void Function(ContactsActionInterfaceBuilder) updates); - String? get title; - set title(String? title); - - String? get icon; - set icon(String? icon); - - String? get hyperlink; - set hyperlink(String? hyperlink); - - String? get appId; - set appId(String? appId); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + void replace(NavigationGetSettingsNavigationResponseApplicationJsonInterface other); + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) updates); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$ContactsAction extends ContactsAction { - @override - final String title; - @override - final String icon; - @override - final String hyperlink; +class _$NavigationGetSettingsNavigationResponseApplicationJson + extends NavigationGetSettingsNavigationResponseApplicationJson { @override - final String appId; + final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; - factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => - (ContactsActionBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson( + [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates]) => + (NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); - _$ContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) - : super._() { - BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); - BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); - BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'); - BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); + _$NavigationGetSettingsNavigationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); } @override - ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); + NavigationGetSettingsNavigationResponseApplicationJson rebuild( + void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ContactsActionBuilder toBuilder() => ContactsActionBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => + NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ContactsAction && - title == other.title && - icon == other.icon && - hyperlink == other.hyperlink && - appId == other.appId; + return other is NavigationGetSettingsNavigationResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, hyperlink.hashCode); - _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ContactsAction') - ..add('title', title) - ..add('icon', icon) - ..add('hyperlink', hyperlink) - ..add('appId', appId)) + return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson')..add('ocs', ocs)) .toString(); } } -class ContactsActionBuilder implements Builder, ContactsActionInterfaceBuilder { - _$ContactsAction? _$v; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - String? _hyperlink; - String? get hyperlink => _$this._hyperlink; - set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; +class NavigationGetSettingsNavigationResponseApplicationJsonBuilder + implements + Builder, + NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; - String? _appId; - String? get appId => _$this._appId; - set appId(covariant String? appId) => _$this._appId = appId; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + set ocs(covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ContactsActionBuilder(); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); - ContactsActionBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _title = $v.title; - _icon = $v.icon; - _hyperlink = $v.hyperlink; - _appId = $v.appId; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ContactsAction other) { + void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ContactsAction; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; } @override - void update(void Function(ContactsActionBuilder)? updates) { + void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ContactsAction build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); - _$ContactsAction _build() { - final _$result = _$v ?? - _$ContactsAction._( - title: BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'), - hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'), - appId: BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId')); + _$NavigationGetSettingsNavigationResponseApplicationJson _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson _$result; + try { + _$result = _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'NavigationGetSettingsNavigationResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get userId; - set userId(String? userId); - - String? get displayName; - set displayName(String? displayName); - - ListBuilder get actions; - set actions(ListBuilder? actions); +abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { + void replace(OcmOcmDiscoveryHeadersInterface other); + void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); + bool? get xNextcloudOcmProviders; + set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); } -class _$HoverCardGetUserResponseApplicationJson_Ocs_Data extends HoverCardGetUserResponseApplicationJson_Ocs_Data { - @override - final String userId; - @override - final String displayName; +class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { @override - final BuiltList actions; + final bool? xNextcloudOcmProviders; - factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( - [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => + (OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - {required this.userId, required this.displayName, required this.actions}) - : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); - BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); - BuiltValueNullFieldError.checkNotNull(actions, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); - } + _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); @override - HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( - void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) updates) => + OcmOcmDiscoveryHeaders rebuild(void Function(OcmOcmDiscoveryHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..replace(this); + OcmOcmDiscoveryHeadersBuilder toBuilder() => OcmOcmDiscoveryHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && - userId == other.userId && - displayName == other.displayName && - actions == other.actions; + return other is OcmOcmDiscoveryHeaders && xNextcloudOcmProviders == other.xNextcloudOcmProviders; } @override int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, displayName.hashCode); - _$hash = $jc(_$hash, actions.hashCode); + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs_Data') - ..add('userId', userId) - ..add('displayName', displayName) - ..add('actions', actions)) + return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') + ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder - implements - Builder, - HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; - - String? _userId; - String? get userId => _$this._userId; - set userId(covariant String? userId) => _$this._userId = userId; - - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(covariant String? displayName) => _$this._displayName = displayName; +class OcmOcmDiscoveryHeadersBuilder + implements Builder, OcmOcmDiscoveryHeadersInterfaceBuilder { + _$OcmOcmDiscoveryHeaders? _$v; - ListBuilder? _actions; - ListBuilder get actions => _$this._actions ??= ListBuilder(); - set actions(covariant ListBuilder? actions) => _$this._actions = actions; + bool? _xNextcloudOcmProviders; + bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; + set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => + _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + OcmOcmDiscoveryHeadersBuilder(); - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { + OcmOcmDiscoveryHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _displayName = $v.displayName; - _actions = $v.actions.toBuilder(); + _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { + void replace(covariant OcmOcmDiscoveryHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; + _$v = other as _$OcmOcmDiscoveryHeaders; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); + OcmOcmDiscoveryHeaders build() => _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - userId: BuiltValueNullFieldError.checkNotNull( - userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'), - displayName: BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'), - actions: actions.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'actions'; - actions.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'HoverCardGetUserResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$OcmOcmDiscoveryHeaders _build() { + final _$result = _$v ?? _$OcmOcmDiscoveryHeaders._(xNextcloudOcmProviders: xNextcloudOcmProviders); replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; - set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) updates); + String? get webdav; + set webdav(String? webdav); } -class _$HoverCardGetUserResponseApplicationJson_Ocs extends HoverCardGetUserResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols + extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { @override - final HoverCardGetUserResponseApplicationJson_Ocs_Data data; + final String webdav; - factory _$HoverCardGetUserResponseApplicationJson_Ocs( - [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._({required this.webdav}) : super._() { + BuiltValueNullFieldError.checkNotNull( + webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav'); } @override - HoverCardGetUserResponseApplicationJson_Ocs rebuild( - void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( + void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder toBuilder() => + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && webdav == other.webdav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, webdav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') + ..add('webdav', webdav)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_OcsBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder implements - Builder, - HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _webdav; + String? get webdav => _$this._webdav; + set webdav(covariant String? webdav) => _$this._webdav = webdav; - HoverCardGetUserResponseApplicationJson_OcsBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _webdav = $v.webdav; _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { + void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; + _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { + final _$result = _$v ?? + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( + webdav: BuiltValueNullFieldError.checkNotNull( + webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav')); replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJsonInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) updates); - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; - set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) updates); + String? get name; + set name(String? name); + + ListBuilder get shareTypes; + set shareTypes(ListBuilder? shareTypes); + + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols; + set protocols(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols); } -class _$HoverCardGetUserResponseApplicationJson extends HoverCardGetUserResponseApplicationJson { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes extends OcmDiscoveryResponseApplicationJson_ResourceTypes { @override - final HoverCardGetUserResponseApplicationJson_Ocs ocs; + final String name; + @override + final BuiltList shareTypes; + @override + final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; - factory _$HoverCardGetUserResponseApplicationJson( - [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..update(updates))._build(); - _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + {required this.name, required this.shareTypes, required this.protocols}) + : super._() { + BuiltValueNullFieldError.checkNotNull(name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); + BuiltValueNullFieldError.checkNotNull( + shareTypes, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); + BuiltValueNullFieldError.checkNotNull(protocols, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); } @override - HoverCardGetUserResponseApplicationJson rebuild( - void Function(HoverCardGetUserResponseApplicationJsonBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( + void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => - HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; + return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && + name == other.name && + shareTypes == other.shareTypes && + protocols == other.protocols; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, shareTypes.hashCode); + _$hash = $jc(_$hash, protocols.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes') + ..add('name', name) + ..add('shareTypes', shareTypes) + ..add('protocols', protocols)) + .toString(); } } -class HoverCardGetUserResponseApplicationJsonBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder implements - Builder, - HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson? _$v; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + ListBuilder? _shareTypes; + ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); + set shareTypes(covariant ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; - HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= HoverCardGetUserResponseApplicationJson_OcsBuilder(); - set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? _protocols; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols => + _$this._protocols ??= OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + set protocols(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols) => + _$this._protocols = protocols; - HoverCardGetUserResponseApplicationJsonBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); - HoverCardGetUserResponseApplicationJsonBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _name = $v.name; + _shareTypes = $v.shareTypes.toBuilder(); + _protocols = $v.protocols.toBuilder(); _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson other) { + void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson; + _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; } @override - void update(void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); - _$HoverCardGetUserResponseApplicationJson _build() { - _$HoverCardGetUserResponseApplicationJson _$result; + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), + shareTypes: shareTypes.build(), + protocols: protocols.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'shareTypes'; + shareTypes.build(); + _$failedField = 'protocols'; + protocols.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', _$failedField, e.toString()); } rethrow; } @@ -12945,573 +14590,531 @@ class HoverCardGetUserResponseApplicationJsonBuilder } } -abstract mixin class NavigationEntry_OrderInterfaceBuilder { - void replace(NavigationEntry_OrderInterface other); - void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); - JsonObject? get data; - set data(JsonObject? data); +abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJsonInterface other); + void update(void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - int? get $int; - set $int(int? $int); + String? get apiVersion; + set apiVersion(String? apiVersion); - String? get string; - set string(String? string); + String? get endPoint; + set endPoint(String? endPoint); + + ListBuilder get resourceTypes; + set resourceTypes(ListBuilder? resourceTypes); } -class _$NavigationEntry_Order extends NavigationEntry_Order { +class _$OcmDiscoveryResponseApplicationJson extends OcmDiscoveryResponseApplicationJson { @override - final JsonObject data; + final bool enabled; @override - final int? $int; + final String apiVersion; @override - final String? string; + final String endPoint; + @override + final BuiltList resourceTypes; - factory _$NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? updates]) => - (NavigationEntry_OrderBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates]) => + (OcmDiscoveryResponseApplicationJsonBuilder()..update(updates))._build(); - _$NavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'); + _$OcmDiscoveryResponseApplicationJson._( + {required this.enabled, required this.apiVersion, required this.endPoint, required this.resourceTypes}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); + BuiltValueNullFieldError.checkNotNull(apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); + BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); + BuiltValueNullFieldError.checkNotNull(resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); } @override - NavigationEntry_Order rebuild(void Function(NavigationEntry_OrderBuilder) updates) => + OcmDiscoveryResponseApplicationJson rebuild(void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationEntry_OrderBuilder toBuilder() => NavigationEntry_OrderBuilder()..replace(this); + OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; + return other is OcmDiscoveryResponseApplicationJson && + enabled == other.enabled && + apiVersion == other.apiVersion && + endPoint == other.endPoint && + resourceTypes == other.resourceTypes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, endPoint.hashCode); + _$hash = $jc(_$hash, resourceTypes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') + ..add('enabled', enabled) + ..add('apiVersion', apiVersion) + ..add('endPoint', endPoint) + ..add('resourceTypes', resourceTypes)) .toString(); } } -class NavigationEntry_OrderBuilder - implements Builder, NavigationEntry_OrderInterfaceBuilder { - _$NavigationEntry_Order? _$v; +class OcmDiscoveryResponseApplicationJsonBuilder + implements + Builder, + OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - int? _$int; - int? get $int => _$this._$int; - set $int(covariant int? $int) => _$this._$int = $int; + String? _apiVersion; + String? get apiVersion => _$this._apiVersion; + set apiVersion(covariant String? apiVersion) => _$this._apiVersion = apiVersion; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + String? _endPoint; + String? get endPoint => _$this._endPoint; + set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; - NavigationEntry_OrderBuilder(); + ListBuilder? _resourceTypes; + ListBuilder get resourceTypes => + _$this._resourceTypes ??= ListBuilder(); + set resourceTypes(covariant ListBuilder? resourceTypes) => + _$this._resourceTypes = resourceTypes; - NavigationEntry_OrderBuilder get _$this { + OcmDiscoveryResponseApplicationJsonBuilder(); + + OcmDiscoveryResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _enabled = $v.enabled; + _apiVersion = $v.apiVersion; + _endPoint = $v.endPoint; + _resourceTypes = $v.resourceTypes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationEntry_Order other) { + void replace(covariant OcmDiscoveryResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry_Order; + _$v = other as _$OcmDiscoveryResponseApplicationJson; } @override - void update(void Function(NavigationEntry_OrderBuilder)? updates) { + void update(void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationEntry_Order build() => _build(); + OcmDiscoveryResponseApplicationJson build() => _build(); - _$NavigationEntry_Order _build() { - final _$result = _$v ?? - _$NavigationEntry_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'), - $int: $int, - string: string); + _$OcmDiscoveryResponseApplicationJson _build() { + _$OcmDiscoveryResponseApplicationJson _$result; + try { + _$result = _$v ?? + _$OcmDiscoveryResponseApplicationJson._( + enabled: + BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), + apiVersion: BuiltValueNullFieldError.checkNotNull( + apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), + endPoint: + BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), + resourceTypes: resourceTypes.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'resourceTypes'; + resourceTypes.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'OcmDiscoveryResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class NavigationEntryInterfaceBuilder { - void replace(NavigationEntryInterface other); - void update(void Function(NavigationEntryInterfaceBuilder) updates); - String? get id; - set id(String? id); - - NavigationEntry_OrderBuilder get order; - set order(NavigationEntry_OrderBuilder? order); - - String? get href; - set href(String? href); - - String? get icon; - set icon(String? icon); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface other); + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) updates); + int? get major; + set major(int? major); - String? get type; - set type(String? type); + int? get minor; + set minor(int? minor); - String? get name; - set name(String? name); + int? get micro; + set micro(int? micro); - bool? get active; - set active(bool? active); + String? get string; + set string(String? string); - String? get classes; - set classes(String? classes); + String? get edition; + set edition(String? edition); - int? get unread; - set unread(int? unread); + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); } -class _$NavigationEntry extends NavigationEntry { - @override - final String id; - @override - final NavigationEntry_Order order; - @override - final String href; +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { @override - final String icon; + final int major; @override - final String type; + final int minor; @override - final String name; + final int micro; @override - final bool active; + final String string; @override - final String classes; + final String edition; @override - final int unread; + final bool extendedSupport; - factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => - (NavigationEntryBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates]) => + (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); - _$NavigationEntry._( - {required this.id, - required this.order, - required this.href, - required this.icon, - required this.type, - required this.name, - required this.active, - required this.classes, - required this.unread}) + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); + BuiltValueNullFieldError.checkNotNull( + major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); + BuiltValueNullFieldError.checkNotNull( + minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull( + micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport'); } @override - NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - NavigationEntryBuilder toBuilder() => NavigationEntryBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder toBuilder() => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry && - id == other.id && - order == other.order && - href == other.href && - icon == other.icon && - type == other.type && - name == other.name && - active == other.active && - classes == other.classes && - unread == other.unread; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version && + major == other.major && + minor == other.minor && + micro == other.micro && + string == other.string && + edition == other.edition && + extendedSupport == other.extendedSupport; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, order.hashCode); - _$hash = $jc(_$hash, href.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, type.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, active.hashCode); - _$hash = $jc(_$hash, classes.hashCode); - _$hash = $jc(_$hash, unread.hashCode); + _$hash = $jc(_$hash, major.hashCode); + _$hash = $jc(_$hash, minor.hashCode); + _$hash = $jc(_$hash, micro.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry') - ..add('id', id) - ..add('order', order) - ..add('href', href) - ..add('icon', icon) - ..add('type', type) - ..add('name', name) - ..add('active', active) - ..add('classes', classes) - ..add('unread', unread)) + return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class NavigationEntryBuilder - implements Builder, NavigationEntryInterfaceBuilder { - _$NavigationEntry? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - NavigationEntry_OrderBuilder? _order; - NavigationEntry_OrderBuilder get order => _$this._order ??= NavigationEntry_OrderBuilder(); - set order(covariant NavigationEntry_OrderBuilder? order) => _$this._order = order; - - String? _href; - String? get href => _$this._href; - set href(covariant String? href) => _$this._href = href; +class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder + implements + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; + int? _major; + int? get major => _$this._major; + set major(covariant int? major) => _$this._major = major; - String? _type; - String? get type => _$this._type; - set type(covariant String? type) => _$this._type = type; + int? _minor; + int? get minor => _$this._minor; + set minor(covariant int? minor) => _$this._minor = minor; - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + int? _micro; + int? get micro => _$this._micro; + set micro(covariant int? micro) => _$this._micro = micro; - bool? _active; - bool? get active => _$this._active; - set active(covariant bool? active) => _$this._active = active; + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - String? _classes; - String? get classes => _$this._classes; - set classes(covariant String? classes) => _$this._classes = classes; + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; - int? _unread; - int? get unread => _$this._unread; - set unread(covariant int? unread) => _$this._unread = unread; + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; - NavigationEntryBuilder(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); - NavigationEntryBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _order = $v.order.toBuilder(); - _href = $v.href; - _icon = $v.icon; - _type = $v.type; - _name = $v.name; - _active = $v.active; - _classes = $v.classes; - _unread = $v.unread; + _major = $v.major; + _minor = $v.minor; + _micro = $v.micro; + _string = $v.string; + _edition = $v.edition; + _extendedSupport = $v.extendedSupport; _$v = null; } return this; } @override - void replace(covariant NavigationEntry other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; } @override - void update(void Function(NavigationEntryBuilder)? updates) { + void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationEntry build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => _build(); - _$NavigationEntry _build() { - _$NavigationEntry _$result; - try { - _$result = _$v ?? - _$NavigationEntry._( - id: BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'order'; - order.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'NavigationEntry', _$failedField, e.toString()); - } - rethrow; - } + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { + final _$result = _$v ?? + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport')); replace(_$result); return _$result; } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { + void replace(CommentsCapabilities_FilesInterface other); + void update(void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); + bool? get comments; + set comments(bool? comments); } -class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs - extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { @override - final BuiltList data; + final bool comments; - factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? updates]) => + (CommentsCapabilities_FilesBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); + _$CommentsCapabilities_Files._({required this.comments}) : super._() { + BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments'); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) updates) => + CommentsCapabilities_Files rebuild(void Function(CommentsCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); - @override - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + @override + CommentsCapabilities_FilesBuilder toBuilder() => CommentsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CommentsCapabilities_Files && comments == other.comments; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, comments.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) - .toString(); + return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files')..add('comments', comments)).toString(); } } -class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder +class CommentsCapabilities_FilesBuilder implements - Builder, - NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + CommentsCapabilities_FilesInterfaceBuilder { + _$CommentsCapabilities_Files? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + bool? _comments; + bool? get comments => _$this._comments; + set comments(covariant bool? comments) => _$this._comments = comments; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + CommentsCapabilities_FilesBuilder(); - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { + CommentsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _comments = $v.comments; _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant CommentsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; + _$v = other as _$CommentsCapabilities_Files; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); + CommentsCapabilities_Files build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; - try { - _$result = - _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CommentsCapabilities_Files _build() { + final _$result = _$v ?? + _$CommentsCapabilities_Files._( + comments: BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments')); replace(_$result); return _$result; } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class CommentsCapabilitiesInterfaceBuilder { + void replace(CommentsCapabilitiesInterface other); + void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); + CommentsCapabilities_FilesBuilder get files; + set files(CommentsCapabilities_FilesBuilder? files); } -class _$NavigationGetAppsNavigationResponseApplicationJson extends NavigationGetAppsNavigationResponseApplicationJson { +class _$CommentsCapabilities extends CommentsCapabilities { @override - final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; + final CommentsCapabilities_Files files; - factory _$NavigationGetAppsNavigationResponseApplicationJson( - [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? updates]) => + (CommentsCapabilitiesBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); + _$CommentsCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'CommentsCapabilities', 'files'); } @override - NavigationGetAppsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder) updates) => + CommentsCapabilities rebuild(void Function(CommentsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJsonBuilder()..replace(this); + CommentsCapabilitiesBuilder toBuilder() => CommentsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson && ocs == other.ocs; + return other is CommentsCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson')..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'CommentsCapabilities')..add('files', files)).toString(); } } -class NavigationGetAppsNavigationResponseApplicationJsonBuilder - implements - Builder, - NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson? _$v; +class CommentsCapabilitiesBuilder + implements Builder, CommentsCapabilitiesInterfaceBuilder { + _$CommentsCapabilities? _$v; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CommentsCapabilities_FilesBuilder? _files; + CommentsCapabilities_FilesBuilder get files => _$this._files ??= CommentsCapabilities_FilesBuilder(); + set files(covariant CommentsCapabilities_FilesBuilder? files) => _$this._files = files; - NavigationGetAppsNavigationResponseApplicationJsonBuilder(); + CommentsCapabilitiesBuilder(); - NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { + CommentsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson other) { + void replace(covariant CommentsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; + _$v = other as _$CommentsCapabilities; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(CommentsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson build() => _build(); + CommentsCapabilities build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson _build() { - _$NavigationGetAppsNavigationResponseApplicationJson _$result; + _$CommentsCapabilities _build() { + _$CommentsCapabilities _$result; try { - _$result = _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CommentsCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetAppsNavigationResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CommentsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13520,230 +15123,196 @@ class NavigationGetAppsNavigationResponseApplicationJsonBuilder } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class DavCapabilities_DavInterfaceBuilder { + void replace(DavCapabilities_DavInterface other); + void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); + String? get chunking; + set chunking(String? chunking); - ListBuilder get data; - set data(ListBuilder? data); + String? get bulkupload; + set bulkupload(String? bulkupload); } -class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs - extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { +class _$DavCapabilities_Dav extends DavCapabilities_Dav { @override - final OCSMeta meta; + final String chunking; @override - final BuiltList data; + final String? bulkupload; - factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? updates]) => + (DavCapabilities_DavBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); + _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { + BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'); } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) updates) => + DavCapabilities_Dav rebuild(void Function(DavCapabilities_DavBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + DavCapabilities_DavBuilder toBuilder() => DavCapabilities_DavBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is DavCapabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, chunking.hashCode); + _$hash = $jc(_$hash, bulkupload.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') + ..add('chunking', chunking) + ..add('bulkupload', bulkupload)) .toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder - implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; +class DavCapabilities_DavBuilder + implements Builder, DavCapabilities_DavInterfaceBuilder { + _$DavCapabilities_Dav? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _chunking; + String? get chunking => _$this._chunking; + set chunking(covariant String? chunking) => _$this._chunking = chunking; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + String? _bulkupload; + String? get bulkupload => _$this._bulkupload; + set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + DavCapabilities_DavBuilder(); - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { + DavCapabilities_DavBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _chunking = $v.chunking; + _bulkupload = $v.bulkupload; _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant DavCapabilities_Dav other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; + _$v = other as _$DavCapabilities_Dav; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(DavCapabilities_DavBuilder)? updates) { if (updates != null) updates(this); - } - - @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => _build(); - - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; - try { - _$result = - _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + } + + @override + DavCapabilities_Dav build() => _build(); + + _$DavCapabilities_Dav _build() { + final _$result = _$v ?? + _$DavCapabilities_Dav._( + chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'), + bulkupload: bulkupload); replace(_$result); return _$result; } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class DavCapabilitiesInterfaceBuilder { + void replace(DavCapabilitiesInterface other); + void update(void Function(DavCapabilitiesInterfaceBuilder) updates); + DavCapabilities_DavBuilder get dav; + set dav(DavCapabilities_DavBuilder? dav); } -class _$NavigationGetSettingsNavigationResponseApplicationJson - extends NavigationGetSettingsNavigationResponseApplicationJson { +class _$DavCapabilities extends DavCapabilities { @override - final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; + final DavCapabilities_Dav dav; - factory _$NavigationGetSettingsNavigationResponseApplicationJson( - [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => + (DavCapabilitiesBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); + _$DavCapabilities._({required this.dav}) : super._() { + BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); } @override - NavigationGetSettingsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..replace(this); + DavCapabilitiesBuilder toBuilder() => DavCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson && ocs == other.ocs; + return other is DavCapabilities && dav == other.dav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, dav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson')..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)).toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJsonBuilder - implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; +class DavCapabilitiesBuilder + implements Builder, DavCapabilitiesInterfaceBuilder { + _$DavCapabilities? _$v; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + DavCapabilities_DavBuilder? _dav; + DavCapabilities_DavBuilder get dav => _$this._dav ??= DavCapabilities_DavBuilder(); + set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; - NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); + DavCapabilitiesBuilder(); - NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { + DavCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _dav = $v.dav.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson other) { + void replace(covariant DavCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; + _$v = other as _$DavCapabilities; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(DavCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); + DavCapabilities build() => _build(); - _$NavigationGetSettingsNavigationResponseApplicationJson _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson _$result; + _$DavCapabilities _build() { + _$DavCapabilities _$result; try { - _$result = _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$DavCapabilities._(dav: dav.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'dav'; + dav.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'DavCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13752,329 +15321,362 @@ class NavigationGetSettingsNavigationResponseApplicationJsonBuilder } } -abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { - void replace(OcmOcmDiscoveryHeadersInterface other); - void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); - bool? get xNextcloudOcmProviders; - set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); +abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { + void replace(FilesCapabilities_Files_DirectEditingInterface other); + void update(void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) updates); + String? get url; + set url(String? url); + + String? get etag; + set etag(String? etag); + + bool? get supportsFileId; + set supportsFileId(bool? supportsFileId); } -class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { +class _$FilesCapabilities_Files_DirectEditing extends FilesCapabilities_Files_DirectEditing { @override - final bool? xNextcloudOcmProviders; + final String url; + @override + final String etag; + @override + final bool supportsFileId; - factory _$OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => - (OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files_DirectEditing( + [void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates]) => + (FilesCapabilities_Files_DirectEditingBuilder()..update(updates))._build(); - _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); + _$FilesCapabilities_Files_DirectEditing._({required this.url, required this.etag, required this.supportsFileId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'); + BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); + BuiltValueNullFieldError.checkNotNull(supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); + } @override - OcmOcmDiscoveryHeaders rebuild(void Function(OcmOcmDiscoveryHeadersBuilder) updates) => + FilesCapabilities_Files_DirectEditing rebuild(void Function(FilesCapabilities_Files_DirectEditingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmOcmDiscoveryHeadersBuilder toBuilder() => OcmOcmDiscoveryHeadersBuilder()..replace(this); + FilesCapabilities_Files_DirectEditingBuilder toBuilder() => + FilesCapabilities_Files_DirectEditingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmOcmDiscoveryHeaders && xNextcloudOcmProviders == other.xNextcloudOcmProviders; + return other is FilesCapabilities_Files_DirectEditing && + url == other.url && + etag == other.etag && + supportsFileId == other.supportsFileId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, etag.hashCode); + _$hash = $jc(_$hash, supportsFileId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') - ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) + return (newBuiltValueToStringHelper(r'FilesCapabilities_Files_DirectEditing') + ..add('url', url) + ..add('etag', etag) + ..add('supportsFileId', supportsFileId)) .toString(); } } -class OcmOcmDiscoveryHeadersBuilder - implements Builder, OcmOcmDiscoveryHeadersInterfaceBuilder { - _$OcmOcmDiscoveryHeaders? _$v; +class FilesCapabilities_Files_DirectEditingBuilder + implements + Builder, + FilesCapabilities_Files_DirectEditingInterfaceBuilder { + _$FilesCapabilities_Files_DirectEditing? _$v; - bool? _xNextcloudOcmProviders; - bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; - set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => - _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; - OcmOcmDiscoveryHeadersBuilder(); + String? _etag; + String? get etag => _$this._etag; + set etag(covariant String? etag) => _$this._etag = etag; - OcmOcmDiscoveryHeadersBuilder get _$this { + bool? _supportsFileId; + bool? get supportsFileId => _$this._supportsFileId; + set supportsFileId(covariant bool? supportsFileId) => _$this._supportsFileId = supportsFileId; + + FilesCapabilities_Files_DirectEditingBuilder(); + + FilesCapabilities_Files_DirectEditingBuilder get _$this { final $v = _$v; if ($v != null) { - _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; + _url = $v.url; + _etag = $v.etag; + _supportsFileId = $v.supportsFileId; _$v = null; } return this; } @override - void replace(covariant OcmOcmDiscoveryHeaders other) { + void replace(covariant FilesCapabilities_Files_DirectEditing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmOcmDiscoveryHeaders; + _$v = other as _$FilesCapabilities_Files_DirectEditing; } @override - void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { + void update(void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { if (updates != null) updates(this); } @override - OcmOcmDiscoveryHeaders build() => _build(); + FilesCapabilities_Files_DirectEditing build() => _build(); - _$OcmOcmDiscoveryHeaders _build() { - final _$result = _$v ?? _$OcmOcmDiscoveryHeaders._(xNextcloudOcmProviders: xNextcloudOcmProviders); + _$FilesCapabilities_Files_DirectEditing _build() { + final _$result = _$v ?? + _$FilesCapabilities_Files_DirectEditing._( + url: BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'), + etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), + supportsFileId: BuiltValueNullFieldError.checkNotNull( + supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId')); replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) updates); - String? get webdav; - set webdav(String? webdav); +abstract mixin class FilesCapabilities_FilesInterfaceBuilder { + void replace(FilesCapabilities_FilesInterface other); + void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); + bool? get bigfilechunking; + set bigfilechunking(bool? bigfilechunking); + + ListBuilder get blacklistedFiles; + set blacklistedFiles(ListBuilder? blacklistedFiles); + + FilesCapabilities_Files_DirectEditingBuilder get directEditing; + set directEditing(FilesCapabilities_Files_DirectEditingBuilder? directEditing); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols - extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { +class _$FilesCapabilities_Files extends FilesCapabilities_Files { @override - final String webdav; + final bool bigfilechunking; + @override + final BuiltList blacklistedFiles; + @override + final FilesCapabilities_Files_DirectEditing directEditing; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? updates]) => + (FilesCapabilities_FilesBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._({required this.webdav}) : super._() { - BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav'); + _$FilesCapabilities_Files._( + {required this.bigfilechunking, required this.blacklistedFiles, required this.directEditing}) + : super._() { + BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); + BuiltValueNullFieldError.checkNotNull(blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); + BuiltValueNullFieldError.checkNotNull(directEditing, r'FilesCapabilities_Files', 'directEditing'); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) updates) => + FilesCapabilities_Files rebuild(void Function(FilesCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..replace(this); + FilesCapabilities_FilesBuilder toBuilder() => FilesCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && webdav == other.webdav; + return other is FilesCapabilities_Files && + bigfilechunking == other.bigfilechunking && + blacklistedFiles == other.blacklistedFiles && + directEditing == other.directEditing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, webdav.hashCode); + _$hash = $jc(_$hash, bigfilechunking.hashCode); + _$hash = $jc(_$hash, blacklistedFiles.hashCode); + _$hash = $jc(_$hash, directEditing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') - ..add('webdav', webdav)) + return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') + ..add('bigfilechunking', bigfilechunking) + ..add('blacklistedFiles', blacklistedFiles) + ..add('directEditing', directEditing)) .toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder +class FilesCapabilities_FilesBuilder implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; + Builder, + FilesCapabilities_FilesInterfaceBuilder { + _$FilesCapabilities_Files? _$v; - String? _webdav; - String? get webdav => _$this._webdav; - set webdav(covariant String? webdav) => _$this._webdav = webdav; + bool? _bigfilechunking; + bool? get bigfilechunking => _$this._bigfilechunking; + set bigfilechunking(covariant bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + ListBuilder? _blacklistedFiles; + ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); + set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => + _$this._blacklistedFiles = blacklistedFiles; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get _$this { + FilesCapabilities_Files_DirectEditingBuilder? _directEditing; + FilesCapabilities_Files_DirectEditingBuilder get directEditing => + _$this._directEditing ??= FilesCapabilities_Files_DirectEditingBuilder(); + set directEditing(covariant FilesCapabilities_Files_DirectEditingBuilder? directEditing) => + _$this._directEditing = directEditing; + + FilesCapabilities_FilesBuilder(); + + FilesCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _webdav = $v.webdav; + _bigfilechunking = $v.bigfilechunking; + _blacklistedFiles = $v.blacklistedFiles.toBuilder(); + _directEditing = $v.directEditing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols other) { + void replace(covariant FilesCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; + _$v = other as _$FilesCapabilities_Files; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates) { + void update(void Function(FilesCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => _build(); + FilesCapabilities_Files build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { - final _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( - webdav: BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav')); + _$FilesCapabilities_Files _build() { + _$FilesCapabilities_Files _$result; + try { + _$result = _$v ?? + _$FilesCapabilities_Files._( + bigfilechunking: + BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'), + blacklistedFiles: blacklistedFiles.build(), + directEditing: directEditing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'blacklistedFiles'; + blacklistedFiles.build(); + _$failedField = 'directEditing'; + directEditing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesCapabilities_Files', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) updates); - String? get name; - set name(String? name); - - ListBuilder get shareTypes; - set shareTypes(ListBuilder? shareTypes); - - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols; - set protocols(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols); +abstract mixin class FilesCapabilitiesInterfaceBuilder { + void replace(FilesCapabilitiesInterface other); + void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); + FilesCapabilities_FilesBuilder get files; + set files(FilesCapabilities_FilesBuilder? files); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes extends OcmDiscoveryResponseApplicationJson_ResourceTypes { - @override - final String name; - @override - final BuiltList shareTypes; +class _$FilesCapabilities extends FilesCapabilities { @override - final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; + final FilesCapabilities_Files files; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..update(updates))._build(); + factory _$FilesCapabilities([void Function(FilesCapabilitiesBuilder)? updates]) => + (FilesCapabilitiesBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - {required this.name, required this.shareTypes, required this.protocols}) - : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); - BuiltValueNullFieldError.checkNotNull( - shareTypes, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); - BuiltValueNullFieldError.checkNotNull(protocols, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); + _$FilesCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) updates) => - (toBuilder()..update(updates)).build(); + FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..replace(this); + FilesCapabilitiesBuilder toBuilder() => FilesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && - name == other.name && - shareTypes == other.shareTypes && - protocols == other.protocols; + return other is FilesCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, shareTypes.hashCode); - _$hash = $jc(_$hash, protocols.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes') - ..add('name', name) - ..add('shareTypes', shareTypes) - ..add('protocols', protocols)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesCapabilities')..add('files', files)).toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder - implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - ListBuilder? _shareTypes; - ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); - set shareTypes(covariant ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; +class FilesCapabilitiesBuilder + implements Builder, FilesCapabilitiesInterfaceBuilder { + _$FilesCapabilities? _$v; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? _protocols; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols => - _$this._protocols ??= OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - set protocols(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols) => - _$this._protocols = protocols; + FilesCapabilities_FilesBuilder? _files; + FilesCapabilities_FilesBuilder get files => _$this._files ??= FilesCapabilities_FilesBuilder(); + set files(covariant FilesCapabilities_FilesBuilder? files) => _$this._files = files; - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); + FilesCapabilitiesBuilder(); - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { + FilesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _shareTypes = $v.shareTypes.toBuilder(); - _protocols = $v.protocols.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { + void replace(covariant FilesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; + _$v = other as _$FilesCapabilities; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates) { + void update(void Function(FilesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); + FilesCapabilities build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; + _$FilesCapabilities _build() { + _$FilesCapabilities _$result; try { - _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - name: BuiltValueNullFieldError.checkNotNull( - name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), - shareTypes: shareTypes.build(), - protocols: protocols.build()); + _$result = _$v ?? _$FilesCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'shareTypes'; - shareTypes.build(); - _$failedField = 'protocols'; - protocols.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcmDiscoveryResponseApplicationJson_ResourceTypes', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -14083,1093 +15685,1191 @@ class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder } } -abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJsonInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - String? get apiVersion; - set apiVersion(String? apiVersion); - - String? get endPoint; - set endPoint(String? endPoint); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) updates); + bool? get enforced; + set enforced(bool? enforced); - ListBuilder get resourceTypes; - set resourceTypes(ListBuilder? resourceTypes); + bool? get askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword); } -class _$OcmDiscoveryResponseApplicationJson extends OcmDiscoveryResponseApplicationJson { - @override - final bool enabled; - @override - final String apiVersion; +class _$FilesSharingCapabilities_FilesSharing_Public_Password + extends FilesSharingCapabilities_FilesSharing_Public_Password { @override - final String endPoint; + final bool enforced; @override - final BuiltList resourceTypes; + final bool askForOptionalPassword; - factory _$OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_Password( + [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson._( - {required this.enabled, required this.apiVersion, required this.endPoint, required this.resourceTypes}) + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); - BuiltValueNullFieldError.checkNotNull(apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); - BuiltValueNullFieldError.checkNotNull(resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); + BuiltValueNullFieldError.checkNotNull( + enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); } @override - OcmDiscoveryResponseApplicationJson rebuild(void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_Password rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson && - enabled == other.enabled && - apiVersion == other.apiVersion && - endPoint == other.endPoint && - resourceTypes == other.resourceTypes; + return other is FilesSharingCapabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, endPoint.hashCode); - _$hash = $jc(_$hash, resourceTypes.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') - ..add('enabled', enabled) - ..add('apiVersion', apiVersion) - ..add('endPoint', endPoint) - ..add('resourceTypes', resourceTypes)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) .toString(); } } -class OcmDiscoveryResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder implements - Builder, - OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - String? _apiVersion; - String? get apiVersion => _$this._apiVersion; - set apiVersion(covariant String? apiVersion) => _$this._apiVersion = apiVersion; + Builder, + FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; - String? _endPoint; - String? get endPoint => _$this._endPoint; - set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - ListBuilder? _resourceTypes; - ListBuilder get resourceTypes => - _$this._resourceTypes ??= ListBuilder(); - set resourceTypes(covariant ListBuilder? resourceTypes) => - _$this._resourceTypes = resourceTypes; + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(covariant bool? askForOptionalPassword) => + _$this._askForOptionalPassword = askForOptionalPassword; - OcmDiscoveryResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - OcmDiscoveryResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _apiVersion = $v.apiVersion; - _endPoint = $v.endPoint; - _resourceTypes = $v.resourceTypes.toBuilder(); + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; } @override - void update(void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); - _$OcmDiscoveryResponseApplicationJson _build() { - _$OcmDiscoveryResponseApplicationJson _$result; - try { - _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson._( - enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), - apiVersion: BuiltValueNullFieldError.checkNotNull( - apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), - endPoint: - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), - resourceTypes: resourceTypes.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'resourceTypes'; - resourceTypes.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'OcmDiscoveryResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), + askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, + r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); replace(_$result); return _$result; } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) updates); - int? get major; - set major(int? major); - - int? get minor; - set minor(int? minor); - - int? get micro; - set micro(int? micro); - - String? get string; - set string(String? string); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - String? get edition; - set edition(String? edition); + int? get days; + set days(int? days); - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); + bool? get enforced; + set enforced(bool? enforced); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version - extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { - @override - final int major; - @override - final int minor; - @override - final int micro; +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { @override - final String string; + final bool enabled; @override - final String edition; + final int? days; @override - final bool extendedSupport; + final bool? enforced; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - {required this.major, - required this.minor, - required this.micro, - required this.string, - required this.edition, - required this.extendedSupport}) + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) : super._() { BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); - BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); - BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); - BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'); - BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'); - BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport'); + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, major.hashCode); - _$hash = $jc(_$hash, minor.hashCode); - _$hash = $jc(_$hash, micro.hashCode); - _$hash = $jc(_$hash, string.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(covariant int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(covariant int? minor) => _$this._minor = minor; - - int? _micro; - int? get micro => _$this._micro; - set micro(covariant int? micro) => _$this._micro = micro; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _major = $v.major; - _minor = $v.minor; - _micro = $v.micro; - _string = $v.string; - _edition = $v.edition; - _extendedSupport = $v.extendedSupport; + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { final _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - major: BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), - minor: BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), - micro: BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), - string: BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'), - edition: BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'), - extendedSupport: BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport')); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { - void replace(CommentsCapabilities_FilesInterface other); - void update(void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); - bool? get comments; - set comments(bool? comments); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { @override - final bool comments; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? updates]) => - (CommentsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); - _$CommentsCapabilities_Files._({required this.comments}) : super._() { - BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); } @override - CommentsCapabilities_Files rebuild(void Function(CommentsCapabilities_FilesBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilities_FilesBuilder toBuilder() => CommentsCapabilities_FilesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities_Files && comments == other.comments; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, comments.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files')..add('comments', comments)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) + .toString(); } } -class CommentsCapabilities_FilesBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder implements - Builder, - CommentsCapabilities_FilesInterfaceBuilder { - _$CommentsCapabilities_Files? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; - bool? _comments; - bool? get comments => _$this._comments; - set comments(covariant bool? comments) => _$this._comments = comments; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CommentsCapabilities_FilesBuilder(); + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - CommentsCapabilities_FilesBuilder get _$this { + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { final $v = _$v; if ($v != null) { - _comments = $v.comments; + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities_Files other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities_Files; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; } @override - void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { if (updates != null) updates(this); } @override - CommentsCapabilities_Files build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); - _$CommentsCapabilities_Files _build() { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { final _$result = _$v ?? - _$CommentsCapabilities_Files._( - comments: BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments')); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilitiesInterfaceBuilder { - void replace(CommentsCapabilitiesInterface other); - void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); - CommentsCapabilities_FilesBuilder get files; - set files(CommentsCapabilities_FilesBuilder? files); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$CommentsCapabilities extends CommentsCapabilities { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { @override - final CommentsCapabilities_Files files; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? updates]) => - (CommentsCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); - _$CommentsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'CommentsCapabilities', 'files'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); } @override - CommentsCapabilities rebuild(void Function(CommentsCapabilitiesBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilitiesBuilder toBuilder() => CommentsCapabilitiesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities && files == other.files; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) + .toString(); } } -class CommentsCapabilitiesBuilder - implements Builder, CommentsCapabilitiesInterfaceBuilder { - _$CommentsCapabilities? _$v; +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; - CommentsCapabilities_FilesBuilder? _files; - CommentsCapabilities_FilesBuilder get files => _$this._files ??= CommentsCapabilities_FilesBuilder(); - set files(covariant CommentsCapabilities_FilesBuilder? files) => _$this._files = files; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CommentsCapabilitiesBuilder(); + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - CommentsCapabilitiesBuilder get _$this { + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; } @override - void update(void Function(CommentsCapabilitiesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { if (updates != null) updates(this); } @override - CommentsCapabilities build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); - _$CommentsCapabilities _build() { - _$CommentsCapabilities _$result; - try { - _$result = _$v ?? _$CommentsCapabilities._(files: files.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'files'; - files.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'CommentsCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class DavCapabilities_DavInterfaceBuilder { - void replace(DavCapabilities_DavInterface other); - void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); - String? get chunking; - set chunking(String? chunking); +abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; + set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); + + bool? get multipleLinks; + set multipleLinks(bool? multipleLinks); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal; + set expireDateInternal(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal); - String? get bulkupload; - set bulkupload(String? bulkupload); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote; + set expireDateRemote(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote); + + bool? get sendMail; + set sendMail(bool? sendMail); + + bool? get upload; + set upload(bool? upload); + + bool? get uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop); } -class _$DavCapabilities_Dav extends DavCapabilities_Dav { +class _$FilesSharingCapabilities_FilesSharing_Public extends FilesSharingCapabilities_FilesSharing_Public { @override - final String chunking; + final bool enabled; @override - final String? bulkupload; + final FilesSharingCapabilities_FilesSharing_Public_Password? password; + @override + final bool? multipleLinks; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; + @override + final bool? sendMail; + @override + final bool? upload; + @override + final bool? uploadFilesDrop; - factory _$DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? updates]) => - (DavCapabilities_DavBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public( + [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); - _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { - BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'); + _$FilesSharingCapabilities_FilesSharing_Public._( + {required this.enabled, + this.password, + this.multipleLinks, + this.expireDate, + this.expireDateInternal, + this.expireDateRemote, + this.sendMail, + this.upload, + this.uploadFilesDrop}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); } @override - DavCapabilities_Dav rebuild(void Function(DavCapabilities_DavBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public rebuild( + void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => (toBuilder()..update(updates)).build(); @override - DavCapabilities_DavBuilder toBuilder() => DavCapabilities_DavBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; + return other is FilesSharingCapabilities_FilesSharing_Public && + enabled == other.enabled && + password == other.password && + multipleLinks == other.multipleLinks && + expireDate == other.expireDate && + expireDateInternal == other.expireDateInternal && + expireDateRemote == other.expireDateRemote && + sendMail == other.sendMail && + upload == other.upload && + uploadFilesDrop == other.uploadFilesDrop; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, chunking.hashCode); - _$hash = $jc(_$hash, bulkupload.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, multipleLinks.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateInternal.hashCode); + _$hash = $jc(_$hash, expireDateRemote.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, upload.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') - ..add('chunking', chunking) - ..add('bulkupload', bulkupload)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public') + ..add('enabled', enabled) + ..add('password', password) + ..add('multipleLinks', multipleLinks) + ..add('expireDate', expireDate) + ..add('expireDateInternal', expireDateInternal) + ..add('expireDateRemote', expireDateRemote) + ..add('sendMail', sendMail) + ..add('upload', upload) + ..add('uploadFilesDrop', uploadFilesDrop)) .toString(); } } -class DavCapabilities_DavBuilder - implements Builder, DavCapabilities_DavInterfaceBuilder { - _$DavCapabilities_Dav? _$v; +class FilesSharingCapabilities_FilesSharing_PublicBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public? _$v; - String? _chunking; - String? get chunking => _$this._chunking; - set chunking(covariant String? chunking) => _$this._chunking = chunking; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - String? _bulkupload; - String? get bulkupload => _$this._bulkupload; - set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => + _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + set password(covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => + _$this._password = password; - DavCapabilities_DavBuilder(); + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(covariant bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - DavCapabilities_DavBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => + _$this._expireDateInternal ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + set expireDateInternal( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => + _$this._expireDateInternal = expireDateInternal; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => + _$this._expireDateRemote ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + set expireDateRemote( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(covariant bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(covariant bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + + FilesSharingCapabilities_FilesSharing_PublicBuilder(); + + FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { final $v = _$v; if ($v != null) { - _chunking = $v.chunking; - _bulkupload = $v.bulkupload; + _enabled = $v.enabled; + _password = $v.password?.toBuilder(); + _multipleLinks = $v.multipleLinks; + _expireDate = $v.expireDate?.toBuilder(); + _expireDateInternal = $v.expireDateInternal?.toBuilder(); + _expireDateRemote = $v.expireDateRemote?.toBuilder(); + _sendMail = $v.sendMail; + _upload = $v.upload; + _uploadFilesDrop = $v.uploadFilesDrop; _$v = null; } return this; } @override - void replace(covariant DavCapabilities_Dav other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities_Dav; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; } @override - void update(void Function(DavCapabilities_DavBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { if (updates != null) updates(this); } @override - DavCapabilities_Dav build() => _build(); + FilesSharingCapabilities_FilesSharing_Public build() => _build(); - _$DavCapabilities_Dav _build() { - final _$result = _$v ?? - _$DavCapabilities_Dav._( - chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'), - bulkupload: bulkupload); + _$FilesSharingCapabilities_FilesSharing_Public _build() { + _$FilesSharingCapabilities_FilesSharing_Public _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), + password: _password?.build(), + multipleLinks: multipleLinks, + expireDate: _expireDate?.build(), + expireDateInternal: _expireDateInternal?.build(), + expireDateRemote: _expireDateRemote?.build(), + sendMail: sendMail, + upload: upload, + uploadFilesDrop: uploadFilesDrop); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class DavCapabilitiesInterfaceBuilder { - void replace(DavCapabilitiesInterface other); - void update(void Function(DavCapabilitiesInterfaceBuilder) updates); - DavCapabilities_DavBuilder get dav; - set dav(DavCapabilities_DavBuilder? dav); +abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$DavCapabilities extends DavCapabilities { +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { @override - final DavCapabilities_Dav dav; + final bool enabled; - factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => - (DavCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); - _$DavCapabilities._({required this.dav}) : super._() { - BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); } @override - DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - DavCapabilitiesBuilder toBuilder() => DavCapabilitiesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities && dav == other.dav; + return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, dav.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) + .toString(); } } -class DavCapabilitiesBuilder - implements Builder, DavCapabilitiesInterfaceBuilder { - _$DavCapabilities? _$v; +class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; - DavCapabilities_DavBuilder? _dav; - DavCapabilities_DavBuilder get dav => _$this._dav ??= DavCapabilities_DavBuilder(); - set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - DavCapabilitiesBuilder(); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - DavCapabilitiesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _dav = $v.dav.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant DavCapabilities other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; } @override - void update(void Function(DavCapabilitiesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - DavCapabilities build() => _build(); + FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); - _$DavCapabilities _build() { - _$DavCapabilities _$result; - try { - _$result = _$v ?? _$DavCapabilities._(dav: dav.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'dav'; - dav.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'DavCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { - void replace(FilesCapabilities_Files_DirectEditingInterface other); - void update(void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) updates); - String? get url; - set url(String? url); - - String? get etag; - set etag(String? etag); +abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); + bool? get sendMail; + set sendMail(bool? sendMail); - bool? get supportsFileId; - set supportsFileId(bool? supportsFileId); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); } -class _$FilesCapabilities_Files_DirectEditing extends FilesCapabilities_Files_DirectEditing { - @override - final String url; +class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { @override - final String etag; + final bool sendMail; @override - final bool supportsFileId; + final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; - factory _$FilesCapabilities_Files_DirectEditing( - [void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates]) => - (FilesCapabilities_Files_DirectEditingBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_User( + [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); - _$FilesCapabilities_Files_DirectEditing._({required this.url, required this.etag, required this.supportsFileId}) - : super._() { - BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'); - BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); - BuiltValueNullFieldError.checkNotNull(supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); + _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); } @override - FilesCapabilities_Files_DirectEditing rebuild(void Function(FilesCapabilities_Files_DirectEditingBuilder) updates) => + FilesSharingCapabilities_FilesSharing_User rebuild( + void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_Files_DirectEditingBuilder toBuilder() => - FilesCapabilities_Files_DirectEditingBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files_DirectEditing && - url == other.url && - etag == other.etag && - supportsFileId == other.supportsFileId; + return other is FilesSharingCapabilities_FilesSharing_User && + sendMail == other.sendMail && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, etag.hashCode); - _$hash = $jc(_$hash, supportsFileId.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files_DirectEditing') - ..add('url', url) - ..add('etag', etag) - ..add('supportsFileId', supportsFileId)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) .toString(); } } -class FilesCapabilities_Files_DirectEditingBuilder +class FilesSharingCapabilities_FilesSharing_UserBuilder implements - Builder, - FilesCapabilities_Files_DirectEditingInterfaceBuilder { - _$FilesCapabilities_Files_DirectEditing? _$v; - - String? _url; - String? get url => _$this._url; - set url(covariant String? url) => _$this._url = url; + Builder, + FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User? _$v; - String? _etag; - String? get etag => _$this._etag; - set etag(covariant String? etag) => _$this._etag = etag; + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; - bool? _supportsFileId; - bool? get supportsFileId => _$this._supportsFileId; - set supportsFileId(covariant bool? supportsFileId) => _$this._supportsFileId = supportsFileId; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - FilesCapabilities_Files_DirectEditingBuilder(); + FilesSharingCapabilities_FilesSharing_UserBuilder(); - FilesCapabilities_Files_DirectEditingBuilder get _$this { + FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { final $v = _$v; if ($v != null) { - _url = $v.url; - _etag = $v.etag; - _supportsFileId = $v.supportsFileId; + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files_DirectEditing other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files_DirectEditing; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User; } @override - void update(void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files_DirectEditing build() => _build(); + FilesSharingCapabilities_FilesSharing_User build() => _build(); - _$FilesCapabilities_Files_DirectEditing _build() { - final _$result = _$v ?? - _$FilesCapabilities_Files_DirectEditing._( - url: BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'), - etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), - supportsFileId: BuiltValueNullFieldError.checkNotNull( - supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId')); + _$FilesSharingCapabilities_FilesSharing_User _build() { + _$FilesSharingCapabilities_FilesSharing_User _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull( + sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), + expireDate: _expireDate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + _expireDate?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_FilesInterfaceBuilder { - void replace(FilesCapabilities_FilesInterface other); - void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); - bool? get bigfilechunking; - set bigfilechunking(bool? bigfilechunking); - - ListBuilder get blacklistedFiles; - set blacklistedFiles(ListBuilder? blacklistedFiles); - - FilesCapabilities_Files_DirectEditingBuilder get directEditing; - set directEditing(FilesCapabilities_Files_DirectEditingBuilder? directEditing); +abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$FilesCapabilities_Files extends FilesCapabilities_Files { - @override - final bool bigfilechunking; - @override - final BuiltList blacklistedFiles; +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { @override - final FilesCapabilities_Files_DirectEditing directEditing; + final bool enabled; - factory _$FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? updates]) => - (FilesCapabilities_FilesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); - _$FilesCapabilities_Files._( - {required this.bigfilechunking, required this.blacklistedFiles, required this.directEditing}) - : super._() { - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); - BuiltValueNullFieldError.checkNotNull(blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); - BuiltValueNullFieldError.checkNotNull(directEditing, r'FilesCapabilities_Files', 'directEditing'); + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); } @override - FilesCapabilities_Files rebuild(void Function(FilesCapabilities_FilesBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_FilesBuilder toBuilder() => FilesCapabilities_FilesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files && - bigfilechunking == other.bigfilechunking && - blacklistedFiles == other.blacklistedFiles && - directEditing == other.directEditing; + return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, bigfilechunking.hashCode); - _$hash = $jc(_$hash, blacklistedFiles.hashCode); - _$hash = $jc(_$hash, directEditing.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') - ..add('bigfilechunking', bigfilechunking) - ..add('blacklistedFiles', blacklistedFiles) - ..add('directEditing', directEditing)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class FilesCapabilities_FilesBuilder +class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder implements - Builder, - FilesCapabilities_FilesInterfaceBuilder { - _$FilesCapabilities_Files? _$v; - - bool? _bigfilechunking; - bool? get bigfilechunking => _$this._bigfilechunking; - set bigfilechunking(covariant bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; - - ListBuilder? _blacklistedFiles; - ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); - set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => - _$this._blacklistedFiles = blacklistedFiles; + Builder, + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; - FilesCapabilities_Files_DirectEditingBuilder? _directEditing; - FilesCapabilities_Files_DirectEditingBuilder get directEditing => - _$this._directEditing ??= FilesCapabilities_Files_DirectEditingBuilder(); - set directEditing(covariant FilesCapabilities_Files_DirectEditingBuilder? directEditing) => - _$this._directEditing = directEditing; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesCapabilities_FilesBuilder(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - FilesCapabilities_FilesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _bigfilechunking = $v.bigfilechunking; - _blacklistedFiles = $v.blacklistedFiles.toBuilder(); - _directEditing = $v.directEditing.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; } @override - void update(void Function(FilesCapabilities_FilesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files build() => _build(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); - _$FilesCapabilities_Files _build() { - _$FilesCapabilities_Files _$result; - try { - _$result = _$v ?? - _$FilesCapabilities_Files._( - bigfilechunking: - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'), - blacklistedFiles: blacklistedFiles.build(), - directEditing: directEditing.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'blacklistedFiles'; - blacklistedFiles.build(); - _$failedField = 'directEditing'; - directEditing.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities_Files', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilitiesInterfaceBuilder { - void replace(FilesCapabilitiesInterface other); - void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); - FilesCapabilities_FilesBuilder get files; - set files(FilesCapabilities_FilesBuilder? files); +abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate); } -class _$FilesCapabilities extends FilesCapabilities { +class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { @override - final FilesCapabilities_Files files; + final bool enabled; + @override + final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; - factory _$FilesCapabilities([void Function(FilesCapabilitiesBuilder)? updates]) => - (FilesCapabilitiesBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group( + [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); - _$FilesCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); + _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); } @override - FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesSharingCapabilities_FilesSharing_Group rebuild( + void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - FilesCapabilitiesBuilder toBuilder() => FilesCapabilitiesBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities && files == other.files; + return other is FilesSharingCapabilities_FilesSharing_Group && + enabled == other.enabled && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) + .toString(); } } -class FilesCapabilitiesBuilder - implements Builder, FilesCapabilitiesInterfaceBuilder { - _$FilesCapabilities? _$v; +class FilesSharingCapabilities_FilesSharing_GroupBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group? _$v; - FilesCapabilities_FilesBuilder? _files; - FilesCapabilities_FilesBuilder get files => _$this._files ??= FilesCapabilities_FilesBuilder(); - set files(covariant FilesCapabilities_FilesBuilder? files) => _$this._files = files; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesCapabilitiesBuilder(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - FilesCapabilitiesBuilder get _$this { + FilesSharingCapabilities_FilesSharing_GroupBuilder(); + + FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesCapabilities other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; } @override - void update(void Function(FilesCapabilitiesBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities build() => _build(); + FilesSharingCapabilities_FilesSharing_Group build() => _build(); - _$FilesCapabilities _build() { - _$FilesCapabilities _$result; + _$FilesSharingCapabilities_FilesSharing_Group _build() { + _$FilesSharingCapabilities_FilesSharing_Group _$result; try { - _$result = _$v ?? _$FilesCapabilities._(files: files.build()); + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); } rethrow; } @@ -15178,748 +16878,729 @@ class FilesCapabilitiesBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) updates); - bool? get enforced; - set enforced(bool? enforced); - - bool? get askForOptionalPassword; - set askForOptionalPassword(bool? askForOptionalPassword); +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$FilesSharingCapabilities_FilesSharing_Public_Password - extends FilesSharingCapabilities_FilesSharing_Public_Password { - @override - final bool enforced; +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { @override - final bool askForOptionalPassword; + final bool enabled; - factory _$FilesSharingCapabilities_FilesSharing_Public_Password( - [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - {required this.enforced, required this.askForOptionalPassword}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); } @override - FilesSharingCapabilities_FilesSharing_Public_Password rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_Password && - enforced == other.enforced && - askForOptionalPassword == other.askForOptionalPassword; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enforced.hashCode); - _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') - ..add('enforced', enforced) - ..add('askForOptionalPassword', askForOptionalPassword)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; - - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + Builder, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; - bool? _askForOptionalPassword; - bool? get askForOptionalPassword => _$this._askForOptionalPassword; - set askForOptionalPassword(covariant bool? askForOptionalPassword) => - _$this._askForOptionalPassword = askForOptionalPassword; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _enforced = $v.enforced; - _askForOptionalPassword = $v.askForOptionalPassword; + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), - askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, - r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) updates); +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface other); + void update( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - - int? get days; - set days(int? days); - - bool? get enforced; - set enforced(bool? enforced); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { @override final bool enabled; - @override - final int? days; - @override - final bool? enforced; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) - : super._() { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; - - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), - days: days, - enforced: enforced); + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) updates); + bool? get outgoing; + set outgoing(bool? outgoing); - int? get days; - set days(int? days); + bool? get incoming; + set incoming(bool? incoming); - bool? get enforced; - set enforced(bool? enforced); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate; + set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate); + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported; + set expireDateSupported( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { +class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { @override - final bool enabled; + final bool outgoing; @override - final int? days; + final bool incoming; @override - final bool? enforced; + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; + @override + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation( + [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) + _$FilesSharingCapabilities_FilesSharing_Federation._( + {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) : super._() { + BuiltValueNullFieldError.checkNotNull(outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); + BuiltValueNullFieldError.checkNotNull(incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); + expireDate, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); + BuiltValueNullFieldError.checkNotNull( + expireDateSupported, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation rebuild( + void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is FilesSharingCapabilities_FilesSharing_Federation && + outgoing == other.outgoing && + incoming == other.incoming && + expireDate == other.expireDate && + expireDateSupported == other.expireDateSupported; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, outgoing.hashCode); + _$hash = $jc(_$hash, incoming.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateSupported.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder +class FilesSharingCapabilities_FilesSharing_FederationBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(covariant bool? incoming) => _$this._incoming = incoming; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => + _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { + FilesSharingCapabilities_FilesSharing_FederationBuilder(); + + FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _outgoing = $v.outgoing; + _incoming = $v.incoming; + _expireDate = $v.expireDate.toBuilder(); + _expireDateSupported = $v.expireDateSupported.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Federation other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), - days: days, - enforced: enforced); + _$FilesSharingCapabilities_FilesSharing_Federation _build() { + _$FilesSharingCapabilities_FilesSharing_Federation _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), + expireDate: expireDate.build(), + expireDateSupported: expireDateSupported.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + expireDate.build(); + _$failedField = 'expireDateSupported'; + expireDateSupported.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - int? get days; - set days(int? days); +abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) updates); + bool? get queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault); - bool? get enforced; - set enforced(bool? enforced); + bool? get alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { - @override - final bool enabled; +class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { @override - final int? days; + final bool queryLookupDefault; @override - final bool? enforced; + final bool alwaysShowUnique; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Sharee( + [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) + _$FilesSharingCapabilities_FilesSharing_Sharee._({required this.queryLookupDefault, required this.alwaysShowUnique}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); + queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); + BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Sharee rebuild( + void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is FilesSharingCapabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder +class FilesSharingCapabilities_FilesSharing_ShareeBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(covariant bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(covariant bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + FilesSharingCapabilities_FilesSharing_ShareeBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { + FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); + FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + _$FilesSharingCapabilities_FilesSharing_Sharee _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), - days: days, - enforced: enforced); + _$FilesSharingCapabilities_FilesSharing_Sharee._( + queryLookupDefault: BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), + alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharingInterface other); + void update(void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) updates); + bool? get apiEnabled; + set apiEnabled(bool? apiEnabled); - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; - set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); + FilesSharingCapabilities_FilesSharing_PublicBuilder get public; + set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); - bool? get multipleLinks; - set multipleLinks(bool? multipleLinks); + FilesSharingCapabilities_FilesSharing_UserBuilder get user; + set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate); + bool? get resharing; + set resharing(bool? resharing); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal; - set expireDateInternal(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal); + bool? get groupSharing; + set groupSharing(bool? groupSharing); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote; - set expireDateRemote(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote); + FilesSharingCapabilities_FilesSharing_GroupBuilder get group; + set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); - bool? get sendMail; - set sendMail(bool? sendMail); + int? get defaultPermissions; + set defaultPermissions(int? defaultPermissions); - bool? get upload; - set upload(bool? upload); + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; + set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); - bool? get uploadFilesDrop; - set uploadFilesDrop(bool? uploadFilesDrop); + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; + set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); } -class _$FilesSharingCapabilities_FilesSharing_Public extends FilesSharingCapabilities_FilesSharing_Public { +class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { @override - final bool enabled; + final bool apiEnabled; @override - final FilesSharingCapabilities_FilesSharing_Public_Password? password; + final FilesSharingCapabilities_FilesSharing_Public public; @override - final bool? multipleLinks; + final FilesSharingCapabilities_FilesSharing_User user; @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; + final bool resharing; @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; + final bool? groupSharing; @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; + final FilesSharingCapabilities_FilesSharing_Group? group; @override - final bool? sendMail; + final int? defaultPermissions; @override - final bool? upload; + final FilesSharingCapabilities_FilesSharing_Federation federation; @override - final bool? uploadFilesDrop; + final FilesSharingCapabilities_FilesSharing_Sharee sharee; - factory _$FilesSharingCapabilities_FilesSharing_Public( - [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing( + [void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public._( - {required this.enabled, - this.password, - this.multipleLinks, - this.expireDate, - this.expireDateInternal, - this.expireDateRemote, - this.sendMail, - this.upload, - this.uploadFilesDrop}) + _$FilesSharingCapabilities_FilesSharing._( + {required this.apiEnabled, + required this.public, + required this.user, + required this.resharing, + this.groupSharing, + this.group, + this.defaultPermissions, + required this.federation, + required this.sharee}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); + BuiltValueNullFieldError.checkNotNull(apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); + BuiltValueNullFieldError.checkNotNull(public, r'FilesSharingCapabilities_FilesSharing', 'public'); + BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingCapabilities_FilesSharing', 'user'); + BuiltValueNullFieldError.checkNotNull(resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); + BuiltValueNullFieldError.checkNotNull(federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); } @override - FilesSharingCapabilities_FilesSharing_Public rebuild( - void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => + FilesSharingCapabilities_FilesSharing rebuild(void Function(FilesSharingCapabilities_FilesSharingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); + FilesSharingCapabilities_FilesSharingBuilder toBuilder() => + FilesSharingCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public && - enabled == other.enabled && - password == other.password && - multipleLinks == other.multipleLinks && - expireDate == other.expireDate && - expireDateInternal == other.expireDateInternal && - expireDateRemote == other.expireDateRemote && - sendMail == other.sendMail && - upload == other.upload && - uploadFilesDrop == other.uploadFilesDrop; + return other is FilesSharingCapabilities_FilesSharing && + apiEnabled == other.apiEnabled && + public == other.public && + user == other.user && + resharing == other.resharing && + groupSharing == other.groupSharing && + group == other.group && + defaultPermissions == other.defaultPermissions && + federation == other.federation && + sharee == other.sharee; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, multipleLinks.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, expireDateInternal.hashCode); - _$hash = $jc(_$hash, expireDateRemote.hashCode); - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, upload.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jc(_$hash, apiEnabled.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, user.hashCode); + _$hash = $jc(_$hash, resharing.hashCode); + _$hash = $jc(_$hash, groupSharing.hashCode); + _$hash = $jc(_$hash, group.hashCode); + _$hash = $jc(_$hash, defaultPermissions.hashCode); + _$hash = $jc(_$hash, federation.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public') - ..add('enabled', enabled) - ..add('password', password) - ..add('multipleLinks', multipleLinks) - ..add('expireDate', expireDate) - ..add('expireDateInternal', expireDateInternal) - ..add('expireDateRemote', expireDateRemote) - ..add('sendMail', sendMail) - ..add('upload', upload) - ..add('uploadFilesDrop', uploadFilesDrop)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') + ..add('apiEnabled', apiEnabled) + ..add('public', public) + ..add('user', user) + ..add('resharing', resharing) + ..add('groupSharing', groupSharing) + ..add('group', group) + ..add('defaultPermissions', defaultPermissions) + ..add('federation', federation) + ..add('sharee', sharee)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_PublicBuilder +class FilesSharingCapabilities_FilesSharingBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public? _$v; + Builder, + FilesSharingCapabilities_FilesSharingInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => - _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - set password(covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => - _$this._password = password; + FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; + FilesSharingCapabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); + set public(covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; - bool? _multipleLinks; - bool? get multipleLinks => _$this._multipleLinks; - set multipleLinks(covariant bool? multipleLinks) => _$this._multipleLinks = multipleLinks; + FilesSharingCapabilities_FilesSharing_UserBuilder? _user; + FilesSharingCapabilities_FilesSharing_UserBuilder get user => + _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); + set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(covariant bool? resharing) => _$this._resharing = resharing; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => - _$this._expireDateInternal ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - set expireDateInternal( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => - _$this._expireDateInternal = expireDateInternal; + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(covariant bool? groupSharing) => _$this._groupSharing = groupSharing; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => - _$this._expireDateRemote ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - set expireDateRemote( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => - _$this._expireDateRemote = expireDateRemote; + FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; + FilesSharingCapabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); + set group(covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; - bool? _upload; - bool? get upload => _$this._upload; - set upload(covariant bool? upload) => _$this._upload = upload; + FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => + _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); + set federation(covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => + _$this._federation = federation; - bool? _uploadFilesDrop; - bool? get uploadFilesDrop => _$this._uploadFilesDrop; - set uploadFilesDrop(covariant bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + set sharee(covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; - FilesSharingCapabilities_FilesSharing_PublicBuilder(); + FilesSharingCapabilities_FilesSharingBuilder(); - FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { + FilesSharingCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _password = $v.password?.toBuilder(); - _multipleLinks = $v.multipleLinks; - _expireDate = $v.expireDate?.toBuilder(); - _expireDateInternal = $v.expireDateInternal?.toBuilder(); - _expireDateRemote = $v.expireDateRemote?.toBuilder(); - _sendMail = $v.sendMail; - _upload = $v.upload; - _uploadFilesDrop = $v.uploadFilesDrop; + _apiEnabled = $v.apiEnabled; + _public = $v.public.toBuilder(); + _user = $v.user.toBuilder(); + _resharing = $v.resharing; + _groupSharing = $v.groupSharing; + _group = $v.group?.toBuilder(); + _defaultPermissions = $v.defaultPermissions; + _federation = $v.federation.toBuilder(); + _sharee = $v.sharee.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { + void replace(covariant FilesSharingCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; + _$v = other as _$FilesSharingCapabilities_FilesSharing; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { + void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public build() => _build(); + FilesSharingCapabilities_FilesSharing build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public _build() { - _$FilesSharingCapabilities_FilesSharing_Public _$result; + _$FilesSharingCapabilities_FilesSharing _build() { + _$FilesSharingCapabilities_FilesSharing _$result; try { _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), - password: _password?.build(), - multipleLinks: multipleLinks, - expireDate: _expireDate?.build(), - expireDateInternal: _expireDateInternal?.build(), - expireDateRemote: _expireDateRemote?.build(), - sendMail: sendMail, - upload: upload, - uploadFilesDrop: uploadFilesDrop); + _$FilesSharingCapabilities_FilesSharing._( + apiEnabled: BuiltValueNullFieldError.checkNotNull( + apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), + public: public.build(), + user: user.build(), + resharing: BuiltValueNullFieldError.checkNotNull( + resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'), + groupSharing: groupSharing, + group: _group?.build(), + defaultPermissions: defaultPermissions, + federation: federation.build(), + sharee: sharee.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'password'; - _password?.build(); + _$failedField = 'public'; + public.build(); + _$failedField = 'user'; + user.build(); - _$failedField = 'expireDate'; - _expireDate?.build(); - _$failedField = 'expireDateInternal'; - _expireDateInternal?.build(); - _$failedField = 'expireDateRemote'; - _expireDateRemote?.build(); + _$failedField = 'group'; + _group?.build(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); } rethrow; } @@ -15928,806 +17609,720 @@ class FilesSharingCapabilities_FilesSharing_PublicBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { + void replace(FilesSharingCapabilitiesInterface other); + void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); + FilesSharingCapabilities_FilesSharingBuilder get filesSharing; + set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); } -class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate - extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { +class _$FilesSharingCapabilities extends FilesSharingCapabilities { @override - final bool enabled; + final FilesSharingCapabilities_FilesSharing filesSharing; - factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => + (FilesSharingCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); + _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => + FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); + FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; + return other is FilesSharingCapabilities && filesSharing == other.filesSharing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') - ..add('enabled', enabled)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); } } -class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder +class FilesSharingCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; + Builder, + FilesSharingCapabilitiesInterfaceBuilder { + _$FilesSharingCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; + FilesSharingCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); + set filesSharing(covariant FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + FilesSharingCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { + FilesSharingCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { + void replace(covariant FilesSharingCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + _$v = other as _$FilesSharingCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { + void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); + FilesSharingCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); + _$FilesSharingCapabilities _build() { + _$FilesSharingCapabilities _$result; + try { + _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); - bool? get sendMail; - set sendMail(bool? sendMail); - - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); +abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { + void replace(FilesTrashbinCapabilities_FilesInterface other); + void update(void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); + bool? get undelete; + set undelete(bool? undelete); } -class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { - @override - final bool sendMail; +class _$FilesTrashbinCapabilities_Files extends FilesTrashbinCapabilities_Files { @override - final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; + final bool undelete; - factory _$FilesSharingCapabilities_FilesSharing_User( - [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => + (FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); + _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { + BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); } @override - FilesSharingCapabilities_FilesSharing_User rebuild( - void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => + FilesTrashbinCapabilities_Files rebuild(void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); + FilesTrashbinCapabilities_FilesBuilder toBuilder() => FilesTrashbinCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User && - sendMail == other.sendMail && - expireDate == other.expireDate; + return other is FilesTrashbinCapabilities_Files && undelete == other.undelete; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, undelete.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') - ..add('sendMail', sendMail) - ..add('expireDate', expireDate)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files')..add('undelete', undelete)).toString(); } } -class FilesSharingCapabilities_FilesSharing_UserBuilder +class FilesTrashbinCapabilities_FilesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User? _$v; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + Builder, + FilesTrashbinCapabilities_FilesInterfaceBuilder { + _$FilesTrashbinCapabilities_Files? _$v; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + bool? _undelete; + bool? get undelete => _$this._undelete; + set undelete(covariant bool? undelete) => _$this._undelete = undelete; - FilesSharingCapabilities_FilesSharing_UserBuilder(); + FilesTrashbinCapabilities_FilesBuilder(); - FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { + FilesTrashbinCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _sendMail = $v.sendMail; - _expireDate = $v.expireDate?.toBuilder(); + _undelete = $v.undelete; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { + void replace(covariant FilesTrashbinCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User; + _$v = other as _$FilesTrashbinCapabilities_Files; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User build() => _build(); + FilesTrashbinCapabilities_Files build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User _build() { - _$FilesSharingCapabilities_FilesSharing_User _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User._( - sendMail: BuiltValueNullFieldError.checkNotNull( - sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), - expireDate: _expireDate?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'expireDate'; - _expireDate?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); - } - rethrow; - } + _$FilesTrashbinCapabilities_Files _build() { + final _$result = _$v ?? + _$FilesTrashbinCapabilities_Files._( + undelete: BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { + void replace(FilesTrashbinCapabilitiesInterface other); + void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); + FilesTrashbinCapabilities_FilesBuilder get files; + set files(FilesTrashbinCapabilities_FilesBuilder? files); } -class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { +class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { @override - final bool enabled; + final FilesTrashbinCapabilities_Files files; - factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => + (FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); + _$FilesTrashbinCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesTrashbinCapabilities', 'files'); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => + FilesTrashbinCapabilities rebuild(void Function(FilesTrashbinCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); + FilesTrashbinCapabilitiesBuilder toBuilder() => FilesTrashbinCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; + return other is FilesTrashbinCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') - ..add('enabled', enabled)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities')..add('files', files)).toString(); } } -class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder +class FilesTrashbinCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; + Builder, + FilesTrashbinCapabilitiesInterfaceBuilder { + _$FilesTrashbinCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + FilesTrashbinCapabilities_FilesBuilder? _files; + FilesTrashbinCapabilities_FilesBuilder get files => _$this._files ??= FilesTrashbinCapabilities_FilesBuilder(); + set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => _$this._files = files; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + FilesTrashbinCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { + FilesTrashbinCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { + void replace(covariant FilesTrashbinCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + _$v = other as _$FilesTrashbinCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); + FilesTrashbinCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); + _$FilesTrashbinCapabilities _build() { + _$FilesTrashbinCapabilities _$result; + try { + _$result = _$v ?? _$FilesTrashbinCapabilities._(files: files.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'files'; + files.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesTrashbinCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { + void replace(FilesVersionsCapabilities_FilesInterface other); + void update(void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); + bool? get versioning; + set versioning(bool? versioning); - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate); + bool? get versionLabeling; + set versionLabeling(bool? versionLabeling); + + bool? get versionDeletion; + set versionDeletion(bool? versionDeletion); } -class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { +class _$FilesVersionsCapabilities_Files extends FilesVersionsCapabilities_Files { @override - final bool enabled; + final bool versioning; @override - final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; + final bool versionLabeling; + @override + final bool versionDeletion; - factory _$FilesSharingCapabilities_FilesSharing_Group( - [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => + (FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); + _$FilesVersionsCapabilities_Files._( + {required this.versioning, required this.versionLabeling, required this.versionDeletion}) + : super._() { + BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'); + BuiltValueNullFieldError.checkNotNull(versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); + BuiltValueNullFieldError.checkNotNull(versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); } @override - FilesSharingCapabilities_FilesSharing_Group rebuild( - void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => + FilesVersionsCapabilities_Files rebuild(void Function(FilesVersionsCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); + FilesVersionsCapabilities_FilesBuilder toBuilder() => FilesVersionsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group && - enabled == other.enabled && - expireDate == other.expireDate; + return other is FilesVersionsCapabilities_Files && + versioning == other.versioning && + versionLabeling == other.versionLabeling && + versionDeletion == other.versionDeletion; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, versioning.hashCode); + _$hash = $jc(_$hash, versionLabeling.hashCode); + _$hash = $jc(_$hash, versionDeletion.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') - ..add('enabled', enabled) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') + ..add('versioning', versioning) + ..add('versionLabeling', versionLabeling) + ..add('versionDeletion', versionDeletion)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_GroupBuilder +class FilesVersionsCapabilities_FilesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group? _$v; + Builder, + FilesVersionsCapabilities_FilesInterfaceBuilder { + _$FilesVersionsCapabilities_Files? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + bool? _versioning; + bool? get versioning => _$this._versioning; + set versioning(covariant bool? versioning) => _$this._versioning = versioning; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + bool? _versionLabeling; + bool? get versionLabeling => _$this._versionLabeling; + set versionLabeling(covariant bool? versionLabeling) => _$this._versionLabeling = versionLabeling; - FilesSharingCapabilities_FilesSharing_GroupBuilder(); + bool? _versionDeletion; + bool? get versionDeletion => _$this._versionDeletion; + set versionDeletion(covariant bool? versionDeletion) => _$this._versionDeletion = versionDeletion; - FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { + FilesVersionsCapabilities_FilesBuilder(); + + FilesVersionsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _expireDate = $v.expireDate?.toBuilder(); + _versioning = $v.versioning; + _versionLabeling = $v.versionLabeling; + _versionDeletion = $v.versionDeletion; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { + void replace(covariant FilesVersionsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; + _$v = other as _$FilesVersionsCapabilities_Files; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { + void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group build() => _build(); + FilesVersionsCapabilities_Files build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group _build() { - _$FilesSharingCapabilities_FilesSharing_Group _$result; - try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), - expireDate: _expireDate?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'expireDate'; - _expireDate?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); - } - rethrow; - } + _$FilesVersionsCapabilities_Files _build() { + final _$result = _$v ?? + _$FilesVersionsCapabilities_Files._( + versioning: + BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'), + versionLabeling: BuiltValueNullFieldError.checkNotNull( + versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'), + versionDeletion: BuiltValueNullFieldError.checkNotNull( + versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { + void replace(FilesVersionsCapabilitiesInterface other); + void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); + FilesVersionsCapabilities_FilesBuilder get files; + set files(FilesVersionsCapabilities_FilesBuilder? files); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { +class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { @override - final bool enabled; + final FilesVersionsCapabilities_Files files; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? updates]) => + (FilesVersionsCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); + _$FilesVersionsCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesVersionsCapabilities', 'files'); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => + FilesVersionsCapabilities rebuild(void Function(FilesVersionsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + FilesVersionsCapabilitiesBuilder toBuilder() => FilesVersionsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; + return other is FilesVersionsCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') - ..add('enabled', enabled)) - .toString(); + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities')..add('files', files)).toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder +class FilesVersionsCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; + Builder, + FilesVersionsCapabilitiesInterfaceBuilder { + _$FilesVersionsCapabilities? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + FilesVersionsCapabilities_FilesBuilder? _files; + FilesVersionsCapabilities_FilesBuilder get files => _$this._files ??= FilesVersionsCapabilities_FilesBuilder(); + set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => _$this._files = files; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + FilesVersionsCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + FilesVersionsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { + void replace(covariant FilesVersionsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + _$v = other as _$FilesVersionsCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); + FilesVersionsCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); + _$FilesVersionsCapabilities _build() { + _$FilesVersionsCapabilities _$result; + try { + _$result = _$v ?? _$FilesVersionsCapabilities._(files: files.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'files'; + files.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesVersionsCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface other); - void update( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class NotesCapabilities_NotesInterfaceBuilder { + void replace(NotesCapabilities_NotesInterface other); + void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); + ListBuilder get apiVersion; + set apiVersion(ListBuilder? apiVersion); + + String? get version; + set version(String? version); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { +class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { @override - final bool enabled; + final BuiltList? apiVersion; + @override + final String? version; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); + factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => + (NotesCapabilities_NotesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); - } + _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => + NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); + NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; + return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder +class NotesCapabilities_NotesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; + Builder, + NotesCapabilities_NotesInterfaceBuilder { + _$NotesCapabilities_Notes? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + ListBuilder? _apiVersion; + ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); + set apiVersion(covariant ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { + NotesCapabilities_NotesBuilder(); + + NotesCapabilities_NotesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { + void replace(covariant NotesCapabilities_Notes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + _$v = other as _$NotesCapabilities_Notes; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { + void update(void Function(NotesCapabilities_NotesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); + NotesCapabilities_Notes build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); + _$NotesCapabilities_Notes _build() { + _$NotesCapabilities_Notes _$result; + try { + _$result = _$v ?? _$NotesCapabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'apiVersion'; + _apiVersion?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotesCapabilities_Notes', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) updates); - bool? get outgoing; - set outgoing(bool? outgoing); - - bool? get incoming; - set incoming(bool? incoming); - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate); - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported; - set expireDateSupported( - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported); +abstract mixin class NotesCapabilitiesInterfaceBuilder { + void replace(NotesCapabilitiesInterface other); + void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); + NotesCapabilities_NotesBuilder get notes; + set notes(NotesCapabilities_NotesBuilder? notes); } -class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { - @override - final bool outgoing; - @override - final bool incoming; - @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; +class _$NotesCapabilities extends NotesCapabilities { @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; + final NotesCapabilities_Notes notes; - factory _$FilesSharingCapabilities_FilesSharing_Federation( - [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); + factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => + (NotesCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Federation._( - {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) - : super._() { - BuiltValueNullFieldError.checkNotNull(outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); - BuiltValueNullFieldError.checkNotNull(incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); - BuiltValueNullFieldError.checkNotNull( - expireDateSupported, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); + _$NotesCapabilities._({required this.notes}) : super._() { + BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); } @override - FilesSharingCapabilities_FilesSharing_Federation rebuild( - void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => - (toBuilder()..update(updates)).build(); + NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); + NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation && - outgoing == other.outgoing && - incoming == other.incoming && - expireDate == other.expireDate && - expireDateSupported == other.expireDateSupported; + return other is NotesCapabilities && notes == other.notes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, outgoing.hashCode); - _$hash = $jc(_$hash, incoming.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, expireDateSupported.hashCode); + _$hash = $jc(_$hash, notes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') - ..add('outgoing', outgoing) - ..add('incoming', incoming) - ..add('expireDate', expireDate) - ..add('expireDateSupported', expireDateSupported)) - .toString(); + return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); } } -class FilesSharingCapabilities_FilesSharing_FederationBuilder - implements - Builder, - FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - - bool? _outgoing; - bool? get outgoing => _$this._outgoing; - set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - - bool? _incoming; - bool? get incoming => _$this._incoming; - set incoming(covariant bool? incoming) => _$this._incoming = incoming; - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; +class NotesCapabilitiesBuilder + implements Builder, NotesCapabilitiesInterfaceBuilder { + _$NotesCapabilities? _$v; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => - _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - set expireDateSupported( - covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => - _$this._expireDateSupported = expireDateSupported; + NotesCapabilities_NotesBuilder? _notes; + NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); + set notes(covariant NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; - FilesSharingCapabilities_FilesSharing_FederationBuilder(); + NotesCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { + NotesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _outgoing = $v.outgoing; - _incoming = $v.incoming; - _expireDate = $v.expireDate.toBuilder(); - _expireDateSupported = $v.expireDateSupported.toBuilder(); + _notes = $v.notes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation other) { + void replace(covariant NotesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; + _$v = other as _$NotesCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { + void update(void Function(NotesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation build() => _build(); + NotesCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation _build() { - _$FilesSharingCapabilities_FilesSharing_Federation _$result; + _$NotesCapabilities _build() { + _$NotesCapabilities _$result; try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation._( - outgoing: BuiltValueNullFieldError.checkNotNull( - outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), - incoming: BuiltValueNullFieldError.checkNotNull( - incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), - expireDate: expireDate.build(), - expireDateSupported: expireDateSupported.build()); + _$result = _$v ?? _$NotesCapabilities._(notes: notes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - expireDate.build(); - _$failedField = 'expireDateSupported'; - expireDateSupported.build(); + _$failedField = 'notes'; + notes.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'NotesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -16736,364 +18331,242 @@ class FilesSharingCapabilities_FilesSharing_FederationBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) updates); - bool? get queryLookupDefault; - set queryLookupDefault(bool? queryLookupDefault); +abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { + void replace(NotificationsCapabilities_NotificationsInterface other); + void update(void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) updates); + ListBuilder get ocsEndpoints; + set ocsEndpoints(ListBuilder? ocsEndpoints); - bool? get alwaysShowUnique; - set alwaysShowUnique(bool? alwaysShowUnique); + ListBuilder get push; + set push(ListBuilder? push); + + ListBuilder get adminNotifications; + set adminNotifications(ListBuilder? adminNotifications); } -class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { +class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { @override - final bool queryLookupDefault; + final BuiltList ocsEndpoints; @override - final bool alwaysShowUnique; + final BuiltList push; + @override + final BuiltList adminNotifications; - factory _$FilesSharingCapabilities_FilesSharing_Sharee( - [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities_Notifications( + [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => + (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Sharee._({required this.queryLookupDefault, required this.alwaysShowUnique}) + _$NotificationsCapabilities_Notifications._( + {required this.ocsEndpoints, required this.push, required this.adminNotifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocsEndpoints, r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); + BuiltValueNullFieldError.checkNotNull(push, r'NotificationsCapabilities_Notifications', 'push'); BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); - BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); + adminNotifications, r'NotificationsCapabilities_Notifications', 'adminNotifications'); } @override - FilesSharingCapabilities_FilesSharing_Sharee rebuild( - void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => + NotificationsCapabilities_Notifications rebuild( + void Function(NotificationsCapabilities_NotificationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); + NotificationsCapabilities_NotificationsBuilder toBuilder() => + NotificationsCapabilities_NotificationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Sharee && - queryLookupDefault == other.queryLookupDefault && - alwaysShowUnique == other.alwaysShowUnique; + return other is NotificationsCapabilities_Notifications && + ocsEndpoints == other.ocsEndpoints && + push == other.push && + adminNotifications == other.adminNotifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, queryLookupDefault.hashCode); - _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jc(_$hash, ocsEndpoints.hashCode); + _$hash = $jc(_$hash, push.hashCode); + _$hash = $jc(_$hash, adminNotifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') - ..add('queryLookupDefault', queryLookupDefault) - ..add('alwaysShowUnique', alwaysShowUnique)) + return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_ShareeBuilder +class NotificationsCapabilities_NotificationsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; + Builder, + NotificationsCapabilities_NotificationsInterfaceBuilder { + _$NotificationsCapabilities_Notifications? _$v; - bool? _queryLookupDefault; - bool? get queryLookupDefault => _$this._queryLookupDefault; - set queryLookupDefault(covariant bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); + set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; - bool? _alwaysShowUnique; - bool? get alwaysShowUnique => _$this._alwaysShowUnique; - set alwaysShowUnique(covariant bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + ListBuilder? _push; + ListBuilder get push => _$this._push ??= ListBuilder(); + set push(covariant ListBuilder? push) => _$this._push = push; - FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); + set adminNotifications(covariant ListBuilder? adminNotifications) => + _$this._adminNotifications = adminNotifications; - FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { + NotificationsCapabilities_NotificationsBuilder(); + + NotificationsCapabilities_NotificationsBuilder get _$this { final $v = _$v; if ($v != null) { - _queryLookupDefault = $v.queryLookupDefault; - _alwaysShowUnique = $v.alwaysShowUnique; + _ocsEndpoints = $v.ocsEndpoints.toBuilder(); + _push = $v.push.toBuilder(); + _adminNotifications = $v.adminNotifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { + void replace(covariant NotificationsCapabilities_Notifications other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; + _$v = other as _$NotificationsCapabilities_Notifications; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { + void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); + NotificationsCapabilities_Notifications build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Sharee _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Sharee._( - queryLookupDefault: BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), - alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); + _$NotificationsCapabilities_Notifications _build() { + _$NotificationsCapabilities_Notifications _$result; + try { + _$result = _$v ?? + _$NotificationsCapabilities_Notifications._( + ocsEndpoints: ocsEndpoints.build(), push: push.build(), adminNotifications: adminNotifications.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocsEndpoints'; + ocsEndpoints.build(); + _$failedField = 'push'; + push.build(); + _$failedField = 'adminNotifications'; + adminNotifications.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotificationsCapabilities_Notifications', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharingInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) updates); - bool? get apiEnabled; - set apiEnabled(bool? apiEnabled); - - FilesSharingCapabilities_FilesSharing_PublicBuilder get public; - set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); - - FilesSharingCapabilities_FilesSharing_UserBuilder get user; - set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); - - bool? get resharing; - set resharing(bool? resharing); - - bool? get groupSharing; - set groupSharing(bool? groupSharing); - - FilesSharingCapabilities_FilesSharing_GroupBuilder get group; - set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); - - int? get defaultPermissions; - set defaultPermissions(int? defaultPermissions); - - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; - set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); - - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; - set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); +abstract mixin class NotificationsCapabilitiesInterfaceBuilder { + void replace(NotificationsCapabilitiesInterface other); + void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); + NotificationsCapabilities_NotificationsBuilder get notifications; + set notifications(NotificationsCapabilities_NotificationsBuilder? notifications); } -class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { - @override - final bool apiEnabled; - @override - final FilesSharingCapabilities_FilesSharing_Public public; - @override - final FilesSharingCapabilities_FilesSharing_User user; - @override - final bool resharing; - @override - final bool? groupSharing; - @override - final FilesSharingCapabilities_FilesSharing_Group? group; - @override - final int? defaultPermissions; - @override - final FilesSharingCapabilities_FilesSharing_Federation federation; +class _$NotificationsCapabilities extends NotificationsCapabilities { @override - final FilesSharingCapabilities_FilesSharing_Sharee sharee; + final NotificationsCapabilities_Notifications notifications; - factory _$FilesSharingCapabilities_FilesSharing( - [void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => + (NotificationsCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing._( - {required this.apiEnabled, - required this.public, - required this.user, - required this.resharing, - this.groupSharing, - this.group, - this.defaultPermissions, - required this.federation, - required this.sharee}) - : super._() { - BuiltValueNullFieldError.checkNotNull(apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); - BuiltValueNullFieldError.checkNotNull(public, r'FilesSharingCapabilities_FilesSharing', 'public'); - BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingCapabilities_FilesSharing', 'user'); - BuiltValueNullFieldError.checkNotNull(resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); - BuiltValueNullFieldError.checkNotNull(federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); - BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); + _$NotificationsCapabilities._({required this.notifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); } @override - FilesSharingCapabilities_FilesSharing rebuild(void Function(FilesSharingCapabilities_FilesSharingBuilder) updates) => + NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharingBuilder toBuilder() => - FilesSharingCapabilities_FilesSharingBuilder()..replace(this); + NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing && - apiEnabled == other.apiEnabled && - public == other.public && - user == other.user && - resharing == other.resharing && - groupSharing == other.groupSharing && - group == other.group && - defaultPermissions == other.defaultPermissions && - federation == other.federation && - sharee == other.sharee; + return other is NotificationsCapabilities && notifications == other.notifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiEnabled.hashCode); - _$hash = $jc(_$hash, public.hashCode); - _$hash = $jc(_$hash, user.hashCode); - _$hash = $jc(_$hash, resharing.hashCode); - _$hash = $jc(_$hash, groupSharing.hashCode); - _$hash = $jc(_$hash, group.hashCode); - _$hash = $jc(_$hash, defaultPermissions.hashCode); - _$hash = $jc(_$hash, federation.hashCode); - _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, notifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') - ..add('apiEnabled', apiEnabled) - ..add('public', public) - ..add('user', user) - ..add('resharing', resharing) - ..add('groupSharing', groupSharing) - ..add('group', group) - ..add('defaultPermissions', defaultPermissions) - ..add('federation', federation) - ..add('sharee', sharee)) - .toString(); + return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); } } -class FilesSharingCapabilities_FilesSharingBuilder +class NotificationsCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharingInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing? _$v; - - bool? _apiEnabled; - bool? get apiEnabled => _$this._apiEnabled; - set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - - FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; - FilesSharingCapabilities_FilesSharing_PublicBuilder get public => - _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); - set public(covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; - - FilesSharingCapabilities_FilesSharing_UserBuilder? _user; - FilesSharingCapabilities_FilesSharing_UserBuilder get user => - _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); - set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; - - bool? _resharing; - bool? get resharing => _$this._resharing; - set resharing(covariant bool? resharing) => _$this._resharing = resharing; - - bool? _groupSharing; - bool? get groupSharing => _$this._groupSharing; - set groupSharing(covariant bool? groupSharing) => _$this._groupSharing = groupSharing; - - FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; - FilesSharingCapabilities_FilesSharing_GroupBuilder get group => - _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); - set group(covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; - - int? _defaultPermissions; - int? get defaultPermissions => _$this._defaultPermissions; - set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; - - FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => - _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); - set federation(covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => - _$this._federation = federation; + Builder, + NotificationsCapabilitiesInterfaceBuilder { + _$NotificationsCapabilities? _$v; - FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => - _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); - set sharee(covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; + NotificationsCapabilities_NotificationsBuilder? _notifications; + NotificationsCapabilities_NotificationsBuilder get notifications => + _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); + set notifications(covariant NotificationsCapabilities_NotificationsBuilder? notifications) => + _$this._notifications = notifications; - FilesSharingCapabilities_FilesSharingBuilder(); + NotificationsCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharingBuilder get _$this { + NotificationsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _apiEnabled = $v.apiEnabled; - _public = $v.public.toBuilder(); - _user = $v.user.toBuilder(); - _resharing = $v.resharing; - _groupSharing = $v.groupSharing; - _group = $v.group?.toBuilder(); - _defaultPermissions = $v.defaultPermissions; - _federation = $v.federation.toBuilder(); - _sharee = $v.sharee.toBuilder(); + _notifications = $v.notifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing other) { + void replace(covariant NotificationsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing; + _$v = other as _$NotificationsCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { + void update(void Function(NotificationsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing build() => _build(); + NotificationsCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing _build() { - _$FilesSharingCapabilities_FilesSharing _$result; + _$NotificationsCapabilities _build() { + _$NotificationsCapabilities _$result; try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing._( - apiEnabled: BuiltValueNullFieldError.checkNotNull( - apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), - public: public.build(), - user: user.build(), - resharing: BuiltValueNullFieldError.checkNotNull( - resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'), - groupSharing: groupSharing, - group: _group?.build(), - defaultPermissions: defaultPermissions, - federation: federation.build(), - sharee: sharee.build()); + _$result = _$v ?? _$NotificationsCapabilities._(notifications: notifications.build()); } catch (_) { late String _$failedField; - try { - _$failedField = 'public'; - public.build(); - _$failedField = 'user'; - user.build(); - - _$failedField = 'group'; - _group?.build(); - - _$failedField = 'federation'; - federation.build(); - _$failedField = 'sharee'; - sharee.build(); + try { + _$failedField = 'notifications'; + notifications.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'NotificationsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -17102,624 +18575,782 @@ class FilesSharingCapabilities_FilesSharingBuilder } } -abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { - void replace(FilesSharingCapabilitiesInterface other); - void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); - FilesSharingCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); + void update(void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) updates); + String? get version; + set version(String? version); + + int? get accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion); + + bool? get accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled); + + bool? get accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled); } -class _$FilesSharingCapabilities extends FilesSharingCapabilities { +class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { @override - final FilesSharingCapabilities_FilesSharing filesSharing; + final String version; + @override + final int accountPropertyScopesVersion; + @override + final bool accountPropertyScopesFederatedEnabled; + @override + final bool accountPropertyScopesPublishedEnabled; - factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => - (FilesSharingCapabilitiesBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities_ProvisioningApi( + [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => + (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); - _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); + _$ProvisioningApiCapabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesFederatedEnabled'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesPublishedEnabled'); } @override - FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => + ProvisioningApiCapabilities_ProvisioningApi rebuild( + void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); + ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => + ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities && filesSharing == other.filesSharing; + return other is ProvisioningApiCapabilities_ProvisioningApi && + version == other.version && + accountPropertyScopesVersion == other.accountPropertyScopesVersion && + accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && + accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + .toString(); } } -class FilesSharingCapabilitiesBuilder +class ProvisioningApiCapabilities_ProvisioningApiBuilder implements - Builder, - FilesSharingCapabilitiesInterfaceBuilder { - _$FilesSharingCapabilities? _$v; + Builder, + ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + _$ProvisioningApiCapabilities_ProvisioningApi? _$v; - FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; - FilesSharingCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); - set filesSharing(covariant FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - FilesSharingCapabilitiesBuilder(); + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion(covariant int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - FilesSharingCapabilitiesBuilder get _$this { + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(covariant bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(covariant bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + + ProvisioningApiCapabilities_ProvisioningApiBuilder(); + + ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities other) { + void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities; + _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; } @override - void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { + void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities build() => _build(); + ProvisioningApiCapabilities_ProvisioningApi build() => _build(); - _$FilesSharingCapabilities _build() { - _$FilesSharingCapabilities _$result; - try { - _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'filesSharing'; - filesSharing.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$ProvisioningApiCapabilities_ProvisioningApi _build() { + final _$result = _$v ?? + _$ProvisioningApiCapabilities_ProvisioningApi._( + version: BuiltValueNullFieldError.checkNotNull( + version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'), + accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'), + accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'), + accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled')); replace(_$result); return _$result; } } -abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { - void replace(FilesTrashbinCapabilities_FilesInterface other); - void update(void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); - bool? get undelete; - set undelete(bool? undelete); +abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { + void replace(ProvisioningApiCapabilitiesInterface other); + void update(void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; + set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); } -class _$FilesTrashbinCapabilities_Files extends FilesTrashbinCapabilities_Files { +class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { @override - final bool undelete; + final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; - factory _$FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => - (FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => + (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); - _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { - BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); + _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { + BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); } @override - FilesTrashbinCapabilities_Files rebuild(void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => + ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesTrashbinCapabilities_FilesBuilder toBuilder() => FilesTrashbinCapabilities_FilesBuilder()..replace(this); + ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities_Files && undelete == other.undelete; + return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, undelete.hashCode); + _$hash = $jc(_$hash, provisioningApi.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files')..add('undelete', undelete)).toString(); + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) + .toString(); } } -class FilesTrashbinCapabilities_FilesBuilder +class ProvisioningApiCapabilitiesBuilder implements - Builder, - FilesTrashbinCapabilities_FilesInterfaceBuilder { - _$FilesTrashbinCapabilities_Files? _$v; + Builder, + ProvisioningApiCapabilitiesInterfaceBuilder { + _$ProvisioningApiCapabilities? _$v; - bool? _undelete; - bool? get undelete => _$this._undelete; - set undelete(covariant bool? undelete) => _$this._undelete = undelete; + ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); + set provisioningApi(covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => + _$this._provisioningApi = provisioningApi; - FilesTrashbinCapabilities_FilesBuilder(); + ProvisioningApiCapabilitiesBuilder(); - FilesTrashbinCapabilities_FilesBuilder get _$this { + ProvisioningApiCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _undelete = $v.undelete; + _provisioningApi = $v.provisioningApi.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesTrashbinCapabilities_Files other) { + void replace(covariant ProvisioningApiCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities_Files; + _$v = other as _$ProvisioningApiCapabilities; } @override - void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { + void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesTrashbinCapabilities_Files build() => _build(); + ProvisioningApiCapabilities build() => _build(); - _$FilesTrashbinCapabilities_Files _build() { - final _$result = _$v ?? - _$FilesTrashbinCapabilities_Files._( - undelete: BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); + _$ProvisioningApiCapabilities _build() { + _$ProvisioningApiCapabilities _$result; + try { + _$result = _$v ?? _$ProvisioningApiCapabilities._(provisioningApi: provisioningApi.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'provisioningApi'; + provisioningApi.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ProvisioningApiCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { - void replace(FilesTrashbinCapabilitiesInterface other); - void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); - FilesTrashbinCapabilities_FilesBuilder get files; - set files(FilesTrashbinCapabilities_FilesBuilder? files); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface other); + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + extends SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop { @override - final FilesTrashbinCapabilities_Files files; + final bool enabled; - factory _$FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => - (FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => + (SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); - _$FilesTrashbinCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesTrashbinCapabilities', 'files'); + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); } @override - FilesTrashbinCapabilities rebuild(void Function(FilesTrashbinCapabilitiesBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( + void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesTrashbinCapabilitiesBuilder toBuilder() => FilesTrashbinCapabilitiesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities && files == other.files; + return other is SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop') + ..add('enabled', enabled)) + .toString(); } } -class FilesTrashbinCapabilitiesBuilder +class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder implements - Builder, - FilesTrashbinCapabilitiesInterfaceBuilder { - _$FilesTrashbinCapabilities? _$v; + Builder, + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; - FilesTrashbinCapabilities_FilesBuilder? _files; - FilesTrashbinCapabilities_FilesBuilder get files => _$this._files ??= FilesTrashbinCapabilities_FilesBuilder(); - set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => _$this._files = files; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesTrashbinCapabilitiesBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - FilesTrashbinCapabilitiesBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant FilesTrashbinCapabilities other) { + void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; } @override - void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { if (updates != null) updates(this); } @override - FilesTrashbinCapabilities build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); - _$FilesTrashbinCapabilities _build() { - _$FilesTrashbinCapabilities _$result; - try { - _$result = _$v ?? _$FilesTrashbinCapabilities._(files: files.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'files'; - files.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesTrashbinCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { + final _$result = _$v ?? + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { - void replace(FilesVersionsCapabilities_FilesInterface other); - void update(void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); - bool? get versioning; - set versioning(bool? versioning); - - bool? get versionLabeling; - set versionLabeling(bool? versionLabeling); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface other); + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - bool? get versionDeletion; - set versionDeletion(bool? versionDeletion); + bool? get enforced; + set enforced(bool? enforced); } -class _$FilesVersionsCapabilities_Files extends FilesVersionsCapabilities_Files { - @override - final bool versioning; +class _$SharebymailCapabilities_FilesSharing_Sharebymail_Password + extends SharebymailCapabilities_FilesSharing_Sharebymail_Password { @override - final bool versionLabeling; + final bool enabled; @override - final bool versionDeletion; + final bool enforced; - factory _$FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => - (FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_Password( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => + (SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities_Files._( - {required this.versioning, required this.versionLabeling, required this.versionDeletion}) + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'); - BuiltValueNullFieldError.checkNotNull(versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); - BuiltValueNullFieldError.checkNotNull(versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); + BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced'); } @override - FilesVersionsCapabilities_Files rebuild(void Function(FilesVersionsCapabilities_FilesBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail_Password rebuild( + void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilities_FilesBuilder toBuilder() => FilesVersionsCapabilities_FilesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities_Files && - versioning == other.versioning && - versionLabeling == other.versionLabeling && - versionDeletion == other.versionDeletion; + return other is SharebymailCapabilities_FilesSharing_Sharebymail_Password && + enabled == other.enabled && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, versioning.hashCode); - _$hash = $jc(_$hash, versionLabeling.hashCode); - _$hash = $jc(_$hash, versionDeletion.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') - ..add('versioning', versioning) - ..add('versionLabeling', versionLabeling) - ..add('versionDeletion', versionDeletion)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_Password') + ..add('enabled', enabled) + ..add('enforced', enforced)) .toString(); } } -class FilesVersionsCapabilities_FilesBuilder +class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder implements - Builder, - FilesVersionsCapabilities_FilesInterfaceBuilder { - _$FilesVersionsCapabilities_Files? _$v; - - bool? _versioning; - bool? get versioning => _$this._versioning; - set versioning(covariant bool? versioning) => _$this._versioning = versioning; + Builder, + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password? _$v; - bool? _versionLabeling; - bool? get versionLabeling => _$this._versionLabeling; - set versionLabeling(covariant bool? versionLabeling) => _$this._versionLabeling = versionLabeling; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - bool? _versionDeletion; - bool? get versionDeletion => _$this._versionDeletion; - set versionDeletion(covariant bool? versionDeletion) => _$this._versionDeletion = versionDeletion; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - FilesVersionsCapabilities_FilesBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); - FilesVersionsCapabilities_FilesBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _versioning = $v.versioning; - _versionLabeling = $v.versionLabeling; - _versionDeletion = $v.versionDeletion; + _enabled = $v.enabled; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities_Files other) { + void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities_Files; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; } @override - void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities_Files build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_Password build() => _build(); - _$FilesVersionsCapabilities_Files _build() { + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password _build() { final _$result = _$v ?? - _$FilesVersionsCapabilities_Files._( - versioning: - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'), - versionLabeling: BuiltValueNullFieldError.checkNotNull( - versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'), - versionDeletion: BuiltValueNullFieldError.checkNotNull( - versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion')); + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { - void replace(FilesVersionsCapabilitiesInterface other); - void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); - FilesVersionsCapabilities_FilesBuilder get files; - set files(FilesVersionsCapabilities_FilesBuilder? files); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface other); + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + bool? get enforced; + set enforced(bool? enforced); } -class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + extends SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate { @override - final FilesVersionsCapabilities_Files files; + final bool enabled; + @override + final bool enforced; - factory _$FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? updates]) => - (FilesVersionsCapabilitiesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => + (SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesVersionsCapabilities', 'files'); + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced'); } @override - FilesVersionsCapabilities rebuild(void Function(FilesVersionsCapabilitiesBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate rebuild( + void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilitiesBuilder toBuilder() => FilesVersionsCapabilitiesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities && files == other.files; + return other is SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate && + enabled == other.enabled && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate') + ..add('enabled', enabled) + ..add('enforced', enforced)) + .toString(); } } -class FilesVersionsCapabilitiesBuilder +class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder implements - Builder, - FilesVersionsCapabilitiesInterfaceBuilder { - _$FilesVersionsCapabilities? _$v; + Builder, + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate? _$v; - FilesVersionsCapabilities_FilesBuilder? _files; - FilesVersionsCapabilities_FilesBuilder get files => _$this._files ??= FilesVersionsCapabilities_FilesBuilder(); - set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => _$this._files = files; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - FilesVersionsCapabilitiesBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - FilesVersionsCapabilitiesBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _enabled = $v.enabled; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities other) { + void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; } @override - void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { + void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); - _$FilesVersionsCapabilities _build() { - _$FilesVersionsCapabilities _$result; - try { - _$result = _$v ?? _$FilesVersionsCapabilities._(files: files.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'files'; - files.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesVersionsCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate _build() { + final _$result = _$v ?? + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced')); replace(_$result); return _$result; } } -abstract mixin class NotesCapabilities_NotesInterfaceBuilder { - void replace(NotesCapabilities_NotesInterface other); - void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); - ListBuilder get apiVersion; - set apiVersion(ListBuilder? apiVersion); +abstract mixin class SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharing_SharebymailInterface other); + void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - String? get version; - set version(String? version); + bool? get sendPasswordByMail; + set sendPasswordByMail(bool? sendPasswordByMail); + + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; + set uploadFilesDrop(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); + + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password; + set password(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password); + + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; + set expireDate(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); } -class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { +class _$SharebymailCapabilities_FilesSharing_Sharebymail extends SharebymailCapabilities_FilesSharing_Sharebymail { @override - final BuiltList? apiVersion; + final bool enabled; @override - final String? version; + final bool sendPasswordByMail; + @override + final SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; + @override + final SharebymailCapabilities_FilesSharing_Sharebymail_Password password; + @override + final SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate expireDate; - factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => - (NotesCapabilities_NotesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail( + [void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates]) => + (SharebymailCapabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); - _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); + _$SharebymailCapabilities_FilesSharing_Sharebymail._( + {required this.enabled, + required this.sendPasswordByMail, + required this.uploadFilesDrop, + required this.password, + required this.expireDate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'); + BuiltValueNullFieldError.checkNotNull( + uploadFilesDrop, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); + BuiltValueNullFieldError.checkNotNull(password, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'password'); + BuiltValueNullFieldError.checkNotNull( + expireDate, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'expireDate'); + } @override - NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail rebuild( + void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_SharebymailBuilder toBuilder() => + SharebymailCapabilities_FilesSharing_SharebymailBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; + return other is SharebymailCapabilities_FilesSharing_Sharebymail && + enabled == other.enabled && + sendPasswordByMail == other.sendPasswordByMail && + uploadFilesDrop == other.uploadFilesDrop && + password == other.password && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, sendPasswordByMail.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') - ..add('apiVersion', apiVersion) - ..add('version', version)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail') + ..add('enabled', enabled) + ..add('sendPasswordByMail', sendPasswordByMail) + ..add('uploadFilesDrop', uploadFilesDrop) + ..add('password', password) + ..add('expireDate', expireDate)) .toString(); } } -class NotesCapabilities_NotesBuilder +class SharebymailCapabilities_FilesSharing_SharebymailBuilder implements - Builder, - NotesCapabilities_NotesInterfaceBuilder { - _$NotesCapabilities_Notes? _$v; + Builder, + SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail? _$v; - ListBuilder? _apiVersion; - ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); - set apiVersion(covariant ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + bool? _sendPasswordByMail; + bool? get sendPasswordByMail => _$this._sendPasswordByMail; + set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - NotesCapabilities_NotesBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => + _$this._uploadFilesDrop ??= SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + set uploadFilesDrop( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => + _$this._uploadFilesDrop = uploadFilesDrop; - NotesCapabilities_NotesBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password => + _$this._password ??= SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + set password(covariant SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => + _$this._password = password; + + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => + _$this._expireDate ??= SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + set expireDate(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + + SharebymailCapabilities_FilesSharing_SharebymailBuilder get _$this { final $v = _$v; if ($v != null) { - _apiVersion = $v.apiVersion?.toBuilder(); - _version = $v.version; + _enabled = $v.enabled; + _sendPasswordByMail = $v.sendPasswordByMail; + _uploadFilesDrop = $v.uploadFilesDrop.toBuilder(); + _password = $v.password.toBuilder(); + _expireDate = $v.expireDate.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotesCapabilities_Notes other) { + void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities_Notes; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail; } @override - void update(void Function(NotesCapabilities_NotesBuilder)? updates) { + void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates) { if (updates != null) updates(this); } @override - NotesCapabilities_Notes build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail build() => _build(); - _$NotesCapabilities_Notes _build() { - _$NotesCapabilities_Notes _$result; + _$SharebymailCapabilities_FilesSharing_Sharebymail _build() { + _$SharebymailCapabilities_FilesSharing_Sharebymail _$result; try { - _$result = _$v ?? _$NotesCapabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + _$result = _$v ?? + _$SharebymailCapabilities_FilesSharing_Sharebymail._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'), + sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'), + uploadFilesDrop: uploadFilesDrop.build(), + password: password.build(), + expireDate: expireDate.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'apiVersion'; - _apiVersion?.build(); + _$failedField = 'uploadFilesDrop'; + uploadFilesDrop.build(); + _$failedField = 'password'; + password.build(); + _$failedField = 'expireDate'; + expireDate.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotesCapabilities_Notes', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'SharebymailCapabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); } rethrow; } @@ -17728,94 +19359,102 @@ class NotesCapabilities_NotesBuilder } } -abstract mixin class NotesCapabilitiesInterfaceBuilder { - void replace(NotesCapabilitiesInterface other); - void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); - NotesCapabilities_NotesBuilder get notes; - set notes(NotesCapabilities_NotesBuilder? notes); +abstract mixin class SharebymailCapabilities_FilesSharingInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharingInterface other); + void update(void Function(SharebymailCapabilities_FilesSharingInterfaceBuilder) updates); + SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail; + set sharebymail(SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail); } -class _$NotesCapabilities extends NotesCapabilities { +class _$SharebymailCapabilities_FilesSharing extends SharebymailCapabilities_FilesSharing { @override - final NotesCapabilities_Notes notes; + final SharebymailCapabilities_FilesSharing_Sharebymail sharebymail; - factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => - (NotesCapabilitiesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing( + [void Function(SharebymailCapabilities_FilesSharingBuilder)? updates]) => + (SharebymailCapabilities_FilesSharingBuilder()..update(updates))._build(); - _$NotesCapabilities._({required this.notes}) : super._() { - BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); + _$SharebymailCapabilities_FilesSharing._({required this.sharebymail}) : super._() { + BuiltValueNullFieldError.checkNotNull(sharebymail, r'SharebymailCapabilities_FilesSharing', 'sharebymail'); } @override - NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + SharebymailCapabilities_FilesSharing rebuild(void Function(SharebymailCapabilities_FilesSharingBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); + SharebymailCapabilities_FilesSharingBuilder toBuilder() => + SharebymailCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities && notes == other.notes; + return other is SharebymailCapabilities_FilesSharing && sharebymail == other.sharebymail; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jc(_$hash, sharebymail.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing')..add('sharebymail', sharebymail)) + .toString(); } } -class NotesCapabilitiesBuilder - implements Builder, NotesCapabilitiesInterfaceBuilder { - _$NotesCapabilities? _$v; +class SharebymailCapabilities_FilesSharingBuilder + implements + Builder, + SharebymailCapabilities_FilesSharingInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing? _$v; - NotesCapabilities_NotesBuilder? _notes; - NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); - set notes(covariant NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; + SharebymailCapabilities_FilesSharing_SharebymailBuilder? _sharebymail; + SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail => + _$this._sharebymail ??= SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + set sharebymail(covariant SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail) => + _$this._sharebymail = sharebymail; - NotesCapabilitiesBuilder(); + SharebymailCapabilities_FilesSharingBuilder(); - NotesCapabilitiesBuilder get _$this { + SharebymailCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _notes = $v.notes.toBuilder(); + _sharebymail = $v.sharebymail.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotesCapabilities other) { + void replace(covariant SharebymailCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities; + _$v = other as _$SharebymailCapabilities_FilesSharing; } @override - void update(void Function(NotesCapabilitiesBuilder)? updates) { + void update(void Function(SharebymailCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - NotesCapabilities build() => _build(); + SharebymailCapabilities_FilesSharing build() => _build(); - _$NotesCapabilities _build() { - _$NotesCapabilities _$result; + _$SharebymailCapabilities_FilesSharing _build() { + _$SharebymailCapabilities_FilesSharing _$result; try { - _$result = _$v ?? _$NotesCapabilities._(notes: notes.build()); + _$result = _$v ?? _$SharebymailCapabilities_FilesSharing._(sharebymail: sharebymail.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'notes'; - notes.build(); + _$failedField = 'sharebymail'; + sharebymail.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotesCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SharebymailCapabilities_FilesSharing', _$failedField, e.toString()); } rethrow; } @@ -17824,141 +19463,99 @@ class NotesCapabilitiesBuilder } } -abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { - void replace(NotificationsCapabilities_NotificationsInterface other); - void update(void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) updates); - ListBuilder get ocsEndpoints; - set ocsEndpoints(ListBuilder? ocsEndpoints); - - ListBuilder get push; - set push(ListBuilder? push); - - ListBuilder get adminNotifications; - set adminNotifications(ListBuilder? adminNotifications); +abstract mixin class SharebymailCapabilitiesInterfaceBuilder { + void replace(SharebymailCapabilitiesInterface other); + void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); + SharebymailCapabilities_FilesSharingBuilder get filesSharing; + set filesSharing(SharebymailCapabilities_FilesSharingBuilder? filesSharing); } -class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { - @override - final BuiltList ocsEndpoints; - @override - final BuiltList push; +class _$SharebymailCapabilities extends SharebymailCapabilities { @override - final BuiltList adminNotifications; + final SharebymailCapabilities_FilesSharing filesSharing; - factory _$NotificationsCapabilities_Notifications( - [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => - (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? updates]) => + (SharebymailCapabilitiesBuilder()..update(updates))._build(); - _$NotificationsCapabilities_Notifications._( - {required this.ocsEndpoints, required this.push, required this.adminNotifications}) - : super._() { - BuiltValueNullFieldError.checkNotNull(ocsEndpoints, r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); - BuiltValueNullFieldError.checkNotNull(push, r'NotificationsCapabilities_Notifications', 'push'); - BuiltValueNullFieldError.checkNotNull( - adminNotifications, r'NotificationsCapabilities_Notifications', 'adminNotifications'); + _$SharebymailCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'SharebymailCapabilities', 'filesSharing'); } @override - NotificationsCapabilities_Notifications rebuild( - void Function(NotificationsCapabilities_NotificationsBuilder) updates) => + SharebymailCapabilities rebuild(void Function(SharebymailCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilities_NotificationsBuilder toBuilder() => - NotificationsCapabilities_NotificationsBuilder()..replace(this); + SharebymailCapabilitiesBuilder toBuilder() => SharebymailCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotificationsCapabilities_Notifications && - ocsEndpoints == other.ocsEndpoints && - push == other.push && - adminNotifications == other.adminNotifications; + return other is SharebymailCapabilities && filesSharing == other.filesSharing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocsEndpoints.hashCode); - _$hash = $jc(_$hash, push.hashCode); - _$hash = $jc(_$hash, adminNotifications.hashCode); + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') - ..add('ocsEndpoints', ocsEndpoints) - ..add('push', push) - ..add('adminNotifications', adminNotifications)) - .toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities')..add('filesSharing', filesSharing)).toString(); } } -class NotificationsCapabilities_NotificationsBuilder +class SharebymailCapabilitiesBuilder implements - Builder, - NotificationsCapabilities_NotificationsInterfaceBuilder { - _$NotificationsCapabilities_Notifications? _$v; - - ListBuilder? _ocsEndpoints; - ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); - set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; - - ListBuilder? _push; - ListBuilder get push => _$this._push ??= ListBuilder(); - set push(covariant ListBuilder? push) => _$this._push = push; + Builder, + SharebymailCapabilitiesInterfaceBuilder { + _$SharebymailCapabilities? _$v; - ListBuilder? _adminNotifications; - ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); - set adminNotifications(covariant ListBuilder? adminNotifications) => - _$this._adminNotifications = adminNotifications; + SharebymailCapabilities_FilesSharingBuilder? _filesSharing; + SharebymailCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= SharebymailCapabilities_FilesSharingBuilder(); + set filesSharing(covariant SharebymailCapabilities_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; - NotificationsCapabilities_NotificationsBuilder(); + SharebymailCapabilitiesBuilder(); - NotificationsCapabilities_NotificationsBuilder get _$this { + SharebymailCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocsEndpoints = $v.ocsEndpoints.toBuilder(); - _push = $v.push.toBuilder(); - _adminNotifications = $v.adminNotifications.toBuilder(); + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities_Notifications other) { + void replace(covariant SharebymailCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities_Notifications; + _$v = other as _$SharebymailCapabilities; } @override - void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { + void update(void Function(SharebymailCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities_Notifications build() => _build(); + SharebymailCapabilities build() => _build(); - _$NotificationsCapabilities_Notifications _build() { - _$NotificationsCapabilities_Notifications _$result; + _$SharebymailCapabilities _build() { + _$SharebymailCapabilities _$result; try { - _$result = _$v ?? - _$NotificationsCapabilities_Notifications._( - ocsEndpoints: ocsEndpoints.build(), push: push.build(), adminNotifications: adminNotifications.build()); + _$result = _$v ?? _$SharebymailCapabilities._(filesSharing: filesSharing.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocsEndpoints'; - ocsEndpoints.build(); - _$failedField = 'push'; - push.build(); - _$failedField = 'adminNotifications'; - adminNotifications.build(); + _$failedField = 'filesSharing'; + filesSharing.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities_Notifications', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SharebymailCapabilities', _$failedField, e.toString()); } rethrow; } @@ -17967,883 +19564,996 @@ class NotificationsCapabilities_NotificationsBuilder } } -abstract mixin class NotificationsCapabilitiesInterfaceBuilder { - void replace(NotificationsCapabilitiesInterface other); - void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); - NotificationsCapabilities_NotificationsBuilder get notifications; - set notifications(NotificationsCapabilities_NotificationsBuilder? notifications); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_AttachmentsInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder) updates); + bool? get allowed; + set allowed(bool? allowed); + + String? get folder; + set folder(String? folder); } -class _$NotificationsCapabilities extends NotificationsCapabilities { +class _$SpreedPublicCapabilities_Spreed_Config_Attachments extends SpreedPublicCapabilities_Spreed_Config_Attachments { @override - final NotificationsCapabilities_Notifications notifications; + final bool allowed; + @override + final String? folder; - factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => - (NotificationsCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Attachments( + [void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder()..update(updates))._build(); - _$NotificationsCapabilities._({required this.notifications}) : super._() { - BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); + _$SpreedPublicCapabilities_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { + BuiltValueNullFieldError.checkNotNull(allowed, r'SpreedPublicCapabilities_Spreed_Config_Attachments', 'allowed'); } @override - NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config_Attachments rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotificationsCapabilities && notifications == other.notifications; + return other is SpreedPublicCapabilities_Spreed_Config_Attachments && + allowed == other.allowed && + folder == other.folder; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notifications.hashCode); + _$hash = $jc(_$hash, allowed.hashCode); + _$hash = $jc(_$hash, folder.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Attachments') + ..add('allowed', allowed) + ..add('folder', folder)) + .toString(); } } -class NotificationsCapabilitiesBuilder +class SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder implements - Builder, - NotificationsCapabilitiesInterfaceBuilder { - _$NotificationsCapabilities? _$v; + Builder, + SpreedPublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Attachments? _$v; - NotificationsCapabilities_NotificationsBuilder? _notifications; - NotificationsCapabilities_NotificationsBuilder get notifications => - _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); - set notifications(covariant NotificationsCapabilities_NotificationsBuilder? notifications) => - _$this._notifications = notifications; + bool? _allowed; + bool? get allowed => _$this._allowed; + set allowed(covariant bool? allowed) => _$this._allowed = allowed; - NotificationsCapabilitiesBuilder(); + String? _folder; + String? get folder => _$this._folder; + set folder(covariant String? folder) => _$this._folder = folder; - NotificationsCapabilitiesBuilder get _$this { + SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder(); + + SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder get _$this { final $v = _$v; if ($v != null) { - _notifications = $v.notifications.toBuilder(); + _allowed = $v.allowed; + _folder = $v.folder; _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Attachments other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Attachments; } @override - void update(void Function(NotificationsCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Attachments build() => _build(); - _$NotificationsCapabilities _build() { - _$NotificationsCapabilities _$result; - try { - _$result = _$v ?? _$NotificationsCapabilities._(notifications: notifications.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'notifications'; - notifications.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SpreedPublicCapabilities_Spreed_Config_Attachments _build() { + final _$result = _$v ?? + _$SpreedPublicCapabilities_Spreed_Config_Attachments._( + allowed: BuiltValueNullFieldError.checkNotNull( + allowed, r'SpreedPublicCapabilities_Spreed_Config_Attachments', 'allowed'), + folder: folder); replace(_$result); return _$result; } } -abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) updates); - String? get version; - set version(String? version); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_CallInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); - int? get accountPropertyScopesVersion; - set accountPropertyScopesVersion(int? accountPropertyScopesVersion); + bool? get breakoutRooms; + set breakoutRooms(bool? breakoutRooms); - bool? get accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled); + bool? get recording; + set recording(bool? recording); - bool? get accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled); + int? get recordingConsent; + set recordingConsent(int? recordingConsent); + + ListBuilder get supportedReactions; + set supportedReactions(ListBuilder? supportedReactions); + + ListBuilder get predefinedBackgrounds; + set predefinedBackgrounds(ListBuilder? predefinedBackgrounds); + + bool? get canUploadBackground; + set canUploadBackground(bool? canUploadBackground); } -class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { +class _$SpreedPublicCapabilities_Spreed_Config_Call extends SpreedPublicCapabilities_Spreed_Config_Call { @override - final String version; + final bool enabled; @override - final int accountPropertyScopesVersion; + final bool breakoutRooms; @override - final bool accountPropertyScopesFederatedEnabled; + final bool recording; @override - final bool accountPropertyScopesPublishedEnabled; + final int recordingConsent; + @override + final BuiltList supportedReactions; + @override + final BuiltList predefinedBackgrounds; + @override + final bool canUploadBackground; - factory _$ProvisioningApiCapabilities_ProvisioningApi( - [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => - (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Call( + [void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_CallBuilder()..update(updates))._build(); - _$ProvisioningApiCapabilities_ProvisioningApi._( - {required this.version, - required this.accountPropertyScopesVersion, - required this.accountPropertyScopesFederatedEnabled, - required this.accountPropertyScopesPublishedEnabled}) + _$SpreedPublicCapabilities_Spreed_Config_Call._( + {required this.enabled, + required this.breakoutRooms, + required this.recording, + required this.recordingConsent, + required this.supportedReactions, + required this.predefinedBackgrounds, + required this.canUploadBackground}) : super._() { - BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull(enabled, r'SpreedPublicCapabilities_Spreed_Config_Call', 'enabled'); BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesVersion, r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'); - BuiltValueNullFieldError.checkNotNull(accountPropertyScopesFederatedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesFederatedEnabled'); - BuiltValueNullFieldError.checkNotNull(accountPropertyScopesPublishedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesPublishedEnabled'); + breakoutRooms, r'SpreedPublicCapabilities_Spreed_Config_Call', 'breakoutRooms'); + BuiltValueNullFieldError.checkNotNull(recording, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recording'); + BuiltValueNullFieldError.checkNotNull( + recordingConsent, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recordingConsent'); + BuiltValueNullFieldError.checkNotNull( + supportedReactions, r'SpreedPublicCapabilities_Spreed_Config_Call', 'supportedReactions'); + BuiltValueNullFieldError.checkNotNull( + predefinedBackgrounds, r'SpreedPublicCapabilities_Spreed_Config_Call', 'predefinedBackgrounds'); + BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'SpreedPublicCapabilities_Spreed_Config_Call', 'canUploadBackground'); } @override - ProvisioningApiCapabilities_ProvisioningApi rebuild( - void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config_Call rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => - ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_CallBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_CallBuilder()..replace(this); - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is ProvisioningApiCapabilities_ProvisioningApi && - version == other.version && - accountPropertyScopesVersion == other.accountPropertyScopesVersion && - accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && - accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SpreedPublicCapabilities_Spreed_Config_Call && + enabled == other.enabled && + breakoutRooms == other.breakoutRooms && + recording == other.recording && + recordingConsent == other.recordingConsent && + supportedReactions == other.supportedReactions && + predefinedBackgrounds == other.predefinedBackgrounds && + canUploadBackground == other.canUploadBackground; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, breakoutRooms.hashCode); + _$hash = $jc(_$hash, recording.hashCode); + _$hash = $jc(_$hash, recordingConsent.hashCode); + _$hash = $jc(_$hash, supportedReactions.hashCode); + _$hash = $jc(_$hash, predefinedBackgrounds.hashCode); + _$hash = $jc(_$hash, canUploadBackground.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities_ProvisioningApi') - ..add('version', version) - ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) - ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) - ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Call') + ..add('enabled', enabled) + ..add('breakoutRooms', breakoutRooms) + ..add('recording', recording) + ..add('recordingConsent', recordingConsent) + ..add('supportedReactions', supportedReactions) + ..add('predefinedBackgrounds', predefinedBackgrounds) + ..add('canUploadBackground', canUploadBackground)) .toString(); } } -class ProvisioningApiCapabilities_ProvisioningApiBuilder +class SpreedPublicCapabilities_Spreed_Config_CallBuilder implements - Builder, - ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - _$ProvisioningApiCapabilities_ProvisioningApi? _$v; + Builder, + SpreedPublicCapabilities_Spreed_Config_CallInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Call? _$v; - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - int? _accountPropertyScopesVersion; - int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; - set accountPropertyScopesVersion(covariant int? accountPropertyScopesVersion) => - _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; + bool? _breakoutRooms; + bool? get breakoutRooms => _$this._breakoutRooms; + set breakoutRooms(covariant bool? breakoutRooms) => _$this._breakoutRooms = breakoutRooms; - bool? _accountPropertyScopesFederatedEnabled; - bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(covariant bool? accountPropertyScopesFederatedEnabled) => - _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + bool? _recording; + bool? get recording => _$this._recording; + set recording(covariant bool? recording) => _$this._recording = recording; - bool? _accountPropertyScopesPublishedEnabled; - bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(covariant bool? accountPropertyScopesPublishedEnabled) => - _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + int? _recordingConsent; + int? get recordingConsent => _$this._recordingConsent; + set recordingConsent(covariant int? recordingConsent) => _$this._recordingConsent = recordingConsent; - ProvisioningApiCapabilities_ProvisioningApiBuilder(); + ListBuilder? _supportedReactions; + ListBuilder get supportedReactions => _$this._supportedReactions ??= ListBuilder(); + set supportedReactions(covariant ListBuilder? supportedReactions) => + _$this._supportedReactions = supportedReactions; - ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { + ListBuilder? _predefinedBackgrounds; + ListBuilder get predefinedBackgrounds => _$this._predefinedBackgrounds ??= ListBuilder(); + set predefinedBackgrounds(covariant ListBuilder? predefinedBackgrounds) => + _$this._predefinedBackgrounds = predefinedBackgrounds; + + bool? _canUploadBackground; + bool? get canUploadBackground => _$this._canUploadBackground; + set canUploadBackground(covariant bool? canUploadBackground) => _$this._canUploadBackground = canUploadBackground; + + SpreedPublicCapabilities_Spreed_Config_CallBuilder(); + + SpreedPublicCapabilities_Spreed_Config_CallBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; - _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; - _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _enabled = $v.enabled; + _breakoutRooms = $v.breakoutRooms; + _recording = $v.recording; + _recordingConsent = $v.recordingConsent; + _supportedReactions = $v.supportedReactions.toBuilder(); + _predefinedBackgrounds = $v.predefinedBackgrounds.toBuilder(); + _canUploadBackground = $v.canUploadBackground; _$v = null; } return this; } @override - void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Call other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Call; } @override - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_CallBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities_ProvisioningApi build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Call build() => _build(); - _$ProvisioningApiCapabilities_ProvisioningApi _build() { - final _$result = _$v ?? - _$ProvisioningApiCapabilities_ProvisioningApi._( - version: BuiltValueNullFieldError.checkNotNull( - version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'), - accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'), - accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesFederatedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', - 'accountPropertyScopesFederatedEnabled'), - accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesPublishedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', - 'accountPropertyScopesPublishedEnabled')); + _$SpreedPublicCapabilities_Spreed_Config_Call _build() { + _$SpreedPublicCapabilities_Spreed_Config_Call _$result; + try { + _$result = _$v ?? + _$SpreedPublicCapabilities_Spreed_Config_Call._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'SpreedPublicCapabilities_Spreed_Config_Call', 'enabled'), + breakoutRooms: BuiltValueNullFieldError.checkNotNull( + breakoutRooms, r'SpreedPublicCapabilities_Spreed_Config_Call', 'breakoutRooms'), + recording: BuiltValueNullFieldError.checkNotNull( + recording, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recording'), + recordingConsent: BuiltValueNullFieldError.checkNotNull( + recordingConsent, r'SpreedPublicCapabilities_Spreed_Config_Call', 'recordingConsent'), + supportedReactions: supportedReactions.build(), + predefinedBackgrounds: predefinedBackgrounds.build(), + canUploadBackground: BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'SpreedPublicCapabilities_Spreed_Config_Call', 'canUploadBackground')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'supportedReactions'; + supportedReactions.build(); + _$failedField = 'predefinedBackgrounds'; + predefinedBackgrounds.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed_Config_Call', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { - void replace(ProvisioningApiCapabilitiesInterface other); - void update(void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; - set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_ChatInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder) updates); + int? get maxLength; + set maxLength(int? maxLength); + + int? get readPrivacy; + set readPrivacy(int? readPrivacy); + + bool? get hasTranslationProviders; + set hasTranslationProviders(bool? hasTranslationProviders); + + int? get typingPrivacy; + set typingPrivacy(int? typingPrivacy); } -class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { +class _$SpreedPublicCapabilities_Spreed_Config_Chat extends SpreedPublicCapabilities_Spreed_Config_Chat { @override - final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; + final int maxLength; + @override + final int readPrivacy; + @override + final bool hasTranslationProviders; + @override + final int typingPrivacy; - factory _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => - (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Chat( + [void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_ChatBuilder()..update(updates))._build(); - _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { - BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); + _$SpreedPublicCapabilities_Spreed_Config_Chat._( + {required this.maxLength, + required this.readPrivacy, + required this.hasTranslationProviders, + required this.typingPrivacy}) + : super._() { + BuiltValueNullFieldError.checkNotNull(maxLength, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'maxLength'); + BuiltValueNullFieldError.checkNotNull(readPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'readPrivacy'); + BuiltValueNullFieldError.checkNotNull( + hasTranslationProviders, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'hasTranslationProviders'); + BuiltValueNullFieldError.checkNotNull( + typingPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'); } @override - ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config_Chat rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_ChatBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_ChatBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; + return other is SpreedPublicCapabilities_Spreed_Config_Chat && + maxLength == other.maxLength && + readPrivacy == other.readPrivacy && + hasTranslationProviders == other.hasTranslationProviders && + typingPrivacy == other.typingPrivacy; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, provisioningApi.hashCode); + _$hash = $jc(_$hash, maxLength.hashCode); + _$hash = $jc(_$hash, readPrivacy.hashCode); + _$hash = $jc(_$hash, hasTranslationProviders.hashCode); + _$hash = $jc(_$hash, typingPrivacy.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Chat') + ..add('maxLength', maxLength) + ..add('readPrivacy', readPrivacy) + ..add('hasTranslationProviders', hasTranslationProviders) + ..add('typingPrivacy', typingPrivacy)) .toString(); } } -class ProvisioningApiCapabilitiesBuilder +class SpreedPublicCapabilities_Spreed_Config_ChatBuilder implements - Builder, - ProvisioningApiCapabilitiesInterfaceBuilder { - _$ProvisioningApiCapabilities? _$v; + Builder, + SpreedPublicCapabilities_Spreed_Config_ChatInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Chat? _$v; - ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => - _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); - set provisioningApi(covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => - _$this._provisioningApi = provisioningApi; + int? _maxLength; + int? get maxLength => _$this._maxLength; + set maxLength(covariant int? maxLength) => _$this._maxLength = maxLength; - ProvisioningApiCapabilitiesBuilder(); + int? _readPrivacy; + int? get readPrivacy => _$this._readPrivacy; + set readPrivacy(covariant int? readPrivacy) => _$this._readPrivacy = readPrivacy; - ProvisioningApiCapabilitiesBuilder get _$this { + bool? _hasTranslationProviders; + bool? get hasTranslationProviders => _$this._hasTranslationProviders; + set hasTranslationProviders(covariant bool? hasTranslationProviders) => + _$this._hasTranslationProviders = hasTranslationProviders; + + int? _typingPrivacy; + int? get typingPrivacy => _$this._typingPrivacy; + set typingPrivacy(covariant int? typingPrivacy) => _$this._typingPrivacy = typingPrivacy; + + SpreedPublicCapabilities_Spreed_Config_ChatBuilder(); + + SpreedPublicCapabilities_Spreed_Config_ChatBuilder get _$this { final $v = _$v; if ($v != null) { - _provisioningApi = $v.provisioningApi.toBuilder(); + _maxLength = $v.maxLength; + _readPrivacy = $v.readPrivacy; + _hasTranslationProviders = $v.hasTranslationProviders; + _typingPrivacy = $v.typingPrivacy; _$v = null; } return this; } @override - void replace(covariant ProvisioningApiCapabilities other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Chat other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Chat; } @override - void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_ChatBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Chat build() => _build(); - _$ProvisioningApiCapabilities _build() { - _$ProvisioningApiCapabilities _$result; - try { - _$result = _$v ?? _$ProvisioningApiCapabilities._(provisioningApi: provisioningApi.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'provisioningApi'; - provisioningApi.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SpreedPublicCapabilities_Spreed_Config_Chat _build() { + final _$result = _$v ?? + _$SpreedPublicCapabilities_Spreed_Config_Chat._( + maxLength: BuiltValueNullFieldError.checkNotNull( + maxLength, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'maxLength'), + readPrivacy: BuiltValueNullFieldError.checkNotNull( + readPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'readPrivacy'), + hasTranslationProviders: BuiltValueNullFieldError.checkNotNull( + hasTranslationProviders, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'hasTranslationProviders'), + typingPrivacy: BuiltValueNullFieldError.checkNotNull( + typingPrivacy, r'SpreedPublicCapabilities_Spreed_Config_Chat', 'typingPrivacy')); replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_ConversationsInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder) updates); + bool? get canCreate; + set canCreate(bool? canCreate); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop - extends SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop { +class _$SpreedPublicCapabilities_Spreed_Config_Conversations + extends SpreedPublicCapabilities_Spreed_Config_Conversations { @override - final bool enabled; + final bool canCreate; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Conversations( + [void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { + _$SpreedPublicCapabilities_Spreed_Config_Conversations._({required this.canCreate}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); + canCreate, r'SpreedPublicCapabilities_Spreed_Config_Conversations', 'canCreate'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config_Conversations rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; + return other is SpreedPublicCapabilities_Spreed_Config_Conversations && canCreate == other.canCreate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, canCreate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Conversations') + ..add('canCreate', canCreate)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder +class SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; + Builder, + SpreedPublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Conversations? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + bool? _canCreate; + bool? get canCreate => _$this._canCreate; + set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { + SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _canCreate = $v.canCreate; _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Conversations other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Conversations; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Conversations build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { + _$SpreedPublicCapabilities_Spreed_Config_Conversations _build() { final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); + _$SpreedPublicCapabilities_Spreed_Config_Conversations._( + canCreate: BuiltValueNullFieldError.checkNotNull( + canCreate, r'SpreedPublicCapabilities_Spreed_Config_Conversations', 'canCreate')); replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_PreviewsInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder) updates); + int? get maxGifSize; + set maxGifSize(int? maxGifSize); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_Password - extends SharebymailCapabilities_FilesSharing_Sharebymail_Password { - @override - final bool enabled; +class _$SpreedPublicCapabilities_Spreed_Config_Previews extends SpreedPublicCapabilities_Spreed_Config_Previews { @override - final bool enforced; + final int maxGifSize; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_Password( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Previews( + [void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced'); + _$SpreedPublicCapabilities_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { + BuiltValueNullFieldError.checkNotNull(maxGifSize, r'SpreedPublicCapabilities_Spreed_Config_Previews', 'maxGifSize'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config_Previews rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_Password && - enabled == other.enabled && - enforced == other.enforced; + return other is SpreedPublicCapabilities_Spreed_Config_Previews && maxGifSize == other.maxGifSize; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, maxGifSize.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_Password') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Previews') + ..add('maxGifSize', maxGifSize)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder +class SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + SpreedPublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Previews? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + int? _maxGifSize; + int? get maxGifSize => _$this._maxGifSize; + set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { + SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _maxGifSize = $v.maxGifSize; _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_Password other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Previews other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Previews; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Previews build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password _build() { + _$SpreedPublicCapabilities_Spreed_Config_Previews _build() { final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced')); + _$SpreedPublicCapabilities_Spreed_Config_Previews._( + maxGifSize: BuiltValueNullFieldError.checkNotNull( + maxGifSize, r'SpreedPublicCapabilities_Spreed_Config_Previews', 'maxGifSize')); replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { + void replace(SpreedPublicCapabilities_Spreed_Config_SignalingInterface other); + void update(void Function(SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder) updates); + int? get sessionPingLimit; + set sessionPingLimit(int? sessionPingLimit); - bool? get enforced; - set enforced(bool? enforced); + String? get helloV2TokenKey; + set helloV2TokenKey(String? helloV2TokenKey); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate - extends SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate { +class _$SpreedPublicCapabilities_Spreed_Config_Signaling extends SpreedPublicCapabilities_Spreed_Config_Signaling { @override - final bool enabled; + final int sessionPingLimit; @override - final bool enforced; + final String? helloV2TokenKey; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config_Signaling( + [void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_Config_SignalingBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) + _$SpreedPublicCapabilities_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced'); + sessionPingLimit, r'SpreedPublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'); } - @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => + @override + SpreedPublicCapabilities_Spreed_Config_Signaling rebuild( + void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_Config_SignalingBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_Config_SignalingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate && - enabled == other.enabled && - enforced == other.enforced; + return other is SpreedPublicCapabilities_Spreed_Config_Signaling && + sessionPingLimit == other.sessionPingLimit && + helloV2TokenKey == other.helloV2TokenKey; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, sessionPingLimit.hashCode); + _$hash = $jc(_$hash, helloV2TokenKey.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config_Signaling') + ..add('sessionPingLimit', sessionPingLimit) + ..add('helloV2TokenKey', helloV2TokenKey)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder +class SpreedPublicCapabilities_Spreed_Config_SignalingBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate? _$v; + Builder, + SpreedPublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed_Config_Signaling? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + int? _sessionPingLimit; + int? get sessionPingLimit => _$this._sessionPingLimit; + set sessionPingLimit(covariant int? sessionPingLimit) => _$this._sessionPingLimit = sessionPingLimit; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + String? _helloV2TokenKey; + String? get helloV2TokenKey => _$this._helloV2TokenKey; + set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + SpreedPublicCapabilities_Spreed_Config_SignalingBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { + SpreedPublicCapabilities_Spreed_Config_SignalingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _sessionPingLimit = $v.sessionPingLimit; + _helloV2TokenKey = $v.helloV2TokenKey; _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config_Signaling other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config_Signaling; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); + SpreedPublicCapabilities_Spreed_Config_Signaling build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate _build() { + _$SpreedPublicCapabilities_Spreed_Config_Signaling _build() { final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced')); + _$SpreedPublicCapabilities_Spreed_Config_Signaling._( + sessionPingLimit: BuiltValueNullFieldError.checkNotNull( + sessionPingLimit, r'SpreedPublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'), + helloV2TokenKey: helloV2TokenKey); replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_SharebymailInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +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); - bool? get sendPasswordByMail; - set sendPasswordByMail(bool? sendPasswordByMail); + SpreedPublicCapabilities_Spreed_Config_CallBuilder get call; + set call(SpreedPublicCapabilities_Spreed_Config_CallBuilder? call); - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; - set uploadFilesDrop(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); + SpreedPublicCapabilities_Spreed_Config_ChatBuilder get chat; + set chat(SpreedPublicCapabilities_Spreed_Config_ChatBuilder? chat); - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password; - set password(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password); + SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder get conversations; + set conversations(SpreedPublicCapabilities_Spreed_Config_ConversationsBuilder? conversations); - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; - set expireDate(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); + SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder get previews; + set previews(SpreedPublicCapabilities_Spreed_Config_PreviewsBuilder? previews); + + SpreedPublicCapabilities_Spreed_Config_SignalingBuilder get signaling; + set signaling(SpreedPublicCapabilities_Spreed_Config_SignalingBuilder? signaling); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail extends SharebymailCapabilities_FilesSharing_Sharebymail { +class _$SpreedPublicCapabilities_Spreed_Config extends SpreedPublicCapabilities_Spreed_Config { @override - final bool enabled; + final SpreedPublicCapabilities_Spreed_Config_Attachments attachments; @override - final bool sendPasswordByMail; + final SpreedPublicCapabilities_Spreed_Config_Call call; @override - final SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; + final SpreedPublicCapabilities_Spreed_Config_Chat chat; @override - final SharebymailCapabilities_FilesSharing_Sharebymail_Password password; + final SpreedPublicCapabilities_Spreed_Config_Conversations conversations; @override - final SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate expireDate; + final SpreedPublicCapabilities_Spreed_Config_Previews previews; + @override + final SpreedPublicCapabilities_Spreed_Config_Signaling signaling; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail( - [void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed_Config( + [void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? updates]) => + (SpreedPublicCapabilities_Spreed_ConfigBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - {required this.enabled, - required this.sendPasswordByMail, - required this.uploadFilesDrop, - required this.password, - required this.expireDate}) + _$SpreedPublicCapabilities_Spreed_Config._( + {required this.attachments, + required this.call, + required this.chat, + required this.conversations, + required this.previews, + required this.signaling}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'); - BuiltValueNullFieldError.checkNotNull( - uploadFilesDrop, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); - BuiltValueNullFieldError.checkNotNull(password, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'password'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'expireDate'); + 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'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail rebuild( - void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder) updates) => + SpreedPublicCapabilities_Spreed_Config rebuild( + void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_SharebymailBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_SharebymailBuilder()..replace(this); + SpreedPublicCapabilities_Spreed_ConfigBuilder toBuilder() => + SpreedPublicCapabilities_Spreed_ConfigBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail && - enabled == other.enabled && - sendPasswordByMail == other.sendPasswordByMail && - uploadFilesDrop == other.uploadFilesDrop && - password == other.password && - expireDate == other.expireDate; + return other is SpreedPublicCapabilities_Spreed_Config && + attachments == other.attachments && + call == other.call && + chat == other.chat && + conversations == other.conversations && + previews == other.previews && + signaling == other.signaling; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, sendPasswordByMail.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, attachments.hashCode); + _$hash = $jc(_$hash, call.hashCode); + _$hash = $jc(_$hash, chat.hashCode); + _$hash = $jc(_$hash, conversations.hashCode); + _$hash = $jc(_$hash, previews.hashCode); + _$hash = $jc(_$hash, signaling.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail') - ..add('enabled', enabled) - ..add('sendPasswordByMail', sendPasswordByMail) - ..add('uploadFilesDrop', uploadFilesDrop) - ..add('password', password) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed_Config') + ..add('attachments', attachments) + ..add('call', call) + ..add('chat', chat) + ..add('conversations', conversations) + ..add('previews', previews) + ..add('signaling', signaling)) .toString(); } } -class SharebymailCapabilities_FilesSharing_SharebymailBuilder +class SpreedPublicCapabilities_Spreed_ConfigBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - bool? _sendPasswordByMail; - bool? get sendPasswordByMail => _$this._sendPasswordByMail; - set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => - _$this._uploadFilesDrop ??= SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - set uploadFilesDrop( - covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => - _$this._uploadFilesDrop = uploadFilesDrop; - - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password => - _$this._password ??= SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); - set password(covariant SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => - _$this._password = password; - - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => - _$this._expireDate ??= SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - set expireDate(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - SharebymailCapabilities_FilesSharing_SharebymailBuilder(); - - SharebymailCapabilities_FilesSharing_SharebymailBuilder get _$this { + 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) => + _$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; + + 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; + + 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) => + _$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) => + _$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) => + _$this._signaling = signaling; + + SpreedPublicCapabilities_Spreed_ConfigBuilder(); + + SpreedPublicCapabilities_Spreed_ConfigBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _sendPasswordByMail = $v.sendPasswordByMail; - _uploadFilesDrop = $v.uploadFilesDrop.toBuilder(); - _password = $v.password.toBuilder(); - _expireDate = $v.expireDate.toBuilder(); + _attachments = $v.attachments.toBuilder(); + _call = $v.call.toBuilder(); + _chat = $v.chat.toBuilder(); + _conversations = $v.conversations.toBuilder(); + _previews = $v.previews.toBuilder(); + _signaling = $v.signaling.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail other) { + void replace(covariant SpreedPublicCapabilities_Spreed_Config other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail; + _$v = other as _$SpreedPublicCapabilities_Spreed_Config; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_Spreed_ConfigBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail build() => _build(); + SpreedPublicCapabilities_Spreed_Config build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail _build() { - _$SharebymailCapabilities_FilesSharing_Sharebymail _$result; + _$SpreedPublicCapabilities_Spreed_Config _build() { + _$SpreedPublicCapabilities_Spreed_Config _$result; try { _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'), - sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'), - uploadFilesDrop: uploadFilesDrop.build(), - password: password.build(), - expireDate: expireDate.build()); + _$SpreedPublicCapabilities_Spreed_Config._( + attachments: attachments.build(), + call: call.build(), + chat: chat.build(), + conversations: conversations.build(), + previews: previews.build(), + signaling: signaling.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'uploadFilesDrop'; - uploadFilesDrop.build(); - _$failedField = 'password'; - password.build(); - _$failedField = 'expireDate'; - expireDate.build(); + _$failedField = 'attachments'; + attachments.build(); + _$failedField = 'call'; + call.build(); + _$failedField = 'chat'; + chat.build(); + _$failedField = 'conversations'; + conversations.build(); + _$failedField = 'previews'; + previews.build(); + _$failedField = 'signaling'; + signaling.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'SharebymailCapabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed_Config', _$failedField, e.toString()); } rethrow; } @@ -18852,102 +20562,136 @@ class SharebymailCapabilities_FilesSharing_SharebymailBuilder } } -abstract mixin class SharebymailCapabilities_FilesSharingInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharingInterface other); - void update(void Function(SharebymailCapabilities_FilesSharingInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail; - set sharebymail(SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail); +abstract mixin class SpreedPublicCapabilities_SpreedInterfaceBuilder { + void replace(SpreedPublicCapabilities_SpreedInterface other); + void update(void Function(SpreedPublicCapabilities_SpreedInterfaceBuilder) updates); + ListBuilder get features; + set features(ListBuilder? features); + + SpreedPublicCapabilities_Spreed_ConfigBuilder get config; + set config(SpreedPublicCapabilities_Spreed_ConfigBuilder? config); + + String? get version; + set version(String? version); } -class _$SharebymailCapabilities_FilesSharing extends SharebymailCapabilities_FilesSharing { +class _$SpreedPublicCapabilities_Spreed extends SpreedPublicCapabilities_Spreed { @override - final SharebymailCapabilities_FilesSharing_Sharebymail sharebymail; + final BuiltList features; + @override + final SpreedPublicCapabilities_Spreed_Config config; + @override + final String version; - factory _$SharebymailCapabilities_FilesSharing( - [void Function(SharebymailCapabilities_FilesSharingBuilder)? updates]) => - (SharebymailCapabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities_Spreed([void Function(SpreedPublicCapabilities_SpreedBuilder)? updates]) => + (SpreedPublicCapabilities_SpreedBuilder()..update(updates))._build(); - _$SharebymailCapabilities_FilesSharing._({required this.sharebymail}) : super._() { - BuiltValueNullFieldError.checkNotNull(sharebymail, r'SharebymailCapabilities_FilesSharing', 'sharebymail'); + _$SpreedPublicCapabilities_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'); } @override - SharebymailCapabilities_FilesSharing rebuild(void Function(SharebymailCapabilities_FilesSharingBuilder) updates) => + SpreedPublicCapabilities_Spreed rebuild(void Function(SpreedPublicCapabilities_SpreedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharingBuilder toBuilder() => - SharebymailCapabilities_FilesSharingBuilder()..replace(this); + SpreedPublicCapabilities_SpreedBuilder toBuilder() => SpreedPublicCapabilities_SpreedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing && sharebymail == other.sharebymail; + return other is SpreedPublicCapabilities_Spreed && + features == other.features && + config == other.config && + version == other.version; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sharebymail.hashCode); + _$hash = $jc(_$hash, features.hashCode); + _$hash = $jc(_$hash, config.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing')..add('sharebymail', sharebymail)) + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities_Spreed') + ..add('features', features) + ..add('config', config) + ..add('version', version)) .toString(); } } -class SharebymailCapabilities_FilesSharingBuilder +class SpreedPublicCapabilities_SpreedBuilder implements - Builder, - SharebymailCapabilities_FilesSharingInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing? _$v; + Builder, + SpreedPublicCapabilities_SpreedInterfaceBuilder { + _$SpreedPublicCapabilities_Spreed? _$v; - SharebymailCapabilities_FilesSharing_SharebymailBuilder? _sharebymail; - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail => - _$this._sharebymail ??= SharebymailCapabilities_FilesSharing_SharebymailBuilder(); - set sharebymail(covariant SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail) => - _$this._sharebymail = sharebymail; + ListBuilder? _features; + ListBuilder get features => _$this._features ??= ListBuilder(); + set features(covariant ListBuilder? features) => _$this._features = features; - SharebymailCapabilities_FilesSharingBuilder(); + SpreedPublicCapabilities_Spreed_ConfigBuilder? _config; + SpreedPublicCapabilities_Spreed_ConfigBuilder get config => + _$this._config ??= SpreedPublicCapabilities_Spreed_ConfigBuilder(); + set config(covariant SpreedPublicCapabilities_Spreed_ConfigBuilder? config) => _$this._config = config; - SharebymailCapabilities_FilesSharingBuilder get _$this { + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + SpreedPublicCapabilities_SpreedBuilder(); + + SpreedPublicCapabilities_SpreedBuilder get _$this { final $v = _$v; if ($v != null) { - _sharebymail = $v.sharebymail.toBuilder(); + _features = $v.features.toBuilder(); + _config = $v.config.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing other) { + void replace(covariant SpreedPublicCapabilities_Spreed other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing; + _$v = other as _$SpreedPublicCapabilities_Spreed; } @override - void update(void Function(SharebymailCapabilities_FilesSharingBuilder)? updates) { + void update(void Function(SpreedPublicCapabilities_SpreedBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing build() => _build(); + SpreedPublicCapabilities_Spreed build() => _build(); - _$SharebymailCapabilities_FilesSharing _build() { - _$SharebymailCapabilities_FilesSharing _$result; + _$SpreedPublicCapabilities_Spreed _build() { + _$SpreedPublicCapabilities_Spreed _$result; try { - _$result = _$v ?? _$SharebymailCapabilities_FilesSharing._(sharebymail: sharebymail.build()); + _$result = _$v ?? + _$SpreedPublicCapabilities_Spreed._( + features: features.build(), + config: config.build(), + version: BuiltValueNullFieldError.checkNotNull(version, r'SpreedPublicCapabilities_Spreed', 'version')); } catch (_) { late String _$failedField; try { - _$failedField = 'sharebymail'; - sharebymail.build(); + _$failedField = 'features'; + features.build(); + _$failedField = 'config'; + config.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities_FilesSharing', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities_Spreed', _$failedField, e.toString()); } rethrow; } @@ -18956,99 +20700,97 @@ class SharebymailCapabilities_FilesSharingBuilder } } -abstract mixin class SharebymailCapabilitiesInterfaceBuilder { - void replace(SharebymailCapabilitiesInterface other); - void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(SharebymailCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class SpreedPublicCapabilitiesInterfaceBuilder { + void replace(SpreedPublicCapabilitiesInterface other); + void update(void Function(SpreedPublicCapabilitiesInterfaceBuilder) updates); + SpreedPublicCapabilities_SpreedBuilder get spreed; + set spreed(SpreedPublicCapabilities_SpreedBuilder? spreed); } -class _$SharebymailCapabilities extends SharebymailCapabilities { +class _$SpreedPublicCapabilities extends SpreedPublicCapabilities { @override - final SharebymailCapabilities_FilesSharing filesSharing; + final SpreedPublicCapabilities_Spreed spreed; - factory _$SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? updates]) => - (SharebymailCapabilitiesBuilder()..update(updates))._build(); + factory _$SpreedPublicCapabilities([void Function(SpreedPublicCapabilitiesBuilder)? updates]) => + (SpreedPublicCapabilitiesBuilder()..update(updates))._build(); - _$SharebymailCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'SharebymailCapabilities', 'filesSharing'); + _$SpreedPublicCapabilities._({required this.spreed}) : super._() { + BuiltValueNullFieldError.checkNotNull(spreed, r'SpreedPublicCapabilities', 'spreed'); } @override - SharebymailCapabilities rebuild(void Function(SharebymailCapabilitiesBuilder) updates) => + SpreedPublicCapabilities rebuild(void Function(SpreedPublicCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilitiesBuilder toBuilder() => SharebymailCapabilitiesBuilder()..replace(this); + SpreedPublicCapabilitiesBuilder toBuilder() => SpreedPublicCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities && filesSharing == other.filesSharing; + return other is SpreedPublicCapabilities && spreed == other.spreed; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, spreed.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper(r'SpreedPublicCapabilities')..add('spreed', spreed)).toString(); } } -class SharebymailCapabilitiesBuilder +class SpreedPublicCapabilitiesBuilder implements - Builder, - SharebymailCapabilitiesInterfaceBuilder { - _$SharebymailCapabilities? _$v; + Builder, + SpreedPublicCapabilitiesInterfaceBuilder { + _$SpreedPublicCapabilities? _$v; - SharebymailCapabilities_FilesSharingBuilder? _filesSharing; - SharebymailCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= SharebymailCapabilities_FilesSharingBuilder(); - set filesSharing(covariant SharebymailCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; + SpreedPublicCapabilities_SpreedBuilder? _spreed; + SpreedPublicCapabilities_SpreedBuilder get spreed => _$this._spreed ??= SpreedPublicCapabilities_SpreedBuilder(); + set spreed(covariant SpreedPublicCapabilities_SpreedBuilder? spreed) => _$this._spreed = spreed; - SharebymailCapabilitiesBuilder(); + SpreedPublicCapabilitiesBuilder(); - SharebymailCapabilitiesBuilder get _$this { + SpreedPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _spreed = $v.spreed.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities other) { + void replace(covariant SpreedPublicCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities; + _$v = other as _$SpreedPublicCapabilities; } @override - void update(void Function(SharebymailCapabilitiesBuilder)? updates) { + void update(void Function(SpreedPublicCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities build() => _build(); + SpreedPublicCapabilities build() => _build(); - _$SharebymailCapabilities _build() { - _$SharebymailCapabilities _$result; + _$SpreedPublicCapabilities _build() { + _$SpreedPublicCapabilities _$result; try { - _$result = _$v ?? _$SharebymailCapabilities._(filesSharing: filesSharing.build()); + _$result = _$v ?? _$SpreedPublicCapabilities._(spreed: spreed.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - filesSharing.build(); + _$failedField = 'spreed'; + spreed.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'SpreedPublicCapabilities', _$failedField, e.toString()); } rethrow; } @@ -19921,6 +21663,9 @@ abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabili SharebymailCapabilitiesBuilder get sharebymailCapabilities; set sharebymailCapabilities(SharebymailCapabilitiesBuilder? sharebymailCapabilities); + SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities; + set spreedPublicCapabilities(SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities); + ThemingPublicCapabilitiesBuilder get themingPublicCapabilities; set themingPublicCapabilities(ThemingPublicCapabilitiesBuilder? themingPublicCapabilities); @@ -19956,6 +21701,8 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities @override final SharebymailCapabilities? sharebymailCapabilities; @override + final SpreedPublicCapabilities? spreedPublicCapabilities; + @override final ThemingPublicCapabilities? themingPublicCapabilities; @override final UserStatusCapabilities? userStatusCapabilities; @@ -19978,6 +21725,7 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities this.notificationsCapabilities, this.provisioningApiCapabilities, this.sharebymailCapabilities, + this.spreedPublicCapabilities, this.themingPublicCapabilities, this.userStatusCapabilities, this.weatherStatusCapabilities}) @@ -20010,6 +21758,7 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities notificationsCapabilities == other.notificationsCapabilities && provisioningApiCapabilities == other.provisioningApiCapabilities && sharebymailCapabilities == other.sharebymailCapabilities && + spreedPublicCapabilities == other.spreedPublicCapabilities && themingPublicCapabilities == other.themingPublicCapabilities && userStatusCapabilities == other.userStatusCapabilities && weatherStatusCapabilities == other.weatherStatusCapabilities; @@ -20029,6 +21778,7 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$hash = $jc(_$hash, notificationsCapabilities.hashCode); _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); _$hash = $jc(_$hash, sharebymailCapabilities.hashCode); + _$hash = $jc(_$hash, spreedPublicCapabilities.hashCode); _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); _$hash = $jc(_$hash, userStatusCapabilities.hashCode); _$hash = $jc(_$hash, weatherStatusCapabilities.hashCode); @@ -20050,6 +21800,7 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities ..add('notificationsCapabilities', notificationsCapabilities) ..add('provisioningApiCapabilities', provisioningApiCapabilities) ..add('sharebymailCapabilities', sharebymailCapabilities) + ..add('spreedPublicCapabilities', spreedPublicCapabilities) ..add('themingPublicCapabilities', themingPublicCapabilities) ..add('userStatusCapabilities', userStatusCapabilities) ..add('weatherStatusCapabilities', weatherStatusCapabilities)) @@ -20124,6 +21875,12 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder set sharebymailCapabilities(covariant SharebymailCapabilitiesBuilder? sharebymailCapabilities) => _$this._sharebymailCapabilities = sharebymailCapabilities; + SpreedPublicCapabilitiesBuilder? _spreedPublicCapabilities; + SpreedPublicCapabilitiesBuilder get spreedPublicCapabilities => + _$this._spreedPublicCapabilities ??= SpreedPublicCapabilitiesBuilder(); + set spreedPublicCapabilities(covariant SpreedPublicCapabilitiesBuilder? spreedPublicCapabilities) => + _$this._spreedPublicCapabilities = spreedPublicCapabilities; + ThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; ThemingPublicCapabilitiesBuilder get themingPublicCapabilities => _$this._themingPublicCapabilities ??= ThemingPublicCapabilitiesBuilder(); @@ -20158,6 +21915,7 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); _provisioningApiCapabilities = $v.provisioningApiCapabilities?.toBuilder(); _sharebymailCapabilities = $v.sharebymailCapabilities?.toBuilder(); + _spreedPublicCapabilities = $v.spreedPublicCapabilities?.toBuilder(); _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); _weatherStatusCapabilities = $v.weatherStatusCapabilities?.toBuilder(); @@ -20197,6 +21955,7 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder notificationsCapabilities: _notificationsCapabilities?.build(), provisioningApiCapabilities: _provisioningApiCapabilities?.build(), sharebymailCapabilities: _sharebymailCapabilities?.build(), + spreedPublicCapabilities: _spreedPublicCapabilities?.build(), themingPublicCapabilities: _themingPublicCapabilities?.build(), userStatusCapabilities: _userStatusCapabilities?.build(), weatherStatusCapabilities: _weatherStatusCapabilities?.build()); @@ -20223,6 +21982,8 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder _provisioningApiCapabilities?.build(); _$failedField = 'sharebymailCapabilities'; _sharebymailCapabilities?.build(); + _$failedField = 'spreedPublicCapabilities'; + _spreedPublicCapabilities?.build(); _$failedField = 'themingPublicCapabilities'; _themingPublicCapabilities?.build(); _$failedField = 'userStatusCapabilities'; diff --git a/packages/nextcloud/lib/src/api/core.openapi.json b/packages/nextcloud/lib/src/api/core.openapi.json index 3a3528d5f21..ff441f01547 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.json +++ b/packages/nextcloud/lib/src/api/core.openapi.json @@ -1066,6 +1066,166 @@ } } }, + "SpreedPublicCapabilities": { + "type": "object", + "required": [ + "spreed" + ], + "properties": { + "spreed": { + "type": "object", + "required": [ + "features", + "config", + "version" + ], + "properties": { + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "config": { + "type": "object", + "required": [ + "attachments", + "call", + "chat", + "conversations", + "previews", + "signaling" + ], + "properties": { + "attachments": { + "type": "object", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "type": "boolean" + }, + "folder": { + "type": "string" + } + } + }, + "call": { + "type": "object", + "required": [ + "enabled", + "breakout-rooms", + "recording", + "recording-consent", + "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" + } + } + }, + "chat": { + "type": "object", + "required": [ + "max-length", + "read-privacy", + "has-translation-providers", + "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" + } + } + }, + "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" + } + } + } + } + }, "ThemingPublicCapabilities": { "type": "object", "required": [ @@ -2191,6 +2351,9 @@ { "$ref": "#/components/schemas/SharebymailCapabilities" }, + { + "$ref": "#/components/schemas/SpreedPublicCapabilities" + }, { "$ref": "#/components/schemas/ThemingPublicCapabilities" }, diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.dart b/packages/nextcloud/lib/src/api/spreed.openapi.dart new file mode 100644 index 00000000000..1d3652a519e --- /dev/null +++ b/packages/nextcloud/lib/src/api/spreed.openapi.dart @@ -0,0 +1,24536 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: discarded_futures +// ignore_for_file: public_member_api_docs +// ignore_for_file: unreachable_switch_case +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:built_collection/built_collection.dart'; +import 'package:built_value/built_value.dart'; +import 'package:built_value/json_object.dart'; +import 'package:built_value/serializer.dart'; +import 'package:built_value/standard_json_plugin.dart'; +import 'package:collection/collection.dart'; +import 'package:dynamite_runtime/content_string.dart'; +import 'package:dynamite_runtime/http_client.dart'; +import 'package:dynamite_runtime/utils.dart'; +import 'package:meta/meta.dart'; +import 'package:universal_io/io.dart'; + +part 'spreed.openapi.g.dart'; + +class Client extends DynamiteClient { + Client( + super.baseURL, { + super.baseHeaders, + super.userAgent, + super.httpClient, + super.cookieJar, + super.authentications, + }); + + Client.fromClient(final DynamiteClient client) + : super( + client.baseURL, + baseHeaders: client.baseHeaders, + httpClient: client.httpClient, + cookieJar: client.cookieJar, + authentications: client.authentications, + ); + + AvatarClient get avatar => AvatarClient(this); + + BotClient get bot => BotClient(this); + + BreakoutRoomClient get breakoutRoom => BreakoutRoomClient(this); + + CallClient get call => CallClient(this); + + CertificateClient get certificate => CertificateClient(this); + + ChatClient get chat => ChatClient(this); + + FederationClient get federation => FederationClient(this); + + FilesIntegrationClient get filesIntegration => FilesIntegrationClient(this); + + GuestClient get guest => GuestClient(this); + + HostedSignalingServerClient get hostedSignalingServer => HostedSignalingServerClient(this); + + MatterbridgeClient get matterbridge => MatterbridgeClient(this); + + MatterbridgeSettingsClient get matterbridgeSettings => MatterbridgeSettingsClient(this); + + PollClient get poll => PollClient(this); + + PublicShareAuthClient get publicShareAuth => PublicShareAuthClient(this); + + ReactionClient get reaction => ReactionClient(this); + + RecordingClient get recording => RecordingClient(this); + + RoomClient get room => RoomClient(this); + + SettingsClient get settings => SettingsClient(this); + + SignalingClient get signaling => SignalingClient(this); + + TempAvatarClient get tempAvatar => TempAvatarClient(this); +} + +class AvatarClient { + AvatarClient(this._rootClient); + + final Client _rootClient; + + /// Get the avatar of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [darkTheme] Theme used for background + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room avatar returned + /// + /// See: + /// * [getAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getAvatar({ + required final String token, + final int darkTheme = 0, + final AvatarGetAvatarApiVersion apiVersion = AvatarGetAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getAvatarRaw( + token: token, + darkTheme: darkTheme, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the avatar of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [darkTheme] Theme used for background + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room avatar returned + /// + /// See: + /// * [getAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getAvatarRaw({ + required final String token, + final int darkTheme = 0, + final AvatarGetAvatarApiVersion apiVersion = AvatarGetAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (darkTheme != 0) { + queryParameters['darkTheme'] = darkTheme.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(Uint8List), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Upload an avatar for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar uploaded successfully + /// * 400: Avatar invalid + /// + /// See: + /// * [uploadAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> uploadAvatar({ + required final String token, + final AvatarUploadAvatarApiVersion apiVersion = AvatarUploadAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = uploadAvatarRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Upload an avatar for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar uploaded successfully + /// * 400: Avatar invalid + /// + /// See: + /// * [uploadAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse uploadAvatarRaw({ + required final String token, + final AvatarUploadAvatarApiVersion apiVersion = AvatarUploadAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(AvatarUploadAvatarResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete the avatar of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar removed successfully + /// + /// See: + /// * [deleteAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteAvatar({ + required final String token, + final AvatarDeleteAvatarApiVersion apiVersion = AvatarDeleteAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteAvatarRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete the avatar of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar removed successfully + /// + /// See: + /// * [deleteAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteAvatarRaw({ + required final String token, + final AvatarDeleteAvatarApiVersion apiVersion = AvatarDeleteAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(AvatarDeleteAvatarResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set an emoji as avatar. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [emoji] Emoji + /// * [color] Color of the emoji + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar set successfully + /// * 400: Setting emoji avatar is not possible + /// + /// See: + /// * [emojiAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> emojiAvatar({ + required final String emoji, + required final String token, + final String? color, + final AvatarEmojiAvatarApiVersion apiVersion = AvatarEmojiAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = emojiAvatarRaw( + emoji: emoji, + token: token, + color: color, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set an emoji as avatar. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [emoji] Emoji + /// * [color] Color of the emoji + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar set successfully + /// * 400: Setting emoji avatar is not possible + /// + /// See: + /// * [emojiAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse emojiAvatarRaw({ + required final String emoji, + required final String token, + final String? color, + final AvatarEmojiAvatarApiVersion apiVersion = AvatarEmojiAvatarApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar/emoji'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['emoji'] = emoji; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (color != null) { + queryParameters['color'] = color; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(AvatarEmojiAvatarResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get the dark mode avatar of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room avatar returned + /// + /// See: + /// * [getAvatarDarkRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getAvatarDark({ + required final String token, + final AvatarGetAvatarDarkApiVersion apiVersion = AvatarGetAvatarDarkApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getAvatarDarkRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the dark mode avatar of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room avatar returned + /// + /// See: + /// * [getAvatarDark] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getAvatarDarkRaw({ + required final String token, + final AvatarGetAvatarDarkApiVersion apiVersion = AvatarGetAvatarDarkApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar/dark'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(Uint8List), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class BotClient { + BotClient(this._rootClient); + + final Client _rootClient; + + /// Sends a new chat message to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] The message to send + /// * [referenceId] For the message to be able to later identify it again + /// * [replyTo] Parent id which this message is a reply to + /// * [silent] If sent silent the chat message will not create any notifications + /// * [apiVersion] + /// * [token] Conversation token + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Message sent successfully + /// * 400: Sending message is not possible + /// * 401: Sending message is not allowed + /// * 413: Message too long + /// + /// See: + /// * [sendMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> sendMessage({ + required final String message, + required final String token, + final String referenceId = '', + final int replyTo = 0, + final int silent = 0, + final BotSendMessageApiVersion apiVersion = BotSendMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = sendMessageRaw( + message: message, + token: token, + referenceId: referenceId, + replyTo: replyTo, + silent: silent, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Sends a new chat message to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] The message to send + /// * [referenceId] For the message to be able to later identify it again + /// * [replyTo] Parent id which this message is a reply to + /// * [silent] If sent silent the chat message will not create any notifications + /// * [apiVersion] + /// * [token] Conversation token + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Message sent successfully + /// * 400: Sending message is not possible + /// * 401: Sending message is not allowed + /// * 413: Message too long + /// + /// See: + /// * [sendMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse sendMessageRaw({ + required final String message, + required final String token, + final String referenceId = '', + final int replyTo = 0, + final int silent = 0, + final BotSendMessageApiVersion apiVersion = BotSendMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/message'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['message'] = message; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (referenceId != '') { + queryParameters['referenceId'] = referenceId; + } + if (replyTo != 0) { + queryParameters['replyTo'] = replyTo.toString(); + } + if (silent != 0) { + queryParameters['silent'] = silent.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201, 400, 401, 413}, + ), + bodyType: const FullType(BotSendMessageResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Adds a reaction to a chat message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Reaction to add + /// * [apiVersion] + /// * [token] Conversation token + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction already exists + /// * 201: Reacted successfully + /// * 400: Reacting is not possible + /// * 401: Reacting is not allowed + /// * 404: Reaction not found + /// + /// See: + /// * [reactRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> react({ + required final String reaction, + required final String token, + required final int messageId, + final BotReactApiVersion apiVersion = BotReactApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = reactRaw( + reaction: reaction, + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Adds a reaction to a chat message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Reaction to add + /// * [apiVersion] + /// * [token] Conversation token + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction already exists + /// * 201: Reacted successfully + /// * 400: Reacting is not possible + /// * 401: Reacting is not allowed + /// * 404: Reaction not found + /// + /// See: + /// * [react] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse reactRaw({ + required final String reaction, + required final String token, + required final int messageId, + final BotReactApiVersion apiVersion = BotReactApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/reaction/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['reaction'] = reaction; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 201, 400, 401, 404}, + ), + bodyType: const FullType(BotReactResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Deletes a reaction from a chat message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Reaction to delete + /// * [apiVersion] + /// * [token] Conversation token + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction deleted successfully + /// * 400: Reacting is not possible + /// * 404: Reaction not found + /// * 401: Reacting is not allowed + /// + /// See: + /// * [deleteReactionRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteReaction({ + required final String reaction, + required final String token, + required final int messageId, + final BotDeleteReactionApiVersion apiVersion = BotDeleteReactionApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteReactionRaw( + reaction: reaction, + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Deletes a reaction from a chat message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Reaction to delete + /// * [apiVersion] + /// * [token] Conversation token + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction deleted successfully + /// * 400: Reacting is not possible + /// * 404: Reaction not found + /// * 401: Reacting is not allowed + /// + /// See: + /// * [deleteReaction] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteReactionRaw({ + required final String reaction, + required final String token, + required final int messageId, + final BotDeleteReactionApiVersion apiVersion = BotDeleteReactionApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/reaction/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['reaction'] = reaction; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400, 404, 401}, + ), + bodyType: const FullType(BotDeleteReactionResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// List admin bots. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot list returned + /// + /// See: + /// * [adminListBotsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> adminListBots({ + final BotAdminListBotsApiVersion apiVersion = BotAdminListBotsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = adminListBotsRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// List admin bots. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot list returned + /// + /// See: + /// * [adminListBots] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse adminListBotsRaw({ + final BotAdminListBotsApiVersion apiVersion = BotAdminListBotsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/admin'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BotAdminListBotsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// List bots. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot list returned + /// + /// See: + /// * [listBotsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> listBots({ + required final String token, + final BotListBotsApiVersion apiVersion = BotListBotsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = listBotsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// List bots. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot list returned + /// + /// See: + /// * [listBots] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse listBotsRaw({ + required final String token, + final BotListBotsApiVersion apiVersion = BotListBotsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BotListBotsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Enables a bot. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [botId] ID of the bot + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot already enabled + /// * 201: Bot enabled successfully + /// * 400: Enabling bot errored + /// + /// See: + /// * [enableBotRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> enableBot({ + required final String token, + required final int botId, + final BotEnableBotApiVersion apiVersion = BotEnableBotApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = enableBotRaw( + token: token, + botId: botId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Enables a bot. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [botId] ID of the bot + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot already enabled + /// * 201: Bot enabled successfully + /// * 400: Enabling bot errored + /// + /// See: + /// * [enableBot] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse enableBotRaw({ + required final String token, + required final int botId, + final BotEnableBotApiVersion apiVersion = BotEnableBotApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/{botId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{botId}', Uri.encodeQueryComponent(botId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 201}, + ), + bodyType: const FullType(BotEnableBotResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Disables a bot. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [botId] ID of the bot + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot disabled successfully + /// * 400: Disabling bot errored + /// + /// See: + /// * [disableBotRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> disableBot({ + required final String token, + required final int botId, + final BotDisableBotApiVersion apiVersion = BotDisableBotApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = disableBotRaw( + token: token, + botId: botId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Disables a bot. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [botId] ID of the bot + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bot disabled successfully + /// * 400: Disabling bot errored + /// + /// See: + /// * [disableBot] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse disableBotRaw({ + required final String token, + required final int botId, + final BotDisableBotApiVersion apiVersion = BotDisableBotApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/{botId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{botId}', Uri.encodeQueryComponent(botId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BotDisableBotResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class BreakoutRoomClient { + BreakoutRoomClient(this._rootClient); + + final Client _rootClient; + + /// Configure the breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [mode] Mode of the breakout rooms + /// * [amount] Number of breakout rooms + /// * [attendeeMap] Mapping of the attendees to breakout rooms + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms configured successfully + /// * 400: Configuring breakout rooms errored + /// + /// See: + /// * [configureBreakoutRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> configureBreakoutRooms({ + required final int mode, + required final int amount, + required final String token, + final String attendeeMap = '[]', + final BreakoutRoomConfigureBreakoutRoomsApiVersion apiVersion = BreakoutRoomConfigureBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = configureBreakoutRoomsRaw( + mode: mode, + amount: amount, + token: token, + attendeeMap: attendeeMap, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Configure the breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [mode] Mode of the breakout rooms + /// * [amount] Number of breakout rooms + /// * [attendeeMap] Mapping of the attendees to breakout rooms + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms configured successfully + /// * 400: Configuring breakout rooms errored + /// + /// See: + /// * [configureBreakoutRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse configureBreakoutRoomsRaw({ + required final int mode, + required final int amount, + required final String token, + final String attendeeMap = '[]', + final BreakoutRoomConfigureBreakoutRoomsApiVersion apiVersion = BreakoutRoomConfigureBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['mode'] = mode.toString(); + queryParameters['amount'] = amount.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (attendeeMap != '[]') { + queryParameters['attendeeMap'] = attendeeMap; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Remove the breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms removed successfully + /// + /// See: + /// * [removeBreakoutRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> removeBreakoutRooms({ + required final String token, + final BreakoutRoomRemoveBreakoutRoomsApiVersion apiVersion = BreakoutRoomRemoveBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = removeBreakoutRoomsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Remove the breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms removed successfully + /// + /// See: + /// * [removeBreakoutRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse removeBreakoutRoomsRaw({ + required final String token, + final BreakoutRoomRemoveBreakoutRoomsApiVersion apiVersion = BreakoutRoomRemoveBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Broadcast a chat message to all breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] Message to broadcast + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Chat message broadcasted successfully + /// * 400: Broadcasting chat message is not possible + /// * 413: Chat message too long + /// + /// See: + /// * [broadcastChatMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> broadcastChatMessage({ + required final String message, + required final String token, + final BreakoutRoomBroadcastChatMessageApiVersion apiVersion = BreakoutRoomBroadcastChatMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = broadcastChatMessageRaw( + message: message, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Broadcast a chat message to all breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] Message to broadcast + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Chat message broadcasted successfully + /// * 400: Broadcasting chat message is not possible + /// * 413: Chat message too long + /// + /// See: + /// * [broadcastChatMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse broadcastChatMessageRaw({ + required final String message, + required final String token, + final BreakoutRoomBroadcastChatMessageApiVersion apiVersion = BreakoutRoomBroadcastChatMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/broadcast'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['message'] = message; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Apply an attendee map to the breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeMap] JSON encoded mapping of the attendees to breakout rooms `array` + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee map applied successfully + /// * 400: Applying attendee map is not possible + /// + /// See: + /// * [applyAttendeeMapRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> applyAttendeeMap({ + required final String attendeeMap, + required final String token, + final BreakoutRoomApplyAttendeeMapApiVersion apiVersion = BreakoutRoomApplyAttendeeMapApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = applyAttendeeMapRaw( + attendeeMap: attendeeMap, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Apply an attendee map to the breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeMap] JSON encoded mapping of the attendees to breakout rooms `array` + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee map applied successfully + /// * 400: Applying attendee map is not possible + /// + /// See: + /// * [applyAttendeeMap] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse applyAttendeeMapRaw({ + required final String attendeeMap, + required final String token, + final BreakoutRoomApplyAttendeeMapApiVersion apiVersion = BreakoutRoomApplyAttendeeMapApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/attendees'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['attendeeMap'] = attendeeMap; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Request assistance. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Assistance requested successfully + /// * 400: Requesting assistance is not possible + /// + /// See: + /// * [requestAssistanceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> requestAssistance({ + required final String token, + final BreakoutRoomRequestAssistanceApiVersion apiVersion = BreakoutRoomRequestAssistanceApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = requestAssistanceRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Request assistance. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Assistance requested successfully + /// * 400: Requesting assistance is not possible + /// + /// See: + /// * [requestAssistance] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse requestAssistanceRaw({ + required final String token, + final BreakoutRoomRequestAssistanceApiVersion apiVersion = BreakoutRoomRequestAssistanceApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/request-assistance'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Reset the request for assistance. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Request for assistance reset successfully + /// * 400: Resetting the request for assistance is not possible + /// + /// See: + /// * [resetRequestForAssistanceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + resetRequestForAssistance({ + required final String token, + final BreakoutRoomResetRequestForAssistanceApiVersion apiVersion = + BreakoutRoomResetRequestForAssistanceApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = resetRequestForAssistanceRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Reset the request for assistance. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Request for assistance reset successfully + /// * 400: Resetting the request for assistance is not possible + /// + /// See: + /// * [resetRequestForAssistance] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse resetRequestForAssistanceRaw({ + required final String token, + final BreakoutRoomResetRequestForAssistanceApiVersion apiVersion = + BreakoutRoomResetRequestForAssistanceApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/request-assistance'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Start the breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms started successfully + /// * 400: Starting breakout rooms is not possible + /// + /// See: + /// * [startBreakoutRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> startBreakoutRooms({ + required final String token, + final BreakoutRoomStartBreakoutRoomsApiVersion apiVersion = BreakoutRoomStartBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = startBreakoutRoomsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Start the breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms started successfully + /// * 400: Starting breakout rooms is not possible + /// + /// See: + /// * [startBreakoutRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse startBreakoutRoomsRaw({ + required final String token, + final BreakoutRoomStartBreakoutRoomsApiVersion apiVersion = BreakoutRoomStartBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/rooms'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Stop the breakout rooms. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms stopped successfully + /// * 400: Stopping breakout rooms is not possible + /// + /// See: + /// * [stopBreakoutRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> stopBreakoutRooms({ + required final String token, + final BreakoutRoomStopBreakoutRoomsApiVersion apiVersion = BreakoutRoomStopBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = stopBreakoutRoomsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Stop the breakout rooms. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms stopped successfully + /// * 400: Stopping breakout rooms is not possible + /// + /// See: + /// * [stopBreakoutRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse stopBreakoutRoomsRaw({ + required final String token, + final BreakoutRoomStopBreakoutRoomsApiVersion apiVersion = BreakoutRoomStopBreakoutRoomsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/rooms'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Switch to another breakout room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [target] Target breakout room + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Switched to breakout room successfully + /// * 400: Switching to breakout room is not possible + /// + /// See: + /// * [switchBreakoutRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> switchBreakoutRoom({ + required final String target, + required final String token, + final BreakoutRoomSwitchBreakoutRoomApiVersion apiVersion = BreakoutRoomSwitchBreakoutRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = switchBreakoutRoomRaw( + target: target, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Switch to another breakout room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [target] Target breakout room + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Switched to breakout room successfully + /// * 400: Switching to breakout room is not possible + /// + /// See: + /// * [switchBreakoutRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse switchBreakoutRoomRaw({ + required final String target, + required final String token, + final BreakoutRoomSwitchBreakoutRoomApiVersion apiVersion = BreakoutRoomSwitchBreakoutRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/switch'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['target'] = target; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class CallClient { + CallClient(this._rootClient); + + final Client _rootClient; + + /// Get the peers for a call. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of peers in the call returned + /// + /// See: + /// * [getPeersForCallRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getPeersForCall({ + required final String token, + final CallGetPeersForCallApiVersion apiVersion = CallGetPeersForCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getPeersForCallRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the peers for a call. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of peers in the call returned + /// + /// See: + /// * [getPeersForCall] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getPeersForCallRaw({ + required final String token, + final CallGetPeersForCallApiVersion apiVersion = CallGetPeersForCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(CallGetPeersForCallResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the in-call flags. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [flags] New flags + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: In-call flags updated successfully + /// * 400: Updating in-call flags is not possible + /// * 404: Call session not found + /// + /// See: + /// * [updateCallFlagsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> updateCallFlags({ + required final int flags, + required final String token, + final CallUpdateCallFlagsApiVersion apiVersion = CallUpdateCallFlagsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = updateCallFlagsRaw( + flags: flags, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the in-call flags. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [flags] New flags + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: In-call flags updated successfully + /// * 400: Updating in-call flags is not possible + /// * 404: Call session not found + /// + /// See: + /// * [updateCallFlags] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse updateCallFlagsRaw({ + required final int flags, + required final String token, + final CallUpdateCallFlagsApiVersion apiVersion = CallUpdateCallFlagsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['flags'] = flags.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400, 404}, + ), + bodyType: const FullType(CallUpdateCallFlagsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Join a call. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [flags] In-Call flags + /// * [forcePermissions] In-call permissions + /// * [silent] Join the call silently + /// * [recordingConsent] When the user ticked a checkbox and agreed with being recorded (Only needed when the `config => call => recording-consent` capability is set to {@see RecordingService::CONSENT_REQUIRED_YES} or the capability is {@see RecordingService::CONSENT_REQUIRED_OPTIONAL} and the conversation `recordingConsent` value is {@see RecordingService::CONSENT_REQUIRED_YES} ) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call joined successfully + /// * 404: Call not found + /// * 400: No recording consent was given + /// + /// See: + /// * [joinCallRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> joinCall({ + required final String token, + final int? flags, + final int? forcePermissions, + final int silent = 0, + final int recordingConsent = 0, + final CallJoinCallApiVersion apiVersion = CallJoinCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = joinCallRaw( + token: token, + flags: flags, + forcePermissions: forcePermissions, + silent: silent, + recordingConsent: recordingConsent, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Join a call. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [flags] In-Call flags + /// * [forcePermissions] In-call permissions + /// * [silent] Join the call silently + /// * [recordingConsent] When the user ticked a checkbox and agreed with being recorded (Only needed when the `config => call => recording-consent` capability is set to {@see RecordingService::CONSENT_REQUIRED_YES} or the capability is {@see RecordingService::CONSENT_REQUIRED_OPTIONAL} and the conversation `recordingConsent` value is {@see RecordingService::CONSENT_REQUIRED_YES} ) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call joined successfully + /// * 404: Call not found + /// * 400: No recording consent was given + /// + /// See: + /// * [joinCall] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse joinCallRaw({ + required final String token, + final int? flags, + final int? forcePermissions, + final int silent = 0, + final int recordingConsent = 0, + final CallJoinCallApiVersion apiVersion = CallJoinCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (flags != null) { + queryParameters['flags'] = flags.toString(); + } + if (forcePermissions != null) { + queryParameters['forcePermissions'] = forcePermissions.toString(); + } + if (silent != 0) { + queryParameters['silent'] = silent.toString(); + } + if (recordingConsent != 0) { + queryParameters['recordingConsent'] = recordingConsent.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 404}, + ), + bodyType: const FullType(CallJoinCallResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Leave a call. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [all] whether to also terminate the call for all participants + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call left successfully + /// * 404: Call session not found + /// + /// See: + /// * [leaveCallRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> leaveCall({ + required final String token, + final int all = 0, + final CallLeaveCallApiVersion apiVersion = CallLeaveCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = leaveCallRaw( + token: token, + all: all, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Leave a call. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [all] whether to also terminate the call for all participants + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call left successfully + /// * 404: Call session not found + /// + /// See: + /// * [leaveCall] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse leaveCallRaw({ + required final String token, + final int all = 0, + final CallLeaveCallApiVersion apiVersion = CallLeaveCallApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (all != 0) { + queryParameters['all'] = all.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 404}, + ), + bodyType: const FullType(CallLeaveCallResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Ring an attendee. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [attendeeId] ID of the attendee to ring + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee rang successfully + /// * 400: Ringing attendee is not possible + /// + /// See: + /// * [ringAttendeeRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> ringAttendee({ + required final String token, + required final int attendeeId, + final CallRingAttendeeApiVersion apiVersion = CallRingAttendeeApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = ringAttendeeRaw( + token: token, + attendeeId: attendeeId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Ring an attendee. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [attendeeId] ID of the attendee to ring + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee rang successfully + /// * 400: Ringing attendee is not possible + /// + /// See: + /// * [ringAttendee] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse ringAttendeeRaw({ + required final String token, + required final int attendeeId, + final CallRingAttendeeApiVersion apiVersion = CallRingAttendeeApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/ring/{attendeeId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{attendeeId}', Uri.encodeQueryComponent(attendeeId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(CallRingAttendeeResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class CertificateClient { + CertificateClient(this._rootClient); + + final Client _rootClient; + + /// Get the certificate expiration for a host. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [host] Host to check + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Certificate expiration returned + /// * 400: Getting certificate expiration is not possible + /// + /// See: + /// * [getCertificateExpirationRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getCertificateExpiration({ + required final String host, + final CertificateGetCertificateExpirationApiVersion apiVersion = CertificateGetCertificateExpirationApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getCertificateExpirationRaw( + host: host, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the certificate expiration for a host. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [host] Host to check + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Certificate expiration returned + /// * 400: Getting certificate expiration is not possible + /// + /// See: + /// * [getCertificateExpiration] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getCertificateExpirationRaw({ + required final String host, + final CertificateGetCertificateExpirationApiVersion apiVersion = CertificateGetCertificateExpirationApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/certificate/expiration'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['host'] = host; + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class ChatClient { + ChatClient(this._rootClient); + + final Client _rootClient; + + /// Receives chat messages from the given room. + /// + /// - Receiving the history ($lookIntoFuture=0): The next $limit messages after $lastKnownMessageId will be returned. The new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header. + /// - Looking into the future ($lookIntoFuture=1): If there are currently no messages the response will not be sent immediately. Instead, HTTP connection will be kept open waiting for new messages to arrive and, when they do, then the response will be sent. The connection will not be kept open indefinitely, though; the number of seconds to wait for new messages to arrive can be set using the timeout parameter; the default timeout is 30 seconds, maximum timeout is 60 seconds. If the timeout ends a successful but empty response will be sent. If messages have been returned (status=200) the new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header. + /// The limit specifies the maximum number of messages that will be returned, although the actual number of returned messages could be lower if some messages are not visible to the participant. Note that if none of the messages are visible to the participant the returned number of messages will be 0, yet the status will still be 200. Also note that `X-Chat-Last-Given` may reference a message not visible and thus not returned, but it should be used nevertheless as the $lastKnownMessageId for the follow-up query. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [lookIntoFuture] Polling for new messages (1) or getting the history of the chat (0) + /// * [limit] Number of chat messages to receive (100 by default, 200 at most) + /// * [lastKnownMessageId] The last known message (serves as offset) + /// * [lastCommonReadId] The last known common read message (so the response is 200 instead of 304 when it changes even when there are no messages) + /// * [timeout] Number of seconds to wait for new messages (30 by default, 30 at most) + /// * [setReadMarker] Automatically set the last read marker when 1, if your client does this itself via chat/{token}/read set to 0 + /// * [includeLastKnown] Include the $lastKnownMessageId in the messages when 1 (default 0) + /// * [noStatusUpdate] When the user status should not be automatically set to online set to 1 (default 0) + /// * [markNotificationsAsRead] Set to 0 when notifications should not be marked as read (default 1) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Messages returned + /// * 304: No messages + /// + /// See: + /// * [receiveMessagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> receiveMessages({ + required final int lookIntoFuture, + required final String token, + final int limit = 100, + final int lastKnownMessageId = 0, + final int lastCommonReadId = 0, + final int timeout = 30, + final int setReadMarker = 1, + final int includeLastKnown = 0, + final int noStatusUpdate = 0, + final int markNotificationsAsRead = 1, + final ChatReceiveMessagesApiVersion apiVersion = ChatReceiveMessagesApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = receiveMessagesRaw( + lookIntoFuture: lookIntoFuture, + token: token, + limit: limit, + lastKnownMessageId: lastKnownMessageId, + lastCommonReadId: lastCommonReadId, + timeout: timeout, + setReadMarker: setReadMarker, + includeLastKnown: includeLastKnown, + noStatusUpdate: noStatusUpdate, + markNotificationsAsRead: markNotificationsAsRead, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Receives chat messages from the given room. + /// + /// - Receiving the history ($lookIntoFuture=0): The next $limit messages after $lastKnownMessageId will be returned. The new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header. + /// - Looking into the future ($lookIntoFuture=1): If there are currently no messages the response will not be sent immediately. Instead, HTTP connection will be kept open waiting for new messages to arrive and, when they do, then the response will be sent. The connection will not be kept open indefinitely, though; the number of seconds to wait for new messages to arrive can be set using the timeout parameter; the default timeout is 30 seconds, maximum timeout is 60 seconds. If the timeout ends a successful but empty response will be sent. If messages have been returned (status=200) the new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header. + /// The limit specifies the maximum number of messages that will be returned, although the actual number of returned messages could be lower if some messages are not visible to the participant. Note that if none of the messages are visible to the participant the returned number of messages will be 0, yet the status will still be 200. Also note that `X-Chat-Last-Given` may reference a message not visible and thus not returned, but it should be used nevertheless as the $lastKnownMessageId for the follow-up query. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [lookIntoFuture] Polling for new messages (1) or getting the history of the chat (0) + /// * [limit] Number of chat messages to receive (100 by default, 200 at most) + /// * [lastKnownMessageId] The last known message (serves as offset) + /// * [lastCommonReadId] The last known common read message (so the response is 200 instead of 304 when it changes even when there are no messages) + /// * [timeout] Number of seconds to wait for new messages (30 by default, 30 at most) + /// * [setReadMarker] Automatically set the last read marker when 1, if your client does this itself via chat/{token}/read set to 0 + /// * [includeLastKnown] Include the $lastKnownMessageId in the messages when 1 (default 0) + /// * [noStatusUpdate] When the user status should not be automatically set to online set to 1 (default 0) + /// * [markNotificationsAsRead] Set to 0 when notifications should not be marked as read (default 1) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Messages returned + /// * 304: No messages + /// + /// See: + /// * [receiveMessages] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse receiveMessagesRaw({ + required final int lookIntoFuture, + required final String token, + final int limit = 100, + final int lastKnownMessageId = 0, + final int lastCommonReadId = 0, + final int timeout = 30, + final int setReadMarker = 1, + final int includeLastKnown = 0, + final int noStatusUpdate = 0, + final int markNotificationsAsRead = 1, + final ChatReceiveMessagesApiVersion apiVersion = ChatReceiveMessagesApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['lookIntoFuture'] = lookIntoFuture.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (limit != 100) { + queryParameters['limit'] = limit.toString(); + } + if (lastKnownMessageId != 0) { + queryParameters['lastKnownMessageId'] = lastKnownMessageId.toString(); + } + if (lastCommonReadId != 0) { + queryParameters['lastCommonReadId'] = lastCommonReadId.toString(); + } + if (timeout != 30) { + queryParameters['timeout'] = timeout.toString(); + } + if (setReadMarker != 1) { + queryParameters['setReadMarker'] = setReadMarker.toString(); + } + if (includeLastKnown != 0) { + queryParameters['includeLastKnown'] = includeLastKnown.toString(); + } + if (noStatusUpdate != 0) { + queryParameters['noStatusUpdate'] = noStatusUpdate.toString(); + } + if (markNotificationsAsRead != 1) { + queryParameters['markNotificationsAsRead'] = markNotificationsAsRead.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200, 304}, + ), + bodyType: const FullType(ChatReceiveMessagesResponseApplicationJson), + headersType: const FullType(ChatChatReceiveMessagesHeaders), + serializers: _jsonSerializers, + ); + } + + /// Sends a new chat message to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] the message to send + /// * [actorDisplayName] for guests + /// * [referenceId] for the message to be able to later identify it again + /// * [replyTo] Parent id which this message is a reply to + /// * [silent] If sent silent the chat message will not create any notifications + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Message sent successfully + /// * 400: Sending message is not possible + /// * 404: Actor not found + /// * 413: Message too long + /// + /// See: + /// * [sendMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> sendMessage({ + required final String message, + required final String token, + final String actorDisplayName = '', + final String referenceId = '', + final int replyTo = 0, + final int silent = 0, + final ChatSendMessageApiVersion apiVersion = ChatSendMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = sendMessageRaw( + message: message, + token: token, + actorDisplayName: actorDisplayName, + referenceId: referenceId, + replyTo: replyTo, + silent: silent, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Sends a new chat message to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [message] the message to send + /// * [actorDisplayName] for guests + /// * [referenceId] for the message to be able to later identify it again + /// * [replyTo] Parent id which this message is a reply to + /// * [silent] If sent silent the chat message will not create any notifications + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Message sent successfully + /// * 400: Sending message is not possible + /// * 404: Actor not found + /// * 413: Message too long + /// + /// See: + /// * [sendMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse sendMessageRaw({ + required final String message, + required final String token, + final String actorDisplayName = '', + final String referenceId = '', + final int replyTo = 0, + final int silent = 0, + final ChatSendMessageApiVersion apiVersion = ChatSendMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['message'] = message; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (actorDisplayName != '') { + queryParameters['actorDisplayName'] = actorDisplayName; + } + if (referenceId != '') { + queryParameters['referenceId'] = referenceId; + } + if (replyTo != 0) { + queryParameters['replyTo'] = replyTo.toString(); + } + if (silent != 0) { + queryParameters['silent'] = silent.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(ChatSendMessageResponseApplicationJson), + headersType: const FullType(ChatChatSendMessageHeaders), + serializers: _jsonSerializers, + ); + } + + /// Clear the chat history. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: History cleared successfully + /// * 202: History cleared successfully, but Matterbridge is configured, so the information can be replicated elsewhere + /// * 403: Missing permissions to clear history + /// + /// See: + /// * [clearHistoryRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> clearHistory({ + required final String token, + final ChatClearHistoryApiVersion apiVersion = ChatClearHistoryApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = clearHistoryRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Clear the chat history. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: History cleared successfully + /// * 202: History cleared successfully, but Matterbridge is configured, so the information can be replicated elsewhere + /// * 403: Missing permissions to clear history + /// + /// See: + /// * [clearHistory] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse clearHistoryRaw({ + required final String token, + final ChatClearHistoryApiVersion apiVersion = ChatClearHistoryApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 202}, + ), + bodyType: const FullType(ChatClearHistoryResponseApplicationJson), + headersType: const FullType(ChatChatClearHistoryHeaders), + serializers: _jsonSerializers, + ); + } + + /// Delete a chat message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message deleted successfully + /// * 202: Message deleted successfully, but Matterbridge is configured, so the information can be replicated elsewhere + /// * 400: Deleting message is not possible + /// * 403: Missing permissions to delete message + /// * 404: Message not found + /// * 405: Deleting message is not allowed + /// + /// See: + /// * [deleteMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteMessage({ + required final String token, + required final int messageId, + final ChatDeleteMessageApiVersion apiVersion = ChatDeleteMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteMessageRaw( + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete a chat message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message deleted successfully + /// * 202: Message deleted successfully, but Matterbridge is configured, so the information can be replicated elsewhere + /// * 400: Deleting message is not possible + /// * 403: Missing permissions to delete message + /// * 404: Message not found + /// * 405: Deleting message is not allowed + /// + /// See: + /// * [deleteMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteMessageRaw({ + required final String token, + required final int messageId, + final ChatDeleteMessageApiVersion apiVersion = ChatDeleteMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 202}, + ), + bodyType: const FullType(ChatDeleteMessageResponseApplicationJson), + headersType: const FullType(ChatChatDeleteMessageHeaders), + serializers: _jsonSerializers, + ); + } + + /// Get the context of a message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [limit] Number of chat messages to receive in both directions (50 by default, 100 at most, might return 201 messages) + /// * [apiVersion] + /// * [token] + /// * [messageId] The focused message which should be in the "middle" of the returned context + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message context returned + /// * 304: No messages + /// + /// See: + /// * [getMessageContextRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + getMessageContext({ + required final String token, + required final int messageId, + final int limit = 50, + final ChatGetMessageContextApiVersion apiVersion = ChatGetMessageContextApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getMessageContextRaw( + token: token, + messageId: messageId, + limit: limit, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the context of a message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [limit] Number of chat messages to receive in both directions (50 by default, 100 at most, might return 201 messages) + /// * [apiVersion] + /// * [token] + /// * [messageId] The focused message which should be in the "middle" of the returned context + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message context returned + /// * 304: No messages + /// + /// See: + /// * [getMessageContext] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + getMessageContextRaw({ + required final String token, + required final int messageId, + final int limit = 50, + final ChatGetMessageContextApiVersion apiVersion = ChatGetMessageContextApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/context'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + if (limit != 50) { + queryParameters['limit'] = limit.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200, 304}, + ), + bodyType: const FullType(ChatGetMessageContextResponseApplicationJson), + headersType: const FullType(ChatChatGetMessageContextHeaders), + serializers: _jsonSerializers, + ); + } + + /// Get the reminder for a chat message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reminder returned + /// * 404: Message not found + /// + /// See: + /// * [getReminderRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getReminder({ + required final String token, + required final int messageId, + final ChatGetReminderApiVersion apiVersion = ChatGetReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getReminderRaw( + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the reminder for a chat message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reminder returned + /// * 404: Message not found + /// + /// See: + /// * [getReminder] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getReminderRaw({ + required final String token, + required final int messageId, + final ChatGetReminderApiVersion apiVersion = ChatGetReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/reminder'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatGetReminderResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set a reminder for a chat message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [timestamp] Timestamp of the reminder + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Reminder created successfully + /// * 404: Message not found + /// + /// See: + /// * [setReminderRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setReminder({ + required final int timestamp, + required final String token, + required final int messageId, + final ChatSetReminderApiVersion apiVersion = ChatSetReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setReminderRaw( + timestamp: timestamp, + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set a reminder for a chat message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [timestamp] Timestamp of the reminder + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Reminder created successfully + /// * 404: Message not found + /// + /// See: + /// * [setReminder] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setReminderRaw({ + required final int timestamp, + required final String token, + required final int messageId, + final ChatSetReminderApiVersion apiVersion = ChatSetReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/reminder'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['timestamp'] = timestamp.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(ChatSetReminderResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete a chat reminder. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reminder deleted successfully + /// * 404: Message not found + /// + /// See: + /// * [deleteReminderRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteReminder({ + required final String token, + required final int messageId, + final ChatDeleteReminderApiVersion apiVersion = ChatDeleteReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteReminderRaw( + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete a chat reminder. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reminder deleted successfully + /// * 404: Message not found + /// + /// See: + /// * [deleteReminder] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteReminderRaw({ + required final String token, + required final int messageId, + final ChatDeleteReminderApiVersion apiVersion = ChatDeleteReminderApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/reminder'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 404}, + ), + bodyType: const FullType(ChatDeleteReminderResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set the read marker to a specific message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [lastReadMessage] ID if the last read message + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read marker set successfully + /// + /// See: + /// * [setReadMarkerRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setReadMarker({ + required final int lastReadMessage, + required final String token, + final ChatSetReadMarkerApiVersion apiVersion = ChatSetReadMarkerApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setReadMarkerRaw( + lastReadMessage: lastReadMessage, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set the read marker to a specific message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [lastReadMessage] ID if the last read message + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read marker set successfully + /// + /// See: + /// * [setReadMarker] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setReadMarkerRaw({ + required final int lastReadMessage, + required final String token, + final ChatSetReadMarkerApiVersion apiVersion = ChatSetReadMarkerApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/read'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['lastReadMessage'] = lastReadMessage.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatSetReadMarkerResponseApplicationJson), + headersType: const FullType(ChatChatSetReadMarkerHeaders), + serializers: _jsonSerializers, + ); + } + + /// Mark a chat as unread. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read marker set successfully + /// + /// See: + /// * [markUnreadRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> markUnread({ + required final String token, + final ChatMarkUnreadApiVersion apiVersion = ChatMarkUnreadApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = markUnreadRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Mark a chat as unread. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read marker set successfully + /// + /// See: + /// * [markUnread] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse markUnreadRaw({ + required final String token, + final ChatMarkUnreadApiVersion apiVersion = ChatMarkUnreadApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/read'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatMarkUnreadResponseApplicationJson), + headersType: const FullType(ChatChatMarkUnreadHeaders), + serializers: _jsonSerializers, + ); + } + + /// Search for mentions. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [search] Text to search for + /// * [limit] Maximum number of results + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of mention suggestions returned + /// + /// See: + /// * [mentionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> mentions({ + required final String search, + required final String token, + final int limit = 20, + final int includeStatus = 0, + final ChatMentionsApiVersion apiVersion = ChatMentionsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = mentionsRaw( + search: search, + token: token, + limit: limit, + includeStatus: includeStatus, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Search for mentions. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [search] Text to search for + /// * [limit] Maximum number of results + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of mention suggestions returned + /// + /// See: + /// * [mentions] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse mentionsRaw({ + required final String search, + required final String token, + final int limit = 20, + final int includeStatus = 0, + final ChatMentionsApiVersion apiVersion = ChatMentionsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/mentions'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['search'] = search; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (limit != 20) { + queryParameters['limit'] = limit.toString(); + } + if (includeStatus != 0) { + queryParameters['includeStatus'] = includeStatus.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatMentionsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get objects that are shared in the room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [objectType] Type of the objects + /// * [lastKnownMessageId] ID of the last known message + /// * [limit] Maximum number of objects + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of shared objects messages returned + /// + /// See: + /// * [getObjectsSharedInRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + getObjectsSharedInRoom({ + required final String objectType, + required final String token, + final int lastKnownMessageId = 0, + final int limit = 100, + final ChatGetObjectsSharedInRoomApiVersion apiVersion = ChatGetObjectsSharedInRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getObjectsSharedInRoomRaw( + objectType: objectType, + token: token, + lastKnownMessageId: lastKnownMessageId, + limit: limit, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get objects that are shared in the room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [objectType] Type of the objects + /// * [lastKnownMessageId] ID of the last known message + /// * [limit] Maximum number of objects + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of shared objects messages returned + /// + /// See: + /// * [getObjectsSharedInRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + getObjectsSharedInRoomRaw({ + required final String objectType, + required final String token, + final int lastKnownMessageId = 0, + final int limit = 100, + final ChatGetObjectsSharedInRoomApiVersion apiVersion = ChatGetObjectsSharedInRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['objectType'] = objectType; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (lastKnownMessageId != 0) { + queryParameters['lastKnownMessageId'] = lastKnownMessageId.toString(); + } + if (limit != 100) { + queryParameters['limit'] = limit.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson), + headersType: const FullType(ChatChatGetObjectsSharedInRoomHeaders), + serializers: _jsonSerializers, + ); + } + + /// Sends a rich-object to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [objectType] Type of the object + /// * [objectId] ID of the object + /// * [metaData] Additional metadata + /// * [actorDisplayName] Guest name + /// * [referenceId] Reference ID + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Object shared successfully + /// * 400: Sharing object is not possible + /// * 404: Actor not found + /// * 413: Message too long + /// + /// See: + /// * [shareObjectToChatRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + shareObjectToChat({ + required final String objectType, + required final String objectId, + required final String token, + final String metaData = '', + final String actorDisplayName = '', + final String referenceId = '', + final ChatShareObjectToChatApiVersion apiVersion = ChatShareObjectToChatApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = shareObjectToChatRaw( + objectType: objectType, + objectId: objectId, + token: token, + metaData: metaData, + actorDisplayName: actorDisplayName, + referenceId: referenceId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Sends a rich-object to the given room. + /// + /// The author and timestamp are automatically set to the current user/guest and time. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [objectType] Type of the object + /// * [objectId] ID of the object + /// * [metaData] Additional metadata + /// * [actorDisplayName] Guest name + /// * [referenceId] Reference ID + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Object shared successfully + /// * 400: Sharing object is not possible + /// * 404: Actor not found + /// * 413: Message too long + /// + /// See: + /// * [shareObjectToChat] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + shareObjectToChatRaw({ + required final String objectType, + required final String objectId, + required final String token, + final String metaData = '', + final String actorDisplayName = '', + final String referenceId = '', + final ChatShareObjectToChatApiVersion apiVersion = ChatShareObjectToChatApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['objectType'] = objectType; + queryParameters['objectId'] = objectId; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (metaData != '') { + queryParameters['metaData'] = metaData; + } + if (actorDisplayName != '') { + queryParameters['actorDisplayName'] = actorDisplayName; + } + if (referenceId != '') { + queryParameters['referenceId'] = referenceId; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(ChatShareObjectToChatResponseApplicationJson), + headersType: const FullType(ChatChatShareObjectToChatHeaders), + serializers: _jsonSerializers, + ); + } + + /// Get objects that are shared in the room overview. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [limit] Maximum number of objects + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of shared objects messages of each type returned + /// + /// See: + /// * [getObjectsSharedInRoomOverviewRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + getObjectsSharedInRoomOverview({ + required final String token, + final int limit = 7, + final ChatGetObjectsSharedInRoomOverviewApiVersion apiVersion = ChatGetObjectsSharedInRoomOverviewApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getObjectsSharedInRoomOverviewRaw( + token: token, + limit: limit, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get objects that are shared in the room overview. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [limit] Maximum number of objects + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: List of shared objects messages of each type returned + /// + /// See: + /// * [getObjectsSharedInRoomOverview] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + getObjectsSharedInRoomOverviewRaw({ + required final String token, + final int limit = 7, + final ChatGetObjectsSharedInRoomOverviewApiVersion apiVersion = ChatGetObjectsSharedInRoomOverviewApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share/overview'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (limit != 7) { + queryParameters['limit'] = limit.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class FederationClient { + FederationClient(this._rootClient); + + final Client _rootClient; + + /// Accept a federation invites. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [id] ID of the share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invite accepted successfully + /// * 500 + /// + /// See: + /// * [acceptShareRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> acceptShare({ + required final int id, + final FederationAcceptShareApiVersion apiVersion = FederationAcceptShareApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = acceptShareRaw( + id: id, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Accept a federation invites. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [id] ID of the share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invite accepted successfully + /// * 500 + /// + /// See: + /// * [acceptShare] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse acceptShareRaw({ + required final int id, + final FederationAcceptShareApiVersion apiVersion = FederationAcceptShareApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/federation/invitation/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(FederationAcceptShareResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Decline a federation invites. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [id] ID of the share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invite declined successfully + /// * 500 + /// + /// See: + /// * [rejectShareRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> rejectShare({ + required final int id, + final FederationRejectShareApiVersion apiVersion = FederationRejectShareApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = rejectShareRaw( + id: id, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Decline a federation invites. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [id] ID of the share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invite declined successfully + /// * 500 + /// + /// See: + /// * [rejectShare] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse rejectShareRaw({ + required final int id, + final FederationRejectShareApiVersion apiVersion = FederationRejectShareApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/federation/invitation/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(FederationRejectShareResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get a list of federation invites. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Get list of received federation invites successfully + /// + /// See: + /// * [getSharesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getShares({ + final FederationGetSharesApiVersion apiVersion = FederationGetSharesApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getSharesRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get a list of federation invites. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Get list of received federation invites successfully + /// + /// See: + /// * [getShares] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getSharesRaw({ + final FederationGetSharesApiVersion apiVersion = FederationGetSharesApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/federation/invitation'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(FederationGetSharesResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class FilesIntegrationClient { + FilesIntegrationClient(this._rootClient); + + final Client _rootClient; + + /// Get the token of the room associated to the given file id. + /// + /// This is the counterpart of self::getRoomByShareToken() for file ids instead of share tokens, although both return the same room token if the given file id and share token refer to the same file. + /// If there is no room associated to the given file id a new room is created; the new room is a public room associated with a "file" object with the given file id. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file). + /// In any case, to create or even get the token of the room, the file must be shared and the user must be the owner of a public share of the file (like a link share, for example) or have direct access to that file; an error is returned otherwise. A user has direct access to a file if she has access to it (or to an ancestor) through a user, group, circle or room share (but not through a link share, for example), or if she is the owner of such a file. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [fileId] ID of the file + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room token returned + /// * 400: Rooms not allowed for shares + /// * 404: Share not found + /// + /// See: + /// * [getRoomByFileIdRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getRoomByFileId({ + required final String fileId, + final FilesIntegrationGetRoomByFileIdApiVersion apiVersion = FilesIntegrationGetRoomByFileIdApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getRoomByFileIdRaw( + fileId: fileId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the token of the room associated to the given file id. + /// + /// This is the counterpart of self::getRoomByShareToken() for file ids instead of share tokens, although both return the same room token if the given file id and share token refer to the same file. + /// If there is no room associated to the given file id a new room is created; the new room is a public room associated with a "file" object with the given file id. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file). + /// In any case, to create or even get the token of the room, the file must be shared and the user must be the owner of a public share of the file (like a link share, for example) or have direct access to that file; an error is returned otherwise. A user has direct access to a file if she has access to it (or to an ancestor) through a user, group, circle or room share (but not through a link share, for example), or if she is the owner of such a file. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [fileId] ID of the file + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room token returned + /// * 400: Rooms not allowed for shares + /// * 404: Share not found + /// + /// See: + /// * [getRoomByFileId] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getRoomByFileIdRaw({ + required final String fileId, + final FilesIntegrationGetRoomByFileIdApiVersion apiVersion = FilesIntegrationGetRoomByFileIdApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/file/{fileId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(fileId, RegExp(r'^.+$'), 'fileId'); // coverage:ignore-line + path = path.replaceAll('{fileId}', Uri.encodeQueryComponent(fileId)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Returns the token of the room associated to the file id of the given share token. + /// + /// This is the counterpart of self::getRoomByFileId() for share tokens instead of file ids, although both return the same room token if the given file id and share token refer to the same file. + /// If there is no room associated to the file id of the given share token a new room is created; the new room is a public room associated with a "file" object with the file id of the given share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file). + /// In any case, to create or even get the token of the room, the file must be publicly shared (like a link share, for example); an error is returned otherwise. + /// Besides the token of the room this also returns the current user ID and display name, if any; this is needed by the Talk sidebar to know the actual current user, as the public share page uses the incognito mode and thus logged-in users as seen as guests. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [shareToken] Token of the file share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room token and user info returned + /// * 400: Rooms not allowed for shares + /// * 404: Share not found + /// + /// See: + /// * [getRoomByShareTokenRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getRoomByShareToken({ + required final String shareToken, + final FilesIntegrationGetRoomByShareTokenApiVersion apiVersion = FilesIntegrationGetRoomByShareTokenApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getRoomByShareTokenRaw( + shareToken: shareToken, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Returns the token of the room associated to the file id of the given share token. + /// + /// This is the counterpart of self::getRoomByFileId() for share tokens instead of file ids, although both return the same room token if the given file id and share token refer to the same file. + /// If there is no room associated to the file id of the given share token a new room is created; the new room is a public room associated with a "file" object with the file id of the given share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file). + /// In any case, to create or even get the token of the room, the file must be publicly shared (like a link share, for example); an error is returned otherwise. + /// Besides the token of the room this also returns the current user ID and display name, if any; this is needed by the Talk sidebar to know the actual current user, as the public share page uses the incognito mode and thus logged-in users as seen as guests. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [shareToken] Token of the file share + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room token and user info returned + /// * 400: Rooms not allowed for shares + /// * 404: Share not found + /// + /// See: + /// * [getRoomByShareToken] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getRoomByShareTokenRaw({ + required final String shareToken, + final FilesIntegrationGetRoomByShareTokenApiVersion apiVersion = FilesIntegrationGetRoomByShareTokenApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/publicshare/{shareToken}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(shareToken, RegExp(r'^.+$'), 'shareToken'); // coverage:ignore-line + path = path.replaceAll('{shareToken}', Uri.encodeQueryComponent(shareToken)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class GuestClient { + GuestClient(this._rootClient); + + final Client _rootClient; + + /// Set the display name as a guest. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [displayName] New display name + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Display name updated successfully + /// * 403: Not a guest + /// * 404: Not a participant + /// + /// See: + /// * [setDisplayNameRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setDisplayName({ + required final String displayName, + required final String token, + final GuestSetDisplayNameApiVersion apiVersion = GuestSetDisplayNameApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setDisplayNameRaw( + displayName: displayName, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set the display name as a guest. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [displayName] New display name + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Display name updated successfully + /// * 403: Not a guest + /// * 404: Not a participant + /// + /// See: + /// * [setDisplayName] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setDisplayNameRaw({ + required final String displayName, + required final String token, + final GuestSetDisplayNameApiVersion apiVersion = GuestSetDisplayNameApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/guest/{token}/name'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['displayName'] = displayName; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 403, 404}, + ), + bodyType: const FullType(GuestSetDisplayNameResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class HostedSignalingServerClient { + HostedSignalingServerClient(this._rootClient); + + final Client _rootClient; + + /// Request a trial account. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [url] Server URL + /// * [name] Display name of the user + /// * [email] Email of the user + /// * [language] Language of the user + /// * [country] Country of the user + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Trial requested successfully + /// * 400: Requesting trial is not possible + /// * 500 + /// + /// See: + /// * [requestTrialRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> requestTrial({ + required final String url, + required final String name, + required final String email, + required final String language, + required final String country, + final HostedSignalingServerRequestTrialApiVersion apiVersion = HostedSignalingServerRequestTrialApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = requestTrialRaw( + url: url, + name: name, + email: email, + language: language, + country: country, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Request a trial account. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [url] Server URL + /// * [name] Display name of the user + /// * [email] Email of the user + /// * [language] Language of the user + /// * [country] Country of the user + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Trial requested successfully + /// * 400: Requesting trial is not possible + /// * 500 + /// + /// See: + /// * [requestTrial] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse requestTrialRaw({ + required final String url, + required final String name, + required final String email, + required final String language, + required final String country, + final HostedSignalingServerRequestTrialApiVersion apiVersion = HostedSignalingServerRequestTrialApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/hostedsignalingserver/requesttrial'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['url'] = url; + queryParameters['name'] = name; + queryParameters['email'] = email; + queryParameters['language'] = language; + queryParameters['country'] = country; + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete the account. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 204: Account deleted successfully + /// * 400: Deleting account is not possible + /// * 500 + /// + /// See: + /// * [deleteAccountRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteAccount({ + final HostedSignalingServerDeleteAccountApiVersion apiVersion = HostedSignalingServerDeleteAccountApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteAccountRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete the account. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 204: Account deleted successfully + /// * 400: Deleting account is not possible + /// * 500 + /// + /// See: + /// * [deleteAccount] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteAccountRaw({ + final HostedSignalingServerDeleteAccountApiVersion apiVersion = HostedSignalingServerDeleteAccountApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/hostedsignalingserver/delete'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {204}, + ), + bodyType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class MatterbridgeClient { + MatterbridgeClient(this._rootClient); + + final Client _rootClient; + + /// Get bridge information of one room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of configured bridges + /// + /// See: + /// * [getBridgeOfRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getBridgeOfRoom({ + required final String token, + final MatterbridgeGetBridgeOfRoomApiVersion apiVersion = MatterbridgeGetBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getBridgeOfRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get bridge information of one room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of configured bridges + /// + /// See: + /// * [getBridgeOfRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getBridgeOfRoomRaw({ + required final String token, + final MatterbridgeGetBridgeOfRoomApiVersion apiVersion = MatterbridgeGetBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Edit bridge information of one room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [enabled] If the bridge should be enabled + /// * [parts] New parts + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge edited successfully + /// * 406: Editing bridge is not possible + /// + /// See: + /// * [editBridgeOfRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> editBridgeOfRoom({ + required final int enabled, + required final String token, + final ContentString>>? parts, + final MatterbridgeEditBridgeOfRoomApiVersion apiVersion = MatterbridgeEditBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = editBridgeOfRoomRaw( + enabled: enabled, + token: token, + parts: parts, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Edit bridge information of one room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [enabled] If the bridge should be enabled + /// * [parts] New parts + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge edited successfully + /// * 406: Editing bridge is not possible + /// + /// See: + /// * [editBridgeOfRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse editBridgeOfRoomRaw({ + required final int enabled, + required final String token, + final ContentString>>? parts, + final MatterbridgeEditBridgeOfRoomApiVersion apiVersion = MatterbridgeEditBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['enabled'] = enabled.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (parts != null) { + queryParameters['parts'] = _jsonSerializers.serialize( + parts, + specifiedType: const FullType(ContentString, [ + FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + ]), + ]), + ); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete bridge of one room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge deleted successfully + /// * 406: Deleting bridge is not possible + /// + /// See: + /// * [deleteBridgeOfRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteBridgeOfRoom({ + required final String token, + final MatterbridgeDeleteBridgeOfRoomApiVersion apiVersion = MatterbridgeDeleteBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteBridgeOfRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete bridge of one room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge deleted successfully + /// * 406: Deleting bridge is not possible + /// + /// See: + /// * [deleteBridgeOfRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteBridgeOfRoomRaw({ + required final String token, + final MatterbridgeDeleteBridgeOfRoomApiVersion apiVersion = MatterbridgeDeleteBridgeOfRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get bridge process information. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of running processes + /// + /// See: + /// * [getBridgeProcessStateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getBridgeProcessState({ + required final String token, + final MatterbridgeGetBridgeProcessStateApiVersion apiVersion = MatterbridgeGetBridgeProcessStateApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getBridgeProcessStateRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get bridge process information. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of running processes + /// + /// See: + /// * [getBridgeProcessState] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getBridgeProcessStateRaw({ + required final String token, + final MatterbridgeGetBridgeProcessStateApiVersion apiVersion = MatterbridgeGetBridgeProcessStateApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}/process'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class MatterbridgeSettingsClient { + MatterbridgeSettingsClient(this._rootClient); + + final Client _rootClient; + + /// Stop all bridges. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: All bridges stopped successfully + /// * 406: Stopping all bridges is not possible + /// + /// See: + /// * [stopAllBridgesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> stopAllBridges({ + final MatterbridgeSettingsStopAllBridgesApiVersion apiVersion = MatterbridgeSettingsStopAllBridgesApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = stopAllBridgesRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Stop all bridges. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: All bridges stopped successfully + /// * 406: Stopping all bridges is not possible + /// + /// See: + /// * [stopAllBridges] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse stopAllBridgesRaw({ + final MatterbridgeSettingsStopAllBridgesApiVersion apiVersion = MatterbridgeSettingsStopAllBridgesApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get Matterbridge version. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge version returned + /// * 400: Getting bridge version is not possible + /// + /// See: + /// * [getMatterbridgeVersionRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> + getMatterbridgeVersion({ + final MatterbridgeSettingsGetMatterbridgeVersionApiVersion apiVersion = + MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getMatterbridgeVersionRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get Matterbridge version. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Bridge version returned + /// * 400: Getting bridge version is not possible + /// + /// See: + /// * [getMatterbridgeVersion] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + getMatterbridgeVersionRaw({ + final MatterbridgeSettingsGetMatterbridgeVersionApiVersion apiVersion = + MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/version'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class PollClient { + PollClient(this._rootClient); + + final Client _rootClient; + + /// Create a poll. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [question] Question of the poll + /// * [options] Options of the poll + /// * [resultMode] Mode how the results will be shown + /// * [maxVotes] Number of maximum votes per voter + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Poll created successfully + /// * 400: Creating poll is not possible + /// + /// See: + /// * [createPollRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> createPoll({ + required final String question, + required final List options, + required final int resultMode, + required final int maxVotes, + required final String token, + final PollCreatePollApiVersion apiVersion = PollCreatePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = createPollRaw( + question: question, + options: options, + resultMode: resultMode, + maxVotes: maxVotes, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Create a poll. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [question] Question of the poll + /// * [options] Options of the poll + /// * [resultMode] Mode how the results will be shown + /// * [maxVotes] Number of maximum votes per voter + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Poll created successfully + /// * 400: Creating poll is not possible + /// + /// See: + /// * [createPoll] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse createPollRaw({ + required final String question, + required final List options, + required final int resultMode, + required final int maxVotes, + required final String token, + final PollCreatePollApiVersion apiVersion = PollCreatePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['question'] = question; + queryParameters['options[]'] = options.map((final e) => e); + queryParameters['resultMode'] = resultMode.toString(); + queryParameters['maxVotes'] = maxVotes.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(PollCreatePollResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get a poll. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Poll returned + /// * 404: Poll not found + /// + /// See: + /// * [showPollRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> showPoll({ + required final String token, + required final int pollId, + final PollShowPollApiVersion apiVersion = PollShowPollApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = showPollRaw( + token: token, + pollId: pollId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get a poll. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Poll returned + /// * 404: Poll not found + /// + /// See: + /// * [showPoll] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse showPollRaw({ + required final String token, + required final int pollId, + final PollShowPollApiVersion apiVersion = PollShowPollApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{pollId}', Uri.encodeQueryComponent(pollId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(PollShowPollResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Vote on a poll. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [optionIds] IDs of the selected options + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Voted successfully + /// * 400: Voting is not possible + /// * 404: Poll not found + /// + /// See: + /// * [votePollRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> votePoll({ + required final String token, + required final int pollId, + final List optionIds = const [], + final PollVotePollApiVersion apiVersion = PollVotePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = votePollRaw( + token: token, + pollId: pollId, + optionIds: optionIds, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Vote on a poll. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [optionIds] IDs of the selected options + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Voted successfully + /// * 400: Voting is not possible + /// * 404: Poll not found + /// + /// See: + /// * [votePoll] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse votePollRaw({ + required final String token, + required final int pollId, + final List optionIds = const [], + final PollVotePollApiVersion apiVersion = PollVotePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{pollId}', Uri.encodeQueryComponent(pollId.toString())); + if (optionIds != const []) { + queryParameters['optionIds[]'] = optionIds.map((final e) => e.toString()); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(PollVotePollResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Close a poll. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Poll closed successfully + /// * 400: Poll already closed + /// * 403: Missing permissions to close poll + /// * 404: Poll not found + /// * 500 + /// + /// See: + /// * [closePollRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> closePoll({ + required final String token, + required final int pollId, + final PollClosePollApiVersion apiVersion = PollClosePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = closePollRaw( + token: token, + pollId: pollId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Close a poll. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [pollId] ID of the poll + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Poll closed successfully + /// * 400: Poll already closed + /// * 403: Missing permissions to close poll + /// * 404: Poll not found + /// * 500 + /// + /// See: + /// * [closePoll] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse closePollRaw({ + required final String token, + required final int pollId, + final PollClosePollApiVersion apiVersion = PollClosePollApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{pollId}', Uri.encodeQueryComponent(pollId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(PollClosePollResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class PublicShareAuthClient { + PublicShareAuthClient(this._rootClient); + + final Client _rootClient; + + /// Creates a new room for requesting the password of a share. + /// + /// The new room is a public room associated with a "share:password" object with the ID of the share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms always created by a guest or user on behalf of a registered user, the sharer, who will be the owner of the room. + /// The share must have "send password by Talk" enabled; an error is returned otherwise. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [shareToken] Token of the file share + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Room created successfully + /// * 404: Share not found + /// + /// See: + /// * [createRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> createRoom({ + required final String shareToken, + final PublicShareAuthCreateRoomApiVersion apiVersion = PublicShareAuthCreateRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = createRoomRaw( + shareToken: shareToken, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Creates a new room for requesting the password of a share. + /// + /// The new room is a public room associated with a "share:password" object with the ID of the share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms always created by a guest or user on behalf of a registered user, the sharer, who will be the owner of the room. + /// The share must have "send password by Talk" enabled; an error is returned otherwise. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [shareToken] Token of the file share + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 201: Room created successfully + /// * 404: Share not found + /// + /// See: + /// * [createRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse createRoomRaw({ + required final String shareToken, + final PublicShareAuthCreateRoomApiVersion apiVersion = PublicShareAuthCreateRoomApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/publicshareauth'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['shareToken'] = shareToken; + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {201}, + ), + bodyType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class ReactionClient { + ReactionClient(this._rootClient); + + final Client _rootClient; + + /// Get a list of reactions for a message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to filter + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reactions returned + /// * 404: Message or reaction not found + /// + /// See: + /// * [getReactionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getReactions({ + required final String token, + required final int messageId, + final String? reaction, + final ReactionGetReactionsApiVersion apiVersion = ReactionGetReactionsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getReactionsRaw( + token: token, + messageId: messageId, + reaction: reaction, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get a list of reactions for a message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to filter + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reactions returned + /// * 404: Message or reaction not found + /// + /// See: + /// * [getReactions] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getReactionsRaw({ + required final String token, + required final int messageId, + final String? reaction, + final ReactionGetReactionsApiVersion apiVersion = ReactionGetReactionsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/reaction/{token}/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + if (reaction != null) { + queryParameters['reaction'] = reaction; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ReactionGetReactionsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Add a reaction to a message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to add + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction already existed + /// * 201: Reaction added successfully + /// * 400: Adding reaction is not possible + /// * 404: Message not found + /// + /// See: + /// * [reactRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> react({ + required final String reaction, + required final String token, + required final int messageId, + final ReactionReactApiVersion apiVersion = ReactionReactApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = reactRaw( + reaction: reaction, + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Add a reaction to a message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to add + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction already existed + /// * 201: Reaction added successfully + /// * 400: Adding reaction is not possible + /// * 404: Message not found + /// + /// See: + /// * [react] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse reactRaw({ + required final String reaction, + required final String token, + required final int messageId, + final ReactionReactApiVersion apiVersion = ReactionReactApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/reaction/{token}/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['reaction'] = reaction; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 201}, + ), + bodyType: const FullType(ReactionReactResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete a reaction from a message. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to remove + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction deleted successfully + /// * 400: Deleting reaction is not possible + /// * 404: Message not found + /// + /// See: + /// * [deleteRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> delete({ + required final String reaction, + required final String token, + required final int messageId, + final ReactionDeleteApiVersion apiVersion = ReactionDeleteApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteRaw( + reaction: reaction, + token: token, + messageId: messageId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete a reaction from a message. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [reaction] Emoji to remove + /// * [apiVersion] + /// * [token] + /// * [messageId] ID of the message + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Reaction deleted successfully + /// * 400: Deleting reaction is not possible + /// * 404: Message not found + /// + /// See: + /// * [delete] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteRaw({ + required final String reaction, + required final String token, + required final int messageId, + final ReactionDeleteApiVersion apiVersion = ReactionDeleteApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/reaction/{token}/{messageId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['reaction'] = reaction; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(ReactionDeleteResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class RecordingClient { + RecordingClient(this._rootClient); + + final Client _rootClient; + + /// Get the welcome message of a recording server. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [serverId] ID of the server + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Welcome message returned + /// * 404: Recording server not found or not configured + /// * 500 + /// + /// See: + /// * [getWelcomeMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getWelcomeMessage({ + required final int serverId, + final RecordingGetWelcomeMessageApiVersion apiVersion = RecordingGetWelcomeMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getWelcomeMessageRaw( + serverId: serverId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the welcome message of a recording server. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [serverId] ID of the server + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Welcome message returned + /// * 404: Recording server not found or not configured + /// * 500 + /// + /// See: + /// * [getWelcomeMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getWelcomeMessageRaw({ + required final int serverId, + final RecordingGetWelcomeMessageApiVersion apiVersion = RecordingGetWelcomeMessageApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/welcome/{serverId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{serverId}', Uri.encodeQueryComponent(serverId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Start the recording. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [status] Type of the recording + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording started successfully + /// * 400: Starting recording is not possible + /// + /// See: + /// * [startRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> start({ + required final int status, + required final String token, + final RecordingStartApiVersion apiVersion = RecordingStartApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = startRaw( + status: status, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Start the recording. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [status] Type of the recording + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording started successfully + /// * 400: Starting recording is not possible + /// + /// See: + /// * [start] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse startRaw({ + required final int status, + required final String token, + final RecordingStartApiVersion apiVersion = RecordingStartApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['status'] = status.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingStartResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Stop the recording. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording stopped successfully + /// * 400: Stopping recording is not possible + /// + /// See: + /// * [stopRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> stop({ + required final String token, + final RecordingStopApiVersion apiVersion = RecordingStopApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = stopRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Stop the recording. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording stopped successfully + /// * 400: Stopping recording is not possible + /// + /// See: + /// * [stop] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse stopRaw({ + required final String token, + final RecordingStopApiVersion apiVersion = RecordingStopApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingStopResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Store the recording. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [owner] User that will own the recording file + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording stored successfully + /// * 400: Storing recording is not possible + /// * 401: Missing permissions to store recording + /// + /// See: + /// * [storeRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> store({ + required final String owner, + required final String token, + final RecordingStoreApiVersion apiVersion = RecordingStoreApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = storeRaw( + owner: owner, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Store the recording. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [owner] User that will own the recording file + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording stored successfully + /// * 400: Storing recording is not possible + /// * 401: Missing permissions to store recording + /// + /// See: + /// * [store] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse storeRaw({ + required final String owner, + required final String token, + final RecordingStoreApiVersion apiVersion = RecordingStoreApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/store'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['owner'] = owner; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingStoreResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Dismiss the store call recording notification. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [timestamp] Timestamp of the notification to be dismissed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Notification dismissed successfully + /// * 400: Dismissing notification is not possible + /// + /// See: + /// * [notificationDismissRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> notificationDismiss({ + required final int timestamp, + required final String token, + final RecordingNotificationDismissApiVersion apiVersion = RecordingNotificationDismissApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = notificationDismissRaw( + timestamp: timestamp, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Dismiss the store call recording notification. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [timestamp] Timestamp of the notification to be dismissed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Notification dismissed successfully + /// * 400: Dismissing notification is not possible + /// + /// See: + /// * [notificationDismiss] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse notificationDismissRaw({ + required final int timestamp, + required final String token, + final RecordingNotificationDismissApiVersion apiVersion = RecordingNotificationDismissApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/notification'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['timestamp'] = timestamp.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingNotificationDismissResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Share the recorded file to the chat. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [fileId] ID of the file + /// * [timestamp] Timestamp of the notification to be dismissed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording shared to chat successfully + /// * 400: Sharing recording to chat is not possible + /// + /// See: + /// * [shareToChatRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> shareToChat({ + required final int fileId, + required final int timestamp, + required final String token, + final RecordingShareToChatApiVersion apiVersion = RecordingShareToChatApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = shareToChatRaw( + fileId: fileId, + timestamp: timestamp, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Share the recorded file to the chat. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [fileId] ID of the file + /// * [timestamp] Timestamp of the notification to be dismissed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording shared to chat successfully + /// * 400: Sharing recording to chat is not possible + /// + /// See: + /// * [shareToChat] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse shareToChatRaw({ + required final int fileId, + required final int timestamp, + required final String token, + final RecordingShareToChatApiVersion apiVersion = RecordingShareToChatApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/share-chat'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['fileId'] = fileId.toString(); + queryParameters['timestamp'] = timestamp.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RecordingShareToChatResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class RoomClient { + RoomClient(this._rootClient); + + final Client _rootClient; + + /// Get all currently existent rooms which the user has joined. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [noStatusUpdate] When the user status should not be automatically set to online set to 1 (default 0) + /// * [includeStatus] Include the user status + /// * [modifiedSince] Filter rooms modified after a timestamp + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of rooms + /// + /// See: + /// * [getRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getRooms({ + final int noStatusUpdate = 0, + final int includeStatus = 0, + final int modifiedSince = 0, + final RoomGetRoomsApiVersion apiVersion = RoomGetRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getRoomsRaw( + noStatusUpdate: noStatusUpdate, + includeStatus: includeStatus, + modifiedSince: modifiedSince, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get all currently existent rooms which the user has joined. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [noStatusUpdate] When the user status should not be automatically set to online set to 1 (default 0) + /// * [includeStatus] Include the user status + /// * [modifiedSince] Filter rooms modified after a timestamp + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of rooms + /// + /// See: + /// * [getRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getRoomsRaw({ + final int noStatusUpdate = 0, + final int includeStatus = 0, + final int modifiedSince = 0, + final RoomGetRoomsApiVersion apiVersion = RoomGetRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + if (noStatusUpdate != 0) { + queryParameters['noStatusUpdate'] = noStatusUpdate.toString(); + } + if (includeStatus != 0) { + queryParameters['includeStatus'] = includeStatus.toString(); + } + if (modifiedSince != 0) { + queryParameters['modifiedSince'] = modifiedSince.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetRoomsResponseApplicationJson), + headersType: const FullType(RoomRoomGetRoomsHeaders), + serializers: _jsonSerializers, + ); + } + + /// Create a room with a user, a group or a circle. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [roomType] Type of the room + /// * [invite] User, group, … ID to invite + /// * [roomName] Name of the room + /// * [source] Source of the invite ID ('circles' to create a room with a circle, etc.) + /// * [objectType] Type of the object + /// * [objectId] ID of the object + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room already existed + /// * 201: Room created successfully + /// * 400: Room type invalid + /// * 403: Missing permissions to create room + /// * 404: User, group or other target to invite was not found + /// + /// See: + /// * [createRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> createRoom({ + required final int roomType, + final String invite = '', + final String roomName = '', + final String source = '', + final String objectType = '', + final String objectId = '', + final RoomCreateRoomApiVersion apiVersion = RoomCreateRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = createRoomRaw( + roomType: roomType, + invite: invite, + roomName: roomName, + source: source, + objectType: objectType, + objectId: objectId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Create a room with a user, a group or a circle. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [roomType] Type of the room + /// * [invite] User, group, … ID to invite + /// * [roomName] Name of the room + /// * [source] Source of the invite ID ('circles' to create a room with a circle, etc.) + /// * [objectType] Type of the object + /// * [objectId] ID of the object + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room already existed + /// * 201: Room created successfully + /// * 400: Room type invalid + /// * 403: Missing permissions to create room + /// * 404: User, group or other target to invite was not found + /// + /// See: + /// * [createRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse createRoomRaw({ + required final int roomType, + final String invite = '', + final String roomName = '', + final String source = '', + final String objectType = '', + final String objectId = '', + final RoomCreateRoomApiVersion apiVersion = RoomCreateRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['roomType'] = roomType.toString(); + if (invite != '') { + queryParameters['invite'] = invite; + } + if (roomName != '') { + queryParameters['roomName'] = roomName; + } + if (source != '') { + queryParameters['source'] = source; + } + if (objectType != '') { + queryParameters['objectType'] = objectType; + } + if (objectId != '') { + queryParameters['objectId'] = objectId; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 201}, + ), + bodyType: const FullType(RoomCreateRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get listed rooms with optional search term. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [searchTerm] search term + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of matching rooms + /// + /// See: + /// * [getListedRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getListedRooms({ + final String searchTerm = '', + final RoomGetListedRoomsApiVersion apiVersion = RoomGetListedRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getListedRoomsRaw( + searchTerm: searchTerm, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get listed rooms with optional search term. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [searchTerm] search term + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Return list of matching rooms + /// + /// See: + /// * [getListedRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getListedRoomsRaw({ + final String searchTerm = '', + final RoomGetListedRoomsApiVersion apiVersion = RoomGetListedRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/listed-room'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + if (searchTerm != '') { + queryParameters['searchTerm'] = searchTerm; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetListedRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get the "Note to self" conversation for the user. + /// + /// It will be automatically created when it is currently missing. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room returned successfully + /// + /// See: + /// * [getNoteToSelfConversationRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future< + DynamiteResponse> getNoteToSelfConversation({ + final RoomGetNoteToSelfConversationApiVersion apiVersion = RoomGetNoteToSelfConversationApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getNoteToSelfConversationRaw( + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the "Note to self" conversation for the user. + /// + /// It will be automatically created when it is currently missing. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room returned successfully + /// + /// See: + /// * [getNoteToSelfConversation] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse + getNoteToSelfConversationRaw({ + final RoomGetNoteToSelfConversationApiVersion apiVersion = RoomGetNoteToSelfConversationApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/note-to-self'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson), + headersType: const FullType(RoomRoomGetNoteToSelfConversationHeaders), + serializers: _jsonSerializers, + ); + } + + /// Get a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room returned + /// * 401: SIP request invalid + /// * 404: Room not found + /// + /// See: + /// * [getSingleRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getSingleRoom({ + required final String token, + final RoomGetSingleRoomApiVersion apiVersion = RoomGetSingleRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getSingleRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room returned + /// * 401: SIP request invalid + /// * 404: Room not found + /// + /// See: + /// * [getSingleRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getSingleRoomRaw({ + required final String token, + final RoomGetSingleRoomApiVersion apiVersion = RoomGetSingleRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetSingleRoomResponseApplicationJson), + headersType: const FullType(RoomRoomGetSingleRoomHeaders), + serializers: _jsonSerializers, + ); + } + + /// Rename a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [roomName] New name + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room renamed successfully + /// * 400: Renaming room is not possible + /// + /// See: + /// * [renameRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> renameRoom({ + required final String roomName, + required final String token, + final RoomRenameRoomApiVersion apiVersion = RoomRenameRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = renameRoomRaw( + roomName: roomName, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Rename a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [roomName] New name + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room renamed successfully + /// * 400: Renaming room is not possible + /// + /// See: + /// * [renameRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse renameRoomRaw({ + required final String roomName, + required final String token, + final RoomRenameRoomApiVersion apiVersion = RoomRenameRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['roomName'] = roomName; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomRenameRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room successfully deleted + /// * 400: Deleting room is not possible + /// + /// See: + /// * [deleteRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteRoom({ + required final String token, + final RoomDeleteRoomApiVersion apiVersion = RoomDeleteRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room successfully deleted + /// * 400: Deleting room is not possible + /// + /// See: + /// * [deleteRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteRoomRaw({ + required final String token, + final RoomDeleteRoomApiVersion apiVersion = RoomDeleteRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomDeleteRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get all (for moderators and in case of "free selection") or the assigned breakout room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms returned + /// * 400: Getting breakout rooms is not possible + /// + /// See: + /// * [getBreakoutRoomsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getBreakoutRooms({ + required final String token, + final RoomGetBreakoutRoomsApiVersion apiVersion = RoomGetBreakoutRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getBreakoutRoomsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get all (for moderators and in case of "free selection") or the assigned breakout room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout rooms returned + /// * 400: Getting breakout rooms is not possible + /// + /// See: + /// * [getBreakoutRooms] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getBreakoutRoomsRaw({ + required final String token, + final RoomGetBreakoutRoomsApiVersion apiVersion = RoomGetBreakoutRoomsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/breakout-rooms'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Allowed guests to join conversation. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Allowed guests successfully + /// * 400: Allowing guests is not possible + /// + /// See: + /// * [makePublicRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> makePublic({ + required final String token, + final RoomMakePublicApiVersion apiVersion = RoomMakePublicApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = makePublicRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Allowed guests to join conversation. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Allowed guests successfully + /// * 400: Allowing guests is not possible + /// + /// See: + /// * [makePublic] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse makePublicRaw({ + required final String token, + final RoomMakePublicApiVersion apiVersion = RoomMakePublicApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/public'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomMakePublicResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Disallowed guests to join conversation. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room unpublished Disallowing guests successfully + /// * 400: Disallowing guests is not possible + /// + /// See: + /// * [makePrivateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> makePrivate({ + required final String token, + final RoomMakePrivateApiVersion apiVersion = RoomMakePrivateApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = makePrivateRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Disallowed guests to join conversation. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room unpublished Disallowing guests successfully + /// * 400: Disallowing guests is not possible + /// + /// See: + /// * [makePrivate] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse makePrivateRaw({ + required final String token, + final RoomMakePrivateApiVersion apiVersion = RoomMakePrivateApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/public'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomMakePrivateResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the description of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [description] New description + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Description updated successfully + /// * 400: Updating description is not possible + /// + /// See: + /// * [setDescriptionRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setDescription({ + required final String description, + required final String token, + final RoomSetDescriptionApiVersion apiVersion = RoomSetDescriptionApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setDescriptionRaw( + description: description, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the description of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [description] New description + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Description updated successfully + /// * 400: Updating description is not possible + /// + /// See: + /// * [setDescription] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setDescriptionRaw({ + required final String description, + required final String token, + final RoomSetDescriptionApiVersion apiVersion = RoomSetDescriptionApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/description'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['description'] = description; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomSetDescriptionResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set read-only state of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New read-only state + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read-only state updated successfully + /// * 400: Updating read-only state is not possible + /// + /// See: + /// * [setReadOnlyRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setReadOnly({ + required final int state, + required final String token, + final RoomSetReadOnlyApiVersion apiVersion = RoomSetReadOnlyApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setReadOnlyRaw( + state: state, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set read-only state of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New read-only state + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Read-only state updated successfully + /// * 400: Updating read-only state is not possible + /// + /// See: + /// * [setReadOnly] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setReadOnlyRaw({ + required final int state, + required final String token, + final RoomSetReadOnlyApiVersion apiVersion = RoomSetReadOnlyApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/read-only'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['state'] = state.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomSetReadOnlyResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Make a room listable. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [scope] Scope where the room is listable + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Made room listable successfully + /// * 400: Making room listable is not possible + /// + /// See: + /// * [setListableRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setListable({ + required final int scope, + required final String token, + final RoomSetListableApiVersion apiVersion = RoomSetListableApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setListableRaw( + scope: scope, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Make a room listable. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [scope] Scope where the room is listable + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Made room listable successfully + /// * 400: Making room listable is not possible + /// + /// See: + /// * [setListable] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setListableRaw({ + required final int scope, + required final String token, + final RoomSetListableApiVersion apiVersion = RoomSetListableApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/listable'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['scope'] = scope.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomSetListableResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set a password for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [password] New password + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Password set successfully + /// * 403: Setting password is not allowed + /// * 400: Setting password is not possible + /// + /// See: + /// * [setPasswordRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setPassword({ + required final String password, + required final String token, + final RoomSetPasswordApiVersion apiVersion = RoomSetPasswordApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setPasswordRaw( + password: password, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set a password for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [password] New password + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Password set successfully + /// * 403: Setting password is not allowed + /// * 400: Setting password is not possible + /// + /// See: + /// * [setPassword] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setPasswordRaw({ + required final String password, + required final String token, + final RoomSetPasswordApiVersion apiVersion = RoomSetPasswordApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/password'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['password'] = password; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 403}, + ), + bodyType: const FullType(RoomSetPasswordResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the permissions of a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [mode] Level of the permissions ('call', 'default') + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// + /// See: + /// * [setPermissionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setPermissions({ + required final int permissions, + required final String token, + required final String mode, + final RoomSetPermissionsApiVersion apiVersion = RoomSetPermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setPermissionsRaw( + permissions: permissions, + token: token, + mode: mode, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the permissions of a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [mode] Level of the permissions ('call', 'default') + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// + /// See: + /// * [setPermissions] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setPermissionsRaw({ + required final int permissions, + required final String token, + required final String mode, + final RoomSetPermissionsApiVersion apiVersion = RoomSetPermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/permissions/{mode}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['permissions'] = permissions.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + checkPattern(mode, RegExp(r'^(call|default)$'), 'mode'); // coverage:ignore-line + path = path.replaceAll('{mode}', Uri.encodeQueryComponent(mode)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetPermissionsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get a list of participants for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participants returned + /// * 403: Missing permissions for getting participants + /// + /// See: + /// * [getParticipantsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getParticipants({ + required final String token, + final int includeStatus = 0, + final RoomGetParticipantsApiVersion apiVersion = RoomGetParticipantsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getParticipantsRaw( + token: token, + includeStatus: includeStatus, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get a list of participants for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participants returned + /// * 403: Missing permissions for getting participants + /// + /// See: + /// * [getParticipants] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getParticipantsRaw({ + required final String token, + final int includeStatus = 0, + final RoomGetParticipantsApiVersion apiVersion = RoomGetParticipantsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (includeStatus != 0) { + queryParameters['includeStatus'] = includeStatus.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetParticipantsResponseApplicationJson), + headersType: const FullType(RoomRoomGetParticipantsHeaders), + serializers: _jsonSerializers, + ); + } + + /// Add a participant to a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [newParticipant] New participant + /// * [source] Source of the participant + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participant successfully added + /// * 404: User, group or other target to invite was not found + /// * 501 + /// * 400: Adding participant is not possible + /// + /// See: + /// * [addParticipantToRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> addParticipantToRoom({ + required final String newParticipant, + required final String token, + final String source = 'users', + final RoomAddParticipantToRoomApiVersion apiVersion = RoomAddParticipantToRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = addParticipantToRoomRaw( + newParticipant: newParticipant, + token: token, + source: source, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Add a participant to a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [newParticipant] New participant + /// * [source] Source of the participant + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participant successfully added + /// * 404: User, group or other target to invite was not found + /// * 501 + /// * 400: Adding participant is not possible + /// + /// See: + /// * [addParticipantToRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse addParticipantToRoomRaw({ + required final String newParticipant, + required final String token, + final String source = 'users', + final RoomAddParticipantToRoomApiVersion apiVersion = RoomAddParticipantToRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['newParticipant'] = newParticipant; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (source != 'users') { + queryParameters['source'] = source; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomAddParticipantToRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get the breakout room participants for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout room participants returned + /// * 400: Getting breakout room participants is not possible + /// * 403: Missing permissions to get breakout room participants + /// + /// See: + /// * [getBreakoutRoomParticipantsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future< + DynamiteResponse> getBreakoutRoomParticipants({ + required final String token, + final int includeStatus = 0, + final RoomGetBreakoutRoomParticipantsApiVersion apiVersion = RoomGetBreakoutRoomParticipantsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getBreakoutRoomParticipantsRaw( + token: token, + includeStatus: includeStatus, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the breakout room participants for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [includeStatus] Include the user statuses + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Breakout room participants returned + /// * 400: Getting breakout room participants is not possible + /// * 403: Missing permissions to get breakout room participants + /// + /// See: + /// * [getBreakoutRoomParticipants] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getBreakoutRoomParticipantsRaw({ + required final String token, + final int includeStatus = 0, + final RoomGetBreakoutRoomParticipantsApiVersion apiVersion = RoomGetBreakoutRoomParticipantsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/breakout-rooms/participants'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (includeStatus != 0) { + queryParameters['includeStatus'] = includeStatus.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson), + headersType: const FullType(RoomRoomGetBreakoutRoomParticipantsHeaders), + serializers: _jsonSerializers, + ); + } + + /// Remove the current user from a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participant removed successfully + /// * 400: Removing participant is not possible + /// * 404: Participant not found + /// + /// See: + /// * [removeSelfFromRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> removeSelfFromRoom({ + required final String token, + final RoomRemoveSelfFromRoomApiVersion apiVersion = RoomRemoveSelfFromRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = removeSelfFromRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Remove the current user from a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Participant removed successfully + /// * 400: Removing participant is not possible + /// * 404: Participant not found + /// + /// See: + /// * [removeSelfFromRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse removeSelfFromRoomRaw({ + required final String token, + final RoomRemoveSelfFromRoomApiVersion apiVersion = RoomRemoveSelfFromRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/self'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400, 404}, + ), + bodyType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Remove an attendee from a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee removed successfully + /// * 400: Removing attendee is not possible + /// * 403: Removing attendee is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [removeAttendeeFromRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> removeAttendeeFromRoom({ + required final int attendeeId, + required final String token, + final RoomRemoveAttendeeFromRoomApiVersion apiVersion = RoomRemoveAttendeeFromRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = removeAttendeeFromRoomRaw( + attendeeId: attendeeId, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Remove an attendee from a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee removed successfully + /// * 400: Removing attendee is not possible + /// * 403: Removing attendee is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [removeAttendeeFromRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse removeAttendeeFromRoomRaw({ + required final int attendeeId, + required final String token, + final RoomRemoveAttendeeFromRoomApiVersion apiVersion = RoomRemoveAttendeeFromRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['attendeeId'] = attendeeId.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400, 403, 404}, + ), + bodyType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the permissions of an attendee. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [method] Method of updating permissions ('set', 'remove', 'add') + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// * 403: Missing permissions to update permissions + /// * 404: Attendee not found + /// + /// See: + /// * [setAttendeePermissionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setAttendeePermissions({ + required final int attendeeId, + required final String method, + required final int permissions, + required final String token, + final RoomSetAttendeePermissionsApiVersion apiVersion = RoomSetAttendeePermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setAttendeePermissionsRaw( + attendeeId: attendeeId, + method: method, + permissions: permissions, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the permissions of an attendee. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [method] Method of updating permissions ('set', 'remove', 'add') + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// * 403: Missing permissions to update permissions + /// * 404: Attendee not found + /// + /// See: + /// * [setAttendeePermissions] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setAttendeePermissionsRaw({ + required final int attendeeId, + required final String method, + required final int permissions, + required final String token, + final RoomSetAttendeePermissionsApiVersion apiVersion = RoomSetAttendeePermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees/permissions'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['attendeeId'] = attendeeId.toString(); + queryParameters['method'] = method; + queryParameters['permissions'] = permissions.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200, 400, 403, 404}, + ), + bodyType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the permissions of all attendees. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [method] Method of updating permissions ('set', 'remove', 'add') + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// + /// See: + /// * [setAllAttendeesPermissionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setAllAttendeesPermissions({ + required final String method, + required final int permissions, + required final String token, + final RoomSetAllAttendeesPermissionsApiVersion apiVersion = RoomSetAllAttendeesPermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setAllAttendeesPermissionsRaw( + method: method, + permissions: permissions, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the permissions of all attendees. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [method] Method of updating permissions ('set', 'remove', 'add') + /// * [permissions] New permissions + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Permissions updated successfully + /// * 400: Updating permissions is not possible + /// + /// See: + /// * [setAllAttendeesPermissions] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setAllAttendeesPermissionsRaw({ + required final String method, + required final int permissions, + required final String token, + final RoomSetAllAttendeesPermissionsApiVersion apiVersion = RoomSetAllAttendeesPermissionsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees/permissions/all'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['method'] = method; + queryParameters['permissions'] = permissions.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Join a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [password] Password of the room + /// * [force] Create a new session if necessary + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room joined successfully + /// * 403: Joining room is not allowed + /// * 404: Room not found + /// * 409: Session already exists + /// + /// See: + /// * [joinRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> joinRoom({ + required final String token, + final String password = '', + final int force = 1, + final RoomJoinRoomApiVersion apiVersion = RoomJoinRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = joinRoomRaw( + token: token, + password: password, + force: force, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Join a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [password] Password of the room + /// * [force] Create a new session if necessary + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Room joined successfully + /// * 403: Joining room is not allowed + /// * 404: Room not found + /// * 409: Session already exists + /// + /// See: + /// * [joinRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse joinRoomRaw({ + required final String token, + final String password = '', + final int force = 1, + final RoomJoinRoomApiVersion apiVersion = RoomJoinRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/active'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (password != '') { + queryParameters['password'] = password; + } + if (force != 1) { + queryParameters['force'] = force.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomJoinRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Leave a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully left the room + /// + /// See: + /// * [leaveRoomRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> leaveRoom({ + required final String token, + final RoomLeaveRoomApiVersion apiVersion = RoomLeaveRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = leaveRoomRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Leave a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully left the room + /// + /// See: + /// * [leaveRoom] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse leaveRoomRaw({ + required final String token, + final RoomLeaveRoomApiVersion apiVersion = RoomLeaveRoomApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/active'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomLeaveRoomResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Resend invitations. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invitation resent successfully + /// * 404: Attendee not found + /// + /// See: + /// * [resendInvitationsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> resendInvitations({ + required final String token, + final int? attendeeId, + final RoomResendInvitationsApiVersion apiVersion = RoomResendInvitationsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = resendInvitationsRaw( + token: token, + attendeeId: attendeeId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Resend invitations. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Invitation resent successfully + /// * 404: Attendee not found + /// + /// See: + /// * [resendInvitations] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse resendInvitationsRaw({ + required final String token, + final int? attendeeId, + final RoomResendInvitationsApiVersion apiVersion = RoomResendInvitationsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/resend-invitations'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (attendeeId != null) { + queryParameters['attendeeId'] = attendeeId.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 404}, + ), + bodyType: const FullType(RoomResendInvitationsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set active state for a session. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] of the room + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Session state set successfully + /// * 400: The provided new state was invalid + /// + /// See: + /// * [setSessionStateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setSessionState({ + required final int state, + required final String token, + final RoomSetSessionStateApiVersion apiVersion = RoomSetSessionStateApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setSessionStateRaw( + state: state, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set active state for a session. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] of the room + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Session state set successfully + /// * 400: The provided new state was invalid + /// + /// See: + /// * [setSessionState] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setSessionStateRaw({ + required final int state, + required final String token, + final RoomSetSessionStateApiVersion apiVersion = RoomSetSessionStateApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/state'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['state'] = state.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetSessionStateResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Promote an attendee to moderator. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee promoted to moderator successfully + /// * 400: Promoting attendee to moderator is not possible + /// * 403: Promoting attendee to moderator is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [promoteModeratorRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> promoteModerator({ + required final int attendeeId, + required final String token, + final RoomPromoteModeratorApiVersion apiVersion = RoomPromoteModeratorApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = promoteModeratorRaw( + attendeeId: attendeeId, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Promote an attendee to moderator. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee promoted to moderator successfully + /// * 400: Promoting attendee to moderator is not possible + /// * 403: Promoting attendee to moderator is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [promoteModerator] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse promoteModeratorRaw({ + required final int attendeeId, + required final String token, + final RoomPromoteModeratorApiVersion apiVersion = RoomPromoteModeratorApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/moderators'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['attendeeId'] = attendeeId.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400, 403, 404}, + ), + bodyType: const FullType(RoomPromoteModeratorResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Demote an attendee from moderator. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee demoted from moderator successfully + /// * 400: Demoting attendee from moderator is not possible + /// * 403: Demoting attendee from moderator is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [demoteModeratorRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> demoteModerator({ + required final int attendeeId, + required final String token, + final RoomDemoteModeratorApiVersion apiVersion = RoomDemoteModeratorApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = demoteModeratorRaw( + attendeeId: attendeeId, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Demote an attendee from moderator. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [attendeeId] ID of the attendee + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Attendee demoted from moderator successfully + /// * 400: Demoting attendee from moderator is not possible + /// * 403: Demoting attendee from moderator is not allowed + /// * 404: Attendee not found + /// + /// See: + /// * [demoteModerator] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse demoteModeratorRaw({ + required final int attendeeId, + required final String token, + final RoomDemoteModeratorApiVersion apiVersion = RoomDemoteModeratorApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/moderators'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['attendeeId'] = attendeeId.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400, 403, 404}, + ), + bodyType: const FullType(RoomDemoteModeratorResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Add a room to the favorites. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully added room to favorites + /// + /// See: + /// * [addToFavoritesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> addToFavorites({ + required final String token, + final RoomAddToFavoritesApiVersion apiVersion = RoomAddToFavoritesApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = addToFavoritesRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Add a room to the favorites. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully added room to favorites + /// + /// See: + /// * [addToFavorites] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse addToFavoritesRaw({ + required final String token, + final RoomAddToFavoritesApiVersion apiVersion = RoomAddToFavoritesApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/favorite'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomAddToFavoritesResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Remove a room from the favorites. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully removed room from favorites + /// + /// See: + /// * [removeFromFavoritesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> removeFromFavorites({ + required final String token, + final RoomRemoveFromFavoritesApiVersion apiVersion = RoomRemoveFromFavoritesApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = removeFromFavoritesRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Remove a room from the favorites. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully removed room from favorites + /// + /// See: + /// * [removeFromFavorites] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse removeFromFavoritesRaw({ + required final String token, + final RoomRemoveFromFavoritesApiVersion apiVersion = RoomRemoveFromFavoritesApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/favorite'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the notification level for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [level] New level + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Notification level updated successfully + /// * 400: Updating notification level is not possible + /// + /// See: + /// * [setNotificationLevelRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setNotificationLevel({ + required final int level, + required final String token, + final RoomSetNotificationLevelApiVersion apiVersion = RoomSetNotificationLevelApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setNotificationLevelRaw( + level: level, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the notification level for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [level] New level + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Notification level updated successfully + /// * 400: Updating notification level is not possible + /// + /// See: + /// * [setNotificationLevel] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setNotificationLevelRaw({ + required final int level, + required final String token, + final RoomSetNotificationLevelApiVersion apiVersion = RoomSetNotificationLevelApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/notify'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['level'] = level.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomSetNotificationLevelResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update call notifications. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [level] New level + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call notification level updated successfully + /// * 400: Updating call notification level is not possible + /// + /// See: + /// * [setNotificationCallsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setNotificationCalls({ + required final int level, + required final String token, + final RoomSetNotificationCallsApiVersion apiVersion = RoomSetNotificationCallsApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setNotificationCallsRaw( + level: level, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update call notifications. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [level] New level + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Call notification level updated successfully + /// * 400: Updating call notification level is not possible + /// + /// See: + /// * [setNotificationCalls] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setNotificationCallsRaw({ + required final int level, + required final String token, + final RoomSetNotificationCallsApiVersion apiVersion = RoomSetNotificationCallsApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/notify-calls'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['level'] = level.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(RoomSetNotificationCallsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update the lobby state for a room. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New state + /// * [timer] Timer when the lobby will be removed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Lobby state updated successfully + /// * 400: Updating lobby state is not possible + /// + /// See: + /// * [setLobbyRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setLobby({ + required final int state, + required final String token, + final int? timer, + final RoomSetLobbyApiVersion apiVersion = RoomSetLobbyApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setLobbyRaw( + state: state, + token: token, + timer: timer, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update the lobby state for a room. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New state + /// * [timer] Timer when the lobby will be removed + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Lobby state updated successfully + /// * 400: Updating lobby state is not possible + /// + /// See: + /// * [setLobby] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setLobbyRaw({ + required final int state, + required final String token, + final int? timer, + final RoomSetLobbyApiVersion apiVersion = RoomSetLobbyApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/webinar/lobby'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['state'] = state.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (timer != null) { + queryParameters['timer'] = timer.toString(); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetLobbyResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update SIP enabled state. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New state + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: SIP enabled state updated successfully + /// * 400: Updating SIP enabled state is not possible + /// * 401: User not found + /// * 403: Missing permissions to update SIP enabled state + /// * 412: SIP not configured + /// + /// See: + /// * [setsipEnabledRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setsipEnabled({ + required final int state, + required final String token, + final RoomSetsipEnabledApiVersion apiVersion = RoomSetsipEnabledApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setsipEnabledRaw( + state: state, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update SIP enabled state. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [state] New state + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: SIP enabled state updated successfully + /// * 400: Updating SIP enabled state is not possible + /// * 401: User not found + /// * 403: Missing permissions to update SIP enabled state + /// * 412: SIP not configured + /// + /// See: + /// * [setsipEnabled] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setsipEnabledRaw({ + required final int state, + required final String token, + final RoomSetsipEnabledApiVersion apiVersion = RoomSetsipEnabledApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/webinar/sip'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['state'] = state.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetsipEnabledResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Set recording consent requirement for this conversation. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [recordingConsent] New consent setting for the conversation (Only {@see RecordingService::CONSENT_REQUIRED_NO} and {@see RecordingService::CONSENT_REQUIRED_YES} are allowed here.) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording consent requirement set successfully + /// * 400: Setting recording consent requirement is not possible + /// * 412: No recording server is configured + /// + /// See: + /// * [setRecordingConsentRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setRecordingConsent({ + required final int recordingConsent, + required final String token, + final RoomSetRecordingConsentApiVersion apiVersion = RoomSetRecordingConsentApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setRecordingConsentRaw( + recordingConsent: recordingConsent, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Set recording consent requirement for this conversation. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [recordingConsent] New consent setting for the conversation (Only {@see RecordingService::CONSENT_REQUIRED_NO} and {@see RecordingService::CONSENT_REQUIRED_YES} are allowed here.) + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Recording consent requirement set successfully + /// * 400: Setting recording consent requirement is not possible + /// * 412: No recording server is configured + /// + /// See: + /// * [setRecordingConsent] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setRecordingConsentRaw({ + required final int recordingConsent, + required final String token, + final RoomSetRecordingConsentApiVersion apiVersion = RoomSetRecordingConsentApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/recording-consent'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['recordingConsent'] = recordingConsent.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'put', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetRecordingConsentResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update message expiration time. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [seconds] New time + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message expiration time updated successfully + /// * 400: Updating message expiration time is not possible + /// + /// See: + /// * [setMessageExpirationRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setMessageExpiration({ + required final int seconds, + required final String token, + final RoomSetMessageExpirationApiVersion apiVersion = RoomSetMessageExpirationApiVersion.v4, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setMessageExpirationRaw( + seconds: seconds, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update message expiration time. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [seconds] New time + /// * [apiVersion] + /// * [token] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Message expiration time updated successfully + /// * 400: Updating message expiration time is not possible + /// + /// See: + /// * [setMessageExpiration] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setMessageExpirationRaw({ + required final int seconds, + required final String token, + final RoomSetMessageExpirationApiVersion apiVersion = RoomSetMessageExpirationApiVersion.v4, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/message-expiration'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['seconds'] = seconds.toString(); + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(RoomSetMessageExpirationResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class SettingsClient { + SettingsClient(this._rootClient); + + final Client _rootClient; + + /// Update SIP settings. + /// + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [sipGroups] New SIP groups + /// * [dialInInfo] New dial info + /// * [sharedSecret] New shared secret + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully set new SIP settings + /// + /// See: + /// * [setsipSettingsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setsipSettings({ + final List sipGroups = const [], + final String dialInInfo = '', + final String sharedSecret = '', + final SettingsSetsipSettingsApiVersion apiVersion = SettingsSetsipSettingsApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setsipSettingsRaw( + sipGroups: sipGroups, + dialInInfo: dialInInfo, + sharedSecret: sharedSecret, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update SIP settings. + /// + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [sipGroups] New SIP groups + /// * [dialInInfo] New dial info + /// * [sharedSecret] New shared secret + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Successfully set new SIP settings + /// + /// See: + /// * [setsipSettings] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setsipSettingsRaw({ + final List sipGroups = const [], + final String dialInInfo = '', + final String sharedSecret = '', + final SettingsSetsipSettingsApiVersion apiVersion = SettingsSetsipSettingsApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/settings/sip'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + if (sipGroups != const []) { + queryParameters['sipGroups[]'] = sipGroups.map((final e) => e); + } + if (dialInInfo != '') { + queryParameters['dialInInfo'] = dialInInfo; + } + if (sharedSecret != '') { + queryParameters['sharedSecret'] = sharedSecret; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(SettingsSetsipSettingsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Update user setting. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [key] Key to update + /// * [value] New value for the key + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: User setting updated successfully + /// * 400: Updating user setting is not possible + /// + /// See: + /// * [setUserSettingRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> setUserSetting({ + required final String key, + final ContentString? value, + final SettingsSetUserSettingApiVersion apiVersion = SettingsSetUserSettingApiVersion.v1, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = setUserSettingRaw( + key: key, + value: value, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Update user setting. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [key] Key to update + /// * [value] New value for the key + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: User setting updated successfully + /// * 400: Updating user setting is not possible + /// + /// See: + /// * [setUserSetting] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse setUserSettingRaw({ + required final String key, + final ContentString? value, + final SettingsSetUserSettingApiVersion apiVersion = SettingsSetUserSettingApiVersion.v1, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/settings/user'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + queryParameters['key'] = key; + if (value != null) { + queryParameters['value'] = _jsonSerializers.serialize( + value, + specifiedType: const FullType(ContentString, [FullType(SettingsSetUserSettingValue)]), + ); + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(SettingsSetUserSettingResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class SignalingClient { + SignalingClient(this._rootClient); + + final Client _rootClient; + + /// Get the signaling settings. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] Token of the room + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling settings returned + /// * 401: Recording request invalid + /// * 404: Room not found + /// + /// See: + /// * [getSettingsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getSettings({ + final String token = '', + final SignalingGetSettingsApiVersion apiVersion = SignalingGetSettingsApiVersion.v3, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getSettingsRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the signaling settings. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [token] Token of the room + /// * [apiVersion] + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling settings returned + /// * 401: Recording request invalid + /// * 404: Room not found + /// + /// See: + /// * [getSettings] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getSettingsRaw({ + final String token = '', + final SignalingGetSettingsApiVersion apiVersion = SignalingGetSettingsApiVersion.v3, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/settings'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + if (token != '') { + queryParameters['token'] = token; + } + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(SignalingGetSettingsResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get the welcome message from a signaling server. + /// + /// Only available for logged-in users because guests can not use the apps right now. + /// This endpoint requires admin access. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [serverId] ID of the signaling server + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Welcome message returned + /// * 404: Signaling server not found + /// * 500 + /// + /// See: + /// * [getWelcomeMessageRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> getWelcomeMessage({ + required final int serverId, + final SignalingGetWelcomeMessageApiVersion apiVersion = SignalingGetWelcomeMessageApiVersion.v3, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = getWelcomeMessageRaw( + serverId: serverId, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get the welcome message from a signaling server. + /// + /// Only available for logged-in users because guests can not use the apps right now. + /// This endpoint requires admin access. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [serverId] ID of the signaling server + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Welcome message returned + /// * 404: Signaling server not found + /// * 500 + /// + /// See: + /// * [getWelcomeMessage] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse getWelcomeMessageRaw({ + required final int serverId, + final SignalingGetWelcomeMessageApiVersion apiVersion = SignalingGetWelcomeMessageApiVersion.v3, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/welcome/{serverId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + path = path.replaceAll('{serverId}', Uri.encodeQueryComponent(serverId.toString())); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Get signaling messages. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling messages returned + /// * 404: Session, room or participant not found + /// * 409: Session killed + /// * 400: Getting signaling messages is not possible + /// + /// See: + /// * [pullMessagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> pullMessages({ + required final String token, + final SignalingPullMessagesApiVersion apiVersion = SignalingPullMessagesApiVersion.v3, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = pullMessagesRaw( + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Get signaling messages. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling messages returned + /// * 404: Session, room or participant not found + /// * 409: Session killed + /// * 400: Getting signaling messages is not possible + /// + /// See: + /// * [pullMessages] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse pullMessagesRaw({ + required final String token, + final SignalingPullMessagesApiVersion apiVersion = SignalingPullMessagesApiVersion.v3, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'get', + uri, + headers, + body, + const {200, 404, 409}, + ), + bodyType: const FullType(SignalingPullMessagesResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Send signaling messages. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [messages] JSON encoded messages + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling message sent successfully + /// * 400: Sending signaling message is not possible + /// + /// See: + /// * [signalingRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> signaling({ + required final String messages, + required final String token, + final SignalingSignalingApiVersion apiVersion = SignalingSignalingApiVersion.v3, + final bool oCSAPIRequest = true, + }) async { + final rawResponse = signalingRaw( + messages: messages, + token: token, + apiVersion: apiVersion, + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Send signaling messages. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [messages] JSON encoded messages + /// * [apiVersion] + /// * [token] Token of the room + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Signaling message sent successfully + /// * 400: Sending signaling message is not possible + /// + /// See: + /// * [signaling] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse signalingRaw({ + required final String messages, + required final String token, + final SignalingSignalingApiVersion apiVersion = SignalingSignalingApiVersion.v3, + final bool oCSAPIRequest = true, + }) { + var path = '/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } + +// coverage:ignore-end + queryParameters['messages'] = messages; + checkPattern(token, RegExp(r'^[a-z0-9]{4,30}$'), 'token'); // coverage:ignore-line + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + path = path.replaceAll('{apiVersion}', Uri.encodeQueryComponent(apiVersion.name)); + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(SignalingSignalingResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class TempAvatarClient { + TempAvatarClient(this._rootClient); + + final Client _rootClient; + + /// Upload a temporary avatar. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar uploaded successfully + /// * 400: Uploading avatar is not possible + /// + /// See: + /// * [postAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> postAvatar({ + final bool oCSAPIRequest = true, + }) async { + final rawResponse = postAvatarRaw( + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Upload a temporary avatar. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar uploaded successfully + /// * 400: Uploading avatar is not possible + /// + /// See: + /// * [postAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse postAvatarRaw({ + final bool oCSAPIRequest = true, + }) { + const path = '/ocs/v2.php/apps/spreed/temp-user-avatar'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'post', + uri, + headers, + body, + const {200}, + ), + bodyType: const FullType(TempAvatarPostAvatarResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } + + /// Delete a temporary avatar. + /// + /// Returns a [Future] containing a [DynamiteResponse] with the status code, deserialized body and headers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar deleted successfully + /// * 400: Deleting avatar is not possible + /// + /// See: + /// * [deleteAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. + Future> deleteAvatar({ + final bool oCSAPIRequest = true, + }) async { + final rawResponse = deleteAvatarRaw( + oCSAPIRequest: oCSAPIRequest, + ); + + return rawResponse.future; + } + + /// Delete a temporary avatar. + /// + /// This method and the response it returns is experimental. The API might change without a major version bump. + /// + /// Returns a [Future] containing a [DynamiteRawResponse] with the raw [HttpClientResponse] and serialization helpers. + /// Throws a [DynamiteApiException] if the API call does not return an expected status code. + /// + /// Parameters: + /// * [oCSAPIRequest] Required to be true for the API request to pass + /// + /// Status codes: + /// * 200: Avatar deleted successfully + /// * 400: Deleting avatar is not possible + /// + /// See: + /// * [deleteAvatar] for an operation that returns a [DynamiteResponse] with a stable API. + @experimental + DynamiteRawResponse deleteAvatarRaw({ + final bool oCSAPIRequest = true, + }) { + const path = '/ocs/v2.php/apps/spreed/temp-user-avatar'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + +// coverage:ignore-start + final authentication = _rootClient.authentications.firstWhereOrNull( + (final auth) => switch (auth) { + DynamiteHttpBearerAuthentication() || DynamiteHttpBasicAuthentication() => true, + _ => false, + }, + ); + + if (authentication != null) { + headers.addAll( + authentication.headers, + ); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); + } + +// coverage:ignore-end + headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + return DynamiteRawResponse( + response: _rootClient.doRequest( + 'delete', + uri, + headers, + body, + const {200, 400}, + ), + bodyType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson), + headersType: null, + serializers: _jsonSerializers, + ); + } +} + +class AvatarGetAvatarApiVersion extends EnumClass { + const AvatarGetAvatarApiVersion._(super.name); + + static const AvatarGetAvatarApiVersion v1 = _$avatarGetAvatarApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$avatarGetAvatarApiVersionValues; + // coverage:ignore-end + + static AvatarGetAvatarApiVersion valueOf(final String name) => _$valueOfAvatarGetAvatarApiVersion(name); + + static Serializer get serializer => _$avatarGetAvatarApiVersionSerializer; +} + +class AvatarUploadAvatarApiVersion extends EnumClass { + const AvatarUploadAvatarApiVersion._(super.name); + + static const AvatarUploadAvatarApiVersion v1 = _$avatarUploadAvatarApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$avatarUploadAvatarApiVersionValues; + // coverage:ignore-end + + static AvatarUploadAvatarApiVersion valueOf(final String name) => _$valueOfAvatarUploadAvatarApiVersion(name); + + static Serializer get serializer => _$avatarUploadAvatarApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class OCSMetaInterface { + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; +} + +abstract class OCSMeta implements OCSMetaInterface, Built { + factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; + + // coverage:ignore-start + const OCSMeta._(); + // coverage:ignore-end + + // coverage:ignore-start + factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$oCSMetaSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMessageInterface { + String get actorDisplayName; + String get actorId; + String get actorType; + bool? get deleted; + int get expirationTimestamp; + int get id; + bool get isReplyable; + bool get markdown; + String get message; + BuiltMap> get messageParameters; + String get messageType; + BuiltMap get reactions; + String get referenceId; + String get systemMessage; + int get timestamp; + String get token; +} + +abstract class ChatMessage implements ChatMessageInterface, Built { + factory ChatMessage([final void Function(ChatMessageBuilder)? b]) = _$ChatMessage; + + // coverage:ignore-start + const ChatMessage._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMessage.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 => _$chatMessageSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class Room_LastMessageInterface { + JsonObject get data; + ChatMessage? get chatMessage; + JsonObject? get jsonObject; +} + +abstract class Room_LastMessage implements Room_LastMessageInterface, Built { + factory Room_LastMessage([final void Function(Room_LastMessageBuilder)? b]) = _$Room_LastMessage; + + // coverage:ignore-start + const Room_LastMessage._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Room_LastMessage.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$Room_LastMessageSerializer(); +} + +class _$Room_LastMessageSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [Room_LastMessage, _$Room_LastMessage]; + + @override + final String wireName = 'Room_LastMessage'; + + @override + Object serialize( + final Serializers serializers, + final Room_LastMessage object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + Room_LastMessage deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = Room_LastMessageBuilder()..data = JsonObject(data); + try { + result._chatMessage = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(ChatMessage))! as ChatMessage).toBuilder(); + } catch (_) {} + try { + result._jsonObject = _jsonSerializers.deserialize(data, specifiedType: const FullType(JsonObject))! as JsonObject; + } catch (_) {} + assert( + [result._chatMessage, result._jsonObject].where((final x) => x != null).isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomInterface { + String get actorId; + String get actorType; + int get attendeeId; + int get attendeePermissions; + String? get attendeePin; + String get avatarVersion; + int get breakoutRoomMode; + int get breakoutRoomStatus; + int get callFlag; + int get callPermissions; + int get callRecording; + int get callStartTime; + bool get canDeleteConversation; + bool get canEnableSIP; + bool get canLeaveConversation; + bool get canStartCall; + int get defaultPermissions; + String get description; + String get displayName; + bool get hasCall; + bool get hasPassword; + int get id; + bool get isCustomAvatar; + bool get isFavorite; + int get lastActivity; + int get lastCommonReadMessage; + Room_LastMessage get lastMessage; + int get lastPing; + int get lastReadMessage; + int get listable; + int get lobbyState; + int get lobbyTimer; + int get messageExpiration; + String get name; + int get notificationCalls; + int get notificationLevel; + String get objectId; + String get objectType; + int get participantFlags; + int get participantType; + int get permissions; + int get readOnly; + int get recordingConsent; + String get sessionId; + int get sipEnabled; + String? get status; + int? get statusClearAt; + String? get statusIcon; + String? get statusMessage; + String get token; + int get type; + bool get unreadMention; + bool get unreadMentionDirect; + int get unreadMessages; +} + +abstract class Room implements RoomInterface, Built { + factory Room([final void Function(RoomBuilder)? b]) = _$Room; + + // coverage:ignore-start + const Room._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Room.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 => _$roomSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarUploadAvatarResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class AvatarUploadAvatarResponseApplicationJson_Ocs + implements + AvatarUploadAvatarResponseApplicationJson_OcsInterface, + Built { + factory AvatarUploadAvatarResponseApplicationJson_Ocs([ + final void Function(AvatarUploadAvatarResponseApplicationJson_OcsBuilder)? b, + ]) = _$AvatarUploadAvatarResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AvatarUploadAvatarResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarUploadAvatarResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$avatarUploadAvatarResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarUploadAvatarResponseApplicationJsonInterface { + AvatarUploadAvatarResponseApplicationJson_Ocs get ocs; +} + +abstract class AvatarUploadAvatarResponseApplicationJson + implements + AvatarUploadAvatarResponseApplicationJsonInterface, + Built { + factory AvatarUploadAvatarResponseApplicationJson([ + final void Function(AvatarUploadAvatarResponseApplicationJsonBuilder)? b, + ]) = _$AvatarUploadAvatarResponseApplicationJson; + + // coverage:ignore-start + const AvatarUploadAvatarResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarUploadAvatarResponseApplicationJson.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 => + _$avatarUploadAvatarResponseApplicationJsonSerializer; +} + +class AvatarDeleteAvatarApiVersion extends EnumClass { + const AvatarDeleteAvatarApiVersion._(super.name); + + static const AvatarDeleteAvatarApiVersion v1 = _$avatarDeleteAvatarApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$avatarDeleteAvatarApiVersionValues; + // coverage:ignore-end + + static AvatarDeleteAvatarApiVersion valueOf(final String name) => _$valueOfAvatarDeleteAvatarApiVersion(name); + + static Serializer get serializer => _$avatarDeleteAvatarApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarDeleteAvatarResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class AvatarDeleteAvatarResponseApplicationJson_Ocs + implements + AvatarDeleteAvatarResponseApplicationJson_OcsInterface, + Built { + factory AvatarDeleteAvatarResponseApplicationJson_Ocs([ + final void Function(AvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? b, + ]) = _$AvatarDeleteAvatarResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AvatarDeleteAvatarResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarDeleteAvatarResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$avatarDeleteAvatarResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarDeleteAvatarResponseApplicationJsonInterface { + AvatarDeleteAvatarResponseApplicationJson_Ocs get ocs; +} + +abstract class AvatarDeleteAvatarResponseApplicationJson + implements + AvatarDeleteAvatarResponseApplicationJsonInterface, + Built { + factory AvatarDeleteAvatarResponseApplicationJson([ + final void Function(AvatarDeleteAvatarResponseApplicationJsonBuilder)? b, + ]) = _$AvatarDeleteAvatarResponseApplicationJson; + + // coverage:ignore-start + const AvatarDeleteAvatarResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarDeleteAvatarResponseApplicationJson.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 => + _$avatarDeleteAvatarResponseApplicationJsonSerializer; +} + +class AvatarEmojiAvatarApiVersion extends EnumClass { + const AvatarEmojiAvatarApiVersion._(super.name); + + static const AvatarEmojiAvatarApiVersion v1 = _$avatarEmojiAvatarApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$avatarEmojiAvatarApiVersionValues; + // coverage:ignore-end + + static AvatarEmojiAvatarApiVersion valueOf(final String name) => _$valueOfAvatarEmojiAvatarApiVersion(name); + + static Serializer get serializer => _$avatarEmojiAvatarApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarEmojiAvatarResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class AvatarEmojiAvatarResponseApplicationJson_Ocs + implements + AvatarEmojiAvatarResponseApplicationJson_OcsInterface, + Built { + factory AvatarEmojiAvatarResponseApplicationJson_Ocs([ + final void Function(AvatarEmojiAvatarResponseApplicationJson_OcsBuilder)? b, + ]) = _$AvatarEmojiAvatarResponseApplicationJson_Ocs; + + // coverage:ignore-start + const AvatarEmojiAvatarResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarEmojiAvatarResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$avatarEmojiAvatarResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class AvatarEmojiAvatarResponseApplicationJsonInterface { + AvatarEmojiAvatarResponseApplicationJson_Ocs get ocs; +} + +abstract class AvatarEmojiAvatarResponseApplicationJson + implements + AvatarEmojiAvatarResponseApplicationJsonInterface, + Built { + factory AvatarEmojiAvatarResponseApplicationJson([ + final void Function(AvatarEmojiAvatarResponseApplicationJsonBuilder)? b, + ]) = _$AvatarEmojiAvatarResponseApplicationJson; + + // coverage:ignore-start + const AvatarEmojiAvatarResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory AvatarEmojiAvatarResponseApplicationJson.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 => + _$avatarEmojiAvatarResponseApplicationJsonSerializer; +} + +class AvatarGetAvatarDarkApiVersion extends EnumClass { + const AvatarGetAvatarDarkApiVersion._(super.name); + + static const AvatarGetAvatarDarkApiVersion v1 = _$avatarGetAvatarDarkApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$avatarGetAvatarDarkApiVersionValues; + // coverage:ignore-end + + static AvatarGetAvatarDarkApiVersion valueOf(final String name) => _$valueOfAvatarGetAvatarDarkApiVersion(name); + + static Serializer get serializer => _$avatarGetAvatarDarkApiVersionSerializer; +} + +class BotSendMessageApiVersion extends EnumClass { + const BotSendMessageApiVersion._(super.name); + + static const BotSendMessageApiVersion v1 = _$botSendMessageApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botSendMessageApiVersionValues; + // coverage:ignore-end + + static BotSendMessageApiVersion valueOf(final String name) => _$valueOfBotSendMessageApiVersion(name); + + static Serializer get serializer => _$botSendMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotSendMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class BotSendMessageResponseApplicationJson_Ocs + implements + BotSendMessageResponseApplicationJson_OcsInterface, + Built { + factory BotSendMessageResponseApplicationJson_Ocs([ + final void Function(BotSendMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotSendMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotSendMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotSendMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botSendMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotSendMessageResponseApplicationJsonInterface { + BotSendMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class BotSendMessageResponseApplicationJson + implements + BotSendMessageResponseApplicationJsonInterface, + Built { + factory BotSendMessageResponseApplicationJson([ + final void Function(BotSendMessageResponseApplicationJsonBuilder)? b, + ]) = _$BotSendMessageResponseApplicationJson; + + // coverage:ignore-start + const BotSendMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotSendMessageResponseApplicationJson.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 => + _$botSendMessageResponseApplicationJsonSerializer; +} + +class BotReactApiVersion extends EnumClass { + const BotReactApiVersion._(super.name); + + static const BotReactApiVersion v1 = _$botReactApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botReactApiVersionValues; + // coverage:ignore-end + + static BotReactApiVersion valueOf(final String name) => _$valueOfBotReactApiVersion(name); + + static Serializer get serializer => _$botReactApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotReactResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class BotReactResponseApplicationJson_Ocs + implements + BotReactResponseApplicationJson_OcsInterface, + Built { + factory BotReactResponseApplicationJson_Ocs([final void Function(BotReactResponseApplicationJson_OcsBuilder)? b]) = + _$BotReactResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotReactResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotReactResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botReactResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotReactResponseApplicationJsonInterface { + BotReactResponseApplicationJson_Ocs get ocs; +} + +abstract class BotReactResponseApplicationJson + implements + BotReactResponseApplicationJsonInterface, + Built { + factory BotReactResponseApplicationJson([final void Function(BotReactResponseApplicationJsonBuilder)? b]) = + _$BotReactResponseApplicationJson; + + // coverage:ignore-start + const BotReactResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotReactResponseApplicationJson.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 => _$botReactResponseApplicationJsonSerializer; +} + +class BotDeleteReactionApiVersion extends EnumClass { + const BotDeleteReactionApiVersion._(super.name); + + static const BotDeleteReactionApiVersion v1 = _$botDeleteReactionApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botDeleteReactionApiVersionValues; + // coverage:ignore-end + + static BotDeleteReactionApiVersion valueOf(final String name) => _$valueOfBotDeleteReactionApiVersion(name); + + static Serializer get serializer => _$botDeleteReactionApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotDeleteReactionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class BotDeleteReactionResponseApplicationJson_Ocs + implements + BotDeleteReactionResponseApplicationJson_OcsInterface, + Built { + factory BotDeleteReactionResponseApplicationJson_Ocs([ + final void Function(BotDeleteReactionResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotDeleteReactionResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotDeleteReactionResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotDeleteReactionResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botDeleteReactionResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotDeleteReactionResponseApplicationJsonInterface { + BotDeleteReactionResponseApplicationJson_Ocs get ocs; +} + +abstract class BotDeleteReactionResponseApplicationJson + implements + BotDeleteReactionResponseApplicationJsonInterface, + Built { + factory BotDeleteReactionResponseApplicationJson([ + final void Function(BotDeleteReactionResponseApplicationJsonBuilder)? b, + ]) = _$BotDeleteReactionResponseApplicationJson; + + // coverage:ignore-start + const BotDeleteReactionResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotDeleteReactionResponseApplicationJson.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 => + _$botDeleteReactionResponseApplicationJsonSerializer; +} + +class BotAdminListBotsApiVersion extends EnumClass { + const BotAdminListBotsApiVersion._(super.name); + + static const BotAdminListBotsApiVersion v1 = _$botAdminListBotsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botAdminListBotsApiVersionValues; + // coverage:ignore-end + + static BotAdminListBotsApiVersion valueOf(final String name) => _$valueOfBotAdminListBotsApiVersion(name); + + static Serializer get serializer => _$botAdminListBotsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotInterface { + String? get description; + int get id; + String get name; + int get state; +} + +abstract class Bot implements BotInterface, Built { + factory Bot([final void Function(BotBuilder)? b]) = _$Bot; + + // coverage:ignore-start + const Bot._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Bot.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 => _$botSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotWithDetails_1Interface { + @BuiltValueField(wireName: 'error_count') + int get errorCount; + int get features; + @BuiltValueField(wireName: 'last_error_date') + int get lastErrorDate; + @BuiltValueField(wireName: 'last_error_message') + String get lastErrorMessage; + String get url; + @BuiltValueField(wireName: 'url_hash') + String get urlHash; +} + +@BuiltValue(instantiable: false) +abstract interface class BotWithDetailsInterface implements BotInterface, BotWithDetails_1Interface {} + +abstract class BotWithDetails implements BotWithDetailsInterface, Built { + factory BotWithDetails([final void Function(BotWithDetailsBuilder)? b]) = _$BotWithDetails; + + // coverage:ignore-start + const BotWithDetails._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotWithDetails.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 => _$botWithDetailsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotAdminListBotsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BotAdminListBotsResponseApplicationJson_Ocs + implements + BotAdminListBotsResponseApplicationJson_OcsInterface, + Built { + factory BotAdminListBotsResponseApplicationJson_Ocs([ + final void Function(BotAdminListBotsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotAdminListBotsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotAdminListBotsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotAdminListBotsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botAdminListBotsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotAdminListBotsResponseApplicationJsonInterface { + BotAdminListBotsResponseApplicationJson_Ocs get ocs; +} + +abstract class BotAdminListBotsResponseApplicationJson + implements + BotAdminListBotsResponseApplicationJsonInterface, + Built { + factory BotAdminListBotsResponseApplicationJson([ + final void Function(BotAdminListBotsResponseApplicationJsonBuilder)? b, + ]) = _$BotAdminListBotsResponseApplicationJson; + + // coverage:ignore-start + const BotAdminListBotsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotAdminListBotsResponseApplicationJson.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 => + _$botAdminListBotsResponseApplicationJsonSerializer; +} + +class BotListBotsApiVersion extends EnumClass { + const BotListBotsApiVersion._(super.name); + + static const BotListBotsApiVersion v1 = _$botListBotsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botListBotsApiVersionValues; + // coverage:ignore-end + + static BotListBotsApiVersion valueOf(final String name) => _$valueOfBotListBotsApiVersion(name); + + static Serializer get serializer => _$botListBotsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotListBotsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BotListBotsResponseApplicationJson_Ocs + implements + BotListBotsResponseApplicationJson_OcsInterface, + Built { + factory BotListBotsResponseApplicationJson_Ocs([ + final void Function(BotListBotsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotListBotsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotListBotsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotListBotsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botListBotsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotListBotsResponseApplicationJsonInterface { + BotListBotsResponseApplicationJson_Ocs get ocs; +} + +abstract class BotListBotsResponseApplicationJson + implements + BotListBotsResponseApplicationJsonInterface, + Built { + factory BotListBotsResponseApplicationJson([final void Function(BotListBotsResponseApplicationJsonBuilder)? b]) = + _$BotListBotsResponseApplicationJson; + + // coverage:ignore-start + const BotListBotsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotListBotsResponseApplicationJson.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 => + _$botListBotsResponseApplicationJsonSerializer; +} + +class BotEnableBotApiVersion extends EnumClass { + const BotEnableBotApiVersion._(super.name); + + static const BotEnableBotApiVersion v1 = _$botEnableBotApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botEnableBotApiVersionValues; + // coverage:ignore-end + + static BotEnableBotApiVersion valueOf(final String name) => _$valueOfBotEnableBotApiVersion(name); + + static Serializer get serializer => _$botEnableBotApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotEnableBotResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Bot? get data; +} + +abstract class BotEnableBotResponseApplicationJson_Ocs + implements + BotEnableBotResponseApplicationJson_OcsInterface, + Built { + factory BotEnableBotResponseApplicationJson_Ocs([ + final void Function(BotEnableBotResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotEnableBotResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotEnableBotResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotEnableBotResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botEnableBotResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotEnableBotResponseApplicationJsonInterface { + BotEnableBotResponseApplicationJson_Ocs get ocs; +} + +abstract class BotEnableBotResponseApplicationJson + implements + BotEnableBotResponseApplicationJsonInterface, + Built { + factory BotEnableBotResponseApplicationJson([final void Function(BotEnableBotResponseApplicationJsonBuilder)? b]) = + _$BotEnableBotResponseApplicationJson; + + // coverage:ignore-start + const BotEnableBotResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotEnableBotResponseApplicationJson.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 => + _$botEnableBotResponseApplicationJsonSerializer; +} + +class BotDisableBotApiVersion extends EnumClass { + const BotDisableBotApiVersion._(super.name); + + static const BotDisableBotApiVersion v1 = _$botDisableBotApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$botDisableBotApiVersionValues; + // coverage:ignore-end + + static BotDisableBotApiVersion valueOf(final String name) => _$valueOfBotDisableBotApiVersion(name); + + static Serializer get serializer => _$botDisableBotApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotDisableBotResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Bot? get data; +} + +abstract class BotDisableBotResponseApplicationJson_Ocs + implements + BotDisableBotResponseApplicationJson_OcsInterface, + Built { + factory BotDisableBotResponseApplicationJson_Ocs([ + final void Function(BotDisableBotResponseApplicationJson_OcsBuilder)? b, + ]) = _$BotDisableBotResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BotDisableBotResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotDisableBotResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$botDisableBotResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotDisableBotResponseApplicationJsonInterface { + BotDisableBotResponseApplicationJson_Ocs get ocs; +} + +abstract class BotDisableBotResponseApplicationJson + implements + BotDisableBotResponseApplicationJsonInterface, + Built { + factory BotDisableBotResponseApplicationJson([final void Function(BotDisableBotResponseApplicationJsonBuilder)? b]) = + _$BotDisableBotResponseApplicationJson; + + // coverage:ignore-start + const BotDisableBotResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotDisableBotResponseApplicationJson.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 => + _$botDisableBotResponseApplicationJsonSerializer; +} + +class BreakoutRoomConfigureBreakoutRoomsApiVersion extends EnumClass { + const BreakoutRoomConfigureBreakoutRoomsApiVersion._(super.name); + + static const BreakoutRoomConfigureBreakoutRoomsApiVersion v1 = _$breakoutRoomConfigureBreakoutRoomsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomConfigureBreakoutRoomsApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomConfigureBreakoutRoomsApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomConfigureBreakoutRoomsApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomConfigureBreakoutRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs + implements + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomConfigureBreakoutRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterface { + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson + implements + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterface, + Built { + factory BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson([ + final void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson.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 => + _$breakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer; +} + +class BreakoutRoomRemoveBreakoutRoomsApiVersion extends EnumClass { + const BreakoutRoomRemoveBreakoutRoomsApiVersion._(super.name); + + static const BreakoutRoomRemoveBreakoutRoomsApiVersion v1 = _$breakoutRoomRemoveBreakoutRoomsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomRemoveBreakoutRoomsApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomRemoveBreakoutRoomsApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomRemoveBreakoutRoomsApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomRemoveBreakoutRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs + implements + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomRemoveBreakoutRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterface { + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson + implements + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterface, + Built { + factory BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson([ + final void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson.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 => + _$breakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer; +} + +class BreakoutRoomBroadcastChatMessageApiVersion extends EnumClass { + const BreakoutRoomBroadcastChatMessageApiVersion._(super.name); + + static const BreakoutRoomBroadcastChatMessageApiVersion v1 = _$breakoutRoomBroadcastChatMessageApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomBroadcastChatMessageApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomBroadcastChatMessageApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomBroadcastChatMessageApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomBroadcastChatMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs + implements + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomBroadcastChatMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterface { + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomBroadcastChatMessageResponseApplicationJson + implements + BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterface, + Built { + factory BreakoutRoomBroadcastChatMessageResponseApplicationJson([ + final void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomBroadcastChatMessageResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomBroadcastChatMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomBroadcastChatMessageResponseApplicationJson.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 => + _$breakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer; +} + +class BreakoutRoomApplyAttendeeMapApiVersion extends EnumClass { + const BreakoutRoomApplyAttendeeMapApiVersion._(super.name); + + static const BreakoutRoomApplyAttendeeMapApiVersion v1 = _$breakoutRoomApplyAttendeeMapApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$breakoutRoomApplyAttendeeMapApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomApplyAttendeeMapApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomApplyAttendeeMapApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomApplyAttendeeMapApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs + implements + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomApplyAttendeeMapResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterface { + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomApplyAttendeeMapResponseApplicationJson + implements + BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterface, + Built { + factory BreakoutRoomApplyAttendeeMapResponseApplicationJson([ + final void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomApplyAttendeeMapResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomApplyAttendeeMapResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomApplyAttendeeMapResponseApplicationJson.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 => + _$breakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer; +} + +class BreakoutRoomRequestAssistanceApiVersion extends EnumClass { + const BreakoutRoomRequestAssistanceApiVersion._(super.name); + + static const BreakoutRoomRequestAssistanceApiVersion v1 = _$breakoutRoomRequestAssistanceApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomRequestAssistanceApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomRequestAssistanceApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomRequestAssistanceApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomRequestAssistanceApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs + implements + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomRequestAssistanceResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomRequestAssistanceResponseApplicationJsonInterface { + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomRequestAssistanceResponseApplicationJson + implements + BreakoutRoomRequestAssistanceResponseApplicationJsonInterface, + Built { + factory BreakoutRoomRequestAssistanceResponseApplicationJson([ + final void Function(BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomRequestAssistanceResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomRequestAssistanceResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomRequestAssistanceResponseApplicationJson.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 => + _$breakoutRoomRequestAssistanceResponseApplicationJsonSerializer; +} + +class BreakoutRoomResetRequestForAssistanceApiVersion extends EnumClass { + const BreakoutRoomResetRequestForAssistanceApiVersion._(super.name); + + static const BreakoutRoomResetRequestForAssistanceApiVersion v1 = _$breakoutRoomResetRequestForAssistanceApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomResetRequestForAssistanceApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomResetRequestForAssistanceApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomResetRequestForAssistanceApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomResetRequestForAssistanceApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs + implements + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomResetRequestForAssistanceResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterface { + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomResetRequestForAssistanceResponseApplicationJson + implements + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterface, + Built { + factory BreakoutRoomResetRequestForAssistanceResponseApplicationJson([ + final void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomResetRequestForAssistanceResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomResetRequestForAssistanceResponseApplicationJson.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 => + _$breakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer; +} + +class BreakoutRoomStartBreakoutRoomsApiVersion extends EnumClass { + const BreakoutRoomStartBreakoutRoomsApiVersion._(super.name); + + static const BreakoutRoomStartBreakoutRoomsApiVersion v1 = _$breakoutRoomStartBreakoutRoomsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomStartBreakoutRoomsApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomStartBreakoutRoomsApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomStartBreakoutRoomsApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomStartBreakoutRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs + implements + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomStartBreakoutRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterface { + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomStartBreakoutRoomsResponseApplicationJson + implements + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterface, + Built { + factory BreakoutRoomStartBreakoutRoomsResponseApplicationJson([ + final void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomStartBreakoutRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomStartBreakoutRoomsResponseApplicationJson.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 => + _$breakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer; +} + +class BreakoutRoomStopBreakoutRoomsApiVersion extends EnumClass { + const BreakoutRoomStopBreakoutRoomsApiVersion._(super.name); + + static const BreakoutRoomStopBreakoutRoomsApiVersion v1 = _$breakoutRoomStopBreakoutRoomsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomStopBreakoutRoomsApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomStopBreakoutRoomsApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomStopBreakoutRoomsApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomStopBreakoutRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs + implements + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomStopBreakoutRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterface { + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomStopBreakoutRoomsResponseApplicationJson + implements + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterface, + Built { + factory BreakoutRoomStopBreakoutRoomsResponseApplicationJson([ + final void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomStopBreakoutRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomStopBreakoutRoomsResponseApplicationJson.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 => + _$breakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer; +} + +class BreakoutRoomSwitchBreakoutRoomApiVersion extends EnumClass { + const BreakoutRoomSwitchBreakoutRoomApiVersion._(super.name); + + static const BreakoutRoomSwitchBreakoutRoomApiVersion v1 = _$breakoutRoomSwitchBreakoutRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$breakoutRoomSwitchBreakoutRoomApiVersionValues; + // coverage:ignore-end + + static BreakoutRoomSwitchBreakoutRoomApiVersion valueOf(final String name) => + _$valueOfBreakoutRoomSwitchBreakoutRoomApiVersion(name); + + static Serializer get serializer => + _$breakoutRoomSwitchBreakoutRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs + implements + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterface, + Built { + factory BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs([ + final void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$breakoutRoomSwitchBreakoutRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterface { + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson + implements + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterface, + Built { + factory BreakoutRoomSwitchBreakoutRoomResponseApplicationJson([ + final void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder)? b, + ]) = _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson; + + // coverage:ignore-start + const BreakoutRoomSwitchBreakoutRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BreakoutRoomSwitchBreakoutRoomResponseApplicationJson.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 => + _$breakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer; +} + +class CallGetPeersForCallApiVersion extends EnumClass { + const CallGetPeersForCallApiVersion._(super.name); + + static const CallGetPeersForCallApiVersion v4 = _$callGetPeersForCallApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$callGetPeersForCallApiVersionValues; + // coverage:ignore-end + + static CallGetPeersForCallApiVersion valueOf(final String name) => _$valueOfCallGetPeersForCallApiVersion(name); + + static Serializer get serializer => _$callGetPeersForCallApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallPeerInterface { + String get actorId; + String get actorType; + String get displayName; + int get lastPing; + String get sessionId; + String get token; +} + +abstract class CallPeer implements CallPeerInterface, Built { + factory CallPeer([final void Function(CallPeerBuilder)? b]) = _$CallPeer; + + // coverage:ignore-start + const CallPeer._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallPeer.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 => _$callPeerSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallGetPeersForCallResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class CallGetPeersForCallResponseApplicationJson_Ocs + implements + CallGetPeersForCallResponseApplicationJson_OcsInterface, + Built { + factory CallGetPeersForCallResponseApplicationJson_Ocs([ + final void Function(CallGetPeersForCallResponseApplicationJson_OcsBuilder)? b, + ]) = _$CallGetPeersForCallResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CallGetPeersForCallResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallGetPeersForCallResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$callGetPeersForCallResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallGetPeersForCallResponseApplicationJsonInterface { + CallGetPeersForCallResponseApplicationJson_Ocs get ocs; +} + +abstract class CallGetPeersForCallResponseApplicationJson + implements + CallGetPeersForCallResponseApplicationJsonInterface, + Built { + factory CallGetPeersForCallResponseApplicationJson([ + final void Function(CallGetPeersForCallResponseApplicationJsonBuilder)? b, + ]) = _$CallGetPeersForCallResponseApplicationJson; + + // coverage:ignore-start + const CallGetPeersForCallResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallGetPeersForCallResponseApplicationJson.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 => + _$callGetPeersForCallResponseApplicationJsonSerializer; +} + +class CallUpdateCallFlagsApiVersion extends EnumClass { + const CallUpdateCallFlagsApiVersion._(super.name); + + static const CallUpdateCallFlagsApiVersion v4 = _$callUpdateCallFlagsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$callUpdateCallFlagsApiVersionValues; + // coverage:ignore-end + + static CallUpdateCallFlagsApiVersion valueOf(final String name) => _$valueOfCallUpdateCallFlagsApiVersion(name); + + static Serializer get serializer => _$callUpdateCallFlagsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallUpdateCallFlagsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class CallUpdateCallFlagsResponseApplicationJson_Ocs + implements + CallUpdateCallFlagsResponseApplicationJson_OcsInterface, + Built { + factory CallUpdateCallFlagsResponseApplicationJson_Ocs([ + final void Function(CallUpdateCallFlagsResponseApplicationJson_OcsBuilder)? b, + ]) = _$CallUpdateCallFlagsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CallUpdateCallFlagsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallUpdateCallFlagsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$callUpdateCallFlagsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallUpdateCallFlagsResponseApplicationJsonInterface { + CallUpdateCallFlagsResponseApplicationJson_Ocs get ocs; +} + +abstract class CallUpdateCallFlagsResponseApplicationJson + implements + CallUpdateCallFlagsResponseApplicationJsonInterface, + Built { + factory CallUpdateCallFlagsResponseApplicationJson([ + final void Function(CallUpdateCallFlagsResponseApplicationJsonBuilder)? b, + ]) = _$CallUpdateCallFlagsResponseApplicationJson; + + // coverage:ignore-start + const CallUpdateCallFlagsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallUpdateCallFlagsResponseApplicationJson.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 => + _$callUpdateCallFlagsResponseApplicationJsonSerializer; +} + +class CallJoinCallApiVersion extends EnumClass { + const CallJoinCallApiVersion._(super.name); + + static const CallJoinCallApiVersion v4 = _$callJoinCallApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$callJoinCallApiVersionValues; + // coverage:ignore-end + + static CallJoinCallApiVersion valueOf(final String name) => _$valueOfCallJoinCallApiVersion(name); + + static Serializer get serializer => _$callJoinCallApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallJoinCallResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class CallJoinCallResponseApplicationJson_Ocs + implements + CallJoinCallResponseApplicationJson_OcsInterface, + Built { + factory CallJoinCallResponseApplicationJson_Ocs([ + final void Function(CallJoinCallResponseApplicationJson_OcsBuilder)? b, + ]) = _$CallJoinCallResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CallJoinCallResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallJoinCallResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$callJoinCallResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallJoinCallResponseApplicationJsonInterface { + CallJoinCallResponseApplicationJson_Ocs get ocs; +} + +abstract class CallJoinCallResponseApplicationJson + implements + CallJoinCallResponseApplicationJsonInterface, + Built { + factory CallJoinCallResponseApplicationJson([final void Function(CallJoinCallResponseApplicationJsonBuilder)? b]) = + _$CallJoinCallResponseApplicationJson; + + // coverage:ignore-start + const CallJoinCallResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallJoinCallResponseApplicationJson.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 => + _$callJoinCallResponseApplicationJsonSerializer; +} + +class CallLeaveCallApiVersion extends EnumClass { + const CallLeaveCallApiVersion._(super.name); + + static const CallLeaveCallApiVersion v4 = _$callLeaveCallApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$callLeaveCallApiVersionValues; + // coverage:ignore-end + + static CallLeaveCallApiVersion valueOf(final String name) => _$valueOfCallLeaveCallApiVersion(name); + + static Serializer get serializer => _$callLeaveCallApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallLeaveCallResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class CallLeaveCallResponseApplicationJson_Ocs + implements + CallLeaveCallResponseApplicationJson_OcsInterface, + Built { + factory CallLeaveCallResponseApplicationJson_Ocs([ + final void Function(CallLeaveCallResponseApplicationJson_OcsBuilder)? b, + ]) = _$CallLeaveCallResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CallLeaveCallResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallLeaveCallResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$callLeaveCallResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallLeaveCallResponseApplicationJsonInterface { + CallLeaveCallResponseApplicationJson_Ocs get ocs; +} + +abstract class CallLeaveCallResponseApplicationJson + implements + CallLeaveCallResponseApplicationJsonInterface, + Built { + factory CallLeaveCallResponseApplicationJson([final void Function(CallLeaveCallResponseApplicationJsonBuilder)? b]) = + _$CallLeaveCallResponseApplicationJson; + + // coverage:ignore-start + const CallLeaveCallResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallLeaveCallResponseApplicationJson.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 => + _$callLeaveCallResponseApplicationJsonSerializer; +} + +class CallRingAttendeeApiVersion extends EnumClass { + const CallRingAttendeeApiVersion._(super.name); + + static const CallRingAttendeeApiVersion v4 = _$callRingAttendeeApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$callRingAttendeeApiVersionValues; + // coverage:ignore-end + + static CallRingAttendeeApiVersion valueOf(final String name) => _$valueOfCallRingAttendeeApiVersion(name); + + static Serializer get serializer => _$callRingAttendeeApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallRingAttendeeResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class CallRingAttendeeResponseApplicationJson_Ocs + implements + CallRingAttendeeResponseApplicationJson_OcsInterface, + Built { + factory CallRingAttendeeResponseApplicationJson_Ocs([ + final void Function(CallRingAttendeeResponseApplicationJson_OcsBuilder)? b, + ]) = _$CallRingAttendeeResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CallRingAttendeeResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallRingAttendeeResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$callRingAttendeeResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CallRingAttendeeResponseApplicationJsonInterface { + CallRingAttendeeResponseApplicationJson_Ocs get ocs; +} + +abstract class CallRingAttendeeResponseApplicationJson + implements + CallRingAttendeeResponseApplicationJsonInterface, + Built { + factory CallRingAttendeeResponseApplicationJson([ + final void Function(CallRingAttendeeResponseApplicationJsonBuilder)? b, + ]) = _$CallRingAttendeeResponseApplicationJson; + + // coverage:ignore-start + const CallRingAttendeeResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CallRingAttendeeResponseApplicationJson.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 => + _$callRingAttendeeResponseApplicationJsonSerializer; +} + +class CertificateGetCertificateExpirationApiVersion extends EnumClass { + const CertificateGetCertificateExpirationApiVersion._(super.name); + + static const CertificateGetCertificateExpirationApiVersion v1 = _$certificateGetCertificateExpirationApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$certificateGetCertificateExpirationApiVersionValues; + // coverage:ignore-end + + static CertificateGetCertificateExpirationApiVersion valueOf(final String name) => + _$valueOfCertificateGetCertificateExpirationApiVersion(name); + + static Serializer get serializer => + _$certificateGetCertificateExpirationApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterface { + @BuiltValueField(wireName: 'expiration_in_days') + int? get expirationInDays; +} + +abstract class CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data + implements + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterface, + Built { + factory CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data([ + final void Function(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$certificateGetCertificateExpirationResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CertificateGetCertificateExpirationResponseApplicationJson_OcsInterface { + OCSMeta get meta; + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data get data; +} + +abstract class CertificateGetCertificateExpirationResponseApplicationJson_Ocs + implements + CertificateGetCertificateExpirationResponseApplicationJson_OcsInterface, + Built { + factory CertificateGetCertificateExpirationResponseApplicationJson_Ocs([ + final void Function(CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder)? b, + ]) = _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs; + + // coverage:ignore-start + const CertificateGetCertificateExpirationResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CertificateGetCertificateExpirationResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$certificateGetCertificateExpirationResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CertificateGetCertificateExpirationResponseApplicationJsonInterface { + CertificateGetCertificateExpirationResponseApplicationJson_Ocs get ocs; +} + +abstract class CertificateGetCertificateExpirationResponseApplicationJson + implements + CertificateGetCertificateExpirationResponseApplicationJsonInterface, + Built { + factory CertificateGetCertificateExpirationResponseApplicationJson([ + final void Function(CertificateGetCertificateExpirationResponseApplicationJsonBuilder)? b, + ]) = _$CertificateGetCertificateExpirationResponseApplicationJson; + + // coverage:ignore-start + const CertificateGetCertificateExpirationResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CertificateGetCertificateExpirationResponseApplicationJson.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 => + _$certificateGetCertificateExpirationResponseApplicationJsonSerializer; +} + +class ChatReceiveMessagesApiVersion extends EnumClass { + const ChatReceiveMessagesApiVersion._(super.name); + + static const ChatReceiveMessagesApiVersion v1 = _$chatReceiveMessagesApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatReceiveMessagesApiVersionValues; + // coverage:ignore-end + + static ChatReceiveMessagesApiVersion valueOf(final String name) => _$valueOfChatReceiveMessagesApiVersion(name); + + static Serializer get serializer => _$chatReceiveMessagesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatReceiveMessagesHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; + @BuiltValueField(wireName: 'x-chat-last-given') + String? get xChatLastGiven; +} + +abstract class ChatChatReceiveMessagesHeaders + implements + ChatChatReceiveMessagesHeadersInterface, + Built { + factory ChatChatReceiveMessagesHeaders([final void Function(ChatChatReceiveMessagesHeadersBuilder)? b]) = + _$ChatChatReceiveMessagesHeaders; + + // coverage:ignore-start + const ChatChatReceiveMessagesHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatReceiveMessagesHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatReceiveMessagesHeadersSerializer(); +} + +class _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatReceiveMessagesHeaders, _$ChatChatReceiveMessagesHeaders]; + + @override + final String wireName = 'ChatChatReceiveMessagesHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatReceiveMessagesHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatReceiveMessagesHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatReceiveMessagesHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + case 'x-chat-last-given': + result.xChatLastGiven = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMessageWithParent_1Interface { + ChatMessage? get parent; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMessageWithParentInterface + implements ChatMessageInterface, ChatMessageWithParent_1Interface {} + +abstract class ChatMessageWithParent + implements ChatMessageWithParentInterface, Built { + factory ChatMessageWithParent([final void Function(ChatMessageWithParentBuilder)? b]) = _$ChatMessageWithParent; + + // coverage:ignore-start + const ChatMessageWithParent._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMessageWithParent.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 => _$chatMessageWithParentSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatReceiveMessagesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class ChatReceiveMessagesResponseApplicationJson_Ocs + implements + ChatReceiveMessagesResponseApplicationJson_OcsInterface, + Built { + factory ChatReceiveMessagesResponseApplicationJson_Ocs([ + final void Function(ChatReceiveMessagesResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatReceiveMessagesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatReceiveMessagesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatReceiveMessagesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatReceiveMessagesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatReceiveMessagesResponseApplicationJsonInterface { + ChatReceiveMessagesResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatReceiveMessagesResponseApplicationJson + implements + ChatReceiveMessagesResponseApplicationJsonInterface, + Built { + factory ChatReceiveMessagesResponseApplicationJson([ + final void Function(ChatReceiveMessagesResponseApplicationJsonBuilder)? b, + ]) = _$ChatReceiveMessagesResponseApplicationJson; + + // coverage:ignore-start + const ChatReceiveMessagesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatReceiveMessagesResponseApplicationJson.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 => + _$chatReceiveMessagesResponseApplicationJsonSerializer; +} + +class ChatSendMessageApiVersion extends EnumClass { + const ChatSendMessageApiVersion._(super.name); + + static const ChatSendMessageApiVersion v1 = _$chatSendMessageApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatSendMessageApiVersionValues; + // coverage:ignore-end + + static ChatSendMessageApiVersion valueOf(final String name) => _$valueOfChatSendMessageApiVersion(name); + + static Serializer get serializer => _$chatSendMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatSendMessageHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatSendMessageHeaders + implements + ChatChatSendMessageHeadersInterface, + Built { + factory ChatChatSendMessageHeaders([final void Function(ChatChatSendMessageHeadersBuilder)? b]) = + _$ChatChatSendMessageHeaders; + + // coverage:ignore-start + const ChatChatSendMessageHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatSendMessageHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatSendMessageHeadersSerializer(); +} + +class _$ChatChatSendMessageHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatSendMessageHeaders, _$ChatChatSendMessageHeaders]; + + @override + final String wireName = 'ChatChatSendMessageHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatSendMessageHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatSendMessageHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatSendMessageHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSendMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatMessageWithParent? get data; +} + +abstract class ChatSendMessageResponseApplicationJson_Ocs + implements + ChatSendMessageResponseApplicationJson_OcsInterface, + Built { + factory ChatSendMessageResponseApplicationJson_Ocs([ + final void Function(ChatSendMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatSendMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatSendMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSendMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatSendMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSendMessageResponseApplicationJsonInterface { + ChatSendMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatSendMessageResponseApplicationJson + implements + ChatSendMessageResponseApplicationJsonInterface, + Built { + factory ChatSendMessageResponseApplicationJson([ + final void Function(ChatSendMessageResponseApplicationJsonBuilder)? b, + ]) = _$ChatSendMessageResponseApplicationJson; + + // coverage:ignore-start + const ChatSendMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSendMessageResponseApplicationJson.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 => + _$chatSendMessageResponseApplicationJsonSerializer; +} + +class ChatClearHistoryApiVersion extends EnumClass { + const ChatClearHistoryApiVersion._(super.name); + + static const ChatClearHistoryApiVersion v1 = _$chatClearHistoryApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatClearHistoryApiVersionValues; + // coverage:ignore-end + + static ChatClearHistoryApiVersion valueOf(final String name) => _$valueOfChatClearHistoryApiVersion(name); + + static Serializer get serializer => _$chatClearHistoryApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatClearHistoryHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatClearHistoryHeaders + implements + ChatChatClearHistoryHeadersInterface, + Built { + factory ChatChatClearHistoryHeaders([final void Function(ChatChatClearHistoryHeadersBuilder)? b]) = + _$ChatChatClearHistoryHeaders; + + // coverage:ignore-start + const ChatChatClearHistoryHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatClearHistoryHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatClearHistoryHeadersSerializer(); +} + +class _$ChatChatClearHistoryHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatClearHistoryHeaders, _$ChatChatClearHistoryHeaders]; + + @override + final String wireName = 'ChatChatClearHistoryHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatClearHistoryHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatClearHistoryHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatClearHistoryHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatClearHistoryResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatMessage get data; +} + +abstract class ChatClearHistoryResponseApplicationJson_Ocs + implements + ChatClearHistoryResponseApplicationJson_OcsInterface, + Built { + factory ChatClearHistoryResponseApplicationJson_Ocs([ + final void Function(ChatClearHistoryResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatClearHistoryResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatClearHistoryResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatClearHistoryResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatClearHistoryResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatClearHistoryResponseApplicationJsonInterface { + ChatClearHistoryResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatClearHistoryResponseApplicationJson + implements + ChatClearHistoryResponseApplicationJsonInterface, + Built { + factory ChatClearHistoryResponseApplicationJson([ + final void Function(ChatClearHistoryResponseApplicationJsonBuilder)? b, + ]) = _$ChatClearHistoryResponseApplicationJson; + + // coverage:ignore-start + const ChatClearHistoryResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatClearHistoryResponseApplicationJson.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 => + _$chatClearHistoryResponseApplicationJsonSerializer; +} + +class ChatDeleteMessageApiVersion extends EnumClass { + const ChatDeleteMessageApiVersion._(super.name); + + static const ChatDeleteMessageApiVersion v1 = _$chatDeleteMessageApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatDeleteMessageApiVersionValues; + // coverage:ignore-end + + static ChatDeleteMessageApiVersion valueOf(final String name) => _$valueOfChatDeleteMessageApiVersion(name); + + static Serializer get serializer => _$chatDeleteMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatDeleteMessageHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatDeleteMessageHeaders + implements + ChatChatDeleteMessageHeadersInterface, + Built { + factory ChatChatDeleteMessageHeaders([final void Function(ChatChatDeleteMessageHeadersBuilder)? b]) = + _$ChatChatDeleteMessageHeaders; + + // coverage:ignore-start + const ChatChatDeleteMessageHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatDeleteMessageHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatDeleteMessageHeadersSerializer(); +} + +class _$ChatChatDeleteMessageHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatDeleteMessageHeaders, _$ChatChatDeleteMessageHeaders]; + + @override + final String wireName = 'ChatChatDeleteMessageHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatDeleteMessageHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatDeleteMessageHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatDeleteMessageHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatDeleteMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatMessageWithParent get data; +} + +abstract class ChatDeleteMessageResponseApplicationJson_Ocs + implements + ChatDeleteMessageResponseApplicationJson_OcsInterface, + Built { + factory ChatDeleteMessageResponseApplicationJson_Ocs([ + final void Function(ChatDeleteMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatDeleteMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatDeleteMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatDeleteMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatDeleteMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatDeleteMessageResponseApplicationJsonInterface { + ChatDeleteMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatDeleteMessageResponseApplicationJson + implements + ChatDeleteMessageResponseApplicationJsonInterface, + Built { + factory ChatDeleteMessageResponseApplicationJson([ + final void Function(ChatDeleteMessageResponseApplicationJsonBuilder)? b, + ]) = _$ChatDeleteMessageResponseApplicationJson; + + // coverage:ignore-start + const ChatDeleteMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatDeleteMessageResponseApplicationJson.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 => + _$chatDeleteMessageResponseApplicationJsonSerializer; +} + +class ChatGetMessageContextApiVersion extends EnumClass { + const ChatGetMessageContextApiVersion._(super.name); + + static const ChatGetMessageContextApiVersion v1 = _$chatGetMessageContextApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatGetMessageContextApiVersionValues; + // coverage:ignore-end + + static ChatGetMessageContextApiVersion valueOf(final String name) => _$valueOfChatGetMessageContextApiVersion(name); + + static Serializer get serializer => _$chatGetMessageContextApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatGetMessageContextHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; + @BuiltValueField(wireName: 'x-chat-last-given') + String? get xChatLastGiven; +} + +abstract class ChatChatGetMessageContextHeaders + implements + ChatChatGetMessageContextHeadersInterface, + Built { + factory ChatChatGetMessageContextHeaders([final void Function(ChatChatGetMessageContextHeadersBuilder)? b]) = + _$ChatChatGetMessageContextHeaders; + + // coverage:ignore-start + const ChatChatGetMessageContextHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatGetMessageContextHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatGetMessageContextHeadersSerializer(); +} + +class _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatGetMessageContextHeaders, _$ChatChatGetMessageContextHeaders]; + + @override + final String wireName = 'ChatChatGetMessageContextHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatGetMessageContextHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatGetMessageContextHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatGetMessageContextHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + case 'x-chat-last-given': + result.xChatLastGiven = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetMessageContextResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class ChatGetMessageContextResponseApplicationJson_Ocs + implements + ChatGetMessageContextResponseApplicationJson_OcsInterface, + Built { + factory ChatGetMessageContextResponseApplicationJson_Ocs([ + final void Function(ChatGetMessageContextResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatGetMessageContextResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatGetMessageContextResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetMessageContextResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatGetMessageContextResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetMessageContextResponseApplicationJsonInterface { + ChatGetMessageContextResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatGetMessageContextResponseApplicationJson + implements + ChatGetMessageContextResponseApplicationJsonInterface, + Built { + factory ChatGetMessageContextResponseApplicationJson([ + final void Function(ChatGetMessageContextResponseApplicationJsonBuilder)? b, + ]) = _$ChatGetMessageContextResponseApplicationJson; + + // coverage:ignore-start + const ChatGetMessageContextResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetMessageContextResponseApplicationJson.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 => + _$chatGetMessageContextResponseApplicationJsonSerializer; +} + +class ChatGetReminderApiVersion extends EnumClass { + const ChatGetReminderApiVersion._(super.name); + + static const ChatGetReminderApiVersion v1 = _$chatGetReminderApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatGetReminderApiVersionValues; + // coverage:ignore-end + + static ChatGetReminderApiVersion valueOf(final String name) => _$valueOfChatGetReminderApiVersion(name); + + static Serializer get serializer => _$chatGetReminderApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatReminderInterface { + int get messageId; + int get timestamp; + String get token; + String get userId; +} + +abstract class ChatReminder implements ChatReminderInterface, Built { + factory ChatReminder([final void Function(ChatReminderBuilder)? b]) = _$ChatReminder; + + // coverage:ignore-start + const ChatReminder._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatReminder.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 => _$chatReminderSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetReminderResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatReminder get data; +} + +abstract class ChatGetReminderResponseApplicationJson_Ocs + implements + ChatGetReminderResponseApplicationJson_OcsInterface, + Built { + factory ChatGetReminderResponseApplicationJson_Ocs([ + final void Function(ChatGetReminderResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatGetReminderResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatGetReminderResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetReminderResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatGetReminderResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetReminderResponseApplicationJsonInterface { + ChatGetReminderResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatGetReminderResponseApplicationJson + implements + ChatGetReminderResponseApplicationJsonInterface, + Built { + factory ChatGetReminderResponseApplicationJson([ + final void Function(ChatGetReminderResponseApplicationJsonBuilder)? b, + ]) = _$ChatGetReminderResponseApplicationJson; + + // coverage:ignore-start + const ChatGetReminderResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetReminderResponseApplicationJson.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 => + _$chatGetReminderResponseApplicationJsonSerializer; +} + +class ChatSetReminderApiVersion extends EnumClass { + const ChatSetReminderApiVersion._(super.name); + + static const ChatSetReminderApiVersion v1 = _$chatSetReminderApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatSetReminderApiVersionValues; + // coverage:ignore-end + + static ChatSetReminderApiVersion valueOf(final String name) => _$valueOfChatSetReminderApiVersion(name); + + static Serializer get serializer => _$chatSetReminderApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSetReminderResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatReminder get data; +} + +abstract class ChatSetReminderResponseApplicationJson_Ocs + implements + ChatSetReminderResponseApplicationJson_OcsInterface, + Built { + factory ChatSetReminderResponseApplicationJson_Ocs([ + final void Function(ChatSetReminderResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatSetReminderResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatSetReminderResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSetReminderResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatSetReminderResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSetReminderResponseApplicationJsonInterface { + ChatSetReminderResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatSetReminderResponseApplicationJson + implements + ChatSetReminderResponseApplicationJsonInterface, + Built { + factory ChatSetReminderResponseApplicationJson([ + final void Function(ChatSetReminderResponseApplicationJsonBuilder)? b, + ]) = _$ChatSetReminderResponseApplicationJson; + + // coverage:ignore-start + const ChatSetReminderResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSetReminderResponseApplicationJson.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 => + _$chatSetReminderResponseApplicationJsonSerializer; +} + +class ChatDeleteReminderApiVersion extends EnumClass { + const ChatDeleteReminderApiVersion._(super.name); + + static const ChatDeleteReminderApiVersion v1 = _$chatDeleteReminderApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatDeleteReminderApiVersionValues; + // coverage:ignore-end + + static ChatDeleteReminderApiVersion valueOf(final String name) => _$valueOfChatDeleteReminderApiVersion(name); + + static Serializer get serializer => _$chatDeleteReminderApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatDeleteReminderResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class ChatDeleteReminderResponseApplicationJson_Ocs + implements + ChatDeleteReminderResponseApplicationJson_OcsInterface, + Built { + factory ChatDeleteReminderResponseApplicationJson_Ocs([ + final void Function(ChatDeleteReminderResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatDeleteReminderResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatDeleteReminderResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatDeleteReminderResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatDeleteReminderResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatDeleteReminderResponseApplicationJsonInterface { + ChatDeleteReminderResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatDeleteReminderResponseApplicationJson + implements + ChatDeleteReminderResponseApplicationJsonInterface, + Built { + factory ChatDeleteReminderResponseApplicationJson([ + final void Function(ChatDeleteReminderResponseApplicationJsonBuilder)? b, + ]) = _$ChatDeleteReminderResponseApplicationJson; + + // coverage:ignore-start + const ChatDeleteReminderResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatDeleteReminderResponseApplicationJson.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 => + _$chatDeleteReminderResponseApplicationJsonSerializer; +} + +class ChatSetReadMarkerApiVersion extends EnumClass { + const ChatSetReadMarkerApiVersion._(super.name); + + static const ChatSetReadMarkerApiVersion v1 = _$chatSetReadMarkerApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatSetReadMarkerApiVersionValues; + // coverage:ignore-end + + static ChatSetReadMarkerApiVersion valueOf(final String name) => _$valueOfChatSetReadMarkerApiVersion(name); + + static Serializer get serializer => _$chatSetReadMarkerApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatSetReadMarkerHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatSetReadMarkerHeaders + implements + ChatChatSetReadMarkerHeadersInterface, + Built { + factory ChatChatSetReadMarkerHeaders([final void Function(ChatChatSetReadMarkerHeadersBuilder)? b]) = + _$ChatChatSetReadMarkerHeaders; + + // coverage:ignore-start + const ChatChatSetReadMarkerHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatSetReadMarkerHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatSetReadMarkerHeadersSerializer(); +} + +class _$ChatChatSetReadMarkerHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatSetReadMarkerHeaders, _$ChatChatSetReadMarkerHeaders]; + + @override + final String wireName = 'ChatChatSetReadMarkerHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatSetReadMarkerHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatSetReadMarkerHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatSetReadMarkerHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSetReadMarkerResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class ChatSetReadMarkerResponseApplicationJson_Ocs + implements + ChatSetReadMarkerResponseApplicationJson_OcsInterface, + Built { + factory ChatSetReadMarkerResponseApplicationJson_Ocs([ + final void Function(ChatSetReadMarkerResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatSetReadMarkerResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatSetReadMarkerResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSetReadMarkerResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatSetReadMarkerResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatSetReadMarkerResponseApplicationJsonInterface { + ChatSetReadMarkerResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatSetReadMarkerResponseApplicationJson + implements + ChatSetReadMarkerResponseApplicationJsonInterface, + Built { + factory ChatSetReadMarkerResponseApplicationJson([ + final void Function(ChatSetReadMarkerResponseApplicationJsonBuilder)? b, + ]) = _$ChatSetReadMarkerResponseApplicationJson; + + // coverage:ignore-start + const ChatSetReadMarkerResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatSetReadMarkerResponseApplicationJson.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 => + _$chatSetReadMarkerResponseApplicationJsonSerializer; +} + +class ChatMarkUnreadApiVersion extends EnumClass { + const ChatMarkUnreadApiVersion._(super.name); + + static const ChatMarkUnreadApiVersion v1 = _$chatMarkUnreadApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatMarkUnreadApiVersionValues; + // coverage:ignore-end + + static ChatMarkUnreadApiVersion valueOf(final String name) => _$valueOfChatMarkUnreadApiVersion(name); + + static Serializer get serializer => _$chatMarkUnreadApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatMarkUnreadHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatMarkUnreadHeaders + implements ChatChatMarkUnreadHeadersInterface, Built { + factory ChatChatMarkUnreadHeaders([final void Function(ChatChatMarkUnreadHeadersBuilder)? b]) = + _$ChatChatMarkUnreadHeaders; + + // coverage:ignore-start + const ChatChatMarkUnreadHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatMarkUnreadHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatMarkUnreadHeadersSerializer(); +} + +class _$ChatChatMarkUnreadHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatMarkUnreadHeaders, _$ChatChatMarkUnreadHeaders]; + + @override + final String wireName = 'ChatChatMarkUnreadHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatMarkUnreadHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatMarkUnreadHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatMarkUnreadHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMarkUnreadResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class ChatMarkUnreadResponseApplicationJson_Ocs + implements + ChatMarkUnreadResponseApplicationJson_OcsInterface, + Built { + factory ChatMarkUnreadResponseApplicationJson_Ocs([ + final void Function(ChatMarkUnreadResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatMarkUnreadResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatMarkUnreadResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMarkUnreadResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatMarkUnreadResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMarkUnreadResponseApplicationJsonInterface { + ChatMarkUnreadResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatMarkUnreadResponseApplicationJson + implements + ChatMarkUnreadResponseApplicationJsonInterface, + Built { + factory ChatMarkUnreadResponseApplicationJson([ + final void Function(ChatMarkUnreadResponseApplicationJsonBuilder)? b, + ]) = _$ChatMarkUnreadResponseApplicationJson; + + // coverage:ignore-start + const ChatMarkUnreadResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMarkUnreadResponseApplicationJson.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 => + _$chatMarkUnreadResponseApplicationJsonSerializer; +} + +class ChatMentionsApiVersion extends EnumClass { + const ChatMentionsApiVersion._(super.name); + + static const ChatMentionsApiVersion v1 = _$chatMentionsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatMentionsApiVersionValues; + // coverage:ignore-end + + static ChatMentionsApiVersion valueOf(final String name) => _$valueOfChatMentionsApiVersion(name); + + static Serializer get serializer => _$chatMentionsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMentionSuggestionInterface { + String get id; + String get label; + String get source; + String? get status; + int? get statusClearAt; + String? get statusIcon; + String? get statusMessage; +} + +abstract class ChatMentionSuggestion + implements ChatMentionSuggestionInterface, Built { + factory ChatMentionSuggestion([final void Function(ChatMentionSuggestionBuilder)? b]) = _$ChatMentionSuggestion; + + // coverage:ignore-start + const ChatMentionSuggestion._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMentionSuggestion.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 => _$chatMentionSuggestionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMentionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class ChatMentionsResponseApplicationJson_Ocs + implements + ChatMentionsResponseApplicationJson_OcsInterface, + Built { + factory ChatMentionsResponseApplicationJson_Ocs([ + final void Function(ChatMentionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatMentionsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatMentionsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMentionsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatMentionsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatMentionsResponseApplicationJsonInterface { + ChatMentionsResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatMentionsResponseApplicationJson + implements + ChatMentionsResponseApplicationJsonInterface, + Built { + factory ChatMentionsResponseApplicationJson([final void Function(ChatMentionsResponseApplicationJsonBuilder)? b]) = + _$ChatMentionsResponseApplicationJson; + + // coverage:ignore-start + const ChatMentionsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatMentionsResponseApplicationJson.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 => + _$chatMentionsResponseApplicationJsonSerializer; +} + +class ChatGetObjectsSharedInRoomApiVersion extends EnumClass { + const ChatGetObjectsSharedInRoomApiVersion._(super.name); + + static const ChatGetObjectsSharedInRoomApiVersion v1 = _$chatGetObjectsSharedInRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatGetObjectsSharedInRoomApiVersionValues; + // coverage:ignore-end + + static ChatGetObjectsSharedInRoomApiVersion valueOf(final String name) => + _$valueOfChatGetObjectsSharedInRoomApiVersion(name); + + static Serializer get serializer => + _$chatGetObjectsSharedInRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatGetObjectsSharedInRoomHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-given') + String? get xChatLastGiven; +} + +abstract class ChatChatGetObjectsSharedInRoomHeaders + implements + ChatChatGetObjectsSharedInRoomHeadersInterface, + Built { + factory ChatChatGetObjectsSharedInRoomHeaders([ + final void Function(ChatChatGetObjectsSharedInRoomHeadersBuilder)? b, + ]) = _$ChatChatGetObjectsSharedInRoomHeaders; + + // coverage:ignore-start + const ChatChatGetObjectsSharedInRoomHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatGetObjectsSharedInRoomHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$ChatChatGetObjectsSharedInRoomHeadersSerializer(); +} + +class _$ChatChatGetObjectsSharedInRoomHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatChatGetObjectsSharedInRoomHeaders, _$ChatChatGetObjectsSharedInRoomHeaders]; + + @override + final String wireName = 'ChatChatGetObjectsSharedInRoomHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatGetObjectsSharedInRoomHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatGetObjectsSharedInRoomHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatGetObjectsSharedInRoomHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-given': + result.xChatLastGiven = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs + implements + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterface, + Built { + factory ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs([ + final void Function(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatGetObjectsSharedInRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetObjectsSharedInRoomResponseApplicationJsonInterface { + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatGetObjectsSharedInRoomResponseApplicationJson + implements + ChatGetObjectsSharedInRoomResponseApplicationJsonInterface, + Built { + factory ChatGetObjectsSharedInRoomResponseApplicationJson([ + final void Function(ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder)? b, + ]) = _$ChatGetObjectsSharedInRoomResponseApplicationJson; + + // coverage:ignore-start + const ChatGetObjectsSharedInRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetObjectsSharedInRoomResponseApplicationJson.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 => + _$chatGetObjectsSharedInRoomResponseApplicationJsonSerializer; +} + +class ChatShareObjectToChatApiVersion extends EnumClass { + const ChatShareObjectToChatApiVersion._(super.name); + + static const ChatShareObjectToChatApiVersion v1 = _$chatShareObjectToChatApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$chatShareObjectToChatApiVersionValues; + // coverage:ignore-end + + static ChatShareObjectToChatApiVersion valueOf(final String name) => _$valueOfChatShareObjectToChatApiVersion(name); + + static Serializer get serializer => _$chatShareObjectToChatApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatChatShareObjectToChatHeadersInterface { + @BuiltValueField(wireName: 'x-chat-last-common-read') + String? get xChatLastCommonRead; +} + +abstract class ChatChatShareObjectToChatHeaders + implements + ChatChatShareObjectToChatHeadersInterface, + Built { + factory ChatChatShareObjectToChatHeaders([final void Function(ChatChatShareObjectToChatHeadersBuilder)? b]) = + _$ChatChatShareObjectToChatHeaders; + + // coverage:ignore-start + const ChatChatShareObjectToChatHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatChatShareObjectToChatHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$ChatChatShareObjectToChatHeadersSerializer(); +} + +class _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatShareObjectToChatHeaders, _$ChatChatShareObjectToChatHeaders]; + + @override + final String wireName = 'ChatChatShareObjectToChatHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final ChatChatShareObjectToChatHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + ChatChatShareObjectToChatHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ChatChatShareObjectToChatHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ChatShareObjectToChatResponseApplicationJson_OcsInterface { + OCSMeta get meta; + ChatMessageWithParent? get data; +} + +abstract class ChatShareObjectToChatResponseApplicationJson_Ocs + implements + ChatShareObjectToChatResponseApplicationJson_OcsInterface, + Built { + factory ChatShareObjectToChatResponseApplicationJson_Ocs([ + final void Function(ChatShareObjectToChatResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatShareObjectToChatResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatShareObjectToChatResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatShareObjectToChatResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatShareObjectToChatResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatShareObjectToChatResponseApplicationJsonInterface { + ChatShareObjectToChatResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatShareObjectToChatResponseApplicationJson + implements + ChatShareObjectToChatResponseApplicationJsonInterface, + Built { + factory ChatShareObjectToChatResponseApplicationJson([ + final void Function(ChatShareObjectToChatResponseApplicationJsonBuilder)? b, + ]) = _$ChatShareObjectToChatResponseApplicationJson; + + // coverage:ignore-start + const ChatShareObjectToChatResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatShareObjectToChatResponseApplicationJson.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 => + _$chatShareObjectToChatResponseApplicationJsonSerializer; +} + +class ChatGetObjectsSharedInRoomOverviewApiVersion extends EnumClass { + const ChatGetObjectsSharedInRoomOverviewApiVersion._(super.name); + + static const ChatGetObjectsSharedInRoomOverviewApiVersion v1 = _$chatGetObjectsSharedInRoomOverviewApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$chatGetObjectsSharedInRoomOverviewApiVersionValues; + // coverage:ignore-end + + static ChatGetObjectsSharedInRoomOverviewApiVersion valueOf(final String name) => + _$valueOfChatGetObjectsSharedInRoomOverviewApiVersion(name); + + static Serializer get serializer => + _$chatGetObjectsSharedInRoomOverviewApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap> get data; +} + +abstract class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs + implements + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterface, + Built { + factory ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs([ + final void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder)? b, + ]) = _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$chatGetObjectsSharedInRoomOverviewResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterface { + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs get ocs; +} + +abstract class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson + implements + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterface, + Built { + factory ChatGetObjectsSharedInRoomOverviewResponseApplicationJson([ + final void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder)? b, + ]) = _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson; + + // coverage:ignore-start + const ChatGetObjectsSharedInRoomOverviewResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ChatGetObjectsSharedInRoomOverviewResponseApplicationJson.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 => + _$chatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer; +} + +class FederationAcceptShareApiVersion extends EnumClass { + const FederationAcceptShareApiVersion._(super.name); + + static const FederationAcceptShareApiVersion v1 = _$federationAcceptShareApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$federationAcceptShareApiVersionValues; + // coverage:ignore-end + + static FederationAcceptShareApiVersion valueOf(final String name) => _$valueOfFederationAcceptShareApiVersion(name); + + static Serializer get serializer => _$federationAcceptShareApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationAcceptShareResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class FederationAcceptShareResponseApplicationJson_Ocs + implements + FederationAcceptShareResponseApplicationJson_OcsInterface, + Built { + factory FederationAcceptShareResponseApplicationJson_Ocs([ + final void Function(FederationAcceptShareResponseApplicationJson_OcsBuilder)? b, + ]) = _$FederationAcceptShareResponseApplicationJson_Ocs; + + // coverage:ignore-start + const FederationAcceptShareResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationAcceptShareResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$federationAcceptShareResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationAcceptShareResponseApplicationJsonInterface { + FederationAcceptShareResponseApplicationJson_Ocs get ocs; +} + +abstract class FederationAcceptShareResponseApplicationJson + implements + FederationAcceptShareResponseApplicationJsonInterface, + Built { + factory FederationAcceptShareResponseApplicationJson([ + final void Function(FederationAcceptShareResponseApplicationJsonBuilder)? b, + ]) = _$FederationAcceptShareResponseApplicationJson; + + // coverage:ignore-start + const FederationAcceptShareResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationAcceptShareResponseApplicationJson.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 => + _$federationAcceptShareResponseApplicationJsonSerializer; +} + +class FederationRejectShareApiVersion extends EnumClass { + const FederationRejectShareApiVersion._(super.name); + + static const FederationRejectShareApiVersion v1 = _$federationRejectShareApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$federationRejectShareApiVersionValues; + // coverage:ignore-end + + static FederationRejectShareApiVersion valueOf(final String name) => _$valueOfFederationRejectShareApiVersion(name); + + static Serializer get serializer => _$federationRejectShareApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationRejectShareResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class FederationRejectShareResponseApplicationJson_Ocs + implements + FederationRejectShareResponseApplicationJson_OcsInterface, + Built { + factory FederationRejectShareResponseApplicationJson_Ocs([ + final void Function(FederationRejectShareResponseApplicationJson_OcsBuilder)? b, + ]) = _$FederationRejectShareResponseApplicationJson_Ocs; + + // coverage:ignore-start + const FederationRejectShareResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationRejectShareResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$federationRejectShareResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationRejectShareResponseApplicationJsonInterface { + FederationRejectShareResponseApplicationJson_Ocs get ocs; +} + +abstract class FederationRejectShareResponseApplicationJson + implements + FederationRejectShareResponseApplicationJsonInterface, + Built { + factory FederationRejectShareResponseApplicationJson([ + final void Function(FederationRejectShareResponseApplicationJsonBuilder)? b, + ]) = _$FederationRejectShareResponseApplicationJson; + + // coverage:ignore-start + const FederationRejectShareResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationRejectShareResponseApplicationJson.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 => + _$federationRejectShareResponseApplicationJsonSerializer; +} + +class FederationGetSharesApiVersion extends EnumClass { + const FederationGetSharesApiVersion._(super.name); + + static const FederationGetSharesApiVersion v1 = _$federationGetSharesApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$federationGetSharesApiVersionValues; + // coverage:ignore-end + + static FederationGetSharesApiVersion valueOf(final String name) => _$valueOfFederationGetSharesApiVersion(name); + + static Serializer get serializer => _$federationGetSharesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationInviteInterface { + @BuiltValueField(wireName: 'access_token') + String get accessToken; + int get id; + @BuiltValueField(wireName: 'remote_id') + String get remoteId; + @BuiltValueField(wireName: 'remote_server') + String get remoteServer; + @BuiltValueField(wireName: 'remote_token') + String get remoteToken; + @BuiltValueField(wireName: 'room_id') + int get roomId; + @BuiltValueField(wireName: 'user_id') + String get userId; +} + +abstract class FederationInvite implements FederationInviteInterface, Built { + factory FederationInvite([final void Function(FederationInviteBuilder)? b]) = _$FederationInvite; + + // coverage:ignore-start + const FederationInvite._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationInvite.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 => _$federationInviteSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationGetSharesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class FederationGetSharesResponseApplicationJson_Ocs + implements + FederationGetSharesResponseApplicationJson_OcsInterface, + Built { + factory FederationGetSharesResponseApplicationJson_Ocs([ + final void Function(FederationGetSharesResponseApplicationJson_OcsBuilder)? b, + ]) = _$FederationGetSharesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const FederationGetSharesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationGetSharesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$federationGetSharesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FederationGetSharesResponseApplicationJsonInterface { + FederationGetSharesResponseApplicationJson_Ocs get ocs; +} + +abstract class FederationGetSharesResponseApplicationJson + implements + FederationGetSharesResponseApplicationJsonInterface, + Built { + factory FederationGetSharesResponseApplicationJson([ + final void Function(FederationGetSharesResponseApplicationJsonBuilder)? b, + ]) = _$FederationGetSharesResponseApplicationJson; + + // coverage:ignore-start + const FederationGetSharesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FederationGetSharesResponseApplicationJson.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 => + _$federationGetSharesResponseApplicationJsonSerializer; +} + +class FilesIntegrationGetRoomByFileIdApiVersion extends EnumClass { + const FilesIntegrationGetRoomByFileIdApiVersion._(super.name); + + static const FilesIntegrationGetRoomByFileIdApiVersion v1 = _$filesIntegrationGetRoomByFileIdApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$filesIntegrationGetRoomByFileIdApiVersionValues; + // coverage:ignore-end + + static FilesIntegrationGetRoomByFileIdApiVersion valueOf(final String name) => + _$valueOfFilesIntegrationGetRoomByFileIdApiVersion(name); + + static Serializer get serializer => + _$filesIntegrationGetRoomByFileIdApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterface { + String get token; +} + +abstract class FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data + implements + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterface, + Built { + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data([ + final void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterface { + OCSMeta get meta; + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data get data; +} + +abstract class FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs + implements + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterface, + Built { + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs([ + final void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder)? b, + ]) = _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs; + + // coverage:ignore-start + const FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterface { + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs get ocs; +} + +abstract class FilesIntegrationGetRoomByFileIdResponseApplicationJson + implements + FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterface, + Built { + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson([ + final void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder)? b, + ]) = _$FilesIntegrationGetRoomByFileIdResponseApplicationJson; + + // coverage:ignore-start + const FilesIntegrationGetRoomByFileIdResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByFileIdResponseApplicationJson.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 => + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer; +} + +class FilesIntegrationGetRoomByShareTokenApiVersion extends EnumClass { + const FilesIntegrationGetRoomByShareTokenApiVersion._(super.name); + + static const FilesIntegrationGetRoomByShareTokenApiVersion v1 = _$filesIntegrationGetRoomByShareTokenApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$filesIntegrationGetRoomByShareTokenApiVersionValues; + // coverage:ignore-end + + static FilesIntegrationGetRoomByShareTokenApiVersion valueOf(final String name) => + _$valueOfFilesIntegrationGetRoomByShareTokenApiVersion(name); + + static Serializer get serializer => + _$filesIntegrationGetRoomByShareTokenApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterface { + String get token; + String get userId; + String get userDisplayName; +} + +abstract class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data + implements + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterface, + Built { + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data([ + final void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterface { + OCSMeta get meta; + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data get data; +} + +abstract class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs + implements + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterface, + Built { + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs([ + final void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder)? b, + ]) = _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs; + + // coverage:ignore-start + const FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterface { + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs get ocs; +} + +abstract class FilesIntegrationGetRoomByShareTokenResponseApplicationJson + implements + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterface, + Built { + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson([ + final void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder)? b, + ]) = _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson; + + // coverage:ignore-start + const FilesIntegrationGetRoomByShareTokenResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesIntegrationGetRoomByShareTokenResponseApplicationJson.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 => + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer; +} + +class GuestSetDisplayNameApiVersion extends EnumClass { + const GuestSetDisplayNameApiVersion._(super.name); + + static const GuestSetDisplayNameApiVersion v1 = _$guestSetDisplayNameApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$guestSetDisplayNameApiVersionValues; + // coverage:ignore-end + + static GuestSetDisplayNameApiVersion valueOf(final String name) => _$valueOfGuestSetDisplayNameApiVersion(name); + + static Serializer get serializer => _$guestSetDisplayNameApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class GuestSetDisplayNameResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class GuestSetDisplayNameResponseApplicationJson_Ocs + implements + GuestSetDisplayNameResponseApplicationJson_OcsInterface, + Built { + factory GuestSetDisplayNameResponseApplicationJson_Ocs([ + final void Function(GuestSetDisplayNameResponseApplicationJson_OcsBuilder)? b, + ]) = _$GuestSetDisplayNameResponseApplicationJson_Ocs; + + // coverage:ignore-start + const GuestSetDisplayNameResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory GuestSetDisplayNameResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$guestSetDisplayNameResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class GuestSetDisplayNameResponseApplicationJsonInterface { + GuestSetDisplayNameResponseApplicationJson_Ocs get ocs; +} + +abstract class GuestSetDisplayNameResponseApplicationJson + implements + GuestSetDisplayNameResponseApplicationJsonInterface, + Built { + factory GuestSetDisplayNameResponseApplicationJson([ + final void Function(GuestSetDisplayNameResponseApplicationJsonBuilder)? b, + ]) = _$GuestSetDisplayNameResponseApplicationJson; + + // coverage:ignore-start + const GuestSetDisplayNameResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory GuestSetDisplayNameResponseApplicationJson.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 => + _$guestSetDisplayNameResponseApplicationJsonSerializer; +} + +class HostedSignalingServerRequestTrialApiVersion extends EnumClass { + const HostedSignalingServerRequestTrialApiVersion._(super.name); + + static const HostedSignalingServerRequestTrialApiVersion v1 = _$hostedSignalingServerRequestTrialApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$hostedSignalingServerRequestTrialApiVersionValues; + // coverage:ignore-end + + static HostedSignalingServerRequestTrialApiVersion valueOf(final String name) => + _$valueOfHostedSignalingServerRequestTrialApiVersion(name); + + static Serializer get serializer => + _$hostedSignalingServerRequestTrialApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap get data; +} + +abstract class HostedSignalingServerRequestTrialResponseApplicationJson_Ocs + implements + HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterface, + Built { + factory HostedSignalingServerRequestTrialResponseApplicationJson_Ocs([ + final void Function(HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder)? b, + ]) = _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs; + + // coverage:ignore-start + const HostedSignalingServerRequestTrialResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory HostedSignalingServerRequestTrialResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$hostedSignalingServerRequestTrialResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class HostedSignalingServerRequestTrialResponseApplicationJsonInterface { + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs get ocs; +} + +abstract class HostedSignalingServerRequestTrialResponseApplicationJson + implements + HostedSignalingServerRequestTrialResponseApplicationJsonInterface, + Built { + factory HostedSignalingServerRequestTrialResponseApplicationJson([ + final void Function(HostedSignalingServerRequestTrialResponseApplicationJsonBuilder)? b, + ]) = _$HostedSignalingServerRequestTrialResponseApplicationJson; + + // coverage:ignore-start + const HostedSignalingServerRequestTrialResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory HostedSignalingServerRequestTrialResponseApplicationJson.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 => + _$hostedSignalingServerRequestTrialResponseApplicationJsonSerializer; +} + +class HostedSignalingServerDeleteAccountApiVersion extends EnumClass { + const HostedSignalingServerDeleteAccountApiVersion._(super.name); + + static const HostedSignalingServerDeleteAccountApiVersion v1 = _$hostedSignalingServerDeleteAccountApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$hostedSignalingServerDeleteAccountApiVersionValues; + // coverage:ignore-end + + static HostedSignalingServerDeleteAccountApiVersion valueOf(final String name) => + _$valueOfHostedSignalingServerDeleteAccountApiVersion(name); + + static Serializer get serializer => + _$hostedSignalingServerDeleteAccountApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs + implements + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterface, + Built { + factory HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs([ + final void Function(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder)? b, + ]) = _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs; + + // coverage:ignore-start + const HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$hostedSignalingServerDeleteAccountResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class HostedSignalingServerDeleteAccountResponseApplicationJsonInterface { + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs get ocs; +} + +abstract class HostedSignalingServerDeleteAccountResponseApplicationJson + implements + HostedSignalingServerDeleteAccountResponseApplicationJsonInterface, + Built { + factory HostedSignalingServerDeleteAccountResponseApplicationJson([ + final void Function(HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder)? b, + ]) = _$HostedSignalingServerDeleteAccountResponseApplicationJson; + + // coverage:ignore-start + const HostedSignalingServerDeleteAccountResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory HostedSignalingServerDeleteAccountResponseApplicationJson.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 => + _$hostedSignalingServerDeleteAccountResponseApplicationJsonSerializer; +} + +class MatterbridgeGetBridgeOfRoomApiVersion extends EnumClass { + const MatterbridgeGetBridgeOfRoomApiVersion._(super.name); + + static const MatterbridgeGetBridgeOfRoomApiVersion v1 = _$matterbridgeGetBridgeOfRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$matterbridgeGetBridgeOfRoomApiVersionValues; + // coverage:ignore-end + + static MatterbridgeGetBridgeOfRoomApiVersion valueOf(final String name) => + _$valueOfMatterbridgeGetBridgeOfRoomApiVersion(name); + + static Serializer get serializer => + _$matterbridgeGetBridgeOfRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeInterface { + bool get enabled; + BuiltList> get parts; + int get pid; +} + +abstract class Matterbridge implements MatterbridgeInterface, Built { + factory Matterbridge([final void Function(MatterbridgeBuilder)? b]) = _$Matterbridge; + + // coverage:ignore-start + const Matterbridge._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Matterbridge.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 => _$matterbridgeSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeProcessStateInterface { + String get log; + bool get running; +} + +abstract class MatterbridgeProcessState + implements MatterbridgeProcessStateInterface, Built { + factory MatterbridgeProcessState([final void Function(MatterbridgeProcessStateBuilder)? b]) = + _$MatterbridgeProcessState; + + // coverage:ignore-start + const MatterbridgeProcessState._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeProcessState.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 => _$matterbridgeProcessStateSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeWithProcessStateInterface + implements MatterbridgeInterface, MatterbridgeProcessStateInterface {} + +abstract class MatterbridgeWithProcessState + implements + MatterbridgeWithProcessStateInterface, + Built { + factory MatterbridgeWithProcessState([final void Function(MatterbridgeWithProcessStateBuilder)? b]) = + _$MatterbridgeWithProcessState; + + // coverage:ignore-start + const MatterbridgeWithProcessState._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeWithProcessState.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 => _$matterbridgeWithProcessStateSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + MatterbridgeWithProcessState get data; +} + +abstract class MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs + implements + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs([ + final void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeGetBridgeOfRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterface { + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeGetBridgeOfRoomResponseApplicationJson + implements + MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterface, + Built { + factory MatterbridgeGetBridgeOfRoomResponseApplicationJson([ + final void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeGetBridgeOfRoomResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeGetBridgeOfRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeGetBridgeOfRoomResponseApplicationJson.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 => + _$matterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer; +} + +class MatterbridgeEditBridgeOfRoomApiVersion extends EnumClass { + const MatterbridgeEditBridgeOfRoomApiVersion._(super.name); + + static const MatterbridgeEditBridgeOfRoomApiVersion v1 = _$matterbridgeEditBridgeOfRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$matterbridgeEditBridgeOfRoomApiVersionValues; + // coverage:ignore-end + + static MatterbridgeEditBridgeOfRoomApiVersion valueOf(final String name) => + _$valueOfMatterbridgeEditBridgeOfRoomApiVersion(name); + + static Serializer get serializer => + _$matterbridgeEditBridgeOfRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + MatterbridgeProcessState get data; +} + +abstract class MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs + implements + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs([ + final void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeEditBridgeOfRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterface { + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeEditBridgeOfRoomResponseApplicationJson + implements + MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterface, + Built { + factory MatterbridgeEditBridgeOfRoomResponseApplicationJson([ + final void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeEditBridgeOfRoomResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeEditBridgeOfRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeEditBridgeOfRoomResponseApplicationJson.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 => + _$matterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer; +} + +class MatterbridgeDeleteBridgeOfRoomApiVersion extends EnumClass { + const MatterbridgeDeleteBridgeOfRoomApiVersion._(super.name); + + static const MatterbridgeDeleteBridgeOfRoomApiVersion v1 = _$matterbridgeDeleteBridgeOfRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$matterbridgeDeleteBridgeOfRoomApiVersionValues; + // coverage:ignore-end + + static MatterbridgeDeleteBridgeOfRoomApiVersion valueOf(final String name) => + _$valueOfMatterbridgeDeleteBridgeOfRoomApiVersion(name); + + static Serializer get serializer => + _$matterbridgeDeleteBridgeOfRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + bool get data; +} + +abstract class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs + implements + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs([ + final void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeDeleteBridgeOfRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterface { + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson + implements + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterface, + Built { + factory MatterbridgeDeleteBridgeOfRoomResponseApplicationJson([ + final void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeDeleteBridgeOfRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeDeleteBridgeOfRoomResponseApplicationJson.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 => + _$matterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer; +} + +class MatterbridgeGetBridgeProcessStateApiVersion extends EnumClass { + const MatterbridgeGetBridgeProcessStateApiVersion._(super.name); + + static const MatterbridgeGetBridgeProcessStateApiVersion v1 = _$matterbridgeGetBridgeProcessStateApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$matterbridgeGetBridgeProcessStateApiVersionValues; + // coverage:ignore-end + + static MatterbridgeGetBridgeProcessStateApiVersion valueOf(final String name) => + _$valueOfMatterbridgeGetBridgeProcessStateApiVersion(name); + + static Serializer get serializer => + _$matterbridgeGetBridgeProcessStateApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterface { + OCSMeta get meta; + MatterbridgeProcessState get data; +} + +abstract class MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs + implements + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs([ + final void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeGetBridgeProcessStateResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterface { + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeGetBridgeProcessStateResponseApplicationJson + implements + MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterface, + Built { + factory MatterbridgeGetBridgeProcessStateResponseApplicationJson([ + final void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeGetBridgeProcessStateResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeGetBridgeProcessStateResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeGetBridgeProcessStateResponseApplicationJson.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 => + _$matterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer; +} + +class MatterbridgeSettingsStopAllBridgesApiVersion extends EnumClass { + const MatterbridgeSettingsStopAllBridgesApiVersion._(super.name); + + static const MatterbridgeSettingsStopAllBridgesApiVersion v1 = _$matterbridgeSettingsStopAllBridgesApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$matterbridgeSettingsStopAllBridgesApiVersionValues; + // coverage:ignore-end + + static MatterbridgeSettingsStopAllBridgesApiVersion valueOf(final String name) => + _$valueOfMatterbridgeSettingsStopAllBridgesApiVersion(name); + + static Serializer get serializer => + _$matterbridgeSettingsStopAllBridgesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + bool get data; +} + +abstract class MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs + implements + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs([ + final void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeSettingsStopAllBridgesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterface { + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeSettingsStopAllBridgesResponseApplicationJson + implements + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterface, + Built { + factory MatterbridgeSettingsStopAllBridgesResponseApplicationJson([ + final void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeSettingsStopAllBridgesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeSettingsStopAllBridgesResponseApplicationJson.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 => + _$matterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer; +} + +class MatterbridgeSettingsGetMatterbridgeVersionApiVersion extends EnumClass { + const MatterbridgeSettingsGetMatterbridgeVersionApiVersion._(super.name); + + static const MatterbridgeSettingsGetMatterbridgeVersionApiVersion v1 = + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionValues; + // coverage:ignore-end + + static MatterbridgeSettingsGetMatterbridgeVersionApiVersion valueOf(final String name) => + _$valueOfMatterbridgeSettingsGetMatterbridgeVersionApiVersion(name); + + static Serializer get serializer => + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterface { + String get version; +} + +abstract class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data + implements + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterface, + Built { + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data([ + final void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data get data; +} + +abstract class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs + implements + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterface, + Built { + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs([ + final void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder)? b, + ]) = _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs; + + // coverage:ignore-start + const MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterface { + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs get ocs; +} + +abstract class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson + implements + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterface, + Built { + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson([ + final void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder)? b, + ]) = _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson; + + // coverage:ignore-start + const MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson.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 => + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer; +} + +class PollCreatePollApiVersion extends EnumClass { + const PollCreatePollApiVersion._(super.name); + + static const PollCreatePollApiVersion v1 = _$pollCreatePollApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$pollCreatePollApiVersionValues; + // coverage:ignore-end + + static PollCreatePollApiVersion valueOf(final String name) => _$valueOfPollCreatePollApiVersion(name); + + static Serializer get serializer => _$pollCreatePollApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollVoteInterface { + String get actorDisplayName; + String get actorId; + String get actorType; + int get optionId; +} + +abstract class PollVote implements PollVoteInterface, Built { + factory PollVote([final void Function(PollVoteBuilder)? b]) = _$PollVote; + + // coverage:ignore-start + const PollVote._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollVote.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 => _$pollVoteSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollInterface { + String get actorDisplayName; + String get actorId; + String get actorType; + BuiltList? get details; + int get id; + int get maxVotes; + int? get numVoters; + BuiltList get options; + String get question; + int get resultMode; + int get status; + BuiltList? get votedSelf; + BuiltMap? get votes; +} + +abstract class Poll implements PollInterface, Built { + factory Poll([final void Function(PollBuilder)? b]) = _$Poll; + + // coverage:ignore-start + const Poll._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Poll.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 => _$pollSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollCreatePollResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Poll get data; +} + +abstract class PollCreatePollResponseApplicationJson_Ocs + implements + PollCreatePollResponseApplicationJson_OcsInterface, + Built { + factory PollCreatePollResponseApplicationJson_Ocs([ + final void Function(PollCreatePollResponseApplicationJson_OcsBuilder)? b, + ]) = _$PollCreatePollResponseApplicationJson_Ocs; + + // coverage:ignore-start + const PollCreatePollResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollCreatePollResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$pollCreatePollResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollCreatePollResponseApplicationJsonInterface { + PollCreatePollResponseApplicationJson_Ocs get ocs; +} + +abstract class PollCreatePollResponseApplicationJson + implements + PollCreatePollResponseApplicationJsonInterface, + Built { + factory PollCreatePollResponseApplicationJson([ + final void Function(PollCreatePollResponseApplicationJsonBuilder)? b, + ]) = _$PollCreatePollResponseApplicationJson; + + // coverage:ignore-start + const PollCreatePollResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollCreatePollResponseApplicationJson.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 => + _$pollCreatePollResponseApplicationJsonSerializer; +} + +class PollShowPollApiVersion extends EnumClass { + const PollShowPollApiVersion._(super.name); + + static const PollShowPollApiVersion v1 = _$pollShowPollApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$pollShowPollApiVersionValues; + // coverage:ignore-end + + static PollShowPollApiVersion valueOf(final String name) => _$valueOfPollShowPollApiVersion(name); + + static Serializer get serializer => _$pollShowPollApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollShowPollResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Poll get data; +} + +abstract class PollShowPollResponseApplicationJson_Ocs + implements + PollShowPollResponseApplicationJson_OcsInterface, + Built { + factory PollShowPollResponseApplicationJson_Ocs([ + final void Function(PollShowPollResponseApplicationJson_OcsBuilder)? b, + ]) = _$PollShowPollResponseApplicationJson_Ocs; + + // coverage:ignore-start + const PollShowPollResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollShowPollResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$pollShowPollResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollShowPollResponseApplicationJsonInterface { + PollShowPollResponseApplicationJson_Ocs get ocs; +} + +abstract class PollShowPollResponseApplicationJson + implements + PollShowPollResponseApplicationJsonInterface, + Built { + factory PollShowPollResponseApplicationJson([final void Function(PollShowPollResponseApplicationJsonBuilder)? b]) = + _$PollShowPollResponseApplicationJson; + + // coverage:ignore-start + const PollShowPollResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollShowPollResponseApplicationJson.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 => + _$pollShowPollResponseApplicationJsonSerializer; +} + +class PollVotePollApiVersion extends EnumClass { + const PollVotePollApiVersion._(super.name); + + static const PollVotePollApiVersion v1 = _$pollVotePollApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$pollVotePollApiVersionValues; + // coverage:ignore-end + + static PollVotePollApiVersion valueOf(final String name) => _$valueOfPollVotePollApiVersion(name); + + static Serializer get serializer => _$pollVotePollApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollVotePollResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Poll get data; +} + +abstract class PollVotePollResponseApplicationJson_Ocs + implements + PollVotePollResponseApplicationJson_OcsInterface, + Built { + factory PollVotePollResponseApplicationJson_Ocs([ + final void Function(PollVotePollResponseApplicationJson_OcsBuilder)? b, + ]) = _$PollVotePollResponseApplicationJson_Ocs; + + // coverage:ignore-start + const PollVotePollResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollVotePollResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$pollVotePollResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollVotePollResponseApplicationJsonInterface { + PollVotePollResponseApplicationJson_Ocs get ocs; +} + +abstract class PollVotePollResponseApplicationJson + implements + PollVotePollResponseApplicationJsonInterface, + Built { + factory PollVotePollResponseApplicationJson([final void Function(PollVotePollResponseApplicationJsonBuilder)? b]) = + _$PollVotePollResponseApplicationJson; + + // coverage:ignore-start + const PollVotePollResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollVotePollResponseApplicationJson.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 => + _$pollVotePollResponseApplicationJsonSerializer; +} + +class PollClosePollApiVersion extends EnumClass { + const PollClosePollApiVersion._(super.name); + + static const PollClosePollApiVersion v1 = _$pollClosePollApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$pollClosePollApiVersionValues; + // coverage:ignore-end + + static PollClosePollApiVersion valueOf(final String name) => _$valueOfPollClosePollApiVersion(name); + + static Serializer get serializer => _$pollClosePollApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollClosePollResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Poll get data; +} + +abstract class PollClosePollResponseApplicationJson_Ocs + implements + PollClosePollResponseApplicationJson_OcsInterface, + Built { + factory PollClosePollResponseApplicationJson_Ocs([ + final void Function(PollClosePollResponseApplicationJson_OcsBuilder)? b, + ]) = _$PollClosePollResponseApplicationJson_Ocs; + + // coverage:ignore-start + const PollClosePollResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollClosePollResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$pollClosePollResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PollClosePollResponseApplicationJsonInterface { + PollClosePollResponseApplicationJson_Ocs get ocs; +} + +abstract class PollClosePollResponseApplicationJson + implements + PollClosePollResponseApplicationJsonInterface, + Built { + factory PollClosePollResponseApplicationJson([final void Function(PollClosePollResponseApplicationJsonBuilder)? b]) = + _$PollClosePollResponseApplicationJson; + + // coverage:ignore-start + const PollClosePollResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PollClosePollResponseApplicationJson.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 => + _$pollClosePollResponseApplicationJsonSerializer; +} + +class PublicShareAuthCreateRoomApiVersion extends EnumClass { + const PublicShareAuthCreateRoomApiVersion._(super.name); + + static const PublicShareAuthCreateRoomApiVersion v1 = _$publicShareAuthCreateRoomApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$publicShareAuthCreateRoomApiVersionValues; + // coverage:ignore-end + + static PublicShareAuthCreateRoomApiVersion valueOf(final String name) => + _$valueOfPublicShareAuthCreateRoomApiVersion(name); + + static Serializer get serializer => + _$publicShareAuthCreateRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterface { + String get token; + String get name; + String get displayName; +} + +abstract class PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data + implements + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterface, + Built { + factory PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data([ + final void Function(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$publicShareAuthCreateRoomResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicShareAuthCreateRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data get data; +} + +abstract class PublicShareAuthCreateRoomResponseApplicationJson_Ocs + implements + PublicShareAuthCreateRoomResponseApplicationJson_OcsInterface, + Built { + factory PublicShareAuthCreateRoomResponseApplicationJson_Ocs([ + final void Function(PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const PublicShareAuthCreateRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicShareAuthCreateRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$publicShareAuthCreateRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicShareAuthCreateRoomResponseApplicationJsonInterface { + PublicShareAuthCreateRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class PublicShareAuthCreateRoomResponseApplicationJson + implements + PublicShareAuthCreateRoomResponseApplicationJsonInterface, + Built { + factory PublicShareAuthCreateRoomResponseApplicationJson([ + final void Function(PublicShareAuthCreateRoomResponseApplicationJsonBuilder)? b, + ]) = _$PublicShareAuthCreateRoomResponseApplicationJson; + + // coverage:ignore-start + const PublicShareAuthCreateRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicShareAuthCreateRoomResponseApplicationJson.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 => + _$publicShareAuthCreateRoomResponseApplicationJsonSerializer; +} + +class ReactionGetReactionsApiVersion extends EnumClass { + const ReactionGetReactionsApiVersion._(super.name); + + static const ReactionGetReactionsApiVersion v1 = _$reactionGetReactionsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$reactionGetReactionsApiVersionValues; + // coverage:ignore-end + + static ReactionGetReactionsApiVersion valueOf(final String name) => _$valueOfReactionGetReactionsApiVersion(name); + + static Serializer get serializer => _$reactionGetReactionsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionInterface { + String get actorDisplayName; + String get actorId; + String get actorType; + int get timestamp; +} + +abstract class Reaction implements ReactionInterface, Built { + factory Reaction([final void Function(ReactionBuilder)? b]) = _$Reaction; + + // coverage:ignore-start + const Reaction._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Reaction.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 => _$reactionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionGetReactionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap> get data; +} + +abstract class ReactionGetReactionsResponseApplicationJson_Ocs + implements + ReactionGetReactionsResponseApplicationJson_OcsInterface, + Built { + factory ReactionGetReactionsResponseApplicationJson_Ocs([ + final void Function(ReactionGetReactionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReactionGetReactionsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ReactionGetReactionsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionGetReactionsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$reactionGetReactionsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionGetReactionsResponseApplicationJsonInterface { + ReactionGetReactionsResponseApplicationJson_Ocs get ocs; +} + +abstract class ReactionGetReactionsResponseApplicationJson + implements + ReactionGetReactionsResponseApplicationJsonInterface, + Built { + factory ReactionGetReactionsResponseApplicationJson([ + final void Function(ReactionGetReactionsResponseApplicationJsonBuilder)? b, + ]) = _$ReactionGetReactionsResponseApplicationJson; + + // coverage:ignore-start + const ReactionGetReactionsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionGetReactionsResponseApplicationJson.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 => + _$reactionGetReactionsResponseApplicationJsonSerializer; +} + +class ReactionReactApiVersion extends EnumClass { + const ReactionReactApiVersion._(super.name); + + static const ReactionReactApiVersion v1 = _$reactionReactApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$reactionReactApiVersionValues; + // coverage:ignore-end + + static ReactionReactApiVersion valueOf(final String name) => _$valueOfReactionReactApiVersion(name); + + static Serializer get serializer => _$reactionReactApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionReactResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap> get data; +} + +abstract class ReactionReactResponseApplicationJson_Ocs + implements + ReactionReactResponseApplicationJson_OcsInterface, + Built { + factory ReactionReactResponseApplicationJson_Ocs([ + final void Function(ReactionReactResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReactionReactResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ReactionReactResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionReactResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$reactionReactResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionReactResponseApplicationJsonInterface { + ReactionReactResponseApplicationJson_Ocs get ocs; +} + +abstract class ReactionReactResponseApplicationJson + implements + ReactionReactResponseApplicationJsonInterface, + Built { + factory ReactionReactResponseApplicationJson([final void Function(ReactionReactResponseApplicationJsonBuilder)? b]) = + _$ReactionReactResponseApplicationJson; + + // coverage:ignore-start + const ReactionReactResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionReactResponseApplicationJson.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 => + _$reactionReactResponseApplicationJsonSerializer; +} + +class ReactionDeleteApiVersion extends EnumClass { + const ReactionDeleteApiVersion._(super.name); + + static const ReactionDeleteApiVersion v1 = _$reactionDeleteApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$reactionDeleteApiVersionValues; + // coverage:ignore-end + + static ReactionDeleteApiVersion valueOf(final String name) => _$valueOfReactionDeleteApiVersion(name); + + static Serializer get serializer => _$reactionDeleteApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionDeleteResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap> get data; +} + +abstract class ReactionDeleteResponseApplicationJson_Ocs + implements + ReactionDeleteResponseApplicationJson_OcsInterface, + Built { + factory ReactionDeleteResponseApplicationJson_Ocs([ + final void Function(ReactionDeleteResponseApplicationJson_OcsBuilder)? b, + ]) = _$ReactionDeleteResponseApplicationJson_Ocs; + + // coverage:ignore-start + const ReactionDeleteResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionDeleteResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$reactionDeleteResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReactionDeleteResponseApplicationJsonInterface { + ReactionDeleteResponseApplicationJson_Ocs get ocs; +} + +abstract class ReactionDeleteResponseApplicationJson + implements + ReactionDeleteResponseApplicationJsonInterface, + Built { + factory ReactionDeleteResponseApplicationJson([ + final void Function(ReactionDeleteResponseApplicationJsonBuilder)? b, + ]) = _$ReactionDeleteResponseApplicationJson; + + // coverage:ignore-start + const ReactionDeleteResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory ReactionDeleteResponseApplicationJson.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 => + _$reactionDeleteResponseApplicationJsonSerializer; +} + +class RecordingGetWelcomeMessageApiVersion extends EnumClass { + const RecordingGetWelcomeMessageApiVersion._(super.name); + + static const RecordingGetWelcomeMessageApiVersion v1 = _$recordingGetWelcomeMessageApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingGetWelcomeMessageApiVersionValues; + // coverage:ignore-end + + static RecordingGetWelcomeMessageApiVersion valueOf(final String name) => + _$valueOfRecordingGetWelcomeMessageApiVersion(name); + + static Serializer get serializer => + _$recordingGetWelcomeMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterface { + num get version; +} + +abstract class RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data + implements + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterface, + Built { + factory RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data([ + final void Function(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingGetWelcomeMessageResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingGetWelcomeMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data get data; +} + +abstract class RecordingGetWelcomeMessageResponseApplicationJson_Ocs + implements + RecordingGetWelcomeMessageResponseApplicationJson_OcsInterface, + Built { + factory RecordingGetWelcomeMessageResponseApplicationJson_Ocs([ + final void Function(RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingGetWelcomeMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingGetWelcomeMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingGetWelcomeMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingGetWelcomeMessageResponseApplicationJsonInterface { + RecordingGetWelcomeMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingGetWelcomeMessageResponseApplicationJson + implements + RecordingGetWelcomeMessageResponseApplicationJsonInterface, + Built { + factory RecordingGetWelcomeMessageResponseApplicationJson([ + final void Function(RecordingGetWelcomeMessageResponseApplicationJsonBuilder)? b, + ]) = _$RecordingGetWelcomeMessageResponseApplicationJson; + + // coverage:ignore-start + const RecordingGetWelcomeMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingGetWelcomeMessageResponseApplicationJson.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 => + _$recordingGetWelcomeMessageResponseApplicationJsonSerializer; +} + +class RecordingStartApiVersion extends EnumClass { + const RecordingStartApiVersion._(super.name); + + static const RecordingStartApiVersion v1 = _$recordingStartApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingStartApiVersionValues; + // coverage:ignore-end + + static RecordingStartApiVersion valueOf(final String name) => _$valueOfRecordingStartApiVersion(name); + + static Serializer get serializer => _$recordingStartApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStartResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RecordingStartResponseApplicationJson_Ocs + implements + RecordingStartResponseApplicationJson_OcsInterface, + Built { + factory RecordingStartResponseApplicationJson_Ocs([ + final void Function(RecordingStartResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingStartResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingStartResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStartResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingStartResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStartResponseApplicationJsonInterface { + RecordingStartResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingStartResponseApplicationJson + implements + RecordingStartResponseApplicationJsonInterface, + Built { + factory RecordingStartResponseApplicationJson([ + final void Function(RecordingStartResponseApplicationJsonBuilder)? b, + ]) = _$RecordingStartResponseApplicationJson; + + // coverage:ignore-start + const RecordingStartResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStartResponseApplicationJson.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 => + _$recordingStartResponseApplicationJsonSerializer; +} + +class RecordingStopApiVersion extends EnumClass { + const RecordingStopApiVersion._(super.name); + + static const RecordingStopApiVersion v1 = _$recordingStopApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingStopApiVersionValues; + // coverage:ignore-end + + static RecordingStopApiVersion valueOf(final String name) => _$valueOfRecordingStopApiVersion(name); + + static Serializer get serializer => _$recordingStopApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStopResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RecordingStopResponseApplicationJson_Ocs + implements + RecordingStopResponseApplicationJson_OcsInterface, + Built { + factory RecordingStopResponseApplicationJson_Ocs([ + final void Function(RecordingStopResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingStopResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingStopResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStopResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingStopResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStopResponseApplicationJsonInterface { + RecordingStopResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingStopResponseApplicationJson + implements + RecordingStopResponseApplicationJsonInterface, + Built { + factory RecordingStopResponseApplicationJson([final void Function(RecordingStopResponseApplicationJsonBuilder)? b]) = + _$RecordingStopResponseApplicationJson; + + // coverage:ignore-start + const RecordingStopResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStopResponseApplicationJson.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 => + _$recordingStopResponseApplicationJsonSerializer; +} + +class RecordingStoreApiVersion extends EnumClass { + const RecordingStoreApiVersion._(super.name); + + static const RecordingStoreApiVersion v1 = _$recordingStoreApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingStoreApiVersionValues; + // coverage:ignore-end + + static RecordingStoreApiVersion valueOf(final String name) => _$valueOfRecordingStoreApiVersion(name); + + static Serializer get serializer => _$recordingStoreApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStoreResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RecordingStoreResponseApplicationJson_Ocs + implements + RecordingStoreResponseApplicationJson_OcsInterface, + Built { + factory RecordingStoreResponseApplicationJson_Ocs([ + final void Function(RecordingStoreResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingStoreResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingStoreResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStoreResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingStoreResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingStoreResponseApplicationJsonInterface { + RecordingStoreResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingStoreResponseApplicationJson + implements + RecordingStoreResponseApplicationJsonInterface, + Built { + factory RecordingStoreResponseApplicationJson([ + final void Function(RecordingStoreResponseApplicationJsonBuilder)? b, + ]) = _$RecordingStoreResponseApplicationJson; + + // coverage:ignore-start + const RecordingStoreResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingStoreResponseApplicationJson.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 => + _$recordingStoreResponseApplicationJsonSerializer; +} + +class RecordingNotificationDismissApiVersion extends EnumClass { + const RecordingNotificationDismissApiVersion._(super.name); + + static const RecordingNotificationDismissApiVersion v1 = _$recordingNotificationDismissApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingNotificationDismissApiVersionValues; + // coverage:ignore-end + + static RecordingNotificationDismissApiVersion valueOf(final String name) => + _$valueOfRecordingNotificationDismissApiVersion(name); + + static Serializer get serializer => + _$recordingNotificationDismissApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingNotificationDismissResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RecordingNotificationDismissResponseApplicationJson_Ocs + implements + RecordingNotificationDismissResponseApplicationJson_OcsInterface, + Built { + factory RecordingNotificationDismissResponseApplicationJson_Ocs([ + final void Function(RecordingNotificationDismissResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingNotificationDismissResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingNotificationDismissResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingNotificationDismissResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingNotificationDismissResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingNotificationDismissResponseApplicationJsonInterface { + RecordingNotificationDismissResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingNotificationDismissResponseApplicationJson + implements + RecordingNotificationDismissResponseApplicationJsonInterface, + Built { + factory RecordingNotificationDismissResponseApplicationJson([ + final void Function(RecordingNotificationDismissResponseApplicationJsonBuilder)? b, + ]) = _$RecordingNotificationDismissResponseApplicationJson; + + // coverage:ignore-start + const RecordingNotificationDismissResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingNotificationDismissResponseApplicationJson.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 => + _$recordingNotificationDismissResponseApplicationJsonSerializer; +} + +class RecordingShareToChatApiVersion extends EnumClass { + const RecordingShareToChatApiVersion._(super.name); + + static const RecordingShareToChatApiVersion v1 = _$recordingShareToChatApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$recordingShareToChatApiVersionValues; + // coverage:ignore-end + + static RecordingShareToChatApiVersion valueOf(final String name) => _$valueOfRecordingShareToChatApiVersion(name); + + static Serializer get serializer => _$recordingShareToChatApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingShareToChatResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RecordingShareToChatResponseApplicationJson_Ocs + implements + RecordingShareToChatResponseApplicationJson_OcsInterface, + Built { + factory RecordingShareToChatResponseApplicationJson_Ocs([ + final void Function(RecordingShareToChatResponseApplicationJson_OcsBuilder)? b, + ]) = _$RecordingShareToChatResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RecordingShareToChatResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingShareToChatResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$recordingShareToChatResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RecordingShareToChatResponseApplicationJsonInterface { + RecordingShareToChatResponseApplicationJson_Ocs get ocs; +} + +abstract class RecordingShareToChatResponseApplicationJson + implements + RecordingShareToChatResponseApplicationJsonInterface, + Built { + factory RecordingShareToChatResponseApplicationJson([ + final void Function(RecordingShareToChatResponseApplicationJsonBuilder)? b, + ]) = _$RecordingShareToChatResponseApplicationJson; + + // coverage:ignore-start + const RecordingShareToChatResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RecordingShareToChatResponseApplicationJson.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 => + _$recordingShareToChatResponseApplicationJsonSerializer; +} + +class RoomGetRoomsApiVersion extends EnumClass { + const RoomGetRoomsApiVersion._(super.name); + + static const RoomGetRoomsApiVersion v4 = _$roomGetRoomsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomGetRoomsApiVersionValues; + // coverage:ignore-end + + static RoomGetRoomsApiVersion valueOf(final String name) => _$valueOfRoomGetRoomsApiVersion(name); + + static Serializer get serializer => _$roomGetRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRoomGetRoomsHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-talk-hash') + String? get xNextcloudTalkHash; + @BuiltValueField(wireName: 'x-nextcloud-talk-modified-before') + String? get xNextcloudTalkModifiedBefore; +} + +abstract class RoomRoomGetRoomsHeaders + implements RoomRoomGetRoomsHeadersInterface, Built { + factory RoomRoomGetRoomsHeaders([final void Function(RoomRoomGetRoomsHeadersBuilder)? b]) = _$RoomRoomGetRoomsHeaders; + + // coverage:ignore-start + const RoomRoomGetRoomsHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRoomGetRoomsHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$RoomRoomGetRoomsHeadersSerializer(); +} + +class _$RoomRoomGetRoomsHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [RoomRoomGetRoomsHeaders, _$RoomRoomGetRoomsHeaders]; + + @override + final String wireName = 'RoomRoomGetRoomsHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final RoomRoomGetRoomsHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + RoomRoomGetRoomsHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomRoomGetRoomsHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = value; + case 'x-nextcloud-talk-modified-before': + result.xNextcloudTalkModifiedBefore = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class RoomGetRoomsResponseApplicationJson_Ocs + implements + RoomGetRoomsResponseApplicationJson_OcsInterface, + Built { + factory RoomGetRoomsResponseApplicationJson_Ocs([ + final void Function(RoomGetRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetRoomsResponseApplicationJsonInterface { + RoomGetRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetRoomsResponseApplicationJson + implements + RoomGetRoomsResponseApplicationJsonInterface, + Built { + factory RoomGetRoomsResponseApplicationJson([final void Function(RoomGetRoomsResponseApplicationJsonBuilder)? b]) = + _$RoomGetRoomsResponseApplicationJson; + + // coverage:ignore-start + const RoomGetRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetRoomsResponseApplicationJson.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 => + _$roomGetRoomsResponseApplicationJsonSerializer; +} + +class RoomCreateRoomApiVersion extends EnumClass { + const RoomCreateRoomApiVersion._(super.name); + + static const RoomCreateRoomApiVersion v4 = _$roomCreateRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomCreateRoomApiVersionValues; + // coverage:ignore-end + + static RoomCreateRoomApiVersion valueOf(final String name) => _$valueOfRoomCreateRoomApiVersion(name); + + static Serializer get serializer => _$roomCreateRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomCreateRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomCreateRoomResponseApplicationJson_Ocs + implements + RoomCreateRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomCreateRoomResponseApplicationJson_Ocs([ + final void Function(RoomCreateRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomCreateRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomCreateRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomCreateRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomCreateRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomCreateRoomResponseApplicationJsonInterface { + RoomCreateRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomCreateRoomResponseApplicationJson + implements + RoomCreateRoomResponseApplicationJsonInterface, + Built { + factory RoomCreateRoomResponseApplicationJson([ + final void Function(RoomCreateRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomCreateRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomCreateRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomCreateRoomResponseApplicationJson.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 => + _$roomCreateRoomResponseApplicationJsonSerializer; +} + +class RoomGetListedRoomsApiVersion extends EnumClass { + const RoomGetListedRoomsApiVersion._(super.name); + + static const RoomGetListedRoomsApiVersion v4 = _$roomGetListedRoomsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomGetListedRoomsApiVersionValues; + // coverage:ignore-end + + static RoomGetListedRoomsApiVersion valueOf(final String name) => _$valueOfRoomGetListedRoomsApiVersion(name); + + static Serializer get serializer => _$roomGetListedRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetListedRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class RoomGetListedRoomsResponseApplicationJson_Ocs + implements + RoomGetListedRoomsResponseApplicationJson_OcsInterface, + Built { + factory RoomGetListedRoomsResponseApplicationJson_Ocs([ + final void Function(RoomGetListedRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetListedRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetListedRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetListedRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetListedRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetListedRoomsResponseApplicationJsonInterface { + RoomGetListedRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetListedRoomsResponseApplicationJson + implements + RoomGetListedRoomsResponseApplicationJsonInterface, + Built { + factory RoomGetListedRoomsResponseApplicationJson([ + final void Function(RoomGetListedRoomsResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetListedRoomsResponseApplicationJson; + + // coverage:ignore-start + const RoomGetListedRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetListedRoomsResponseApplicationJson.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 => + _$roomGetListedRoomsResponseApplicationJsonSerializer; +} + +class RoomGetNoteToSelfConversationApiVersion extends EnumClass { + const RoomGetNoteToSelfConversationApiVersion._(super.name); + + static const RoomGetNoteToSelfConversationApiVersion v4 = _$roomGetNoteToSelfConversationApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => + _$roomGetNoteToSelfConversationApiVersionValues; + // coverage:ignore-end + + static RoomGetNoteToSelfConversationApiVersion valueOf(final String name) => + _$valueOfRoomGetNoteToSelfConversationApiVersion(name); + + static Serializer get serializer => + _$roomGetNoteToSelfConversationApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRoomGetNoteToSelfConversationHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-talk-hash') + String? get xNextcloudTalkHash; +} + +abstract class RoomRoomGetNoteToSelfConversationHeaders + implements + RoomRoomGetNoteToSelfConversationHeadersInterface, + Built { + factory RoomRoomGetNoteToSelfConversationHeaders([ + final void Function(RoomRoomGetNoteToSelfConversationHeadersBuilder)? b, + ]) = _$RoomRoomGetNoteToSelfConversationHeaders; + + // coverage:ignore-start + const RoomRoomGetNoteToSelfConversationHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRoomGetNoteToSelfConversationHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$RoomRoomGetNoteToSelfConversationHeadersSerializer(); +} + +class _$RoomRoomGetNoteToSelfConversationHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRoomGetNoteToSelfConversationHeaders, + _$RoomRoomGetNoteToSelfConversationHeaders, + ]; + + @override + final String wireName = 'RoomRoomGetNoteToSelfConversationHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final RoomRoomGetNoteToSelfConversationHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + RoomRoomGetNoteToSelfConversationHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomRoomGetNoteToSelfConversationHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomGetNoteToSelfConversationResponseApplicationJson_Ocs + implements + RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterface, + Built { + factory RoomGetNoteToSelfConversationResponseApplicationJson_Ocs([ + final void Function(RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetNoteToSelfConversationResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetNoteToSelfConversationResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetNoteToSelfConversationResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetNoteToSelfConversationResponseApplicationJsonInterface { + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetNoteToSelfConversationResponseApplicationJson + implements + RoomGetNoteToSelfConversationResponseApplicationJsonInterface, + Built { + factory RoomGetNoteToSelfConversationResponseApplicationJson([ + final void Function(RoomGetNoteToSelfConversationResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetNoteToSelfConversationResponseApplicationJson; + + // coverage:ignore-start + const RoomGetNoteToSelfConversationResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetNoteToSelfConversationResponseApplicationJson.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 => + _$roomGetNoteToSelfConversationResponseApplicationJsonSerializer; +} + +class RoomGetSingleRoomApiVersion extends EnumClass { + const RoomGetSingleRoomApiVersion._(super.name); + + static const RoomGetSingleRoomApiVersion v4 = _$roomGetSingleRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomGetSingleRoomApiVersionValues; + // coverage:ignore-end + + static RoomGetSingleRoomApiVersion valueOf(final String name) => _$valueOfRoomGetSingleRoomApiVersion(name); + + static Serializer get serializer => _$roomGetSingleRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRoomGetSingleRoomHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-talk-hash') + String? get xNextcloudTalkHash; +} + +abstract class RoomRoomGetSingleRoomHeaders + implements + RoomRoomGetSingleRoomHeadersInterface, + Built { + factory RoomRoomGetSingleRoomHeaders([final void Function(RoomRoomGetSingleRoomHeadersBuilder)? b]) = + _$RoomRoomGetSingleRoomHeaders; + + // coverage:ignore-start + const RoomRoomGetSingleRoomHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRoomGetSingleRoomHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$RoomRoomGetSingleRoomHeadersSerializer(); +} + +class _$RoomRoomGetSingleRoomHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [RoomRoomGetSingleRoomHeaders, _$RoomRoomGetSingleRoomHeaders]; + + @override + final String wireName = 'RoomRoomGetSingleRoomHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final RoomRoomGetSingleRoomHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + RoomRoomGetSingleRoomHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomRoomGetSingleRoomHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = value; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetSingleRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomGetSingleRoomResponseApplicationJson_Ocs + implements + RoomGetSingleRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomGetSingleRoomResponseApplicationJson_Ocs([ + final void Function(RoomGetSingleRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetSingleRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetSingleRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetSingleRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetSingleRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetSingleRoomResponseApplicationJsonInterface { + RoomGetSingleRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetSingleRoomResponseApplicationJson + implements + RoomGetSingleRoomResponseApplicationJsonInterface, + Built { + factory RoomGetSingleRoomResponseApplicationJson([ + final void Function(RoomGetSingleRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetSingleRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomGetSingleRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetSingleRoomResponseApplicationJson.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 => + _$roomGetSingleRoomResponseApplicationJsonSerializer; +} + +class RoomRenameRoomApiVersion extends EnumClass { + const RoomRenameRoomApiVersion._(super.name); + + static const RoomRenameRoomApiVersion v4 = _$roomRenameRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomRenameRoomApiVersionValues; + // coverage:ignore-end + + static RoomRenameRoomApiVersion valueOf(final String name) => _$valueOfRoomRenameRoomApiVersion(name); + + static Serializer get serializer => _$roomRenameRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRenameRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomRenameRoomResponseApplicationJson_Ocs + implements + RoomRenameRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomRenameRoomResponseApplicationJson_Ocs([ + final void Function(RoomRenameRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomRenameRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomRenameRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRenameRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomRenameRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRenameRoomResponseApplicationJsonInterface { + RoomRenameRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomRenameRoomResponseApplicationJson + implements + RoomRenameRoomResponseApplicationJsonInterface, + Built { + factory RoomRenameRoomResponseApplicationJson([ + final void Function(RoomRenameRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomRenameRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomRenameRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRenameRoomResponseApplicationJson.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 => + _$roomRenameRoomResponseApplicationJsonSerializer; +} + +class RoomDeleteRoomApiVersion extends EnumClass { + const RoomDeleteRoomApiVersion._(super.name); + + static const RoomDeleteRoomApiVersion v4 = _$roomDeleteRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomDeleteRoomApiVersionValues; + // coverage:ignore-end + + static RoomDeleteRoomApiVersion valueOf(final String name) => _$valueOfRoomDeleteRoomApiVersion(name); + + static Serializer get serializer => _$roomDeleteRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomDeleteRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomDeleteRoomResponseApplicationJson_Ocs + implements + RoomDeleteRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomDeleteRoomResponseApplicationJson_Ocs([ + final void Function(RoomDeleteRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomDeleteRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomDeleteRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomDeleteRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomDeleteRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomDeleteRoomResponseApplicationJsonInterface { + RoomDeleteRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomDeleteRoomResponseApplicationJson + implements + RoomDeleteRoomResponseApplicationJsonInterface, + Built { + factory RoomDeleteRoomResponseApplicationJson([ + final void Function(RoomDeleteRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomDeleteRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomDeleteRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomDeleteRoomResponseApplicationJson.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 => + _$roomDeleteRoomResponseApplicationJsonSerializer; +} + +class RoomGetBreakoutRoomsApiVersion extends EnumClass { + const RoomGetBreakoutRoomsApiVersion._(super.name); + + static const RoomGetBreakoutRoomsApiVersion v4 = _$roomGetBreakoutRoomsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomGetBreakoutRoomsApiVersionValues; + // coverage:ignore-end + + static RoomGetBreakoutRoomsApiVersion valueOf(final String name) => _$valueOfRoomGetBreakoutRoomsApiVersion(name); + + static Serializer get serializer => _$roomGetBreakoutRoomsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetBreakoutRoomsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class RoomGetBreakoutRoomsResponseApplicationJson_Ocs + implements + RoomGetBreakoutRoomsResponseApplicationJson_OcsInterface, + Built { + factory RoomGetBreakoutRoomsResponseApplicationJson_Ocs([ + final void Function(RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetBreakoutRoomsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetBreakoutRoomsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetBreakoutRoomsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetBreakoutRoomsResponseApplicationJsonInterface { + RoomGetBreakoutRoomsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetBreakoutRoomsResponseApplicationJson + implements + RoomGetBreakoutRoomsResponseApplicationJsonInterface, + Built { + factory RoomGetBreakoutRoomsResponseApplicationJson([ + final void Function(RoomGetBreakoutRoomsResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetBreakoutRoomsResponseApplicationJson; + + // coverage:ignore-start + const RoomGetBreakoutRoomsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetBreakoutRoomsResponseApplicationJson.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 => + _$roomGetBreakoutRoomsResponseApplicationJsonSerializer; +} + +class RoomMakePublicApiVersion extends EnumClass { + const RoomMakePublicApiVersion._(super.name); + + static const RoomMakePublicApiVersion v4 = _$roomMakePublicApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomMakePublicApiVersionValues; + // coverage:ignore-end + + static RoomMakePublicApiVersion valueOf(final String name) => _$valueOfRoomMakePublicApiVersion(name); + + static Serializer get serializer => _$roomMakePublicApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomMakePublicResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomMakePublicResponseApplicationJson_Ocs + implements + RoomMakePublicResponseApplicationJson_OcsInterface, + Built { + factory RoomMakePublicResponseApplicationJson_Ocs([ + final void Function(RoomMakePublicResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomMakePublicResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomMakePublicResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomMakePublicResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomMakePublicResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomMakePublicResponseApplicationJsonInterface { + RoomMakePublicResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomMakePublicResponseApplicationJson + implements + RoomMakePublicResponseApplicationJsonInterface, + Built { + factory RoomMakePublicResponseApplicationJson([ + final void Function(RoomMakePublicResponseApplicationJsonBuilder)? b, + ]) = _$RoomMakePublicResponseApplicationJson; + + // coverage:ignore-start + const RoomMakePublicResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomMakePublicResponseApplicationJson.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 => + _$roomMakePublicResponseApplicationJsonSerializer; +} + +class RoomMakePrivateApiVersion extends EnumClass { + const RoomMakePrivateApiVersion._(super.name); + + static const RoomMakePrivateApiVersion v4 = _$roomMakePrivateApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomMakePrivateApiVersionValues; + // coverage:ignore-end + + static RoomMakePrivateApiVersion valueOf(final String name) => _$valueOfRoomMakePrivateApiVersion(name); + + static Serializer get serializer => _$roomMakePrivateApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomMakePrivateResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomMakePrivateResponseApplicationJson_Ocs + implements + RoomMakePrivateResponseApplicationJson_OcsInterface, + Built { + factory RoomMakePrivateResponseApplicationJson_Ocs([ + final void Function(RoomMakePrivateResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomMakePrivateResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomMakePrivateResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomMakePrivateResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomMakePrivateResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomMakePrivateResponseApplicationJsonInterface { + RoomMakePrivateResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomMakePrivateResponseApplicationJson + implements + RoomMakePrivateResponseApplicationJsonInterface, + Built { + factory RoomMakePrivateResponseApplicationJson([ + final void Function(RoomMakePrivateResponseApplicationJsonBuilder)? b, + ]) = _$RoomMakePrivateResponseApplicationJson; + + // coverage:ignore-start + const RoomMakePrivateResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomMakePrivateResponseApplicationJson.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 => + _$roomMakePrivateResponseApplicationJsonSerializer; +} + +class RoomSetDescriptionApiVersion extends EnumClass { + const RoomSetDescriptionApiVersion._(super.name); + + static const RoomSetDescriptionApiVersion v4 = _$roomSetDescriptionApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetDescriptionApiVersionValues; + // coverage:ignore-end + + static RoomSetDescriptionApiVersion valueOf(final String name) => _$valueOfRoomSetDescriptionApiVersion(name); + + static Serializer get serializer => _$roomSetDescriptionApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetDescriptionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetDescriptionResponseApplicationJson_Ocs + implements + RoomSetDescriptionResponseApplicationJson_OcsInterface, + Built { + factory RoomSetDescriptionResponseApplicationJson_Ocs([ + final void Function(RoomSetDescriptionResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetDescriptionResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetDescriptionResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetDescriptionResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetDescriptionResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetDescriptionResponseApplicationJsonInterface { + RoomSetDescriptionResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetDescriptionResponseApplicationJson + implements + RoomSetDescriptionResponseApplicationJsonInterface, + Built { + factory RoomSetDescriptionResponseApplicationJson([ + final void Function(RoomSetDescriptionResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetDescriptionResponseApplicationJson; + + // coverage:ignore-start + const RoomSetDescriptionResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetDescriptionResponseApplicationJson.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 => + _$roomSetDescriptionResponseApplicationJsonSerializer; +} + +class RoomSetReadOnlyApiVersion extends EnumClass { + const RoomSetReadOnlyApiVersion._(super.name); + + static const RoomSetReadOnlyApiVersion v4 = _$roomSetReadOnlyApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetReadOnlyApiVersionValues; + // coverage:ignore-end + + static RoomSetReadOnlyApiVersion valueOf(final String name) => _$valueOfRoomSetReadOnlyApiVersion(name); + + static Serializer get serializer => _$roomSetReadOnlyApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetReadOnlyResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetReadOnlyResponseApplicationJson_Ocs + implements + RoomSetReadOnlyResponseApplicationJson_OcsInterface, + Built { + factory RoomSetReadOnlyResponseApplicationJson_Ocs([ + final void Function(RoomSetReadOnlyResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetReadOnlyResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetReadOnlyResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetReadOnlyResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetReadOnlyResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetReadOnlyResponseApplicationJsonInterface { + RoomSetReadOnlyResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetReadOnlyResponseApplicationJson + implements + RoomSetReadOnlyResponseApplicationJsonInterface, + Built { + factory RoomSetReadOnlyResponseApplicationJson([ + final void Function(RoomSetReadOnlyResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetReadOnlyResponseApplicationJson; + + // coverage:ignore-start + const RoomSetReadOnlyResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetReadOnlyResponseApplicationJson.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 => + _$roomSetReadOnlyResponseApplicationJsonSerializer; +} + +class RoomSetListableApiVersion extends EnumClass { + const RoomSetListableApiVersion._(super.name); + + static const RoomSetListableApiVersion v4 = _$roomSetListableApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetListableApiVersionValues; + // coverage:ignore-end + + static RoomSetListableApiVersion valueOf(final String name) => _$valueOfRoomSetListableApiVersion(name); + + static Serializer get serializer => _$roomSetListableApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetListableResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetListableResponseApplicationJson_Ocs + implements + RoomSetListableResponseApplicationJson_OcsInterface, + Built { + factory RoomSetListableResponseApplicationJson_Ocs([ + final void Function(RoomSetListableResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetListableResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetListableResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetListableResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetListableResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetListableResponseApplicationJsonInterface { + RoomSetListableResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetListableResponseApplicationJson + implements + RoomSetListableResponseApplicationJsonInterface, + Built { + factory RoomSetListableResponseApplicationJson([ + final void Function(RoomSetListableResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetListableResponseApplicationJson; + + // coverage:ignore-start + const RoomSetListableResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetListableResponseApplicationJson.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 => + _$roomSetListableResponseApplicationJsonSerializer; +} + +class RoomSetPasswordApiVersion extends EnumClass { + const RoomSetPasswordApiVersion._(super.name); + + static const RoomSetPasswordApiVersion v4 = _$roomSetPasswordApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetPasswordApiVersionValues; + // coverage:ignore-end + + static RoomSetPasswordApiVersion valueOf(final String name) => _$valueOfRoomSetPasswordApiVersion(name); + + static Serializer get serializer => _$roomSetPasswordApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetPasswordResponseApplicationJson_Ocs + implements + RoomSetPasswordResponseApplicationJson_OcsInterface, + Built { + factory RoomSetPasswordResponseApplicationJson_Ocs([ + final void Function(RoomSetPasswordResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetPasswordResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetPasswordResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetPasswordResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetPasswordResponseApplicationJsonInterface { + RoomSetPasswordResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetPasswordResponseApplicationJson + implements + RoomSetPasswordResponseApplicationJsonInterface, + Built { + factory RoomSetPasswordResponseApplicationJson([ + final void Function(RoomSetPasswordResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetPasswordResponseApplicationJson; + + // coverage:ignore-start + const RoomSetPasswordResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetPasswordResponseApplicationJson.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 => + _$roomSetPasswordResponseApplicationJsonSerializer; +} + +class RoomSetPermissionsApiVersion extends EnumClass { + const RoomSetPermissionsApiVersion._(super.name); + + static const RoomSetPermissionsApiVersion v4 = _$roomSetPermissionsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetPermissionsApiVersionValues; + // coverage:ignore-end + + static RoomSetPermissionsApiVersion valueOf(final String name) => _$valueOfRoomSetPermissionsApiVersion(name); + + static Serializer get serializer => _$roomSetPermissionsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetPermissionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetPermissionsResponseApplicationJson_Ocs + implements + RoomSetPermissionsResponseApplicationJson_OcsInterface, + Built { + factory RoomSetPermissionsResponseApplicationJson_Ocs([ + final void Function(RoomSetPermissionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetPermissionsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetPermissionsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetPermissionsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetPermissionsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetPermissionsResponseApplicationJsonInterface { + RoomSetPermissionsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetPermissionsResponseApplicationJson + implements + RoomSetPermissionsResponseApplicationJsonInterface, + Built { + factory RoomSetPermissionsResponseApplicationJson([ + final void Function(RoomSetPermissionsResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetPermissionsResponseApplicationJson; + + // coverage:ignore-start + const RoomSetPermissionsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetPermissionsResponseApplicationJson.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 => + _$roomSetPermissionsResponseApplicationJsonSerializer; +} + +class RoomGetParticipantsApiVersion extends EnumClass { + const RoomGetParticipantsApiVersion._(super.name); + + static const RoomGetParticipantsApiVersion v4 = _$roomGetParticipantsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomGetParticipantsApiVersionValues; + // coverage:ignore-end + + static RoomGetParticipantsApiVersion valueOf(final String name) => _$valueOfRoomGetParticipantsApiVersion(name); + + static Serializer get serializer => _$roomGetParticipantsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRoomGetParticipantsHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-has-user-statuses') + bool? get xNextcloudHasUserStatuses; +} + +abstract class RoomRoomGetParticipantsHeaders + implements + RoomRoomGetParticipantsHeadersInterface, + Built { + factory RoomRoomGetParticipantsHeaders([final void Function(RoomRoomGetParticipantsHeadersBuilder)? b]) = + _$RoomRoomGetParticipantsHeaders; + + // coverage:ignore-start + const RoomRoomGetParticipantsHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRoomGetParticipantsHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$RoomRoomGetParticipantsHeadersSerializer(); +} + +class _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [RoomRoomGetParticipantsHeaders, _$RoomRoomGetParticipantsHeaders]; + + @override + final String wireName = 'RoomRoomGetParticipantsHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final RoomRoomGetParticipantsHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + RoomRoomGetParticipantsHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomRoomGetParticipantsHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-has-user-statuses': + result.xNextcloudHasUserStatuses = _jsonSerializers.deserialize( + json.decode(value), + specifiedType: const FullType(bool), + )! as bool; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class ParticipantInterface { + String get actorId; + String get actorType; + int get attendeeId; + int get attendeePermissions; + String get attendeePin; + String get displayName; + int get inCall; + int get lastPing; + int get participantType; + int get permissions; + String get roomToken; + BuiltList get sessionIds; + String? get status; + int? get statusClearAt; + String? get statusIcon; + String? get statusMessage; +} + +abstract class Participant implements ParticipantInterface, Built { + factory Participant([final void Function(ParticipantBuilder)? b]) = _$Participant; + + // coverage:ignore-start + const Participant._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Participant.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 => _$participantSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetParticipantsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class RoomGetParticipantsResponseApplicationJson_Ocs + implements + RoomGetParticipantsResponseApplicationJson_OcsInterface, + Built { + factory RoomGetParticipantsResponseApplicationJson_Ocs([ + final void Function(RoomGetParticipantsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetParticipantsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetParticipantsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetParticipantsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetParticipantsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetParticipantsResponseApplicationJsonInterface { + RoomGetParticipantsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetParticipantsResponseApplicationJson + implements + RoomGetParticipantsResponseApplicationJsonInterface, + Built { + factory RoomGetParticipantsResponseApplicationJson([ + final void Function(RoomGetParticipantsResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetParticipantsResponseApplicationJson; + + // coverage:ignore-start + const RoomGetParticipantsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetParticipantsResponseApplicationJson.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 => + _$roomGetParticipantsResponseApplicationJsonSerializer; +} + +class RoomAddParticipantToRoomApiVersion extends EnumClass { + const RoomAddParticipantToRoomApiVersion._(super.name); + + static const RoomAddParticipantToRoomApiVersion v4 = _$roomAddParticipantToRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomAddParticipantToRoomApiVersionValues; + // coverage:ignore-end + + static RoomAddParticipantToRoomApiVersion valueOf(final String name) => + _$valueOfRoomAddParticipantToRoomApiVersion(name); + + static Serializer get serializer => + _$roomAddParticipantToRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Interface { + int get type; +} + +abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 + implements + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Interface, + Built { + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0([ + final void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder)? b, + ]) = _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0; + + // coverage:ignore-start + const RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0.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 => + _$roomAddParticipantToRoomResponseApplicationJsonOcsData0Serializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterface { + JsonObject get data; + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0? + get roomAddParticipantToRoomResponseApplicationJsonOcsData0; + JsonObject? get jsonObject; +} + +abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data + implements + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterface, + Built { + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data([ + final void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataSerializer(); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data, + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data, + ]; + + @override + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data'; + + @override + Object serialize( + final Serializers serializers, + final RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder()..data = JsonObject(data); + try { + result._roomAddParticipantToRoomResponseApplicationJsonOcsData0 = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0), + )! as RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0) + .toBuilder(); + } catch (_) {} + try { + result._jsonObject = _jsonSerializers.deserialize(data, specifiedType: const FullType(JsonObject))! as JsonObject; + } catch (_) {} + assert( + [result._roomAddParticipantToRoomResponseApplicationJsonOcsData0, result._jsonObject] + .where((final x) => x != null) + .isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddParticipantToRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data get data; +} + +abstract class RoomAddParticipantToRoomResponseApplicationJson_Ocs + implements + RoomAddParticipantToRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs([ + final void Function(RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomAddParticipantToRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomAddParticipantToRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddParticipantToRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomAddParticipantToRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddParticipantToRoomResponseApplicationJsonInterface { + RoomAddParticipantToRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomAddParticipantToRoomResponseApplicationJson + implements + RoomAddParticipantToRoomResponseApplicationJsonInterface, + Built { + factory RoomAddParticipantToRoomResponseApplicationJson([ + final void Function(RoomAddParticipantToRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomAddParticipantToRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomAddParticipantToRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddParticipantToRoomResponseApplicationJson.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 => + _$roomAddParticipantToRoomResponseApplicationJsonSerializer; +} + +class RoomGetBreakoutRoomParticipantsApiVersion extends EnumClass { + const RoomGetBreakoutRoomParticipantsApiVersion._(super.name); + + static const RoomGetBreakoutRoomParticipantsApiVersion v4 = _$roomGetBreakoutRoomParticipantsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => + _$roomGetBreakoutRoomParticipantsApiVersionValues; + // coverage:ignore-end + + static RoomGetBreakoutRoomParticipantsApiVersion valueOf(final String name) => + _$valueOfRoomGetBreakoutRoomParticipantsApiVersion(name); + + static Serializer get serializer => + _$roomGetBreakoutRoomParticipantsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRoomGetBreakoutRoomParticipantsHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-has-user-statuses') + bool? get xNextcloudHasUserStatuses; +} + +abstract class RoomRoomGetBreakoutRoomParticipantsHeaders + implements + RoomRoomGetBreakoutRoomParticipantsHeadersInterface, + Built { + factory RoomRoomGetBreakoutRoomParticipantsHeaders([ + final void Function(RoomRoomGetBreakoutRoomParticipantsHeadersBuilder)? b, + ]) = _$RoomRoomGetBreakoutRoomParticipantsHeaders; + + // coverage:ignore-start + const RoomRoomGetBreakoutRoomParticipantsHeaders._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRoomGetBreakoutRoomParticipantsHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer(); +} + +class _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRoomGetBreakoutRoomParticipantsHeaders, + _$RoomRoomGetBreakoutRoomParticipantsHeaders, + ]; + + @override + final String wireName = 'RoomRoomGetBreakoutRoomParticipantsHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final RoomRoomGetBreakoutRoomParticipantsHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + RoomRoomGetBreakoutRoomParticipantsHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = RoomRoomGetBreakoutRoomParticipantsHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-has-user-statuses': + result.xNextcloudHasUserStatuses = _jsonSerializers.deserialize( + json.decode(value), + specifiedType: const FullType(bool), + )! as bool; + } + } + + return result.build(); + } +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs + implements + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterface, + Built { + factory RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs([ + final void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomGetBreakoutRoomParticipantsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterface { + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomGetBreakoutRoomParticipantsResponseApplicationJson + implements + RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterface, + Built { + factory RoomGetBreakoutRoomParticipantsResponseApplicationJson([ + final void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder)? b, + ]) = _$RoomGetBreakoutRoomParticipantsResponseApplicationJson; + + // coverage:ignore-start + const RoomGetBreakoutRoomParticipantsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomGetBreakoutRoomParticipantsResponseApplicationJson.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 => + _$roomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer; +} + +class RoomRemoveSelfFromRoomApiVersion extends EnumClass { + const RoomRemoveSelfFromRoomApiVersion._(super.name); + + static const RoomRemoveSelfFromRoomApiVersion v4 = _$roomRemoveSelfFromRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomRemoveSelfFromRoomApiVersionValues; + // coverage:ignore-end + + static RoomRemoveSelfFromRoomApiVersion valueOf(final String name) => _$valueOfRoomRemoveSelfFromRoomApiVersion(name); + + static Serializer get serializer => _$roomRemoveSelfFromRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomRemoveSelfFromRoomResponseApplicationJson_Ocs + implements + RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomRemoveSelfFromRoomResponseApplicationJson_Ocs([ + final void Function(RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomRemoveSelfFromRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveSelfFromRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomRemoveSelfFromRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveSelfFromRoomResponseApplicationJsonInterface { + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomRemoveSelfFromRoomResponseApplicationJson + implements + RoomRemoveSelfFromRoomResponseApplicationJsonInterface, + Built { + factory RoomRemoveSelfFromRoomResponseApplicationJson([ + final void Function(RoomRemoveSelfFromRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomRemoveSelfFromRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomRemoveSelfFromRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveSelfFromRoomResponseApplicationJson.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 => + _$roomRemoveSelfFromRoomResponseApplicationJsonSerializer; +} + +class RoomRemoveAttendeeFromRoomApiVersion extends EnumClass { + const RoomRemoveAttendeeFromRoomApiVersion._(super.name); + + static const RoomRemoveAttendeeFromRoomApiVersion v4 = _$roomRemoveAttendeeFromRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomRemoveAttendeeFromRoomApiVersionValues; + // coverage:ignore-end + + static RoomRemoveAttendeeFromRoomApiVersion valueOf(final String name) => + _$valueOfRoomRemoveAttendeeFromRoomApiVersion(name); + + static Serializer get serializer => + _$roomRemoveAttendeeFromRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs + implements + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs([ + final void Function(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomRemoveAttendeeFromRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveAttendeeFromRoomResponseApplicationJsonInterface { + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomRemoveAttendeeFromRoomResponseApplicationJson + implements + RoomRemoveAttendeeFromRoomResponseApplicationJsonInterface, + Built { + factory RoomRemoveAttendeeFromRoomResponseApplicationJson([ + final void Function(RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder)? b, + ]) = _$RoomRemoveAttendeeFromRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomRemoveAttendeeFromRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveAttendeeFromRoomResponseApplicationJson.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 => + _$roomRemoveAttendeeFromRoomResponseApplicationJsonSerializer; +} + +class RoomSetAttendeePermissionsApiVersion extends EnumClass { + const RoomSetAttendeePermissionsApiVersion._(super.name); + + static const RoomSetAttendeePermissionsApiVersion v4 = _$roomSetAttendeePermissionsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetAttendeePermissionsApiVersionValues; + // coverage:ignore-end + + static RoomSetAttendeePermissionsApiVersion valueOf(final String name) => + _$valueOfRoomSetAttendeePermissionsApiVersion(name); + + static Serializer get serializer => + _$roomSetAttendeePermissionsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetAttendeePermissionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetAttendeePermissionsResponseApplicationJson_Ocs + implements + RoomSetAttendeePermissionsResponseApplicationJson_OcsInterface, + Built { + factory RoomSetAttendeePermissionsResponseApplicationJson_Ocs([ + final void Function(RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetAttendeePermissionsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetAttendeePermissionsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetAttendeePermissionsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetAttendeePermissionsResponseApplicationJsonInterface { + RoomSetAttendeePermissionsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetAttendeePermissionsResponseApplicationJson + implements + RoomSetAttendeePermissionsResponseApplicationJsonInterface, + Built { + factory RoomSetAttendeePermissionsResponseApplicationJson([ + final void Function(RoomSetAttendeePermissionsResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetAttendeePermissionsResponseApplicationJson; + + // coverage:ignore-start + const RoomSetAttendeePermissionsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetAttendeePermissionsResponseApplicationJson.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 => + _$roomSetAttendeePermissionsResponseApplicationJsonSerializer; +} + +class RoomSetAllAttendeesPermissionsApiVersion extends EnumClass { + const RoomSetAllAttendeesPermissionsApiVersion._(super.name); + + static const RoomSetAllAttendeesPermissionsApiVersion v4 = _$roomSetAllAttendeesPermissionsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => + _$roomSetAllAttendeesPermissionsApiVersionValues; + // coverage:ignore-end + + static RoomSetAllAttendeesPermissionsApiVersion valueOf(final String name) => + _$valueOfRoomSetAllAttendeesPermissionsApiVersion(name); + + static Serializer get serializer => + _$roomSetAllAttendeesPermissionsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs + implements + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterface, + Built { + factory RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs([ + final void Function(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetAllAttendeesPermissionsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetAllAttendeesPermissionsResponseApplicationJsonInterface { + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetAllAttendeesPermissionsResponseApplicationJson + implements + RoomSetAllAttendeesPermissionsResponseApplicationJsonInterface, + Built { + factory RoomSetAllAttendeesPermissionsResponseApplicationJson([ + final void Function(RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetAllAttendeesPermissionsResponseApplicationJson; + + // coverage:ignore-start + const RoomSetAllAttendeesPermissionsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetAllAttendeesPermissionsResponseApplicationJson.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 => + _$roomSetAllAttendeesPermissionsResponseApplicationJsonSerializer; +} + +class RoomJoinRoomApiVersion extends EnumClass { + const RoomJoinRoomApiVersion._(super.name); + + static const RoomJoinRoomApiVersion v4 = _$roomJoinRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomJoinRoomApiVersionValues; + // coverage:ignore-end + + static RoomJoinRoomApiVersion valueOf(final String name) => _$valueOfRoomJoinRoomApiVersion(name); + + static Serializer get serializer => _$roomJoinRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomJoinRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomJoinRoomResponseApplicationJson_Ocs + implements + RoomJoinRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomJoinRoomResponseApplicationJson_Ocs([ + final void Function(RoomJoinRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomJoinRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomJoinRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomJoinRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomJoinRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomJoinRoomResponseApplicationJsonInterface { + RoomJoinRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomJoinRoomResponseApplicationJson + implements + RoomJoinRoomResponseApplicationJsonInterface, + Built { + factory RoomJoinRoomResponseApplicationJson([final void Function(RoomJoinRoomResponseApplicationJsonBuilder)? b]) = + _$RoomJoinRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomJoinRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomJoinRoomResponseApplicationJson.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 => + _$roomJoinRoomResponseApplicationJsonSerializer; +} + +class RoomLeaveRoomApiVersion extends EnumClass { + const RoomLeaveRoomApiVersion._(super.name); + + static const RoomLeaveRoomApiVersion v4 = _$roomLeaveRoomApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomLeaveRoomApiVersionValues; + // coverage:ignore-end + + static RoomLeaveRoomApiVersion valueOf(final String name) => _$valueOfRoomLeaveRoomApiVersion(name); + + static Serializer get serializer => _$roomLeaveRoomApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomLeaveRoomResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomLeaveRoomResponseApplicationJson_Ocs + implements + RoomLeaveRoomResponseApplicationJson_OcsInterface, + Built { + factory RoomLeaveRoomResponseApplicationJson_Ocs([ + final void Function(RoomLeaveRoomResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomLeaveRoomResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomLeaveRoomResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomLeaveRoomResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomLeaveRoomResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomLeaveRoomResponseApplicationJsonInterface { + RoomLeaveRoomResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomLeaveRoomResponseApplicationJson + implements + RoomLeaveRoomResponseApplicationJsonInterface, + Built { + factory RoomLeaveRoomResponseApplicationJson([final void Function(RoomLeaveRoomResponseApplicationJsonBuilder)? b]) = + _$RoomLeaveRoomResponseApplicationJson; + + // coverage:ignore-start + const RoomLeaveRoomResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomLeaveRoomResponseApplicationJson.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 => + _$roomLeaveRoomResponseApplicationJsonSerializer; +} + +class RoomResendInvitationsApiVersion extends EnumClass { + const RoomResendInvitationsApiVersion._(super.name); + + static const RoomResendInvitationsApiVersion v4 = _$roomResendInvitationsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomResendInvitationsApiVersionValues; + // coverage:ignore-end + + static RoomResendInvitationsApiVersion valueOf(final String name) => _$valueOfRoomResendInvitationsApiVersion(name); + + static Serializer get serializer => _$roomResendInvitationsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomResendInvitationsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomResendInvitationsResponseApplicationJson_Ocs + implements + RoomResendInvitationsResponseApplicationJson_OcsInterface, + Built { + factory RoomResendInvitationsResponseApplicationJson_Ocs([ + final void Function(RoomResendInvitationsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomResendInvitationsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomResendInvitationsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomResendInvitationsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomResendInvitationsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomResendInvitationsResponseApplicationJsonInterface { + RoomResendInvitationsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomResendInvitationsResponseApplicationJson + implements + RoomResendInvitationsResponseApplicationJsonInterface, + Built { + factory RoomResendInvitationsResponseApplicationJson([ + final void Function(RoomResendInvitationsResponseApplicationJsonBuilder)? b, + ]) = _$RoomResendInvitationsResponseApplicationJson; + + // coverage:ignore-start + const RoomResendInvitationsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomResendInvitationsResponseApplicationJson.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 => + _$roomResendInvitationsResponseApplicationJsonSerializer; +} + +class RoomSetSessionStateApiVersion extends EnumClass { + const RoomSetSessionStateApiVersion._(super.name); + + static const RoomSetSessionStateApiVersion v4 = _$roomSetSessionStateApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetSessionStateApiVersionValues; + // coverage:ignore-end + + static RoomSetSessionStateApiVersion valueOf(final String name) => _$valueOfRoomSetSessionStateApiVersion(name); + + static Serializer get serializer => _$roomSetSessionStateApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetSessionStateResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetSessionStateResponseApplicationJson_Ocs + implements + RoomSetSessionStateResponseApplicationJson_OcsInterface, + Built { + factory RoomSetSessionStateResponseApplicationJson_Ocs([ + final void Function(RoomSetSessionStateResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetSessionStateResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetSessionStateResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetSessionStateResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetSessionStateResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetSessionStateResponseApplicationJsonInterface { + RoomSetSessionStateResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetSessionStateResponseApplicationJson + implements + RoomSetSessionStateResponseApplicationJsonInterface, + Built { + factory RoomSetSessionStateResponseApplicationJson([ + final void Function(RoomSetSessionStateResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetSessionStateResponseApplicationJson; + + // coverage:ignore-start + const RoomSetSessionStateResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetSessionStateResponseApplicationJson.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 => + _$roomSetSessionStateResponseApplicationJsonSerializer; +} + +class RoomPromoteModeratorApiVersion extends EnumClass { + const RoomPromoteModeratorApiVersion._(super.name); + + static const RoomPromoteModeratorApiVersion v4 = _$roomPromoteModeratorApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomPromoteModeratorApiVersionValues; + // coverage:ignore-end + + static RoomPromoteModeratorApiVersion valueOf(final String name) => _$valueOfRoomPromoteModeratorApiVersion(name); + + static Serializer get serializer => _$roomPromoteModeratorApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomPromoteModeratorResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomPromoteModeratorResponseApplicationJson_Ocs + implements + RoomPromoteModeratorResponseApplicationJson_OcsInterface, + Built { + factory RoomPromoteModeratorResponseApplicationJson_Ocs([ + final void Function(RoomPromoteModeratorResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomPromoteModeratorResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomPromoteModeratorResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomPromoteModeratorResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomPromoteModeratorResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomPromoteModeratorResponseApplicationJsonInterface { + RoomPromoteModeratorResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomPromoteModeratorResponseApplicationJson + implements + RoomPromoteModeratorResponseApplicationJsonInterface, + Built { + factory RoomPromoteModeratorResponseApplicationJson([ + final void Function(RoomPromoteModeratorResponseApplicationJsonBuilder)? b, + ]) = _$RoomPromoteModeratorResponseApplicationJson; + + // coverage:ignore-start + const RoomPromoteModeratorResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomPromoteModeratorResponseApplicationJson.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 => + _$roomPromoteModeratorResponseApplicationJsonSerializer; +} + +class RoomDemoteModeratorApiVersion extends EnumClass { + const RoomDemoteModeratorApiVersion._(super.name); + + static const RoomDemoteModeratorApiVersion v4 = _$roomDemoteModeratorApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomDemoteModeratorApiVersionValues; + // coverage:ignore-end + + static RoomDemoteModeratorApiVersion valueOf(final String name) => _$valueOfRoomDemoteModeratorApiVersion(name); + + static Serializer get serializer => _$roomDemoteModeratorApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomDemoteModeratorResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomDemoteModeratorResponseApplicationJson_Ocs + implements + RoomDemoteModeratorResponseApplicationJson_OcsInterface, + Built { + factory RoomDemoteModeratorResponseApplicationJson_Ocs([ + final void Function(RoomDemoteModeratorResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomDemoteModeratorResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomDemoteModeratorResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomDemoteModeratorResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomDemoteModeratorResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomDemoteModeratorResponseApplicationJsonInterface { + RoomDemoteModeratorResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomDemoteModeratorResponseApplicationJson + implements + RoomDemoteModeratorResponseApplicationJsonInterface, + Built { + factory RoomDemoteModeratorResponseApplicationJson([ + final void Function(RoomDemoteModeratorResponseApplicationJsonBuilder)? b, + ]) = _$RoomDemoteModeratorResponseApplicationJson; + + // coverage:ignore-start + const RoomDemoteModeratorResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomDemoteModeratorResponseApplicationJson.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 => + _$roomDemoteModeratorResponseApplicationJsonSerializer; +} + +class RoomAddToFavoritesApiVersion extends EnumClass { + const RoomAddToFavoritesApiVersion._(super.name); + + static const RoomAddToFavoritesApiVersion v4 = _$roomAddToFavoritesApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomAddToFavoritesApiVersionValues; + // coverage:ignore-end + + static RoomAddToFavoritesApiVersion valueOf(final String name) => _$valueOfRoomAddToFavoritesApiVersion(name); + + static Serializer get serializer => _$roomAddToFavoritesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddToFavoritesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomAddToFavoritesResponseApplicationJson_Ocs + implements + RoomAddToFavoritesResponseApplicationJson_OcsInterface, + Built { + factory RoomAddToFavoritesResponseApplicationJson_Ocs([ + final void Function(RoomAddToFavoritesResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomAddToFavoritesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomAddToFavoritesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddToFavoritesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomAddToFavoritesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomAddToFavoritesResponseApplicationJsonInterface { + RoomAddToFavoritesResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomAddToFavoritesResponseApplicationJson + implements + RoomAddToFavoritesResponseApplicationJsonInterface, + Built { + factory RoomAddToFavoritesResponseApplicationJson([ + final void Function(RoomAddToFavoritesResponseApplicationJsonBuilder)? b, + ]) = _$RoomAddToFavoritesResponseApplicationJson; + + // coverage:ignore-start + const RoomAddToFavoritesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomAddToFavoritesResponseApplicationJson.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 => + _$roomAddToFavoritesResponseApplicationJsonSerializer; +} + +class RoomRemoveFromFavoritesApiVersion extends EnumClass { + const RoomRemoveFromFavoritesApiVersion._(super.name); + + static const RoomRemoveFromFavoritesApiVersion v4 = _$roomRemoveFromFavoritesApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomRemoveFromFavoritesApiVersionValues; + // coverage:ignore-end + + static RoomRemoveFromFavoritesApiVersion valueOf(final String name) => + _$valueOfRoomRemoveFromFavoritesApiVersion(name); + + static Serializer get serializer => _$roomRemoveFromFavoritesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveFromFavoritesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomRemoveFromFavoritesResponseApplicationJson_Ocs + implements + RoomRemoveFromFavoritesResponseApplicationJson_OcsInterface, + Built { + factory RoomRemoveFromFavoritesResponseApplicationJson_Ocs([ + final void Function(RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomRemoveFromFavoritesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveFromFavoritesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomRemoveFromFavoritesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomRemoveFromFavoritesResponseApplicationJsonInterface { + RoomRemoveFromFavoritesResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomRemoveFromFavoritesResponseApplicationJson + implements + RoomRemoveFromFavoritesResponseApplicationJsonInterface, + Built { + factory RoomRemoveFromFavoritesResponseApplicationJson([ + final void Function(RoomRemoveFromFavoritesResponseApplicationJsonBuilder)? b, + ]) = _$RoomRemoveFromFavoritesResponseApplicationJson; + + // coverage:ignore-start + const RoomRemoveFromFavoritesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomRemoveFromFavoritesResponseApplicationJson.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 => + _$roomRemoveFromFavoritesResponseApplicationJsonSerializer; +} + +class RoomSetNotificationLevelApiVersion extends EnumClass { + const RoomSetNotificationLevelApiVersion._(super.name); + + static const RoomSetNotificationLevelApiVersion v4 = _$roomSetNotificationLevelApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetNotificationLevelApiVersionValues; + // coverage:ignore-end + + static RoomSetNotificationLevelApiVersion valueOf(final String name) => + _$valueOfRoomSetNotificationLevelApiVersion(name); + + static Serializer get serializer => + _$roomSetNotificationLevelApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetNotificationLevelResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetNotificationLevelResponseApplicationJson_Ocs + implements + RoomSetNotificationLevelResponseApplicationJson_OcsInterface, + Built { + factory RoomSetNotificationLevelResponseApplicationJson_Ocs([ + final void Function(RoomSetNotificationLevelResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetNotificationLevelResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetNotificationLevelResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetNotificationLevelResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetNotificationLevelResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetNotificationLevelResponseApplicationJsonInterface { + RoomSetNotificationLevelResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetNotificationLevelResponseApplicationJson + implements + RoomSetNotificationLevelResponseApplicationJsonInterface, + Built { + factory RoomSetNotificationLevelResponseApplicationJson([ + final void Function(RoomSetNotificationLevelResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetNotificationLevelResponseApplicationJson; + + // coverage:ignore-start + const RoomSetNotificationLevelResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetNotificationLevelResponseApplicationJson.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 => + _$roomSetNotificationLevelResponseApplicationJsonSerializer; +} + +class RoomSetNotificationCallsApiVersion extends EnumClass { + const RoomSetNotificationCallsApiVersion._(super.name); + + static const RoomSetNotificationCallsApiVersion v4 = _$roomSetNotificationCallsApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetNotificationCallsApiVersionValues; + // coverage:ignore-end + + static RoomSetNotificationCallsApiVersion valueOf(final String name) => + _$valueOfRoomSetNotificationCallsApiVersion(name); + + static Serializer get serializer => + _$roomSetNotificationCallsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetNotificationCallsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetNotificationCallsResponseApplicationJson_Ocs + implements + RoomSetNotificationCallsResponseApplicationJson_OcsInterface, + Built { + factory RoomSetNotificationCallsResponseApplicationJson_Ocs([ + final void Function(RoomSetNotificationCallsResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetNotificationCallsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetNotificationCallsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetNotificationCallsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetNotificationCallsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetNotificationCallsResponseApplicationJsonInterface { + RoomSetNotificationCallsResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetNotificationCallsResponseApplicationJson + implements + RoomSetNotificationCallsResponseApplicationJsonInterface, + Built { + factory RoomSetNotificationCallsResponseApplicationJson([ + final void Function(RoomSetNotificationCallsResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetNotificationCallsResponseApplicationJson; + + // coverage:ignore-start + const RoomSetNotificationCallsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetNotificationCallsResponseApplicationJson.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 => + _$roomSetNotificationCallsResponseApplicationJsonSerializer; +} + +class RoomSetLobbyApiVersion extends EnumClass { + const RoomSetLobbyApiVersion._(super.name); + + static const RoomSetLobbyApiVersion v4 = _$roomSetLobbyApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetLobbyApiVersionValues; + // coverage:ignore-end + + static RoomSetLobbyApiVersion valueOf(final String name) => _$valueOfRoomSetLobbyApiVersion(name); + + static Serializer get serializer => _$roomSetLobbyApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetLobbyResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetLobbyResponseApplicationJson_Ocs + implements + RoomSetLobbyResponseApplicationJson_OcsInterface, + Built { + factory RoomSetLobbyResponseApplicationJson_Ocs([ + final void Function(RoomSetLobbyResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetLobbyResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetLobbyResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetLobbyResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetLobbyResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetLobbyResponseApplicationJsonInterface { + RoomSetLobbyResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetLobbyResponseApplicationJson + implements + RoomSetLobbyResponseApplicationJsonInterface, + Built { + factory RoomSetLobbyResponseApplicationJson([final void Function(RoomSetLobbyResponseApplicationJsonBuilder)? b]) = + _$RoomSetLobbyResponseApplicationJson; + + // coverage:ignore-start + const RoomSetLobbyResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetLobbyResponseApplicationJson.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 => + _$roomSetLobbyResponseApplicationJsonSerializer; +} + +class RoomSetsipEnabledApiVersion extends EnumClass { + const RoomSetsipEnabledApiVersion._(super.name); + + static const RoomSetsipEnabledApiVersion v4 = _$roomSetsipEnabledApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetsipEnabledApiVersionValues; + // coverage:ignore-end + + static RoomSetsipEnabledApiVersion valueOf(final String name) => _$valueOfRoomSetsipEnabledApiVersion(name); + + static Serializer get serializer => _$roomSetsipEnabledApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetsipEnabledResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetsipEnabledResponseApplicationJson_Ocs + implements + RoomSetsipEnabledResponseApplicationJson_OcsInterface, + Built { + factory RoomSetsipEnabledResponseApplicationJson_Ocs([ + final void Function(RoomSetsipEnabledResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetsipEnabledResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetsipEnabledResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetsipEnabledResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetsipEnabledResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetsipEnabledResponseApplicationJsonInterface { + RoomSetsipEnabledResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetsipEnabledResponseApplicationJson + implements + RoomSetsipEnabledResponseApplicationJsonInterface, + Built { + factory RoomSetsipEnabledResponseApplicationJson([ + final void Function(RoomSetsipEnabledResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetsipEnabledResponseApplicationJson; + + // coverage:ignore-start + const RoomSetsipEnabledResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetsipEnabledResponseApplicationJson.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 => + _$roomSetsipEnabledResponseApplicationJsonSerializer; +} + +class RoomSetRecordingConsentApiVersion extends EnumClass { + const RoomSetRecordingConsentApiVersion._(super.name); + + static const RoomSetRecordingConsentApiVersion v4 = _$roomSetRecordingConsentApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetRecordingConsentApiVersionValues; + // coverage:ignore-end + + static RoomSetRecordingConsentApiVersion valueOf(final String name) => + _$valueOfRoomSetRecordingConsentApiVersion(name); + + static Serializer get serializer => _$roomSetRecordingConsentApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetRecordingConsentResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Room get data; +} + +abstract class RoomSetRecordingConsentResponseApplicationJson_Ocs + implements + RoomSetRecordingConsentResponseApplicationJson_OcsInterface, + Built { + factory RoomSetRecordingConsentResponseApplicationJson_Ocs([ + final void Function(RoomSetRecordingConsentResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetRecordingConsentResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetRecordingConsentResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetRecordingConsentResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetRecordingConsentResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetRecordingConsentResponseApplicationJsonInterface { + RoomSetRecordingConsentResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetRecordingConsentResponseApplicationJson + implements + RoomSetRecordingConsentResponseApplicationJsonInterface, + Built { + factory RoomSetRecordingConsentResponseApplicationJson([ + final void Function(RoomSetRecordingConsentResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetRecordingConsentResponseApplicationJson; + + // coverage:ignore-start + const RoomSetRecordingConsentResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetRecordingConsentResponseApplicationJson.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 => + _$roomSetRecordingConsentResponseApplicationJsonSerializer; +} + +class RoomSetMessageExpirationApiVersion extends EnumClass { + const RoomSetMessageExpirationApiVersion._(super.name); + + static const RoomSetMessageExpirationApiVersion v4 = _$roomSetMessageExpirationApiVersionV4; + + // coverage:ignore-start + static BuiltSet get values => _$roomSetMessageExpirationApiVersionValues; + // coverage:ignore-end + + static RoomSetMessageExpirationApiVersion valueOf(final String name) => + _$valueOfRoomSetMessageExpirationApiVersion(name); + + static Serializer get serializer => + _$roomSetMessageExpirationApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetMessageExpirationResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class RoomSetMessageExpirationResponseApplicationJson_Ocs + implements + RoomSetMessageExpirationResponseApplicationJson_OcsInterface, + Built { + factory RoomSetMessageExpirationResponseApplicationJson_Ocs([ + final void Function(RoomSetMessageExpirationResponseApplicationJson_OcsBuilder)? b, + ]) = _$RoomSetMessageExpirationResponseApplicationJson_Ocs; + + // coverage:ignore-start + const RoomSetMessageExpirationResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetMessageExpirationResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$roomSetMessageExpirationResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class RoomSetMessageExpirationResponseApplicationJsonInterface { + RoomSetMessageExpirationResponseApplicationJson_Ocs get ocs; +} + +abstract class RoomSetMessageExpirationResponseApplicationJson + implements + RoomSetMessageExpirationResponseApplicationJsonInterface, + Built { + factory RoomSetMessageExpirationResponseApplicationJson([ + final void Function(RoomSetMessageExpirationResponseApplicationJsonBuilder)? b, + ]) = _$RoomSetMessageExpirationResponseApplicationJson; + + // coverage:ignore-start + const RoomSetMessageExpirationResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory RoomSetMessageExpirationResponseApplicationJson.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 => + _$roomSetMessageExpirationResponseApplicationJsonSerializer; +} + +class SettingsSetsipSettingsApiVersion extends EnumClass { + const SettingsSetsipSettingsApiVersion._(super.name); + + static const SettingsSetsipSettingsApiVersion v1 = _$settingsSetsipSettingsApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$settingsSetsipSettingsApiVersionValues; + // coverage:ignore-end + + static SettingsSetsipSettingsApiVersion valueOf(final String name) => _$valueOfSettingsSetsipSettingsApiVersion(name); + + static Serializer get serializer => _$settingsSetsipSettingsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SettingsSetsipSettingsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class SettingsSetsipSettingsResponseApplicationJson_Ocs + implements + SettingsSetsipSettingsResponseApplicationJson_OcsInterface, + Built { + factory SettingsSetsipSettingsResponseApplicationJson_Ocs([ + final void Function(SettingsSetsipSettingsResponseApplicationJson_OcsBuilder)? b, + ]) = _$SettingsSetsipSettingsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SettingsSetsipSettingsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SettingsSetsipSettingsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$settingsSetsipSettingsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SettingsSetsipSettingsResponseApplicationJsonInterface { + SettingsSetsipSettingsResponseApplicationJson_Ocs get ocs; +} + +abstract class SettingsSetsipSettingsResponseApplicationJson + implements + SettingsSetsipSettingsResponseApplicationJsonInterface, + Built { + factory SettingsSetsipSettingsResponseApplicationJson([ + final void Function(SettingsSetsipSettingsResponseApplicationJsonBuilder)? b, + ]) = _$SettingsSetsipSettingsResponseApplicationJson; + + // coverage:ignore-start + const SettingsSetsipSettingsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SettingsSetsipSettingsResponseApplicationJson.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 => + _$settingsSetsipSettingsResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SettingsSetUserSettingValueInterface { + JsonObject get data; + String? get string; + int? get $int; +} + +abstract class SettingsSetUserSettingValue + implements + SettingsSetUserSettingValueInterface, + Built { + factory SettingsSetUserSettingValue([final void Function(SettingsSetUserSettingValueBuilder)? b]) = + _$SettingsSetUserSettingValue; + + // coverage:ignore-start + const SettingsSetUserSettingValue._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SettingsSetUserSettingValue.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$SettingsSetUserSettingValueSerializer(); +} + +class _$SettingsSetUserSettingValueSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SettingsSetUserSettingValue, _$SettingsSetUserSettingValue]; + + @override + final String wireName = 'SettingsSetUserSettingValue'; + + @override + Object serialize( + final Serializers serializers, + final SettingsSetUserSettingValue object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + SettingsSetUserSettingValue deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = SettingsSetUserSettingValueBuilder()..data = JsonObject(data); + try { + result._string = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; + } catch (_) {} + try { + result._$int = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; + } catch (_) {} + assert([result._string, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +class SettingsSetUserSettingApiVersion extends EnumClass { + const SettingsSetUserSettingApiVersion._(super.name); + + static const SettingsSetUserSettingApiVersion v1 = _$settingsSetUserSettingApiVersionV1; + + // coverage:ignore-start + static BuiltSet get values => _$settingsSetUserSettingApiVersionValues; + // coverage:ignore-end + + static SettingsSetUserSettingApiVersion valueOf(final String name) => _$valueOfSettingsSetUserSettingApiVersion(name); + + static Serializer get serializer => _$settingsSetUserSettingApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SettingsSetUserSettingResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class SettingsSetUserSettingResponseApplicationJson_Ocs + implements + SettingsSetUserSettingResponseApplicationJson_OcsInterface, + Built { + factory SettingsSetUserSettingResponseApplicationJson_Ocs([ + final void Function(SettingsSetUserSettingResponseApplicationJson_OcsBuilder)? b, + ]) = _$SettingsSetUserSettingResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SettingsSetUserSettingResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SettingsSetUserSettingResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$settingsSetUserSettingResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SettingsSetUserSettingResponseApplicationJsonInterface { + SettingsSetUserSettingResponseApplicationJson_Ocs get ocs; +} + +abstract class SettingsSetUserSettingResponseApplicationJson + implements + SettingsSetUserSettingResponseApplicationJsonInterface, + Built { + factory SettingsSetUserSettingResponseApplicationJson([ + final void Function(SettingsSetUserSettingResponseApplicationJsonBuilder)? b, + ]) = _$SettingsSetUserSettingResponseApplicationJson; + + // coverage:ignore-start + const SettingsSetUserSettingResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SettingsSetUserSettingResponseApplicationJson.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 => + _$settingsSetUserSettingResponseApplicationJsonSerializer; +} + +class SignalingGetSettingsApiVersion extends EnumClass { + const SignalingGetSettingsApiVersion._(super.name); + + static const SignalingGetSettingsApiVersion v3 = _$signalingGetSettingsApiVersionV3; + + // coverage:ignore-start + static BuiltSet get values => _$signalingGetSettingsApiVersionValues; + // coverage:ignore-end + + static SignalingGetSettingsApiVersion valueOf(final String name) => _$valueOfSignalingGetSettingsApiVersion(name); + + static Serializer get serializer => _$signalingGetSettingsApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettings_HelloAuthParams_$10Interface { + String? get userid; + String get ticket; +} + +abstract class SignalingSettings_HelloAuthParams_$10 + implements + SignalingSettings_HelloAuthParams_$10Interface, + Built { + factory SignalingSettings_HelloAuthParams_$10([ + final void Function(SignalingSettings_HelloAuthParams_$10Builder)? b, + ]) = _$SignalingSettings_HelloAuthParams_$10; + + // coverage:ignore-start + const SignalingSettings_HelloAuthParams_$10._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings_HelloAuthParams_$10.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 => + _$signalingSettingsHelloAuthParams$10Serializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettings_HelloAuthParams_$20Interface { + String get token; +} + +abstract class SignalingSettings_HelloAuthParams_$20 + implements + SignalingSettings_HelloAuthParams_$20Interface, + Built { + factory SignalingSettings_HelloAuthParams_$20([ + final void Function(SignalingSettings_HelloAuthParams_$20Builder)? b, + ]) = _$SignalingSettings_HelloAuthParams_$20; + + // coverage:ignore-start + const SignalingSettings_HelloAuthParams_$20._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings_HelloAuthParams_$20.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 => + _$signalingSettingsHelloAuthParams$20Serializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettings_HelloAuthParamsInterface { + @BuiltValueField(wireName: '1.0') + SignalingSettings_HelloAuthParams_$10 get $10; + @BuiltValueField(wireName: '2.0') + SignalingSettings_HelloAuthParams_$20 get $20; +} + +abstract class SignalingSettings_HelloAuthParams + implements + SignalingSettings_HelloAuthParamsInterface, + Built { + factory SignalingSettings_HelloAuthParams([final void Function(SignalingSettings_HelloAuthParamsBuilder)? b]) = + _$SignalingSettings_HelloAuthParams; + + // coverage:ignore-start + const SignalingSettings_HelloAuthParams._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings_HelloAuthParams.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 => _$signalingSettingsHelloAuthParamsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettings_StunserversInterface { + BuiltList get urls; +} + +abstract class SignalingSettings_Stunservers + implements + SignalingSettings_StunserversInterface, + Built { + factory SignalingSettings_Stunservers([final void Function(SignalingSettings_StunserversBuilder)? b]) = + _$SignalingSettings_Stunservers; + + // coverage:ignore-start + const SignalingSettings_Stunservers._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings_Stunservers.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 => _$signalingSettingsStunserversSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettings_TurnserversInterface { + BuiltList get urls; + String get username; + JsonObject get credential; +} + +abstract class SignalingSettings_Turnservers + implements + SignalingSettings_TurnserversInterface, + Built { + factory SignalingSettings_Turnservers([final void Function(SignalingSettings_TurnserversBuilder)? b]) = + _$SignalingSettings_Turnservers; + + // coverage:ignore-start + const SignalingSettings_Turnservers._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings_Turnservers.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 => _$signalingSettingsTurnserversSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSettingsInterface { + SignalingSettings_HelloAuthParams get helloAuthParams; + bool get hideWarning; + String get server; + String get signalingMode; + String get sipDialinInfo; + BuiltList get stunservers; + String get ticket; + BuiltList get turnservers; + String? get userId; +} + +abstract class SignalingSettings + implements SignalingSettingsInterface, Built { + factory SignalingSettings([final void Function(SignalingSettingsBuilder)? b]) = _$SignalingSettings; + + // coverage:ignore-start + const SignalingSettings._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSettings.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 => _$signalingSettingsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingGetSettingsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + SignalingSettings get data; +} + +abstract class SignalingGetSettingsResponseApplicationJson_Ocs + implements + SignalingGetSettingsResponseApplicationJson_OcsInterface, + Built { + factory SignalingGetSettingsResponseApplicationJson_Ocs([ + final void Function(SignalingGetSettingsResponseApplicationJson_OcsBuilder)? b, + ]) = _$SignalingGetSettingsResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SignalingGetSettingsResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingGetSettingsResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$signalingGetSettingsResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingGetSettingsResponseApplicationJsonInterface { + SignalingGetSettingsResponseApplicationJson_Ocs get ocs; +} + +abstract class SignalingGetSettingsResponseApplicationJson + implements + SignalingGetSettingsResponseApplicationJsonInterface, + Built { + factory SignalingGetSettingsResponseApplicationJson([ + final void Function(SignalingGetSettingsResponseApplicationJsonBuilder)? b, + ]) = _$SignalingGetSettingsResponseApplicationJson; + + // coverage:ignore-start + const SignalingGetSettingsResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingGetSettingsResponseApplicationJson.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 => + _$signalingGetSettingsResponseApplicationJsonSerializer; +} + +class SignalingGetWelcomeMessageApiVersion extends EnumClass { + const SignalingGetWelcomeMessageApiVersion._(super.name); + + static const SignalingGetWelcomeMessageApiVersion v3 = _$signalingGetWelcomeMessageApiVersionV3; + + // coverage:ignore-start + static BuiltSet get values => _$signalingGetWelcomeMessageApiVersionValues; + // coverage:ignore-end + + static SignalingGetWelcomeMessageApiVersion valueOf(final String name) => + _$valueOfSignalingGetWelcomeMessageApiVersion(name); + + static Serializer get serializer => + _$signalingGetWelcomeMessageApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingGetWelcomeMessageResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltMap get data; +} + +abstract class SignalingGetWelcomeMessageResponseApplicationJson_Ocs + implements + SignalingGetWelcomeMessageResponseApplicationJson_OcsInterface, + Built { + factory SignalingGetWelcomeMessageResponseApplicationJson_Ocs([ + final void Function(SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? b, + ]) = _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SignalingGetWelcomeMessageResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingGetWelcomeMessageResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$signalingGetWelcomeMessageResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingGetWelcomeMessageResponseApplicationJsonInterface { + SignalingGetWelcomeMessageResponseApplicationJson_Ocs get ocs; +} + +abstract class SignalingGetWelcomeMessageResponseApplicationJson + implements + SignalingGetWelcomeMessageResponseApplicationJsonInterface, + Built { + factory SignalingGetWelcomeMessageResponseApplicationJson([ + final void Function(SignalingGetWelcomeMessageResponseApplicationJsonBuilder)? b, + ]) = _$SignalingGetWelcomeMessageResponseApplicationJson; + + // coverage:ignore-start + const SignalingGetWelcomeMessageResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingGetWelcomeMessageResponseApplicationJson.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 => + _$signalingGetWelcomeMessageResponseApplicationJsonSerializer; +} + +class SignalingPullMessagesApiVersion extends EnumClass { + const SignalingPullMessagesApiVersion._(super.name); + + static const SignalingPullMessagesApiVersion v3 = _$signalingPullMessagesApiVersionV3; + + // coverage:ignore-start + static BuiltSet get values => _$signalingPullMessagesApiVersionValues; + // coverage:ignore-end + + static SignalingPullMessagesApiVersion valueOf(final String name) => _$valueOfSignalingPullMessagesApiVersion(name); + + static Serializer get serializer => _$signalingPullMessagesApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSessionInterface { + int get inCall; + int get lastPing; + int get participantPermissions; + int get roomId; + String get sessionId; + String get userId; +} + +abstract class SignalingSession implements SignalingSessionInterface, Built { + factory SignalingSession([final void Function(SignalingSessionBuilder)? b]) = _$SignalingSession; + + // coverage:ignore-start + const SignalingSession._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSession.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 => _$signalingSessionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingPullMessagesResponseApplicationJson_Ocs_DataInterface { + String get type; + BuiltList get data; +} + +abstract class SignalingPullMessagesResponseApplicationJson_Ocs_Data + implements + SignalingPullMessagesResponseApplicationJson_Ocs_DataInterface, + Built { + factory SignalingPullMessagesResponseApplicationJson_Ocs_Data([ + final void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder)? b, + ]) = _$SignalingPullMessagesResponseApplicationJson_Ocs_Data; + + // coverage:ignore-start + const SignalingPullMessagesResponseApplicationJson_Ocs_Data._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingPullMessagesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$signalingPullMessagesResponseApplicationJsonOcsDataSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingPullMessagesResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; +} + +abstract class SignalingPullMessagesResponseApplicationJson_Ocs + implements + SignalingPullMessagesResponseApplicationJson_OcsInterface, + Built { + factory SignalingPullMessagesResponseApplicationJson_Ocs([ + final void Function(SignalingPullMessagesResponseApplicationJson_OcsBuilder)? b, + ]) = _$SignalingPullMessagesResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SignalingPullMessagesResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingPullMessagesResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$signalingPullMessagesResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingPullMessagesResponseApplicationJsonInterface { + SignalingPullMessagesResponseApplicationJson_Ocs get ocs; +} + +abstract class SignalingPullMessagesResponseApplicationJson + implements + SignalingPullMessagesResponseApplicationJsonInterface, + Built { + factory SignalingPullMessagesResponseApplicationJson([ + final void Function(SignalingPullMessagesResponseApplicationJsonBuilder)? b, + ]) = _$SignalingPullMessagesResponseApplicationJson; + + // coverage:ignore-start + const SignalingPullMessagesResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingPullMessagesResponseApplicationJson.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 => + _$signalingPullMessagesResponseApplicationJsonSerializer; +} + +class SignalingSignalingApiVersion extends EnumClass { + const SignalingSignalingApiVersion._(super.name); + + static const SignalingSignalingApiVersion v3 = _$signalingSignalingApiVersionV3; + + // coverage:ignore-start + static BuiltSet get values => _$signalingSignalingApiVersionValues; + // coverage:ignore-end + + static SignalingSignalingApiVersion valueOf(final String name) => _$valueOfSignalingSignalingApiVersion(name); + + static Serializer get serializer => _$signalingSignalingApiVersionSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSignalingResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class SignalingSignalingResponseApplicationJson_Ocs + implements + SignalingSignalingResponseApplicationJson_OcsInterface, + Built { + factory SignalingSignalingResponseApplicationJson_Ocs([ + final void Function(SignalingSignalingResponseApplicationJson_OcsBuilder)? b, + ]) = _$SignalingSignalingResponseApplicationJson_Ocs; + + // coverage:ignore-start + const SignalingSignalingResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSignalingResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$signalingSignalingResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class SignalingSignalingResponseApplicationJsonInterface { + SignalingSignalingResponseApplicationJson_Ocs get ocs; +} + +abstract class SignalingSignalingResponseApplicationJson + implements + SignalingSignalingResponseApplicationJsonInterface, + Built { + factory SignalingSignalingResponseApplicationJson([ + final void Function(SignalingSignalingResponseApplicationJsonBuilder)? b, + ]) = _$SignalingSignalingResponseApplicationJson; + + // coverage:ignore-start + const SignalingSignalingResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory SignalingSignalingResponseApplicationJson.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 => + _$signalingSignalingResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class TempAvatarPostAvatarResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class TempAvatarPostAvatarResponseApplicationJson_Ocs + implements + TempAvatarPostAvatarResponseApplicationJson_OcsInterface, + Built { + factory TempAvatarPostAvatarResponseApplicationJson_Ocs([ + final void Function(TempAvatarPostAvatarResponseApplicationJson_OcsBuilder)? b, + ]) = _$TempAvatarPostAvatarResponseApplicationJson_Ocs; + + // coverage:ignore-start + const TempAvatarPostAvatarResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory TempAvatarPostAvatarResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$tempAvatarPostAvatarResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class TempAvatarPostAvatarResponseApplicationJsonInterface { + TempAvatarPostAvatarResponseApplicationJson_Ocs get ocs; +} + +abstract class TempAvatarPostAvatarResponseApplicationJson + implements + TempAvatarPostAvatarResponseApplicationJsonInterface, + Built { + factory TempAvatarPostAvatarResponseApplicationJson([ + final void Function(TempAvatarPostAvatarResponseApplicationJsonBuilder)? b, + ]) = _$TempAvatarPostAvatarResponseApplicationJson; + + // coverage:ignore-start + const TempAvatarPostAvatarResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory TempAvatarPostAvatarResponseApplicationJson.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 => + _$tempAvatarPostAvatarResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class TempAvatarDeleteAvatarResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; +} + +abstract class TempAvatarDeleteAvatarResponseApplicationJson_Ocs + implements + TempAvatarDeleteAvatarResponseApplicationJson_OcsInterface, + Built { + factory TempAvatarDeleteAvatarResponseApplicationJson_Ocs([ + final void Function(TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? b, + ]) = _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs; + + // coverage:ignore-start + const TempAvatarDeleteAvatarResponseApplicationJson_Ocs._(); + // coverage:ignore-end + + // coverage:ignore-start + factory TempAvatarDeleteAvatarResponseApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => + _$tempAvatarDeleteAvatarResponseApplicationJsonOcsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class TempAvatarDeleteAvatarResponseApplicationJsonInterface { + TempAvatarDeleteAvatarResponseApplicationJson_Ocs get ocs; +} + +abstract class TempAvatarDeleteAvatarResponseApplicationJson + implements + TempAvatarDeleteAvatarResponseApplicationJsonInterface, + Built { + factory TempAvatarDeleteAvatarResponseApplicationJson([ + final void Function(TempAvatarDeleteAvatarResponseApplicationJsonBuilder)? b, + ]) = _$TempAvatarDeleteAvatarResponseApplicationJson; + + // coverage:ignore-start + const TempAvatarDeleteAvatarResponseApplicationJson._(); + // coverage:ignore-end + + // coverage:ignore-start + factory TempAvatarDeleteAvatarResponseApplicationJson.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 => + _$tempAvatarDeleteAvatarResponseApplicationJsonSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class BotWithDetailsAndSecret_1Interface { + String get secret; +} + +@BuiltValue(instantiable: false) +abstract interface class BotWithDetailsAndSecretInterface + implements BotWithDetailsInterface, BotWithDetailsAndSecret_1Interface {} + +abstract class BotWithDetailsAndSecret + implements BotWithDetailsAndSecretInterface, Built { + factory BotWithDetailsAndSecret([final void Function(BotWithDetailsAndSecretBuilder)? b]) = _$BotWithDetailsAndSecret; + + // coverage:ignore-start + const BotWithDetailsAndSecret._(); + // coverage:ignore-end + + // coverage:ignore-start + factory BotWithDetailsAndSecret.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 => _$botWithDetailsAndSecretSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_Spreed_Config_AttachmentsInterface { + bool get allowed; + String? get folder; +} + +abstract class PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Attachments._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Attachments.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 => + _$publicCapabilitiesSpreedConfigAttachmentsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_Spreed_Config_CallInterface { + bool get enabled; + @BuiltValueField(wireName: 'breakout-rooms') + bool get breakoutRooms; + bool get recording; + @BuiltValueField(wireName: 'recording-consent') + int get recordingConsent; + @BuiltValueField(wireName: 'supported-reactions') + BuiltList get supportedReactions; + @BuiltValueField(wireName: 'predefined-backgrounds') + BuiltList get predefinedBackgrounds; + @BuiltValueField(wireName: 'can-upload-background') + bool get canUploadBackground; +} + +abstract class PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Call._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Call.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 => + _$publicCapabilitiesSpreedConfigCallSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_Spreed_Config_ChatInterface { + @BuiltValueField(wireName: 'max-length') + int get maxLength; + @BuiltValueField(wireName: 'read-privacy') + int get readPrivacy; + @BuiltValueField(wireName: 'has-translation-providers') + bool get hasTranslationProviders; + @BuiltValueField(wireName: 'typing-privacy') + int get typingPrivacy; +} + +abstract class PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Chat._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Chat.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 => + _$publicCapabilitiesSpreedConfigChatSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_Spreed_Config_ConversationsInterface { + @BuiltValueField(wireName: 'can-create') + bool get canCreate; +} + +abstract class PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Conversations._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Conversations.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 => + _$publicCapabilitiesSpreedConfigConversationsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_Spreed_Config_PreviewsInterface { + @BuiltValueField(wireName: 'max-gif-size') + int get maxGifSize; +} + +abstract class PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Previews._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Previews.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 => + _$publicCapabilitiesSpreedConfigPreviewsSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_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 + implements + PublicCapabilities_Spreed_Config_SignalingInterface, + Built { + factory PublicCapabilities_Spreed_Config_Signaling([ + final void Function(PublicCapabilities_Spreed_Config_SignalingBuilder)? b, + ]) = _$PublicCapabilities_Spreed_Config_Signaling; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config_Signaling._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config_Signaling.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 => + _$publicCapabilitiesSpreedConfigSignalingSerializer; +} + +@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 class PublicCapabilities_Spreed_Config + implements + PublicCapabilities_Spreed_ConfigInterface, + Built { + factory PublicCapabilities_Spreed_Config([final void Function(PublicCapabilities_Spreed_ConfigBuilder)? b]) = + _$PublicCapabilities_Spreed_Config; + + // coverage:ignore-start + const PublicCapabilities_Spreed_Config._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed_Config.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 => _$publicCapabilitiesSpreedConfigSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilities_SpreedInterface { + BuiltList get features; + PublicCapabilities_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; + + // coverage:ignore-start + const PublicCapabilities_Spreed._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities_Spreed.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 => _$publicCapabilitiesSpreedSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class PublicCapabilitiesInterface { + PublicCapabilities_Spreed get spreed; +} + +abstract class PublicCapabilities + implements PublicCapabilitiesInterface, Built { + factory PublicCapabilities([final void Function(PublicCapabilitiesBuilder)? b]) = _$PublicCapabilities; + + // coverage:ignore-start + const PublicCapabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory PublicCapabilities.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 => _$publicCapabilitiesSerializer; +} + +// coverage:ignore-start +final Serializers _serializers = (Serializers().toBuilder() + ..add(AvatarGetAvatarApiVersion.serializer) + ..add(AvatarUploadAvatarApiVersion.serializer) + ..addBuilderFactory( + const FullType(AvatarUploadAvatarResponseApplicationJson), + AvatarUploadAvatarResponseApplicationJson.new, + ) + ..add(AvatarUploadAvatarResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs), + AvatarUploadAvatarResponseApplicationJson_Ocs.new, + ) + ..add(AvatarUploadAvatarResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(OCSMeta), OCSMeta.new) + ..add(OCSMeta.serializer) + ..addBuilderFactory(const FullType(Room), Room.new) + ..add(Room.serializer) + ..addBuilderFactory(const FullType(Room_LastMessage), Room_LastMessage.new) + ..add(Room_LastMessage.serializer) + ..addBuilderFactory(const FullType(ChatMessage), ChatMessage.new) + ..add(ChatMessage.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + ]), + MapBuilder.new, + ) + ..addBuilderFactory(const FullType(BuiltMap, [FullType(String), FullType(int)]), MapBuilder.new) + ..add(AvatarDeleteAvatarApiVersion.serializer) + ..addBuilderFactory( + const FullType(AvatarDeleteAvatarResponseApplicationJson), + AvatarDeleteAvatarResponseApplicationJson.new, + ) + ..add(AvatarDeleteAvatarResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs), + AvatarDeleteAvatarResponseApplicationJson_Ocs.new, + ) + ..add(AvatarDeleteAvatarResponseApplicationJson_Ocs.serializer) + ..add(AvatarEmojiAvatarApiVersion.serializer) + ..addBuilderFactory( + const FullType(AvatarEmojiAvatarResponseApplicationJson), + AvatarEmojiAvatarResponseApplicationJson.new, + ) + ..add(AvatarEmojiAvatarResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs), + AvatarEmojiAvatarResponseApplicationJson_Ocs.new, + ) + ..add(AvatarEmojiAvatarResponseApplicationJson_Ocs.serializer) + ..add(AvatarGetAvatarDarkApiVersion.serializer) + ..add(BotSendMessageApiVersion.serializer) + ..addBuilderFactory( + const FullType(BotSendMessageResponseApplicationJson), + BotSendMessageResponseApplicationJson.new, + ) + ..add(BotSendMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotSendMessageResponseApplicationJson_Ocs), + BotSendMessageResponseApplicationJson_Ocs.new, + ) + ..add(BotSendMessageResponseApplicationJson_Ocs.serializer) + ..add(BotReactApiVersion.serializer) + ..addBuilderFactory(const FullType(BotReactResponseApplicationJson), BotReactResponseApplicationJson.new) + ..add(BotReactResponseApplicationJson.serializer) + ..addBuilderFactory(const FullType(BotReactResponseApplicationJson_Ocs), BotReactResponseApplicationJson_Ocs.new) + ..add(BotReactResponseApplicationJson_Ocs.serializer) + ..add(BotDeleteReactionApiVersion.serializer) + ..addBuilderFactory( + const FullType(BotDeleteReactionResponseApplicationJson), + BotDeleteReactionResponseApplicationJson.new, + ) + ..add(BotDeleteReactionResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotDeleteReactionResponseApplicationJson_Ocs), + BotDeleteReactionResponseApplicationJson_Ocs.new, + ) + ..add(BotDeleteReactionResponseApplicationJson_Ocs.serializer) + ..add(BotAdminListBotsApiVersion.serializer) + ..addBuilderFactory( + const FullType(BotAdminListBotsResponseApplicationJson), + BotAdminListBotsResponseApplicationJson.new, + ) + ..add(BotAdminListBotsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotAdminListBotsResponseApplicationJson_Ocs), + BotAdminListBotsResponseApplicationJson_Ocs.new, + ) + ..add(BotAdminListBotsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BotWithDetails), BotWithDetails.new) + ..add(BotWithDetails.serializer) + ..addBuilderFactory(const FullType(Bot), Bot.new) + ..add(Bot.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(BotWithDetails)]), ListBuilder.new) + ..add(BotListBotsApiVersion.serializer) + ..addBuilderFactory(const FullType(BotListBotsResponseApplicationJson), BotListBotsResponseApplicationJson.new) + ..add(BotListBotsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotListBotsResponseApplicationJson_Ocs), + BotListBotsResponseApplicationJson_Ocs.new, + ) + ..add(BotListBotsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(Bot)]), ListBuilder.new) + ..add(BotEnableBotApiVersion.serializer) + ..addBuilderFactory(const FullType(BotEnableBotResponseApplicationJson), BotEnableBotResponseApplicationJson.new) + ..add(BotEnableBotResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotEnableBotResponseApplicationJson_Ocs), + BotEnableBotResponseApplicationJson_Ocs.new, + ) + ..add(BotEnableBotResponseApplicationJson_Ocs.serializer) + ..add(BotDisableBotApiVersion.serializer) + ..addBuilderFactory( + const FullType(BotDisableBotResponseApplicationJson), + BotDisableBotResponseApplicationJson.new, + ) + ..add(BotDisableBotResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BotDisableBotResponseApplicationJson_Ocs), + BotDisableBotResponseApplicationJson_Ocs.new, + ) + ..add(BotDisableBotResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomConfigureBreakoutRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson), + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson.new, + ) + ..add(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs), + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(Room)]), ListBuilder.new) + ..add(BreakoutRoomRemoveBreakoutRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson), + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson.new, + ) + ..add(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs), + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomBroadcastChatMessageApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson), + BreakoutRoomBroadcastChatMessageResponseApplicationJson.new, + ) + ..add(BreakoutRoomBroadcastChatMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs), + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomApplyAttendeeMapApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson), + BreakoutRoomApplyAttendeeMapResponseApplicationJson.new, + ) + ..add(BreakoutRoomApplyAttendeeMapResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs), + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomRequestAssistanceApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson), + BreakoutRoomRequestAssistanceResponseApplicationJson.new, + ) + ..add(BreakoutRoomRequestAssistanceResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs), + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomResetRequestForAssistanceApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson), + BreakoutRoomResetRequestForAssistanceResponseApplicationJson.new, + ) + ..add(BreakoutRoomResetRequestForAssistanceResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs), + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomStartBreakoutRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson), + BreakoutRoomStartBreakoutRoomsResponseApplicationJson.new, + ) + ..add(BreakoutRoomStartBreakoutRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs), + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomStopBreakoutRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson), + BreakoutRoomStopBreakoutRoomsResponseApplicationJson.new, + ) + ..add(BreakoutRoomStopBreakoutRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs), + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs.serializer) + ..add(BreakoutRoomSwitchBreakoutRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson), + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson.new, + ) + ..add(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs), + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs.new, + ) + ..add(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs.serializer) + ..add(CallGetPeersForCallApiVersion.serializer) + ..addBuilderFactory( + const FullType(CallGetPeersForCallResponseApplicationJson), + CallGetPeersForCallResponseApplicationJson.new, + ) + ..add(CallGetPeersForCallResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CallGetPeersForCallResponseApplicationJson_Ocs), + CallGetPeersForCallResponseApplicationJson_Ocs.new, + ) + ..add(CallGetPeersForCallResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(CallPeer), CallPeer.new) + ..add(CallPeer.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(CallPeer)]), ListBuilder.new) + ..add(CallUpdateCallFlagsApiVersion.serializer) + ..addBuilderFactory( + const FullType(CallUpdateCallFlagsResponseApplicationJson), + CallUpdateCallFlagsResponseApplicationJson.new, + ) + ..add(CallUpdateCallFlagsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs), + CallUpdateCallFlagsResponseApplicationJson_Ocs.new, + ) + ..add(CallUpdateCallFlagsResponseApplicationJson_Ocs.serializer) + ..add(CallJoinCallApiVersion.serializer) + ..addBuilderFactory(const FullType(CallJoinCallResponseApplicationJson), CallJoinCallResponseApplicationJson.new) + ..add(CallJoinCallResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CallJoinCallResponseApplicationJson_Ocs), + CallJoinCallResponseApplicationJson_Ocs.new, + ) + ..add(CallJoinCallResponseApplicationJson_Ocs.serializer) + ..add(CallLeaveCallApiVersion.serializer) + ..addBuilderFactory( + const FullType(CallLeaveCallResponseApplicationJson), + CallLeaveCallResponseApplicationJson.new, + ) + ..add(CallLeaveCallResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CallLeaveCallResponseApplicationJson_Ocs), + CallLeaveCallResponseApplicationJson_Ocs.new, + ) + ..add(CallLeaveCallResponseApplicationJson_Ocs.serializer) + ..add(CallRingAttendeeApiVersion.serializer) + ..addBuilderFactory( + const FullType(CallRingAttendeeResponseApplicationJson), + CallRingAttendeeResponseApplicationJson.new, + ) + ..add(CallRingAttendeeResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CallRingAttendeeResponseApplicationJson_Ocs), + CallRingAttendeeResponseApplicationJson_Ocs.new, + ) + ..add(CallRingAttendeeResponseApplicationJson_Ocs.serializer) + ..add(CertificateGetCertificateExpirationApiVersion.serializer) + ..addBuilderFactory( + const FullType(CertificateGetCertificateExpirationResponseApplicationJson), + CertificateGetCertificateExpirationResponseApplicationJson.new, + ) + ..add(CertificateGetCertificateExpirationResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs), + CertificateGetCertificateExpirationResponseApplicationJson_Ocs.new, + ) + ..add(CertificateGetCertificateExpirationResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data), + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data.new, + ) + ..add(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data.serializer) + ..add(ChatReceiveMessagesApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatReceiveMessagesHeaders), ChatChatReceiveMessagesHeaders.new) + ..add(ChatChatReceiveMessagesHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatReceiveMessagesResponseApplicationJson), + ChatReceiveMessagesResponseApplicationJson.new, + ) + ..add(ChatReceiveMessagesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs), + ChatReceiveMessagesResponseApplicationJson_Ocs.new, + ) + ..add(ChatReceiveMessagesResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ChatMessageWithParent), ChatMessageWithParent.new) + ..add(ChatMessageWithParent.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(ChatMessageWithParent)]), + ListBuilder.new, + ) + ..add(ChatSendMessageApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatSendMessageHeaders), ChatChatSendMessageHeaders.new) + ..add(ChatChatSendMessageHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatSendMessageResponseApplicationJson), + ChatSendMessageResponseApplicationJson.new, + ) + ..add(ChatSendMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatSendMessageResponseApplicationJson_Ocs), + ChatSendMessageResponseApplicationJson_Ocs.new, + ) + ..add(ChatSendMessageResponseApplicationJson_Ocs.serializer) + ..add(ChatClearHistoryApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatClearHistoryHeaders), ChatChatClearHistoryHeaders.new) + ..add(ChatChatClearHistoryHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatClearHistoryResponseApplicationJson), + ChatClearHistoryResponseApplicationJson.new, + ) + ..add(ChatClearHistoryResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatClearHistoryResponseApplicationJson_Ocs), + ChatClearHistoryResponseApplicationJson_Ocs.new, + ) + ..add(ChatClearHistoryResponseApplicationJson_Ocs.serializer) + ..add(ChatDeleteMessageApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatDeleteMessageHeaders), ChatChatDeleteMessageHeaders.new) + ..add(ChatChatDeleteMessageHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatDeleteMessageResponseApplicationJson), + ChatDeleteMessageResponseApplicationJson.new, + ) + ..add(ChatDeleteMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatDeleteMessageResponseApplicationJson_Ocs), + ChatDeleteMessageResponseApplicationJson_Ocs.new, + ) + ..add(ChatDeleteMessageResponseApplicationJson_Ocs.serializer) + ..add(ChatGetMessageContextApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatGetMessageContextHeaders), ChatChatGetMessageContextHeaders.new) + ..add(ChatChatGetMessageContextHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatGetMessageContextResponseApplicationJson), + ChatGetMessageContextResponseApplicationJson.new, + ) + ..add(ChatGetMessageContextResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatGetMessageContextResponseApplicationJson_Ocs), + ChatGetMessageContextResponseApplicationJson_Ocs.new, + ) + ..add(ChatGetMessageContextResponseApplicationJson_Ocs.serializer) + ..add(ChatGetReminderApiVersion.serializer) + ..addBuilderFactory( + const FullType(ChatGetReminderResponseApplicationJson), + ChatGetReminderResponseApplicationJson.new, + ) + ..add(ChatGetReminderResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatGetReminderResponseApplicationJson_Ocs), + ChatGetReminderResponseApplicationJson_Ocs.new, + ) + ..add(ChatGetReminderResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ChatReminder), ChatReminder.new) + ..add(ChatReminder.serializer) + ..add(ChatSetReminderApiVersion.serializer) + ..addBuilderFactory( + const FullType(ChatSetReminderResponseApplicationJson), + ChatSetReminderResponseApplicationJson.new, + ) + ..add(ChatSetReminderResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatSetReminderResponseApplicationJson_Ocs), + ChatSetReminderResponseApplicationJson_Ocs.new, + ) + ..add(ChatSetReminderResponseApplicationJson_Ocs.serializer) + ..add(ChatDeleteReminderApiVersion.serializer) + ..addBuilderFactory( + const FullType(ChatDeleteReminderResponseApplicationJson), + ChatDeleteReminderResponseApplicationJson.new, + ) + ..add(ChatDeleteReminderResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatDeleteReminderResponseApplicationJson_Ocs), + ChatDeleteReminderResponseApplicationJson_Ocs.new, + ) + ..add(ChatDeleteReminderResponseApplicationJson_Ocs.serializer) + ..add(ChatSetReadMarkerApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatSetReadMarkerHeaders), ChatChatSetReadMarkerHeaders.new) + ..add(ChatChatSetReadMarkerHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatSetReadMarkerResponseApplicationJson), + ChatSetReadMarkerResponseApplicationJson.new, + ) + ..add(ChatSetReadMarkerResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs), + ChatSetReadMarkerResponseApplicationJson_Ocs.new, + ) + ..add(ChatSetReadMarkerResponseApplicationJson_Ocs.serializer) + ..add(ChatMarkUnreadApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatMarkUnreadHeaders), ChatChatMarkUnreadHeaders.new) + ..add(ChatChatMarkUnreadHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatMarkUnreadResponseApplicationJson), + ChatMarkUnreadResponseApplicationJson.new, + ) + ..add(ChatMarkUnreadResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatMarkUnreadResponseApplicationJson_Ocs), + ChatMarkUnreadResponseApplicationJson_Ocs.new, + ) + ..add(ChatMarkUnreadResponseApplicationJson_Ocs.serializer) + ..add(ChatMentionsApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatMentionsResponseApplicationJson), ChatMentionsResponseApplicationJson.new) + ..add(ChatMentionsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatMentionsResponseApplicationJson_Ocs), + ChatMentionsResponseApplicationJson_Ocs.new, + ) + ..add(ChatMentionsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ChatMentionSuggestion), ChatMentionSuggestion.new) + ..add(ChatMentionSuggestion.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(ChatMentionSuggestion)]), + ListBuilder.new, + ) + ..add(ChatGetObjectsSharedInRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(ChatChatGetObjectsSharedInRoomHeaders), + ChatChatGetObjectsSharedInRoomHeaders.new, + ) + ..add(ChatChatGetObjectsSharedInRoomHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson), + ChatGetObjectsSharedInRoomResponseApplicationJson.new, + ) + ..add(ChatGetObjectsSharedInRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs), + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs.new, + ) + ..add(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(ChatMessage)]), ListBuilder.new) + ..add(ChatShareObjectToChatApiVersion.serializer) + ..addBuilderFactory(const FullType(ChatChatShareObjectToChatHeaders), ChatChatShareObjectToChatHeaders.new) + ..add(ChatChatShareObjectToChatHeaders.serializer) + ..addBuilderFactory( + const FullType(ChatShareObjectToChatResponseApplicationJson), + ChatShareObjectToChatResponseApplicationJson.new, + ) + ..add(ChatShareObjectToChatResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs), + ChatShareObjectToChatResponseApplicationJson_Ocs.new, + ) + ..add(ChatShareObjectToChatResponseApplicationJson_Ocs.serializer) + ..add(ChatGetObjectsSharedInRoomOverviewApiVersion.serializer) + ..addBuilderFactory( + const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson), + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson.new, + ) + ..add(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs), + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs.new, + ) + ..add(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(ChatMessage)]), + ]), + MapBuilder.new, + ) + ..add(FederationAcceptShareApiVersion.serializer) + ..addBuilderFactory( + const FullType(FederationAcceptShareResponseApplicationJson), + FederationAcceptShareResponseApplicationJson.new, + ) + ..add(FederationAcceptShareResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FederationAcceptShareResponseApplicationJson_Ocs), + FederationAcceptShareResponseApplicationJson_Ocs.new, + ) + ..add(FederationAcceptShareResponseApplicationJson_Ocs.serializer) + ..add(FederationRejectShareApiVersion.serializer) + ..addBuilderFactory( + const FullType(FederationRejectShareResponseApplicationJson), + FederationRejectShareResponseApplicationJson.new, + ) + ..add(FederationRejectShareResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FederationRejectShareResponseApplicationJson_Ocs), + FederationRejectShareResponseApplicationJson_Ocs.new, + ) + ..add(FederationRejectShareResponseApplicationJson_Ocs.serializer) + ..add(FederationGetSharesApiVersion.serializer) + ..addBuilderFactory( + const FullType(FederationGetSharesResponseApplicationJson), + FederationGetSharesResponseApplicationJson.new, + ) + ..add(FederationGetSharesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FederationGetSharesResponseApplicationJson_Ocs), + FederationGetSharesResponseApplicationJson_Ocs.new, + ) + ..add(FederationGetSharesResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FederationInvite), FederationInvite.new) + ..add(FederationInvite.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(FederationInvite)]), ListBuilder.new) + ..add(FilesIntegrationGetRoomByFileIdApiVersion.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson), + FilesIntegrationGetRoomByFileIdResponseApplicationJson.new, + ) + ..add(FilesIntegrationGetRoomByFileIdResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs), + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs.new, + ) + ..add(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data), + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data.new, + ) + ..add(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data.serializer) + ..add(FilesIntegrationGetRoomByShareTokenApiVersion.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson), + FilesIntegrationGetRoomByShareTokenResponseApplicationJson.new, + ) + ..add(FilesIntegrationGetRoomByShareTokenResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs), + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs.new, + ) + ..add(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data), + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data.new, + ) + ..add(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data.serializer) + ..add(GuestSetDisplayNameApiVersion.serializer) + ..addBuilderFactory( + const FullType(GuestSetDisplayNameResponseApplicationJson), + GuestSetDisplayNameResponseApplicationJson.new, + ) + ..add(GuestSetDisplayNameResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs), + GuestSetDisplayNameResponseApplicationJson_Ocs.new, + ) + ..add(GuestSetDisplayNameResponseApplicationJson_Ocs.serializer) + ..add(HostedSignalingServerRequestTrialApiVersion.serializer) + ..addBuilderFactory( + const FullType(HostedSignalingServerRequestTrialResponseApplicationJson), + HostedSignalingServerRequestTrialResponseApplicationJson.new, + ) + ..add(HostedSignalingServerRequestTrialResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs), + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs.new, + ) + ..add(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs.serializer) + ..add(HostedSignalingServerDeleteAccountApiVersion.serializer) + ..addBuilderFactory( + const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson), + HostedSignalingServerDeleteAccountResponseApplicationJson.new, + ) + ..add(HostedSignalingServerDeleteAccountResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs), + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs.new, + ) + ..add(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs.serializer) + ..add(MatterbridgeGetBridgeOfRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson), + MatterbridgeGetBridgeOfRoomResponseApplicationJson.new, + ) + ..add(MatterbridgeGetBridgeOfRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs), + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(MatterbridgeWithProcessState), MatterbridgeWithProcessState.new) + ..add(MatterbridgeWithProcessState.serializer) + ..addBuilderFactory(const FullType(Matterbridge), Matterbridge.new) + ..add(Matterbridge.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + ]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(MatterbridgeProcessState), MatterbridgeProcessState.new) + ..add(MatterbridgeProcessState.serializer) + ..addBuilderFactory( + const FullType(ContentString, [ + FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + ]), + ]), + ContentString>>.new, + ) + ..add(ContentString.serializer) + ..add(MatterbridgeEditBridgeOfRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson), + MatterbridgeEditBridgeOfRoomResponseApplicationJson.new, + ) + ..add(MatterbridgeEditBridgeOfRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs), + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs.serializer) + ..add(MatterbridgeDeleteBridgeOfRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson), + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson.new, + ) + ..add(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs), + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs.serializer) + ..add(MatterbridgeGetBridgeProcessStateApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson), + MatterbridgeGetBridgeProcessStateResponseApplicationJson.new, + ) + ..add(MatterbridgeGetBridgeProcessStateResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs), + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs.serializer) + ..add(MatterbridgeSettingsStopAllBridgesApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson), + MatterbridgeSettingsStopAllBridgesResponseApplicationJson.new, + ) + ..add(MatterbridgeSettingsStopAllBridgesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs), + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs.serializer) + ..add(MatterbridgeSettingsGetMatterbridgeVersionApiVersion.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson), + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson.new, + ) + ..add(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs), + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs.new, + ) + ..add(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data), + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data.new, + ) + ..add(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) + ..add(PollCreatePollApiVersion.serializer) + ..addBuilderFactory( + const FullType(PollCreatePollResponseApplicationJson), + PollCreatePollResponseApplicationJson.new, + ) + ..add(PollCreatePollResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(PollCreatePollResponseApplicationJson_Ocs), + PollCreatePollResponseApplicationJson_Ocs.new, + ) + ..add(PollCreatePollResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(Poll), Poll.new) + ..add(Poll.serializer) + ..addBuilderFactory(const FullType(PollVote), PollVote.new) + ..add(PollVote.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(PollVote)]), ListBuilder.new) + ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) + ..add(PollShowPollApiVersion.serializer) + ..addBuilderFactory(const FullType(PollShowPollResponseApplicationJson), PollShowPollResponseApplicationJson.new) + ..add(PollShowPollResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(PollShowPollResponseApplicationJson_Ocs), + PollShowPollResponseApplicationJson_Ocs.new, + ) + ..add(PollShowPollResponseApplicationJson_Ocs.serializer) + ..add(PollVotePollApiVersion.serializer) + ..addBuilderFactory(const FullType(PollVotePollResponseApplicationJson), PollVotePollResponseApplicationJson.new) + ..add(PollVotePollResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(PollVotePollResponseApplicationJson_Ocs), + PollVotePollResponseApplicationJson_Ocs.new, + ) + ..add(PollVotePollResponseApplicationJson_Ocs.serializer) + ..add(PollClosePollApiVersion.serializer) + ..addBuilderFactory( + const FullType(PollClosePollResponseApplicationJson), + PollClosePollResponseApplicationJson.new, + ) + ..add(PollClosePollResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(PollClosePollResponseApplicationJson_Ocs), + PollClosePollResponseApplicationJson_Ocs.new, + ) + ..add(PollClosePollResponseApplicationJson_Ocs.serializer) + ..add(PublicShareAuthCreateRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(PublicShareAuthCreateRoomResponseApplicationJson), + PublicShareAuthCreateRoomResponseApplicationJson.new, + ) + ..add(PublicShareAuthCreateRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs), + PublicShareAuthCreateRoomResponseApplicationJson_Ocs.new, + ) + ..add(PublicShareAuthCreateRoomResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data), + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data.new, + ) + ..add(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data.serializer) + ..add(ReactionGetReactionsApiVersion.serializer) + ..addBuilderFactory( + const FullType(ReactionGetReactionsResponseApplicationJson), + ReactionGetReactionsResponseApplicationJson.new, + ) + ..add(ReactionGetReactionsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ReactionGetReactionsResponseApplicationJson_Ocs), + ReactionGetReactionsResponseApplicationJson_Ocs.new, + ) + ..add(ReactionGetReactionsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(Reaction), Reaction.new) + ..add(Reaction.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(Reaction)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]), + ]), + MapBuilder.new, + ) + ..add(ReactionReactApiVersion.serializer) + ..addBuilderFactory( + const FullType(ReactionReactResponseApplicationJson), + ReactionReactResponseApplicationJson.new, + ) + ..add(ReactionReactResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ReactionReactResponseApplicationJson_Ocs), + ReactionReactResponseApplicationJson_Ocs.new, + ) + ..add(ReactionReactResponseApplicationJson_Ocs.serializer) + ..add(ReactionDeleteApiVersion.serializer) + ..addBuilderFactory( + const FullType(ReactionDeleteResponseApplicationJson), + ReactionDeleteResponseApplicationJson.new, + ) + ..add(ReactionDeleteResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ReactionDeleteResponseApplicationJson_Ocs), + ReactionDeleteResponseApplicationJson_Ocs.new, + ) + ..add(ReactionDeleteResponseApplicationJson_Ocs.serializer) + ..add(RecordingGetWelcomeMessageApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingGetWelcomeMessageResponseApplicationJson), + RecordingGetWelcomeMessageResponseApplicationJson.new, + ) + ..add(RecordingGetWelcomeMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs), + RecordingGetWelcomeMessageResponseApplicationJson_Ocs.new, + ) + ..add(RecordingGetWelcomeMessageResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data), + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data.new, + ) + ..add(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data.serializer) + ..add(RecordingStartApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingStartResponseApplicationJson), + RecordingStartResponseApplicationJson.new, + ) + ..add(RecordingStartResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingStartResponseApplicationJson_Ocs), + RecordingStartResponseApplicationJson_Ocs.new, + ) + ..add(RecordingStartResponseApplicationJson_Ocs.serializer) + ..add(RecordingStopApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingStopResponseApplicationJson), + RecordingStopResponseApplicationJson.new, + ) + ..add(RecordingStopResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingStopResponseApplicationJson_Ocs), + RecordingStopResponseApplicationJson_Ocs.new, + ) + ..add(RecordingStopResponseApplicationJson_Ocs.serializer) + ..add(RecordingStoreApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingStoreResponseApplicationJson), + RecordingStoreResponseApplicationJson.new, + ) + ..add(RecordingStoreResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingStoreResponseApplicationJson_Ocs), + RecordingStoreResponseApplicationJson_Ocs.new, + ) + ..add(RecordingStoreResponseApplicationJson_Ocs.serializer) + ..add(RecordingNotificationDismissApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingNotificationDismissResponseApplicationJson), + RecordingNotificationDismissResponseApplicationJson.new, + ) + ..add(RecordingNotificationDismissResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs), + RecordingNotificationDismissResponseApplicationJson_Ocs.new, + ) + ..add(RecordingNotificationDismissResponseApplicationJson_Ocs.serializer) + ..add(RecordingShareToChatApiVersion.serializer) + ..addBuilderFactory( + const FullType(RecordingShareToChatResponseApplicationJson), + RecordingShareToChatResponseApplicationJson.new, + ) + ..add(RecordingShareToChatResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RecordingShareToChatResponseApplicationJson_Ocs), + RecordingShareToChatResponseApplicationJson_Ocs.new, + ) + ..add(RecordingShareToChatResponseApplicationJson_Ocs.serializer) + ..add(RoomGetRoomsApiVersion.serializer) + ..addBuilderFactory(const FullType(RoomRoomGetRoomsHeaders), RoomRoomGetRoomsHeaders.new) + ..add(RoomRoomGetRoomsHeaders.serializer) + ..addBuilderFactory(const FullType(RoomGetRoomsResponseApplicationJson), RoomGetRoomsResponseApplicationJson.new) + ..add(RoomGetRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetRoomsResponseApplicationJson_Ocs), + RoomGetRoomsResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetRoomsResponseApplicationJson_Ocs.serializer) + ..add(RoomCreateRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomCreateRoomResponseApplicationJson), + RoomCreateRoomResponseApplicationJson.new, + ) + ..add(RoomCreateRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomCreateRoomResponseApplicationJson_Ocs), + RoomCreateRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomCreateRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomGetListedRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomGetListedRoomsResponseApplicationJson), + RoomGetListedRoomsResponseApplicationJson.new, + ) + ..add(RoomGetListedRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs), + RoomGetListedRoomsResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetListedRoomsResponseApplicationJson_Ocs.serializer) + ..add(RoomGetNoteToSelfConversationApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRoomGetNoteToSelfConversationHeaders), + RoomRoomGetNoteToSelfConversationHeaders.new, + ) + ..add(RoomRoomGetNoteToSelfConversationHeaders.serializer) + ..addBuilderFactory( + const FullType(RoomGetNoteToSelfConversationResponseApplicationJson), + RoomGetNoteToSelfConversationResponseApplicationJson.new, + ) + ..add(RoomGetNoteToSelfConversationResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs), + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs.serializer) + ..add(RoomGetSingleRoomApiVersion.serializer) + ..addBuilderFactory(const FullType(RoomRoomGetSingleRoomHeaders), RoomRoomGetSingleRoomHeaders.new) + ..add(RoomRoomGetSingleRoomHeaders.serializer) + ..addBuilderFactory( + const FullType(RoomGetSingleRoomResponseApplicationJson), + RoomGetSingleRoomResponseApplicationJson.new, + ) + ..add(RoomGetSingleRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs), + RoomGetSingleRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetSingleRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomRenameRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRenameRoomResponseApplicationJson), + RoomRenameRoomResponseApplicationJson.new, + ) + ..add(RoomRenameRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomRenameRoomResponseApplicationJson_Ocs), + RoomRenameRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomRenameRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomDeleteRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomDeleteRoomResponseApplicationJson), + RoomDeleteRoomResponseApplicationJson.new, + ) + ..add(RoomDeleteRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomDeleteRoomResponseApplicationJson_Ocs), + RoomDeleteRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomDeleteRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomGetBreakoutRoomsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomGetBreakoutRoomsResponseApplicationJson), + RoomGetBreakoutRoomsResponseApplicationJson.new, + ) + ..add(RoomGetBreakoutRoomsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs), + RoomGetBreakoutRoomsResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetBreakoutRoomsResponseApplicationJson_Ocs.serializer) + ..add(RoomMakePublicApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomMakePublicResponseApplicationJson), + RoomMakePublicResponseApplicationJson.new, + ) + ..add(RoomMakePublicResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomMakePublicResponseApplicationJson_Ocs), + RoomMakePublicResponseApplicationJson_Ocs.new, + ) + ..add(RoomMakePublicResponseApplicationJson_Ocs.serializer) + ..add(RoomMakePrivateApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomMakePrivateResponseApplicationJson), + RoomMakePrivateResponseApplicationJson.new, + ) + ..add(RoomMakePrivateResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomMakePrivateResponseApplicationJson_Ocs), + RoomMakePrivateResponseApplicationJson_Ocs.new, + ) + ..add(RoomMakePrivateResponseApplicationJson_Ocs.serializer) + ..add(RoomSetDescriptionApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetDescriptionResponseApplicationJson), + RoomSetDescriptionResponseApplicationJson.new, + ) + ..add(RoomSetDescriptionResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetDescriptionResponseApplicationJson_Ocs), + RoomSetDescriptionResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetDescriptionResponseApplicationJson_Ocs.serializer) + ..add(RoomSetReadOnlyApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetReadOnlyResponseApplicationJson), + RoomSetReadOnlyResponseApplicationJson.new, + ) + ..add(RoomSetReadOnlyResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs), + RoomSetReadOnlyResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetReadOnlyResponseApplicationJson_Ocs.serializer) + ..add(RoomSetListableApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetListableResponseApplicationJson), + RoomSetListableResponseApplicationJson.new, + ) + ..add(RoomSetListableResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetListableResponseApplicationJson_Ocs), + RoomSetListableResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetListableResponseApplicationJson_Ocs.serializer) + ..add(RoomSetPasswordApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetPasswordResponseApplicationJson), + RoomSetPasswordResponseApplicationJson.new, + ) + ..add(RoomSetPasswordResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetPasswordResponseApplicationJson_Ocs), + RoomSetPasswordResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetPasswordResponseApplicationJson_Ocs.serializer) + ..add(RoomSetPermissionsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetPermissionsResponseApplicationJson), + RoomSetPermissionsResponseApplicationJson.new, + ) + ..add(RoomSetPermissionsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetPermissionsResponseApplicationJson_Ocs), + RoomSetPermissionsResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetPermissionsResponseApplicationJson_Ocs.serializer) + ..add(RoomGetParticipantsApiVersion.serializer) + ..addBuilderFactory(const FullType(RoomRoomGetParticipantsHeaders), RoomRoomGetParticipantsHeaders.new) + ..add(RoomRoomGetParticipantsHeaders.serializer) + ..addBuilderFactory( + const FullType(RoomGetParticipantsResponseApplicationJson), + RoomGetParticipantsResponseApplicationJson.new, + ) + ..add(RoomGetParticipantsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetParticipantsResponseApplicationJson_Ocs), + RoomGetParticipantsResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetParticipantsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(Participant), Participant.new) + ..add(Participant.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(Participant)]), ListBuilder.new) + ..add(RoomAddParticipantToRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomAddParticipantToRoomResponseApplicationJson), + RoomAddParticipantToRoomResponseApplicationJson.new, + ) + ..add(RoomAddParticipantToRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs), + RoomAddParticipantToRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomAddParticipantToRoomResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data), + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data.new, + ) + ..add(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0), + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0.new, + ) + ..add(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0.serializer) + ..add(RoomGetBreakoutRoomParticipantsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRoomGetBreakoutRoomParticipantsHeaders), + RoomRoomGetBreakoutRoomParticipantsHeaders.new, + ) + ..add(RoomRoomGetBreakoutRoomParticipantsHeaders.serializer) + ..addBuilderFactory( + const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson), + RoomGetBreakoutRoomParticipantsResponseApplicationJson.new, + ) + ..add(RoomGetBreakoutRoomParticipantsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs), + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs.new, + ) + ..add(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs.serializer) + ..add(RoomRemoveSelfFromRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveSelfFromRoomResponseApplicationJson), + RoomRemoveSelfFromRoomResponseApplicationJson.new, + ) + ..add(RoomRemoveSelfFromRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs), + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomRemoveAttendeeFromRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson), + RoomRemoveAttendeeFromRoomResponseApplicationJson.new, + ) + ..add(RoomRemoveAttendeeFromRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs), + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomSetAttendeePermissionsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetAttendeePermissionsResponseApplicationJson), + RoomSetAttendeePermissionsResponseApplicationJson.new, + ) + ..add(RoomSetAttendeePermissionsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs), + RoomSetAttendeePermissionsResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetAttendeePermissionsResponseApplicationJson_Ocs.serializer) + ..add(RoomSetAllAttendeesPermissionsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson), + RoomSetAllAttendeesPermissionsResponseApplicationJson.new, + ) + ..add(RoomSetAllAttendeesPermissionsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs), + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs.serializer) + ..add(RoomJoinRoomApiVersion.serializer) + ..addBuilderFactory(const FullType(RoomJoinRoomResponseApplicationJson), RoomJoinRoomResponseApplicationJson.new) + ..add(RoomJoinRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomJoinRoomResponseApplicationJson_Ocs), + RoomJoinRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomJoinRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomLeaveRoomApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomLeaveRoomResponseApplicationJson), + RoomLeaveRoomResponseApplicationJson.new, + ) + ..add(RoomLeaveRoomResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomLeaveRoomResponseApplicationJson_Ocs), + RoomLeaveRoomResponseApplicationJson_Ocs.new, + ) + ..add(RoomLeaveRoomResponseApplicationJson_Ocs.serializer) + ..add(RoomResendInvitationsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomResendInvitationsResponseApplicationJson), + RoomResendInvitationsResponseApplicationJson.new, + ) + ..add(RoomResendInvitationsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomResendInvitationsResponseApplicationJson_Ocs), + RoomResendInvitationsResponseApplicationJson_Ocs.new, + ) + ..add(RoomResendInvitationsResponseApplicationJson_Ocs.serializer) + ..add(RoomSetSessionStateApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetSessionStateResponseApplicationJson), + RoomSetSessionStateResponseApplicationJson.new, + ) + ..add(RoomSetSessionStateResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetSessionStateResponseApplicationJson_Ocs), + RoomSetSessionStateResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetSessionStateResponseApplicationJson_Ocs.serializer) + ..add(RoomPromoteModeratorApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomPromoteModeratorResponseApplicationJson), + RoomPromoteModeratorResponseApplicationJson.new, + ) + ..add(RoomPromoteModeratorResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs), + RoomPromoteModeratorResponseApplicationJson_Ocs.new, + ) + ..add(RoomPromoteModeratorResponseApplicationJson_Ocs.serializer) + ..add(RoomDemoteModeratorApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomDemoteModeratorResponseApplicationJson), + RoomDemoteModeratorResponseApplicationJson.new, + ) + ..add(RoomDemoteModeratorResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs), + RoomDemoteModeratorResponseApplicationJson_Ocs.new, + ) + ..add(RoomDemoteModeratorResponseApplicationJson_Ocs.serializer) + ..add(RoomAddToFavoritesApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomAddToFavoritesResponseApplicationJson), + RoomAddToFavoritesResponseApplicationJson.new, + ) + ..add(RoomAddToFavoritesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs), + RoomAddToFavoritesResponseApplicationJson_Ocs.new, + ) + ..add(RoomAddToFavoritesResponseApplicationJson_Ocs.serializer) + ..add(RoomRemoveFromFavoritesApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveFromFavoritesResponseApplicationJson), + RoomRemoveFromFavoritesResponseApplicationJson.new, + ) + ..add(RoomRemoveFromFavoritesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs), + RoomRemoveFromFavoritesResponseApplicationJson_Ocs.new, + ) + ..add(RoomRemoveFromFavoritesResponseApplicationJson_Ocs.serializer) + ..add(RoomSetNotificationLevelApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetNotificationLevelResponseApplicationJson), + RoomSetNotificationLevelResponseApplicationJson.new, + ) + ..add(RoomSetNotificationLevelResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs), + RoomSetNotificationLevelResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetNotificationLevelResponseApplicationJson_Ocs.serializer) + ..add(RoomSetNotificationCallsApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetNotificationCallsResponseApplicationJson), + RoomSetNotificationCallsResponseApplicationJson.new, + ) + ..add(RoomSetNotificationCallsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs), + RoomSetNotificationCallsResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetNotificationCallsResponseApplicationJson_Ocs.serializer) + ..add(RoomSetLobbyApiVersion.serializer) + ..addBuilderFactory(const FullType(RoomSetLobbyResponseApplicationJson), RoomSetLobbyResponseApplicationJson.new) + ..add(RoomSetLobbyResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetLobbyResponseApplicationJson_Ocs), + RoomSetLobbyResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetLobbyResponseApplicationJson_Ocs.serializer) + ..add(RoomSetsipEnabledApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetsipEnabledResponseApplicationJson), + RoomSetsipEnabledResponseApplicationJson.new, + ) + ..add(RoomSetsipEnabledResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs), + RoomSetsipEnabledResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetsipEnabledResponseApplicationJson_Ocs.serializer) + ..add(RoomSetRecordingConsentApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetRecordingConsentResponseApplicationJson), + RoomSetRecordingConsentResponseApplicationJson.new, + ) + ..add(RoomSetRecordingConsentResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetRecordingConsentResponseApplicationJson_Ocs), + RoomSetRecordingConsentResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetRecordingConsentResponseApplicationJson_Ocs.serializer) + ..add(RoomSetMessageExpirationApiVersion.serializer) + ..addBuilderFactory( + const FullType(RoomSetMessageExpirationResponseApplicationJson), + RoomSetMessageExpirationResponseApplicationJson.new, + ) + ..add(RoomSetMessageExpirationResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs), + RoomSetMessageExpirationResponseApplicationJson_Ocs.new, + ) + ..add(RoomSetMessageExpirationResponseApplicationJson_Ocs.serializer) + ..add(SettingsSetsipSettingsApiVersion.serializer) + ..addBuilderFactory( + const FullType(SettingsSetsipSettingsResponseApplicationJson), + SettingsSetsipSettingsResponseApplicationJson.new, + ) + ..add(SettingsSetsipSettingsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs), + SettingsSetsipSettingsResponseApplicationJson_Ocs.new, + ) + ..add(SettingsSetsipSettingsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(SettingsSetUserSettingValue), SettingsSetUserSettingValue.new) + ..add(SettingsSetUserSettingValue.serializer) + ..addBuilderFactory( + const FullType(ContentString, [FullType(SettingsSetUserSettingValue)]), + ContentString.new, + ) + ..add(SettingsSetUserSettingApiVersion.serializer) + ..addBuilderFactory( + const FullType(SettingsSetUserSettingResponseApplicationJson), + SettingsSetUserSettingResponseApplicationJson.new, + ) + ..add(SettingsSetUserSettingResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs), + SettingsSetUserSettingResponseApplicationJson_Ocs.new, + ) + ..add(SettingsSetUserSettingResponseApplicationJson_Ocs.serializer) + ..add(SignalingGetSettingsApiVersion.serializer) + ..addBuilderFactory( + const FullType(SignalingGetSettingsResponseApplicationJson), + SignalingGetSettingsResponseApplicationJson.new, + ) + ..add(SignalingGetSettingsResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SignalingGetSettingsResponseApplicationJson_Ocs), + SignalingGetSettingsResponseApplicationJson_Ocs.new, + ) + ..add(SignalingGetSettingsResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(SignalingSettings), SignalingSettings.new) + ..add(SignalingSettings.serializer) + ..addBuilderFactory(const FullType(SignalingSettings_HelloAuthParams), SignalingSettings_HelloAuthParams.new) + ..add(SignalingSettings_HelloAuthParams.serializer) + ..addBuilderFactory( + const FullType(SignalingSettings_HelloAuthParams_$10), + SignalingSettings_HelloAuthParams_$10.new, + ) + ..add(SignalingSettings_HelloAuthParams_$10.serializer) + ..addBuilderFactory( + const FullType(SignalingSettings_HelloAuthParams_$20), + SignalingSettings_HelloAuthParams_$20.new, + ) + ..add(SignalingSettings_HelloAuthParams_$20.serializer) + ..addBuilderFactory(const FullType(SignalingSettings_Stunservers), SignalingSettings_Stunservers.new) + ..add(SignalingSettings_Stunservers.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(SignalingSettings_Turnservers), SignalingSettings_Turnservers.new) + ..add(SignalingSettings_Turnservers.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)]), + ListBuilder.new, + ) + ..add(SignalingGetWelcomeMessageApiVersion.serializer) + ..addBuilderFactory( + const FullType(SignalingGetWelcomeMessageResponseApplicationJson), + SignalingGetWelcomeMessageResponseApplicationJson.new, + ) + ..add(SignalingGetWelcomeMessageResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs), + SignalingGetWelcomeMessageResponseApplicationJson_Ocs.new, + ) + ..add(SignalingGetWelcomeMessageResponseApplicationJson_Ocs.serializer) + ..add(SignalingPullMessagesApiVersion.serializer) + ..addBuilderFactory( + const FullType(SignalingPullMessagesResponseApplicationJson), + SignalingPullMessagesResponseApplicationJson.new, + ) + ..add(SignalingPullMessagesResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SignalingPullMessagesResponseApplicationJson_Ocs), + SignalingPullMessagesResponseApplicationJson_Ocs.new, + ) + ..add(SignalingPullMessagesResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data), + SignalingPullMessagesResponseApplicationJson_Ocs_Data.new, + ) + ..add(SignalingPullMessagesResponseApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(SignalingSession), SignalingSession.new) + ..add(SignalingSession.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(SignalingSession)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)]), + ListBuilder.new, + ) + ..add(SignalingSignalingApiVersion.serializer) + ..addBuilderFactory( + const FullType(SignalingSignalingResponseApplicationJson), + SignalingSignalingResponseApplicationJson.new, + ) + ..add(SignalingSignalingResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(SignalingSignalingResponseApplicationJson_Ocs), + SignalingSignalingResponseApplicationJson_Ocs.new, + ) + ..add(SignalingSignalingResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TempAvatarPostAvatarResponseApplicationJson), + TempAvatarPostAvatarResponseApplicationJson.new, + ) + ..add(TempAvatarPostAvatarResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs), + TempAvatarPostAvatarResponseApplicationJson_Ocs.new, + ) + ..add(TempAvatarPostAvatarResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(TempAvatarDeleteAvatarResponseApplicationJson), + TempAvatarDeleteAvatarResponseApplicationJson.new, + ) + ..add(TempAvatarDeleteAvatarResponseApplicationJson.serializer) + ..addBuilderFactory( + const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs), + TempAvatarDeleteAvatarResponseApplicationJson_Ocs.new, + ) + ..add(TempAvatarDeleteAvatarResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BotWithDetailsAndSecret), BotWithDetailsAndSecret.new) + ..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(PublicCapabilities_Spreed_Config_Attachments), + PublicCapabilities_Spreed_Config_Attachments.new, + ) + ..add(PublicCapabilities_Spreed_Config_Attachments.serializer) + ..addBuilderFactory( + const FullType(PublicCapabilities_Spreed_Config_Call), + PublicCapabilities_Spreed_Config_Call.new, + ) + ..add(PublicCapabilities_Spreed_Config_Call.serializer) + ..addBuilderFactory( + const FullType(PublicCapabilities_Spreed_Config_Chat), + PublicCapabilities_Spreed_Config_Chat.new, + ) + ..add(PublicCapabilities_Spreed_Config_Chat.serializer) + ..addBuilderFactory( + const FullType(PublicCapabilities_Spreed_Config_Conversations), + PublicCapabilities_Spreed_Config_Conversations.new, + ) + ..add(PublicCapabilities_Spreed_Config_Conversations.serializer) + ..addBuilderFactory( + const FullType(PublicCapabilities_Spreed_Config_Previews), + PublicCapabilities_Spreed_Config_Previews.new, + ) + ..add(PublicCapabilities_Spreed_Config_Previews.serializer) + ..addBuilderFactory( + const FullType(PublicCapabilities_Spreed_Config_Signaling), + PublicCapabilities_Spreed_Config_Signaling.new, + ) + ..add(PublicCapabilities_Spreed_Config_Signaling.serializer)) + .build(); + +final Serializers _jsonSerializers = (_serializers.toBuilder() + ..addPlugin(StandardJsonPlugin()) + ..addPlugin(const ContentStringPlugin())) + .build(); +// coverage:ignore-end diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart new file mode 100644 index 00000000000..5b60560dfb1 --- /dev/null +++ b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart @@ -0,0 +1,51906 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'spreed.openapi.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +const AvatarGetAvatarApiVersion _$avatarGetAvatarApiVersionV1 = AvatarGetAvatarApiVersion._('v1'); + +AvatarGetAvatarApiVersion _$valueOfAvatarGetAvatarApiVersion(String name) { + switch (name) { + case 'v1': + return _$avatarGetAvatarApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$avatarGetAvatarApiVersionValues = + BuiltSet(const [ + _$avatarGetAvatarApiVersionV1, +]); + +const AvatarUploadAvatarApiVersion _$avatarUploadAvatarApiVersionV1 = AvatarUploadAvatarApiVersion._('v1'); + +AvatarUploadAvatarApiVersion _$valueOfAvatarUploadAvatarApiVersion(String name) { + switch (name) { + case 'v1': + return _$avatarUploadAvatarApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$avatarUploadAvatarApiVersionValues = + BuiltSet(const [ + _$avatarUploadAvatarApiVersionV1, +]); + +const AvatarDeleteAvatarApiVersion _$avatarDeleteAvatarApiVersionV1 = AvatarDeleteAvatarApiVersion._('v1'); + +AvatarDeleteAvatarApiVersion _$valueOfAvatarDeleteAvatarApiVersion(String name) { + switch (name) { + case 'v1': + return _$avatarDeleteAvatarApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$avatarDeleteAvatarApiVersionValues = + BuiltSet(const [ + _$avatarDeleteAvatarApiVersionV1, +]); + +const AvatarEmojiAvatarApiVersion _$avatarEmojiAvatarApiVersionV1 = AvatarEmojiAvatarApiVersion._('v1'); + +AvatarEmojiAvatarApiVersion _$valueOfAvatarEmojiAvatarApiVersion(String name) { + switch (name) { + case 'v1': + return _$avatarEmojiAvatarApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$avatarEmojiAvatarApiVersionValues = + BuiltSet(const [ + _$avatarEmojiAvatarApiVersionV1, +]); + +const AvatarGetAvatarDarkApiVersion _$avatarGetAvatarDarkApiVersionV1 = AvatarGetAvatarDarkApiVersion._('v1'); + +AvatarGetAvatarDarkApiVersion _$valueOfAvatarGetAvatarDarkApiVersion(String name) { + switch (name) { + case 'v1': + return _$avatarGetAvatarDarkApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$avatarGetAvatarDarkApiVersionValues = + BuiltSet(const [ + _$avatarGetAvatarDarkApiVersionV1, +]); + +const BotSendMessageApiVersion _$botSendMessageApiVersionV1 = BotSendMessageApiVersion._('v1'); + +BotSendMessageApiVersion _$valueOfBotSendMessageApiVersion(String name) { + switch (name) { + case 'v1': + return _$botSendMessageApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botSendMessageApiVersionValues = + BuiltSet(const [ + _$botSendMessageApiVersionV1, +]); + +const BotReactApiVersion _$botReactApiVersionV1 = BotReactApiVersion._('v1'); + +BotReactApiVersion _$valueOfBotReactApiVersion(String name) { + switch (name) { + case 'v1': + return _$botReactApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botReactApiVersionValues = BuiltSet(const [ + _$botReactApiVersionV1, +]); + +const BotDeleteReactionApiVersion _$botDeleteReactionApiVersionV1 = BotDeleteReactionApiVersion._('v1'); + +BotDeleteReactionApiVersion _$valueOfBotDeleteReactionApiVersion(String name) { + switch (name) { + case 'v1': + return _$botDeleteReactionApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botDeleteReactionApiVersionValues = + BuiltSet(const [ + _$botDeleteReactionApiVersionV1, +]); + +const BotAdminListBotsApiVersion _$botAdminListBotsApiVersionV1 = BotAdminListBotsApiVersion._('v1'); + +BotAdminListBotsApiVersion _$valueOfBotAdminListBotsApiVersion(String name) { + switch (name) { + case 'v1': + return _$botAdminListBotsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botAdminListBotsApiVersionValues = + BuiltSet(const [ + _$botAdminListBotsApiVersionV1, +]); + +const BotListBotsApiVersion _$botListBotsApiVersionV1 = BotListBotsApiVersion._('v1'); + +BotListBotsApiVersion _$valueOfBotListBotsApiVersion(String name) { + switch (name) { + case 'v1': + return _$botListBotsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botListBotsApiVersionValues = + BuiltSet(const [ + _$botListBotsApiVersionV1, +]); + +const BotEnableBotApiVersion _$botEnableBotApiVersionV1 = BotEnableBotApiVersion._('v1'); + +BotEnableBotApiVersion _$valueOfBotEnableBotApiVersion(String name) { + switch (name) { + case 'v1': + return _$botEnableBotApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botEnableBotApiVersionValues = + BuiltSet(const [ + _$botEnableBotApiVersionV1, +]); + +const BotDisableBotApiVersion _$botDisableBotApiVersionV1 = BotDisableBotApiVersion._('v1'); + +BotDisableBotApiVersion _$valueOfBotDisableBotApiVersion(String name) { + switch (name) { + case 'v1': + return _$botDisableBotApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$botDisableBotApiVersionValues = + BuiltSet(const [ + _$botDisableBotApiVersionV1, +]); + +const BreakoutRoomConfigureBreakoutRoomsApiVersion _$breakoutRoomConfigureBreakoutRoomsApiVersionV1 = + BreakoutRoomConfigureBreakoutRoomsApiVersion._('v1'); + +BreakoutRoomConfigureBreakoutRoomsApiVersion _$valueOfBreakoutRoomConfigureBreakoutRoomsApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomConfigureBreakoutRoomsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomConfigureBreakoutRoomsApiVersionValues = + BuiltSet(const [ + _$breakoutRoomConfigureBreakoutRoomsApiVersionV1, +]); + +const BreakoutRoomRemoveBreakoutRoomsApiVersion _$breakoutRoomRemoveBreakoutRoomsApiVersionV1 = + BreakoutRoomRemoveBreakoutRoomsApiVersion._('v1'); + +BreakoutRoomRemoveBreakoutRoomsApiVersion _$valueOfBreakoutRoomRemoveBreakoutRoomsApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomRemoveBreakoutRoomsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomRemoveBreakoutRoomsApiVersionValues = + BuiltSet(const [ + _$breakoutRoomRemoveBreakoutRoomsApiVersionV1, +]); + +const BreakoutRoomBroadcastChatMessageApiVersion _$breakoutRoomBroadcastChatMessageApiVersionV1 = + BreakoutRoomBroadcastChatMessageApiVersion._('v1'); + +BreakoutRoomBroadcastChatMessageApiVersion _$valueOfBreakoutRoomBroadcastChatMessageApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomBroadcastChatMessageApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomBroadcastChatMessageApiVersionValues = + BuiltSet(const [ + _$breakoutRoomBroadcastChatMessageApiVersionV1, +]); + +const BreakoutRoomApplyAttendeeMapApiVersion _$breakoutRoomApplyAttendeeMapApiVersionV1 = + BreakoutRoomApplyAttendeeMapApiVersion._('v1'); + +BreakoutRoomApplyAttendeeMapApiVersion _$valueOfBreakoutRoomApplyAttendeeMapApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomApplyAttendeeMapApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomApplyAttendeeMapApiVersionValues = + BuiltSet(const [ + _$breakoutRoomApplyAttendeeMapApiVersionV1, +]); + +const BreakoutRoomRequestAssistanceApiVersion _$breakoutRoomRequestAssistanceApiVersionV1 = + BreakoutRoomRequestAssistanceApiVersion._('v1'); + +BreakoutRoomRequestAssistanceApiVersion _$valueOfBreakoutRoomRequestAssistanceApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomRequestAssistanceApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomRequestAssistanceApiVersionValues = + BuiltSet(const [ + _$breakoutRoomRequestAssistanceApiVersionV1, +]); + +const BreakoutRoomResetRequestForAssistanceApiVersion _$breakoutRoomResetRequestForAssistanceApiVersionV1 = + BreakoutRoomResetRequestForAssistanceApiVersion._('v1'); + +BreakoutRoomResetRequestForAssistanceApiVersion _$valueOfBreakoutRoomResetRequestForAssistanceApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomResetRequestForAssistanceApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet + _$breakoutRoomResetRequestForAssistanceApiVersionValues = + BuiltSet(const [ + _$breakoutRoomResetRequestForAssistanceApiVersionV1, +]); + +const BreakoutRoomStartBreakoutRoomsApiVersion _$breakoutRoomStartBreakoutRoomsApiVersionV1 = + BreakoutRoomStartBreakoutRoomsApiVersion._('v1'); + +BreakoutRoomStartBreakoutRoomsApiVersion _$valueOfBreakoutRoomStartBreakoutRoomsApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomStartBreakoutRoomsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomStartBreakoutRoomsApiVersionValues = + BuiltSet(const [ + _$breakoutRoomStartBreakoutRoomsApiVersionV1, +]); + +const BreakoutRoomStopBreakoutRoomsApiVersion _$breakoutRoomStopBreakoutRoomsApiVersionV1 = + BreakoutRoomStopBreakoutRoomsApiVersion._('v1'); + +BreakoutRoomStopBreakoutRoomsApiVersion _$valueOfBreakoutRoomStopBreakoutRoomsApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomStopBreakoutRoomsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomStopBreakoutRoomsApiVersionValues = + BuiltSet(const [ + _$breakoutRoomStopBreakoutRoomsApiVersionV1, +]); + +const BreakoutRoomSwitchBreakoutRoomApiVersion _$breakoutRoomSwitchBreakoutRoomApiVersionV1 = + BreakoutRoomSwitchBreakoutRoomApiVersion._('v1'); + +BreakoutRoomSwitchBreakoutRoomApiVersion _$valueOfBreakoutRoomSwitchBreakoutRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$breakoutRoomSwitchBreakoutRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$breakoutRoomSwitchBreakoutRoomApiVersionValues = + BuiltSet(const [ + _$breakoutRoomSwitchBreakoutRoomApiVersionV1, +]); + +const CallGetPeersForCallApiVersion _$callGetPeersForCallApiVersionV4 = CallGetPeersForCallApiVersion._('v4'); + +CallGetPeersForCallApiVersion _$valueOfCallGetPeersForCallApiVersion(String name) { + switch (name) { + case 'v4': + return _$callGetPeersForCallApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$callGetPeersForCallApiVersionValues = + BuiltSet(const [ + _$callGetPeersForCallApiVersionV4, +]); + +const CallUpdateCallFlagsApiVersion _$callUpdateCallFlagsApiVersionV4 = CallUpdateCallFlagsApiVersion._('v4'); + +CallUpdateCallFlagsApiVersion _$valueOfCallUpdateCallFlagsApiVersion(String name) { + switch (name) { + case 'v4': + return _$callUpdateCallFlagsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$callUpdateCallFlagsApiVersionValues = + BuiltSet(const [ + _$callUpdateCallFlagsApiVersionV4, +]); + +const CallJoinCallApiVersion _$callJoinCallApiVersionV4 = CallJoinCallApiVersion._('v4'); + +CallJoinCallApiVersion _$valueOfCallJoinCallApiVersion(String name) { + switch (name) { + case 'v4': + return _$callJoinCallApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$callJoinCallApiVersionValues = + BuiltSet(const [ + _$callJoinCallApiVersionV4, +]); + +const CallLeaveCallApiVersion _$callLeaveCallApiVersionV4 = CallLeaveCallApiVersion._('v4'); + +CallLeaveCallApiVersion _$valueOfCallLeaveCallApiVersion(String name) { + switch (name) { + case 'v4': + return _$callLeaveCallApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$callLeaveCallApiVersionValues = + BuiltSet(const [ + _$callLeaveCallApiVersionV4, +]); + +const CallRingAttendeeApiVersion _$callRingAttendeeApiVersionV4 = CallRingAttendeeApiVersion._('v4'); + +CallRingAttendeeApiVersion _$valueOfCallRingAttendeeApiVersion(String name) { + switch (name) { + case 'v4': + return _$callRingAttendeeApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$callRingAttendeeApiVersionValues = + BuiltSet(const [ + _$callRingAttendeeApiVersionV4, +]); + +const CertificateGetCertificateExpirationApiVersion _$certificateGetCertificateExpirationApiVersionV1 = + CertificateGetCertificateExpirationApiVersion._('v1'); + +CertificateGetCertificateExpirationApiVersion _$valueOfCertificateGetCertificateExpirationApiVersion(String name) { + switch (name) { + case 'v1': + return _$certificateGetCertificateExpirationApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$certificateGetCertificateExpirationApiVersionValues = + BuiltSet(const [ + _$certificateGetCertificateExpirationApiVersionV1, +]); + +const ChatReceiveMessagesApiVersion _$chatReceiveMessagesApiVersionV1 = ChatReceiveMessagesApiVersion._('v1'); + +ChatReceiveMessagesApiVersion _$valueOfChatReceiveMessagesApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatReceiveMessagesApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatReceiveMessagesApiVersionValues = + BuiltSet(const [ + _$chatReceiveMessagesApiVersionV1, +]); + +const ChatSendMessageApiVersion _$chatSendMessageApiVersionV1 = ChatSendMessageApiVersion._('v1'); + +ChatSendMessageApiVersion _$valueOfChatSendMessageApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatSendMessageApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatSendMessageApiVersionValues = + BuiltSet(const [ + _$chatSendMessageApiVersionV1, +]); + +const ChatClearHistoryApiVersion _$chatClearHistoryApiVersionV1 = ChatClearHistoryApiVersion._('v1'); + +ChatClearHistoryApiVersion _$valueOfChatClearHistoryApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatClearHistoryApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatClearHistoryApiVersionValues = + BuiltSet(const [ + _$chatClearHistoryApiVersionV1, +]); + +const ChatDeleteMessageApiVersion _$chatDeleteMessageApiVersionV1 = ChatDeleteMessageApiVersion._('v1'); + +ChatDeleteMessageApiVersion _$valueOfChatDeleteMessageApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatDeleteMessageApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatDeleteMessageApiVersionValues = + BuiltSet(const [ + _$chatDeleteMessageApiVersionV1, +]); + +const ChatGetMessageContextApiVersion _$chatGetMessageContextApiVersionV1 = ChatGetMessageContextApiVersion._('v1'); + +ChatGetMessageContextApiVersion _$valueOfChatGetMessageContextApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatGetMessageContextApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatGetMessageContextApiVersionValues = + BuiltSet(const [ + _$chatGetMessageContextApiVersionV1, +]); + +const ChatGetReminderApiVersion _$chatGetReminderApiVersionV1 = ChatGetReminderApiVersion._('v1'); + +ChatGetReminderApiVersion _$valueOfChatGetReminderApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatGetReminderApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatGetReminderApiVersionValues = + BuiltSet(const [ + _$chatGetReminderApiVersionV1, +]); + +const ChatSetReminderApiVersion _$chatSetReminderApiVersionV1 = ChatSetReminderApiVersion._('v1'); + +ChatSetReminderApiVersion _$valueOfChatSetReminderApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatSetReminderApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatSetReminderApiVersionValues = + BuiltSet(const [ + _$chatSetReminderApiVersionV1, +]); + +const ChatDeleteReminderApiVersion _$chatDeleteReminderApiVersionV1 = ChatDeleteReminderApiVersion._('v1'); + +ChatDeleteReminderApiVersion _$valueOfChatDeleteReminderApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatDeleteReminderApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatDeleteReminderApiVersionValues = + BuiltSet(const [ + _$chatDeleteReminderApiVersionV1, +]); + +const ChatSetReadMarkerApiVersion _$chatSetReadMarkerApiVersionV1 = ChatSetReadMarkerApiVersion._('v1'); + +ChatSetReadMarkerApiVersion _$valueOfChatSetReadMarkerApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatSetReadMarkerApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatSetReadMarkerApiVersionValues = + BuiltSet(const [ + _$chatSetReadMarkerApiVersionV1, +]); + +const ChatMarkUnreadApiVersion _$chatMarkUnreadApiVersionV1 = ChatMarkUnreadApiVersion._('v1'); + +ChatMarkUnreadApiVersion _$valueOfChatMarkUnreadApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatMarkUnreadApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatMarkUnreadApiVersionValues = + BuiltSet(const [ + _$chatMarkUnreadApiVersionV1, +]); + +const ChatMentionsApiVersion _$chatMentionsApiVersionV1 = ChatMentionsApiVersion._('v1'); + +ChatMentionsApiVersion _$valueOfChatMentionsApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatMentionsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatMentionsApiVersionValues = + BuiltSet(const [ + _$chatMentionsApiVersionV1, +]); + +const ChatGetObjectsSharedInRoomApiVersion _$chatGetObjectsSharedInRoomApiVersionV1 = + ChatGetObjectsSharedInRoomApiVersion._('v1'); + +ChatGetObjectsSharedInRoomApiVersion _$valueOfChatGetObjectsSharedInRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatGetObjectsSharedInRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatGetObjectsSharedInRoomApiVersionValues = + BuiltSet(const [ + _$chatGetObjectsSharedInRoomApiVersionV1, +]); + +const ChatShareObjectToChatApiVersion _$chatShareObjectToChatApiVersionV1 = ChatShareObjectToChatApiVersion._('v1'); + +ChatShareObjectToChatApiVersion _$valueOfChatShareObjectToChatApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatShareObjectToChatApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatShareObjectToChatApiVersionValues = + BuiltSet(const [ + _$chatShareObjectToChatApiVersionV1, +]); + +const ChatGetObjectsSharedInRoomOverviewApiVersion _$chatGetObjectsSharedInRoomOverviewApiVersionV1 = + ChatGetObjectsSharedInRoomOverviewApiVersion._('v1'); + +ChatGetObjectsSharedInRoomOverviewApiVersion _$valueOfChatGetObjectsSharedInRoomOverviewApiVersion(String name) { + switch (name) { + case 'v1': + return _$chatGetObjectsSharedInRoomOverviewApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$chatGetObjectsSharedInRoomOverviewApiVersionValues = + BuiltSet(const [ + _$chatGetObjectsSharedInRoomOverviewApiVersionV1, +]); + +const FederationAcceptShareApiVersion _$federationAcceptShareApiVersionV1 = FederationAcceptShareApiVersion._('v1'); + +FederationAcceptShareApiVersion _$valueOfFederationAcceptShareApiVersion(String name) { + switch (name) { + case 'v1': + return _$federationAcceptShareApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$federationAcceptShareApiVersionValues = + BuiltSet(const [ + _$federationAcceptShareApiVersionV1, +]); + +const FederationRejectShareApiVersion _$federationRejectShareApiVersionV1 = FederationRejectShareApiVersion._('v1'); + +FederationRejectShareApiVersion _$valueOfFederationRejectShareApiVersion(String name) { + switch (name) { + case 'v1': + return _$federationRejectShareApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$federationRejectShareApiVersionValues = + BuiltSet(const [ + _$federationRejectShareApiVersionV1, +]); + +const FederationGetSharesApiVersion _$federationGetSharesApiVersionV1 = FederationGetSharesApiVersion._('v1'); + +FederationGetSharesApiVersion _$valueOfFederationGetSharesApiVersion(String name) { + switch (name) { + case 'v1': + return _$federationGetSharesApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$federationGetSharesApiVersionValues = + BuiltSet(const [ + _$federationGetSharesApiVersionV1, +]); + +const FilesIntegrationGetRoomByFileIdApiVersion _$filesIntegrationGetRoomByFileIdApiVersionV1 = + FilesIntegrationGetRoomByFileIdApiVersion._('v1'); + +FilesIntegrationGetRoomByFileIdApiVersion _$valueOfFilesIntegrationGetRoomByFileIdApiVersion(String name) { + switch (name) { + case 'v1': + return _$filesIntegrationGetRoomByFileIdApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$filesIntegrationGetRoomByFileIdApiVersionValues = + BuiltSet(const [ + _$filesIntegrationGetRoomByFileIdApiVersionV1, +]); + +const FilesIntegrationGetRoomByShareTokenApiVersion _$filesIntegrationGetRoomByShareTokenApiVersionV1 = + FilesIntegrationGetRoomByShareTokenApiVersion._('v1'); + +FilesIntegrationGetRoomByShareTokenApiVersion _$valueOfFilesIntegrationGetRoomByShareTokenApiVersion(String name) { + switch (name) { + case 'v1': + return _$filesIntegrationGetRoomByShareTokenApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$filesIntegrationGetRoomByShareTokenApiVersionValues = + BuiltSet(const [ + _$filesIntegrationGetRoomByShareTokenApiVersionV1, +]); + +const GuestSetDisplayNameApiVersion _$guestSetDisplayNameApiVersionV1 = GuestSetDisplayNameApiVersion._('v1'); + +GuestSetDisplayNameApiVersion _$valueOfGuestSetDisplayNameApiVersion(String name) { + switch (name) { + case 'v1': + return _$guestSetDisplayNameApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$guestSetDisplayNameApiVersionValues = + BuiltSet(const [ + _$guestSetDisplayNameApiVersionV1, +]); + +const HostedSignalingServerRequestTrialApiVersion _$hostedSignalingServerRequestTrialApiVersionV1 = + HostedSignalingServerRequestTrialApiVersion._('v1'); + +HostedSignalingServerRequestTrialApiVersion _$valueOfHostedSignalingServerRequestTrialApiVersion(String name) { + switch (name) { + case 'v1': + return _$hostedSignalingServerRequestTrialApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$hostedSignalingServerRequestTrialApiVersionValues = + BuiltSet(const [ + _$hostedSignalingServerRequestTrialApiVersionV1, +]); + +const HostedSignalingServerDeleteAccountApiVersion _$hostedSignalingServerDeleteAccountApiVersionV1 = + HostedSignalingServerDeleteAccountApiVersion._('v1'); + +HostedSignalingServerDeleteAccountApiVersion _$valueOfHostedSignalingServerDeleteAccountApiVersion(String name) { + switch (name) { + case 'v1': + return _$hostedSignalingServerDeleteAccountApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$hostedSignalingServerDeleteAccountApiVersionValues = + BuiltSet(const [ + _$hostedSignalingServerDeleteAccountApiVersionV1, +]); + +const MatterbridgeGetBridgeOfRoomApiVersion _$matterbridgeGetBridgeOfRoomApiVersionV1 = + MatterbridgeGetBridgeOfRoomApiVersion._('v1'); + +MatterbridgeGetBridgeOfRoomApiVersion _$valueOfMatterbridgeGetBridgeOfRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$matterbridgeGetBridgeOfRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$matterbridgeGetBridgeOfRoomApiVersionValues = + BuiltSet(const [ + _$matterbridgeGetBridgeOfRoomApiVersionV1, +]); + +const MatterbridgeEditBridgeOfRoomApiVersion _$matterbridgeEditBridgeOfRoomApiVersionV1 = + MatterbridgeEditBridgeOfRoomApiVersion._('v1'); + +MatterbridgeEditBridgeOfRoomApiVersion _$valueOfMatterbridgeEditBridgeOfRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$matterbridgeEditBridgeOfRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$matterbridgeEditBridgeOfRoomApiVersionValues = + BuiltSet(const [ + _$matterbridgeEditBridgeOfRoomApiVersionV1, +]); + +const MatterbridgeDeleteBridgeOfRoomApiVersion _$matterbridgeDeleteBridgeOfRoomApiVersionV1 = + MatterbridgeDeleteBridgeOfRoomApiVersion._('v1'); + +MatterbridgeDeleteBridgeOfRoomApiVersion _$valueOfMatterbridgeDeleteBridgeOfRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$matterbridgeDeleteBridgeOfRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$matterbridgeDeleteBridgeOfRoomApiVersionValues = + BuiltSet(const [ + _$matterbridgeDeleteBridgeOfRoomApiVersionV1, +]); + +const MatterbridgeGetBridgeProcessStateApiVersion _$matterbridgeGetBridgeProcessStateApiVersionV1 = + MatterbridgeGetBridgeProcessStateApiVersion._('v1'); + +MatterbridgeGetBridgeProcessStateApiVersion _$valueOfMatterbridgeGetBridgeProcessStateApiVersion(String name) { + switch (name) { + case 'v1': + return _$matterbridgeGetBridgeProcessStateApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$matterbridgeGetBridgeProcessStateApiVersionValues = + BuiltSet(const [ + _$matterbridgeGetBridgeProcessStateApiVersionV1, +]); + +const MatterbridgeSettingsStopAllBridgesApiVersion _$matterbridgeSettingsStopAllBridgesApiVersionV1 = + MatterbridgeSettingsStopAllBridgesApiVersion._('v1'); + +MatterbridgeSettingsStopAllBridgesApiVersion _$valueOfMatterbridgeSettingsStopAllBridgesApiVersion(String name) { + switch (name) { + case 'v1': + return _$matterbridgeSettingsStopAllBridgesApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$matterbridgeSettingsStopAllBridgesApiVersionValues = + BuiltSet(const [ + _$matterbridgeSettingsStopAllBridgesApiVersionV1, +]); + +const MatterbridgeSettingsGetMatterbridgeVersionApiVersion _$matterbridgeSettingsGetMatterbridgeVersionApiVersionV1 = + MatterbridgeSettingsGetMatterbridgeVersionApiVersion._('v1'); + +MatterbridgeSettingsGetMatterbridgeVersionApiVersion _$valueOfMatterbridgeSettingsGetMatterbridgeVersionApiVersion( + String name) { + switch (name) { + case 'v1': + return _$matterbridgeSettingsGetMatterbridgeVersionApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionValues = BuiltSet< + MatterbridgeSettingsGetMatterbridgeVersionApiVersion>(const [ + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionV1, +]); + +const PollCreatePollApiVersion _$pollCreatePollApiVersionV1 = PollCreatePollApiVersion._('v1'); + +PollCreatePollApiVersion _$valueOfPollCreatePollApiVersion(String name) { + switch (name) { + case 'v1': + return _$pollCreatePollApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$pollCreatePollApiVersionValues = + BuiltSet(const [ + _$pollCreatePollApiVersionV1, +]); + +const PollShowPollApiVersion _$pollShowPollApiVersionV1 = PollShowPollApiVersion._('v1'); + +PollShowPollApiVersion _$valueOfPollShowPollApiVersion(String name) { + switch (name) { + case 'v1': + return _$pollShowPollApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$pollShowPollApiVersionValues = + BuiltSet(const [ + _$pollShowPollApiVersionV1, +]); + +const PollVotePollApiVersion _$pollVotePollApiVersionV1 = PollVotePollApiVersion._('v1'); + +PollVotePollApiVersion _$valueOfPollVotePollApiVersion(String name) { + switch (name) { + case 'v1': + return _$pollVotePollApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$pollVotePollApiVersionValues = + BuiltSet(const [ + _$pollVotePollApiVersionV1, +]); + +const PollClosePollApiVersion _$pollClosePollApiVersionV1 = PollClosePollApiVersion._('v1'); + +PollClosePollApiVersion _$valueOfPollClosePollApiVersion(String name) { + switch (name) { + case 'v1': + return _$pollClosePollApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$pollClosePollApiVersionValues = + BuiltSet(const [ + _$pollClosePollApiVersionV1, +]); + +const PublicShareAuthCreateRoomApiVersion _$publicShareAuthCreateRoomApiVersionV1 = + PublicShareAuthCreateRoomApiVersion._('v1'); + +PublicShareAuthCreateRoomApiVersion _$valueOfPublicShareAuthCreateRoomApiVersion(String name) { + switch (name) { + case 'v1': + return _$publicShareAuthCreateRoomApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$publicShareAuthCreateRoomApiVersionValues = + BuiltSet(const [ + _$publicShareAuthCreateRoomApiVersionV1, +]); + +const ReactionGetReactionsApiVersion _$reactionGetReactionsApiVersionV1 = ReactionGetReactionsApiVersion._('v1'); + +ReactionGetReactionsApiVersion _$valueOfReactionGetReactionsApiVersion(String name) { + switch (name) { + case 'v1': + return _$reactionGetReactionsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$reactionGetReactionsApiVersionValues = + BuiltSet(const [ + _$reactionGetReactionsApiVersionV1, +]); + +const ReactionReactApiVersion _$reactionReactApiVersionV1 = ReactionReactApiVersion._('v1'); + +ReactionReactApiVersion _$valueOfReactionReactApiVersion(String name) { + switch (name) { + case 'v1': + return _$reactionReactApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$reactionReactApiVersionValues = + BuiltSet(const [ + _$reactionReactApiVersionV1, +]); + +const ReactionDeleteApiVersion _$reactionDeleteApiVersionV1 = ReactionDeleteApiVersion._('v1'); + +ReactionDeleteApiVersion _$valueOfReactionDeleteApiVersion(String name) { + switch (name) { + case 'v1': + return _$reactionDeleteApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$reactionDeleteApiVersionValues = + BuiltSet(const [ + _$reactionDeleteApiVersionV1, +]); + +const RecordingGetWelcomeMessageApiVersion _$recordingGetWelcomeMessageApiVersionV1 = + RecordingGetWelcomeMessageApiVersion._('v1'); + +RecordingGetWelcomeMessageApiVersion _$valueOfRecordingGetWelcomeMessageApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingGetWelcomeMessageApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingGetWelcomeMessageApiVersionValues = + BuiltSet(const [ + _$recordingGetWelcomeMessageApiVersionV1, +]); + +const RecordingStartApiVersion _$recordingStartApiVersionV1 = RecordingStartApiVersion._('v1'); + +RecordingStartApiVersion _$valueOfRecordingStartApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingStartApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingStartApiVersionValues = + BuiltSet(const [ + _$recordingStartApiVersionV1, +]); + +const RecordingStopApiVersion _$recordingStopApiVersionV1 = RecordingStopApiVersion._('v1'); + +RecordingStopApiVersion _$valueOfRecordingStopApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingStopApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingStopApiVersionValues = + BuiltSet(const [ + _$recordingStopApiVersionV1, +]); + +const RecordingStoreApiVersion _$recordingStoreApiVersionV1 = RecordingStoreApiVersion._('v1'); + +RecordingStoreApiVersion _$valueOfRecordingStoreApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingStoreApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingStoreApiVersionValues = + BuiltSet(const [ + _$recordingStoreApiVersionV1, +]); + +const RecordingNotificationDismissApiVersion _$recordingNotificationDismissApiVersionV1 = + RecordingNotificationDismissApiVersion._('v1'); + +RecordingNotificationDismissApiVersion _$valueOfRecordingNotificationDismissApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingNotificationDismissApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingNotificationDismissApiVersionValues = + BuiltSet(const [ + _$recordingNotificationDismissApiVersionV1, +]); + +const RecordingShareToChatApiVersion _$recordingShareToChatApiVersionV1 = RecordingShareToChatApiVersion._('v1'); + +RecordingShareToChatApiVersion _$valueOfRecordingShareToChatApiVersion(String name) { + switch (name) { + case 'v1': + return _$recordingShareToChatApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$recordingShareToChatApiVersionValues = + BuiltSet(const [ + _$recordingShareToChatApiVersionV1, +]); + +const RoomGetRoomsApiVersion _$roomGetRoomsApiVersionV4 = RoomGetRoomsApiVersion._('v4'); + +RoomGetRoomsApiVersion _$valueOfRoomGetRoomsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetRoomsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetRoomsApiVersionValues = + BuiltSet(const [ + _$roomGetRoomsApiVersionV4, +]); + +const RoomCreateRoomApiVersion _$roomCreateRoomApiVersionV4 = RoomCreateRoomApiVersion._('v4'); + +RoomCreateRoomApiVersion _$valueOfRoomCreateRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomCreateRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomCreateRoomApiVersionValues = + BuiltSet(const [ + _$roomCreateRoomApiVersionV4, +]); + +const RoomGetListedRoomsApiVersion _$roomGetListedRoomsApiVersionV4 = RoomGetListedRoomsApiVersion._('v4'); + +RoomGetListedRoomsApiVersion _$valueOfRoomGetListedRoomsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetListedRoomsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetListedRoomsApiVersionValues = + BuiltSet(const [ + _$roomGetListedRoomsApiVersionV4, +]); + +const RoomGetNoteToSelfConversationApiVersion _$roomGetNoteToSelfConversationApiVersionV4 = + RoomGetNoteToSelfConversationApiVersion._('v4'); + +RoomGetNoteToSelfConversationApiVersion _$valueOfRoomGetNoteToSelfConversationApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetNoteToSelfConversationApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetNoteToSelfConversationApiVersionValues = + BuiltSet(const [ + _$roomGetNoteToSelfConversationApiVersionV4, +]); + +const RoomGetSingleRoomApiVersion _$roomGetSingleRoomApiVersionV4 = RoomGetSingleRoomApiVersion._('v4'); + +RoomGetSingleRoomApiVersion _$valueOfRoomGetSingleRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetSingleRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetSingleRoomApiVersionValues = + BuiltSet(const [ + _$roomGetSingleRoomApiVersionV4, +]); + +const RoomRenameRoomApiVersion _$roomRenameRoomApiVersionV4 = RoomRenameRoomApiVersion._('v4'); + +RoomRenameRoomApiVersion _$valueOfRoomRenameRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomRenameRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomRenameRoomApiVersionValues = + BuiltSet(const [ + _$roomRenameRoomApiVersionV4, +]); + +const RoomDeleteRoomApiVersion _$roomDeleteRoomApiVersionV4 = RoomDeleteRoomApiVersion._('v4'); + +RoomDeleteRoomApiVersion _$valueOfRoomDeleteRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomDeleteRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomDeleteRoomApiVersionValues = + BuiltSet(const [ + _$roomDeleteRoomApiVersionV4, +]); + +const RoomGetBreakoutRoomsApiVersion _$roomGetBreakoutRoomsApiVersionV4 = RoomGetBreakoutRoomsApiVersion._('v4'); + +RoomGetBreakoutRoomsApiVersion _$valueOfRoomGetBreakoutRoomsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetBreakoutRoomsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetBreakoutRoomsApiVersionValues = + BuiltSet(const [ + _$roomGetBreakoutRoomsApiVersionV4, +]); + +const RoomMakePublicApiVersion _$roomMakePublicApiVersionV4 = RoomMakePublicApiVersion._('v4'); + +RoomMakePublicApiVersion _$valueOfRoomMakePublicApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomMakePublicApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomMakePublicApiVersionValues = + BuiltSet(const [ + _$roomMakePublicApiVersionV4, +]); + +const RoomMakePrivateApiVersion _$roomMakePrivateApiVersionV4 = RoomMakePrivateApiVersion._('v4'); + +RoomMakePrivateApiVersion _$valueOfRoomMakePrivateApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomMakePrivateApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomMakePrivateApiVersionValues = + BuiltSet(const [ + _$roomMakePrivateApiVersionV4, +]); + +const RoomSetDescriptionApiVersion _$roomSetDescriptionApiVersionV4 = RoomSetDescriptionApiVersion._('v4'); + +RoomSetDescriptionApiVersion _$valueOfRoomSetDescriptionApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetDescriptionApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetDescriptionApiVersionValues = + BuiltSet(const [ + _$roomSetDescriptionApiVersionV4, +]); + +const RoomSetReadOnlyApiVersion _$roomSetReadOnlyApiVersionV4 = RoomSetReadOnlyApiVersion._('v4'); + +RoomSetReadOnlyApiVersion _$valueOfRoomSetReadOnlyApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetReadOnlyApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetReadOnlyApiVersionValues = + BuiltSet(const [ + _$roomSetReadOnlyApiVersionV4, +]); + +const RoomSetListableApiVersion _$roomSetListableApiVersionV4 = RoomSetListableApiVersion._('v4'); + +RoomSetListableApiVersion _$valueOfRoomSetListableApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetListableApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetListableApiVersionValues = + BuiltSet(const [ + _$roomSetListableApiVersionV4, +]); + +const RoomSetPasswordApiVersion _$roomSetPasswordApiVersionV4 = RoomSetPasswordApiVersion._('v4'); + +RoomSetPasswordApiVersion _$valueOfRoomSetPasswordApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetPasswordApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetPasswordApiVersionValues = + BuiltSet(const [ + _$roomSetPasswordApiVersionV4, +]); + +const RoomSetPermissionsApiVersion _$roomSetPermissionsApiVersionV4 = RoomSetPermissionsApiVersion._('v4'); + +RoomSetPermissionsApiVersion _$valueOfRoomSetPermissionsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetPermissionsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetPermissionsApiVersionValues = + BuiltSet(const [ + _$roomSetPermissionsApiVersionV4, +]); + +const RoomGetParticipantsApiVersion _$roomGetParticipantsApiVersionV4 = RoomGetParticipantsApiVersion._('v4'); + +RoomGetParticipantsApiVersion _$valueOfRoomGetParticipantsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetParticipantsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetParticipantsApiVersionValues = + BuiltSet(const [ + _$roomGetParticipantsApiVersionV4, +]); + +const RoomAddParticipantToRoomApiVersion _$roomAddParticipantToRoomApiVersionV4 = + RoomAddParticipantToRoomApiVersion._('v4'); + +RoomAddParticipantToRoomApiVersion _$valueOfRoomAddParticipantToRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomAddParticipantToRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomAddParticipantToRoomApiVersionValues = + BuiltSet(const [ + _$roomAddParticipantToRoomApiVersionV4, +]); + +const RoomGetBreakoutRoomParticipantsApiVersion _$roomGetBreakoutRoomParticipantsApiVersionV4 = + RoomGetBreakoutRoomParticipantsApiVersion._('v4'); + +RoomGetBreakoutRoomParticipantsApiVersion _$valueOfRoomGetBreakoutRoomParticipantsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomGetBreakoutRoomParticipantsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomGetBreakoutRoomParticipantsApiVersionValues = + BuiltSet(const [ + _$roomGetBreakoutRoomParticipantsApiVersionV4, +]); + +const RoomRemoveSelfFromRoomApiVersion _$roomRemoveSelfFromRoomApiVersionV4 = RoomRemoveSelfFromRoomApiVersion._('v4'); + +RoomRemoveSelfFromRoomApiVersion _$valueOfRoomRemoveSelfFromRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomRemoveSelfFromRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomRemoveSelfFromRoomApiVersionValues = + BuiltSet(const [ + _$roomRemoveSelfFromRoomApiVersionV4, +]); + +const RoomRemoveAttendeeFromRoomApiVersion _$roomRemoveAttendeeFromRoomApiVersionV4 = + RoomRemoveAttendeeFromRoomApiVersion._('v4'); + +RoomRemoveAttendeeFromRoomApiVersion _$valueOfRoomRemoveAttendeeFromRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomRemoveAttendeeFromRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomRemoveAttendeeFromRoomApiVersionValues = + BuiltSet(const [ + _$roomRemoveAttendeeFromRoomApiVersionV4, +]); + +const RoomSetAttendeePermissionsApiVersion _$roomSetAttendeePermissionsApiVersionV4 = + RoomSetAttendeePermissionsApiVersion._('v4'); + +RoomSetAttendeePermissionsApiVersion _$valueOfRoomSetAttendeePermissionsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetAttendeePermissionsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetAttendeePermissionsApiVersionValues = + BuiltSet(const [ + _$roomSetAttendeePermissionsApiVersionV4, +]); + +const RoomSetAllAttendeesPermissionsApiVersion _$roomSetAllAttendeesPermissionsApiVersionV4 = + RoomSetAllAttendeesPermissionsApiVersion._('v4'); + +RoomSetAllAttendeesPermissionsApiVersion _$valueOfRoomSetAllAttendeesPermissionsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetAllAttendeesPermissionsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetAllAttendeesPermissionsApiVersionValues = + BuiltSet(const [ + _$roomSetAllAttendeesPermissionsApiVersionV4, +]); + +const RoomJoinRoomApiVersion _$roomJoinRoomApiVersionV4 = RoomJoinRoomApiVersion._('v4'); + +RoomJoinRoomApiVersion _$valueOfRoomJoinRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomJoinRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomJoinRoomApiVersionValues = + BuiltSet(const [ + _$roomJoinRoomApiVersionV4, +]); + +const RoomLeaveRoomApiVersion _$roomLeaveRoomApiVersionV4 = RoomLeaveRoomApiVersion._('v4'); + +RoomLeaveRoomApiVersion _$valueOfRoomLeaveRoomApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomLeaveRoomApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomLeaveRoomApiVersionValues = + BuiltSet(const [ + _$roomLeaveRoomApiVersionV4, +]); + +const RoomResendInvitationsApiVersion _$roomResendInvitationsApiVersionV4 = RoomResendInvitationsApiVersion._('v4'); + +RoomResendInvitationsApiVersion _$valueOfRoomResendInvitationsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomResendInvitationsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomResendInvitationsApiVersionValues = + BuiltSet(const [ + _$roomResendInvitationsApiVersionV4, +]); + +const RoomSetSessionStateApiVersion _$roomSetSessionStateApiVersionV4 = RoomSetSessionStateApiVersion._('v4'); + +RoomSetSessionStateApiVersion _$valueOfRoomSetSessionStateApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetSessionStateApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetSessionStateApiVersionValues = + BuiltSet(const [ + _$roomSetSessionStateApiVersionV4, +]); + +const RoomPromoteModeratorApiVersion _$roomPromoteModeratorApiVersionV4 = RoomPromoteModeratorApiVersion._('v4'); + +RoomPromoteModeratorApiVersion _$valueOfRoomPromoteModeratorApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomPromoteModeratorApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomPromoteModeratorApiVersionValues = + BuiltSet(const [ + _$roomPromoteModeratorApiVersionV4, +]); + +const RoomDemoteModeratorApiVersion _$roomDemoteModeratorApiVersionV4 = RoomDemoteModeratorApiVersion._('v4'); + +RoomDemoteModeratorApiVersion _$valueOfRoomDemoteModeratorApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomDemoteModeratorApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomDemoteModeratorApiVersionValues = + BuiltSet(const [ + _$roomDemoteModeratorApiVersionV4, +]); + +const RoomAddToFavoritesApiVersion _$roomAddToFavoritesApiVersionV4 = RoomAddToFavoritesApiVersion._('v4'); + +RoomAddToFavoritesApiVersion _$valueOfRoomAddToFavoritesApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomAddToFavoritesApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomAddToFavoritesApiVersionValues = + BuiltSet(const [ + _$roomAddToFavoritesApiVersionV4, +]); + +const RoomRemoveFromFavoritesApiVersion _$roomRemoveFromFavoritesApiVersionV4 = + RoomRemoveFromFavoritesApiVersion._('v4'); + +RoomRemoveFromFavoritesApiVersion _$valueOfRoomRemoveFromFavoritesApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomRemoveFromFavoritesApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomRemoveFromFavoritesApiVersionValues = + BuiltSet(const [ + _$roomRemoveFromFavoritesApiVersionV4, +]); + +const RoomSetNotificationLevelApiVersion _$roomSetNotificationLevelApiVersionV4 = + RoomSetNotificationLevelApiVersion._('v4'); + +RoomSetNotificationLevelApiVersion _$valueOfRoomSetNotificationLevelApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetNotificationLevelApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetNotificationLevelApiVersionValues = + BuiltSet(const [ + _$roomSetNotificationLevelApiVersionV4, +]); + +const RoomSetNotificationCallsApiVersion _$roomSetNotificationCallsApiVersionV4 = + RoomSetNotificationCallsApiVersion._('v4'); + +RoomSetNotificationCallsApiVersion _$valueOfRoomSetNotificationCallsApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetNotificationCallsApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetNotificationCallsApiVersionValues = + BuiltSet(const [ + _$roomSetNotificationCallsApiVersionV4, +]); + +const RoomSetLobbyApiVersion _$roomSetLobbyApiVersionV4 = RoomSetLobbyApiVersion._('v4'); + +RoomSetLobbyApiVersion _$valueOfRoomSetLobbyApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetLobbyApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetLobbyApiVersionValues = + BuiltSet(const [ + _$roomSetLobbyApiVersionV4, +]); + +const RoomSetsipEnabledApiVersion _$roomSetsipEnabledApiVersionV4 = RoomSetsipEnabledApiVersion._('v4'); + +RoomSetsipEnabledApiVersion _$valueOfRoomSetsipEnabledApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetsipEnabledApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetsipEnabledApiVersionValues = + BuiltSet(const [ + _$roomSetsipEnabledApiVersionV4, +]); + +const RoomSetRecordingConsentApiVersion _$roomSetRecordingConsentApiVersionV4 = + RoomSetRecordingConsentApiVersion._('v4'); + +RoomSetRecordingConsentApiVersion _$valueOfRoomSetRecordingConsentApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetRecordingConsentApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetRecordingConsentApiVersionValues = + BuiltSet(const [ + _$roomSetRecordingConsentApiVersionV4, +]); + +const RoomSetMessageExpirationApiVersion _$roomSetMessageExpirationApiVersionV4 = + RoomSetMessageExpirationApiVersion._('v4'); + +RoomSetMessageExpirationApiVersion _$valueOfRoomSetMessageExpirationApiVersion(String name) { + switch (name) { + case 'v4': + return _$roomSetMessageExpirationApiVersionV4; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$roomSetMessageExpirationApiVersionValues = + BuiltSet(const [ + _$roomSetMessageExpirationApiVersionV4, +]); + +const SettingsSetsipSettingsApiVersion _$settingsSetsipSettingsApiVersionV1 = SettingsSetsipSettingsApiVersion._('v1'); + +SettingsSetsipSettingsApiVersion _$valueOfSettingsSetsipSettingsApiVersion(String name) { + switch (name) { + case 'v1': + return _$settingsSetsipSettingsApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$settingsSetsipSettingsApiVersionValues = + BuiltSet(const [ + _$settingsSetsipSettingsApiVersionV1, +]); + +const SettingsSetUserSettingApiVersion _$settingsSetUserSettingApiVersionV1 = SettingsSetUserSettingApiVersion._('v1'); + +SettingsSetUserSettingApiVersion _$valueOfSettingsSetUserSettingApiVersion(String name) { + switch (name) { + case 'v1': + return _$settingsSetUserSettingApiVersionV1; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$settingsSetUserSettingApiVersionValues = + BuiltSet(const [ + _$settingsSetUserSettingApiVersionV1, +]); + +const SignalingGetSettingsApiVersion _$signalingGetSettingsApiVersionV3 = SignalingGetSettingsApiVersion._('v3'); + +SignalingGetSettingsApiVersion _$valueOfSignalingGetSettingsApiVersion(String name) { + switch (name) { + case 'v3': + return _$signalingGetSettingsApiVersionV3; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$signalingGetSettingsApiVersionValues = + BuiltSet(const [ + _$signalingGetSettingsApiVersionV3, +]); + +const SignalingGetWelcomeMessageApiVersion _$signalingGetWelcomeMessageApiVersionV3 = + SignalingGetWelcomeMessageApiVersion._('v3'); + +SignalingGetWelcomeMessageApiVersion _$valueOfSignalingGetWelcomeMessageApiVersion(String name) { + switch (name) { + case 'v3': + return _$signalingGetWelcomeMessageApiVersionV3; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$signalingGetWelcomeMessageApiVersionValues = + BuiltSet(const [ + _$signalingGetWelcomeMessageApiVersionV3, +]); + +const SignalingPullMessagesApiVersion _$signalingPullMessagesApiVersionV3 = SignalingPullMessagesApiVersion._('v3'); + +SignalingPullMessagesApiVersion _$valueOfSignalingPullMessagesApiVersion(String name) { + switch (name) { + case 'v3': + return _$signalingPullMessagesApiVersionV3; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$signalingPullMessagesApiVersionValues = + BuiltSet(const [ + _$signalingPullMessagesApiVersionV3, +]); + +const SignalingSignalingApiVersion _$signalingSignalingApiVersionV3 = SignalingSignalingApiVersion._('v3'); + +SignalingSignalingApiVersion _$valueOfSignalingSignalingApiVersion(String name) { + switch (name) { + case 'v3': + return _$signalingSignalingApiVersionV3; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$signalingSignalingApiVersionValues = + BuiltSet(const [ + _$signalingSignalingApiVersionV3, +]); + +Serializer _$avatarGetAvatarApiVersionSerializer = _$AvatarGetAvatarApiVersionSerializer(); +Serializer _$avatarUploadAvatarApiVersionSerializer = + _$AvatarUploadAvatarApiVersionSerializer(); +Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); +Serializer _$chatMessageSerializer = _$ChatMessageSerializer(); +Serializer _$roomSerializer = _$RoomSerializer(); +Serializer _$avatarUploadAvatarResponseApplicationJsonOcsSerializer = + _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer(); +Serializer _$avatarUploadAvatarResponseApplicationJsonSerializer = + _$AvatarUploadAvatarResponseApplicationJsonSerializer(); +Serializer _$avatarDeleteAvatarApiVersionSerializer = + _$AvatarDeleteAvatarApiVersionSerializer(); +Serializer _$avatarDeleteAvatarResponseApplicationJsonOcsSerializer = + _$AvatarDeleteAvatarResponseApplicationJson_OcsSerializer(); +Serializer _$avatarDeleteAvatarResponseApplicationJsonSerializer = + _$AvatarDeleteAvatarResponseApplicationJsonSerializer(); +Serializer _$avatarEmojiAvatarApiVersionSerializer = + _$AvatarEmojiAvatarApiVersionSerializer(); +Serializer _$avatarEmojiAvatarResponseApplicationJsonOcsSerializer = + _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer(); +Serializer _$avatarEmojiAvatarResponseApplicationJsonSerializer = + _$AvatarEmojiAvatarResponseApplicationJsonSerializer(); +Serializer _$avatarGetAvatarDarkApiVersionSerializer = + _$AvatarGetAvatarDarkApiVersionSerializer(); +Serializer _$botSendMessageApiVersionSerializer = _$BotSendMessageApiVersionSerializer(); +Serializer _$botSendMessageResponseApplicationJsonOcsSerializer = + _$BotSendMessageResponseApplicationJson_OcsSerializer(); +Serializer _$botSendMessageResponseApplicationJsonSerializer = + _$BotSendMessageResponseApplicationJsonSerializer(); +Serializer _$botReactApiVersionSerializer = _$BotReactApiVersionSerializer(); +Serializer _$botReactResponseApplicationJsonOcsSerializer = + _$BotReactResponseApplicationJson_OcsSerializer(); +Serializer _$botReactResponseApplicationJsonSerializer = + _$BotReactResponseApplicationJsonSerializer(); +Serializer _$botDeleteReactionApiVersionSerializer = + _$BotDeleteReactionApiVersionSerializer(); +Serializer _$botDeleteReactionResponseApplicationJsonOcsSerializer = + _$BotDeleteReactionResponseApplicationJson_OcsSerializer(); +Serializer _$botDeleteReactionResponseApplicationJsonSerializer = + _$BotDeleteReactionResponseApplicationJsonSerializer(); +Serializer _$botAdminListBotsApiVersionSerializer = + _$BotAdminListBotsApiVersionSerializer(); +Serializer _$botSerializer = _$BotSerializer(); +Serializer _$botWithDetailsSerializer = _$BotWithDetailsSerializer(); +Serializer _$botAdminListBotsResponseApplicationJsonOcsSerializer = + _$BotAdminListBotsResponseApplicationJson_OcsSerializer(); +Serializer _$botAdminListBotsResponseApplicationJsonSerializer = + _$BotAdminListBotsResponseApplicationJsonSerializer(); +Serializer _$botListBotsApiVersionSerializer = _$BotListBotsApiVersionSerializer(); +Serializer _$botListBotsResponseApplicationJsonOcsSerializer = + _$BotListBotsResponseApplicationJson_OcsSerializer(); +Serializer _$botListBotsResponseApplicationJsonSerializer = + _$BotListBotsResponseApplicationJsonSerializer(); +Serializer _$botEnableBotApiVersionSerializer = _$BotEnableBotApiVersionSerializer(); +Serializer _$botEnableBotResponseApplicationJsonOcsSerializer = + _$BotEnableBotResponseApplicationJson_OcsSerializer(); +Serializer _$botEnableBotResponseApplicationJsonSerializer = + _$BotEnableBotResponseApplicationJsonSerializer(); +Serializer _$botDisableBotApiVersionSerializer = _$BotDisableBotApiVersionSerializer(); +Serializer _$botDisableBotResponseApplicationJsonOcsSerializer = + _$BotDisableBotResponseApplicationJson_OcsSerializer(); +Serializer _$botDisableBotResponseApplicationJsonSerializer = + _$BotDisableBotResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomConfigureBreakoutRoomsApiVersionSerializer = + _$BreakoutRoomConfigureBreakoutRoomsApiVersionSerializer(); +Serializer + _$breakoutRoomConfigureBreakoutRoomsResponseApplicationJsonOcsSerializer = + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer = + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomRemoveBreakoutRoomsApiVersionSerializer = + _$BreakoutRoomRemoveBreakoutRoomsApiVersionSerializer(); +Serializer + _$breakoutRoomRemoveBreakoutRoomsResponseApplicationJsonOcsSerializer = + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer = + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomBroadcastChatMessageApiVersionSerializer = + _$BreakoutRoomBroadcastChatMessageApiVersionSerializer(); +Serializer + _$breakoutRoomBroadcastChatMessageResponseApplicationJsonOcsSerializer = + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer = + _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomApplyAttendeeMapApiVersionSerializer = + _$BreakoutRoomApplyAttendeeMapApiVersionSerializer(); +Serializer + _$breakoutRoomApplyAttendeeMapResponseApplicationJsonOcsSerializer = + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer = + _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomRequestAssistanceApiVersionSerializer = + _$BreakoutRoomRequestAssistanceApiVersionSerializer(); +Serializer + _$breakoutRoomRequestAssistanceResponseApplicationJsonOcsSerializer = + _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomRequestAssistanceResponseApplicationJsonSerializer = + _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer(); +Serializer + _$breakoutRoomResetRequestForAssistanceApiVersionSerializer = + _$BreakoutRoomResetRequestForAssistanceApiVersionSerializer(); +Serializer + _$breakoutRoomResetRequestForAssistanceResponseApplicationJsonOcsSerializer = + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer = + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomStartBreakoutRoomsApiVersionSerializer = + _$BreakoutRoomStartBreakoutRoomsApiVersionSerializer(); +Serializer + _$breakoutRoomStartBreakoutRoomsResponseApplicationJsonOcsSerializer = + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer = + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomStopBreakoutRoomsApiVersionSerializer = + _$BreakoutRoomStopBreakoutRoomsApiVersionSerializer(); +Serializer + _$breakoutRoomStopBreakoutRoomsResponseApplicationJsonOcsSerializer = + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer = + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer(); +Serializer _$breakoutRoomSwitchBreakoutRoomApiVersionSerializer = + _$BreakoutRoomSwitchBreakoutRoomApiVersionSerializer(); +Serializer + _$breakoutRoomSwitchBreakoutRoomResponseApplicationJsonOcsSerializer = + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$breakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer = + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer(); +Serializer _$callGetPeersForCallApiVersionSerializer = + _$CallGetPeersForCallApiVersionSerializer(); +Serializer _$callPeerSerializer = _$CallPeerSerializer(); +Serializer _$callGetPeersForCallResponseApplicationJsonOcsSerializer = + _$CallGetPeersForCallResponseApplicationJson_OcsSerializer(); +Serializer _$callGetPeersForCallResponseApplicationJsonSerializer = + _$CallGetPeersForCallResponseApplicationJsonSerializer(); +Serializer _$callUpdateCallFlagsApiVersionSerializer = + _$CallUpdateCallFlagsApiVersionSerializer(); +Serializer _$callUpdateCallFlagsResponseApplicationJsonOcsSerializer = + _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer(); +Serializer _$callUpdateCallFlagsResponseApplicationJsonSerializer = + _$CallUpdateCallFlagsResponseApplicationJsonSerializer(); +Serializer _$callJoinCallApiVersionSerializer = _$CallJoinCallApiVersionSerializer(); +Serializer _$callJoinCallResponseApplicationJsonOcsSerializer = + _$CallJoinCallResponseApplicationJson_OcsSerializer(); +Serializer _$callJoinCallResponseApplicationJsonSerializer = + _$CallJoinCallResponseApplicationJsonSerializer(); +Serializer _$callLeaveCallApiVersionSerializer = _$CallLeaveCallApiVersionSerializer(); +Serializer _$callLeaveCallResponseApplicationJsonOcsSerializer = + _$CallLeaveCallResponseApplicationJson_OcsSerializer(); +Serializer _$callLeaveCallResponseApplicationJsonSerializer = + _$CallLeaveCallResponseApplicationJsonSerializer(); +Serializer _$callRingAttendeeApiVersionSerializer = + _$CallRingAttendeeApiVersionSerializer(); +Serializer _$callRingAttendeeResponseApplicationJsonOcsSerializer = + _$CallRingAttendeeResponseApplicationJson_OcsSerializer(); +Serializer _$callRingAttendeeResponseApplicationJsonSerializer = + _$CallRingAttendeeResponseApplicationJsonSerializer(); +Serializer _$certificateGetCertificateExpirationApiVersionSerializer = + _$CertificateGetCertificateExpirationApiVersionSerializer(); +Serializer + _$certificateGetCertificateExpirationResponseApplicationJsonOcsDataSerializer = + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$certificateGetCertificateExpirationResponseApplicationJsonOcsSerializer = + _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer(); +Serializer + _$certificateGetCertificateExpirationResponseApplicationJsonSerializer = + _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer(); +Serializer _$chatReceiveMessagesApiVersionSerializer = + _$ChatReceiveMessagesApiVersionSerializer(); +Serializer _$chatMessageWithParentSerializer = _$ChatMessageWithParentSerializer(); +Serializer _$chatReceiveMessagesResponseApplicationJsonOcsSerializer = + _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer(); +Serializer _$chatReceiveMessagesResponseApplicationJsonSerializer = + _$ChatReceiveMessagesResponseApplicationJsonSerializer(); +Serializer _$chatSendMessageApiVersionSerializer = _$ChatSendMessageApiVersionSerializer(); +Serializer _$chatSendMessageResponseApplicationJsonOcsSerializer = + _$ChatSendMessageResponseApplicationJson_OcsSerializer(); +Serializer _$chatSendMessageResponseApplicationJsonSerializer = + _$ChatSendMessageResponseApplicationJsonSerializer(); +Serializer _$chatClearHistoryApiVersionSerializer = + _$ChatClearHistoryApiVersionSerializer(); +Serializer _$chatClearHistoryResponseApplicationJsonOcsSerializer = + _$ChatClearHistoryResponseApplicationJson_OcsSerializer(); +Serializer _$chatClearHistoryResponseApplicationJsonSerializer = + _$ChatClearHistoryResponseApplicationJsonSerializer(); +Serializer _$chatDeleteMessageApiVersionSerializer = + _$ChatDeleteMessageApiVersionSerializer(); +Serializer _$chatDeleteMessageResponseApplicationJsonOcsSerializer = + _$ChatDeleteMessageResponseApplicationJson_OcsSerializer(); +Serializer _$chatDeleteMessageResponseApplicationJsonSerializer = + _$ChatDeleteMessageResponseApplicationJsonSerializer(); +Serializer _$chatGetMessageContextApiVersionSerializer = + _$ChatGetMessageContextApiVersionSerializer(); +Serializer + _$chatGetMessageContextResponseApplicationJsonOcsSerializer = + _$ChatGetMessageContextResponseApplicationJson_OcsSerializer(); +Serializer _$chatGetMessageContextResponseApplicationJsonSerializer = + _$ChatGetMessageContextResponseApplicationJsonSerializer(); +Serializer _$chatGetReminderApiVersionSerializer = _$ChatGetReminderApiVersionSerializer(); +Serializer _$chatReminderSerializer = _$ChatReminderSerializer(); +Serializer _$chatGetReminderResponseApplicationJsonOcsSerializer = + _$ChatGetReminderResponseApplicationJson_OcsSerializer(); +Serializer _$chatGetReminderResponseApplicationJsonSerializer = + _$ChatGetReminderResponseApplicationJsonSerializer(); +Serializer _$chatSetReminderApiVersionSerializer = _$ChatSetReminderApiVersionSerializer(); +Serializer _$chatSetReminderResponseApplicationJsonOcsSerializer = + _$ChatSetReminderResponseApplicationJson_OcsSerializer(); +Serializer _$chatSetReminderResponseApplicationJsonSerializer = + _$ChatSetReminderResponseApplicationJsonSerializer(); +Serializer _$chatDeleteReminderApiVersionSerializer = + _$ChatDeleteReminderApiVersionSerializer(); +Serializer _$chatDeleteReminderResponseApplicationJsonOcsSerializer = + _$ChatDeleteReminderResponseApplicationJson_OcsSerializer(); +Serializer _$chatDeleteReminderResponseApplicationJsonSerializer = + _$ChatDeleteReminderResponseApplicationJsonSerializer(); +Serializer _$chatSetReadMarkerApiVersionSerializer = + _$ChatSetReadMarkerApiVersionSerializer(); +Serializer _$chatSetReadMarkerResponseApplicationJsonOcsSerializer = + _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer(); +Serializer _$chatSetReadMarkerResponseApplicationJsonSerializer = + _$ChatSetReadMarkerResponseApplicationJsonSerializer(); +Serializer _$chatMarkUnreadApiVersionSerializer = _$ChatMarkUnreadApiVersionSerializer(); +Serializer _$chatMarkUnreadResponseApplicationJsonOcsSerializer = + _$ChatMarkUnreadResponseApplicationJson_OcsSerializer(); +Serializer _$chatMarkUnreadResponseApplicationJsonSerializer = + _$ChatMarkUnreadResponseApplicationJsonSerializer(); +Serializer _$chatMentionsApiVersionSerializer = _$ChatMentionsApiVersionSerializer(); +Serializer _$chatMentionSuggestionSerializer = _$ChatMentionSuggestionSerializer(); +Serializer _$chatMentionsResponseApplicationJsonOcsSerializer = + _$ChatMentionsResponseApplicationJson_OcsSerializer(); +Serializer _$chatMentionsResponseApplicationJsonSerializer = + _$ChatMentionsResponseApplicationJsonSerializer(); +Serializer _$chatGetObjectsSharedInRoomApiVersionSerializer = + _$ChatGetObjectsSharedInRoomApiVersionSerializer(); +Serializer + _$chatGetObjectsSharedInRoomResponseApplicationJsonOcsSerializer = + _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$chatGetObjectsSharedInRoomResponseApplicationJsonSerializer = + _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer(); +Serializer _$chatShareObjectToChatApiVersionSerializer = + _$ChatShareObjectToChatApiVersionSerializer(); +Serializer + _$chatShareObjectToChatResponseApplicationJsonOcsSerializer = + _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer(); +Serializer _$chatShareObjectToChatResponseApplicationJsonSerializer = + _$ChatShareObjectToChatResponseApplicationJsonSerializer(); +Serializer _$chatGetObjectsSharedInRoomOverviewApiVersionSerializer = + _$ChatGetObjectsSharedInRoomOverviewApiVersionSerializer(); +Serializer + _$chatGetObjectsSharedInRoomOverviewResponseApplicationJsonOcsSerializer = + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer(); +Serializer + _$chatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer = + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer(); +Serializer _$federationAcceptShareApiVersionSerializer = + _$FederationAcceptShareApiVersionSerializer(); +Serializer + _$federationAcceptShareResponseApplicationJsonOcsSerializer = + _$FederationAcceptShareResponseApplicationJson_OcsSerializer(); +Serializer _$federationAcceptShareResponseApplicationJsonSerializer = + _$FederationAcceptShareResponseApplicationJsonSerializer(); +Serializer _$federationRejectShareApiVersionSerializer = + _$FederationRejectShareApiVersionSerializer(); +Serializer + _$federationRejectShareResponseApplicationJsonOcsSerializer = + _$FederationRejectShareResponseApplicationJson_OcsSerializer(); +Serializer _$federationRejectShareResponseApplicationJsonSerializer = + _$FederationRejectShareResponseApplicationJsonSerializer(); +Serializer _$federationGetSharesApiVersionSerializer = + _$FederationGetSharesApiVersionSerializer(); +Serializer _$federationInviteSerializer = _$FederationInviteSerializer(); +Serializer _$federationGetSharesResponseApplicationJsonOcsSerializer = + _$FederationGetSharesResponseApplicationJson_OcsSerializer(); +Serializer _$federationGetSharesResponseApplicationJsonSerializer = + _$FederationGetSharesResponseApplicationJsonSerializer(); +Serializer _$filesIntegrationGetRoomByFileIdApiVersionSerializer = + _$FilesIntegrationGetRoomByFileIdApiVersionSerializer(); +Serializer + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonOcsDataSerializer = + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonOcsSerializer = + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer(); +Serializer + _$filesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer = + _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer(); +Serializer _$filesIntegrationGetRoomByShareTokenApiVersionSerializer = + _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer(); +Serializer + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonOcsDataSerializer = + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonOcsSerializer = + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer(); +Serializer + _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer = + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer(); +Serializer _$guestSetDisplayNameApiVersionSerializer = + _$GuestSetDisplayNameApiVersionSerializer(); +Serializer _$guestSetDisplayNameResponseApplicationJsonOcsSerializer = + _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer(); +Serializer _$guestSetDisplayNameResponseApplicationJsonSerializer = + _$GuestSetDisplayNameResponseApplicationJsonSerializer(); +Serializer _$hostedSignalingServerRequestTrialApiVersionSerializer = + _$HostedSignalingServerRequestTrialApiVersionSerializer(); +Serializer + _$hostedSignalingServerRequestTrialResponseApplicationJsonOcsSerializer = + _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer(); +Serializer + _$hostedSignalingServerRequestTrialResponseApplicationJsonSerializer = + _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer(); +Serializer _$hostedSignalingServerDeleteAccountApiVersionSerializer = + _$HostedSignalingServerDeleteAccountApiVersionSerializer(); +Serializer + _$hostedSignalingServerDeleteAccountResponseApplicationJsonOcsSerializer = + _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer(); +Serializer + _$hostedSignalingServerDeleteAccountResponseApplicationJsonSerializer = + _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer(); +Serializer _$matterbridgeGetBridgeOfRoomApiVersionSerializer = + _$MatterbridgeGetBridgeOfRoomApiVersionSerializer(); +Serializer _$matterbridgeSerializer = _$MatterbridgeSerializer(); +Serializer _$matterbridgeProcessStateSerializer = _$MatterbridgeProcessStateSerializer(); +Serializer _$matterbridgeWithProcessStateSerializer = + _$MatterbridgeWithProcessStateSerializer(); +Serializer + _$matterbridgeGetBridgeOfRoomResponseApplicationJsonOcsSerializer = + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer = + _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer(); +Serializer _$matterbridgeEditBridgeOfRoomApiVersionSerializer = + _$MatterbridgeEditBridgeOfRoomApiVersionSerializer(); +Serializer + _$matterbridgeEditBridgeOfRoomResponseApplicationJsonOcsSerializer = + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer = + _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer(); +Serializer _$matterbridgeDeleteBridgeOfRoomApiVersionSerializer = + _$MatterbridgeDeleteBridgeOfRoomApiVersionSerializer(); +Serializer + _$matterbridgeDeleteBridgeOfRoomResponseApplicationJsonOcsSerializer = + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer = + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer(); +Serializer _$matterbridgeGetBridgeProcessStateApiVersionSerializer = + _$MatterbridgeGetBridgeProcessStateApiVersionSerializer(); +Serializer + _$matterbridgeGetBridgeProcessStateResponseApplicationJsonOcsSerializer = + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer = + _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer(); +Serializer _$matterbridgeSettingsStopAllBridgesApiVersionSerializer = + _$MatterbridgeSettingsStopAllBridgesApiVersionSerializer(); +Serializer + _$matterbridgeSettingsStopAllBridgesResponseApplicationJsonOcsSerializer = + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer = + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer(); +Serializer + _$matterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer = + _$MatterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer(); +Serializer + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonOcsDataSerializer = + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonOcsSerializer = + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSerializer(); +Serializer + _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer = + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer(); +Serializer _$pollCreatePollApiVersionSerializer = _$PollCreatePollApiVersionSerializer(); +Serializer _$pollVoteSerializer = _$PollVoteSerializer(); +Serializer _$pollSerializer = _$PollSerializer(); +Serializer _$pollCreatePollResponseApplicationJsonOcsSerializer = + _$PollCreatePollResponseApplicationJson_OcsSerializer(); +Serializer _$pollCreatePollResponseApplicationJsonSerializer = + _$PollCreatePollResponseApplicationJsonSerializer(); +Serializer _$pollShowPollApiVersionSerializer = _$PollShowPollApiVersionSerializer(); +Serializer _$pollShowPollResponseApplicationJsonOcsSerializer = + _$PollShowPollResponseApplicationJson_OcsSerializer(); +Serializer _$pollShowPollResponseApplicationJsonSerializer = + _$PollShowPollResponseApplicationJsonSerializer(); +Serializer _$pollVotePollApiVersionSerializer = _$PollVotePollApiVersionSerializer(); +Serializer _$pollVotePollResponseApplicationJsonOcsSerializer = + _$PollVotePollResponseApplicationJson_OcsSerializer(); +Serializer _$pollVotePollResponseApplicationJsonSerializer = + _$PollVotePollResponseApplicationJsonSerializer(); +Serializer _$pollClosePollApiVersionSerializer = _$PollClosePollApiVersionSerializer(); +Serializer _$pollClosePollResponseApplicationJsonOcsSerializer = + _$PollClosePollResponseApplicationJson_OcsSerializer(); +Serializer _$pollClosePollResponseApplicationJsonSerializer = + _$PollClosePollResponseApplicationJsonSerializer(); +Serializer _$publicShareAuthCreateRoomApiVersionSerializer = + _$PublicShareAuthCreateRoomApiVersionSerializer(); +Serializer + _$publicShareAuthCreateRoomResponseApplicationJsonOcsDataSerializer = + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$publicShareAuthCreateRoomResponseApplicationJsonOcsSerializer = + _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$publicShareAuthCreateRoomResponseApplicationJsonSerializer = + _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer(); +Serializer _$reactionGetReactionsApiVersionSerializer = + _$ReactionGetReactionsApiVersionSerializer(); +Serializer _$reactionSerializer = _$ReactionSerializer(); +Serializer _$reactionGetReactionsResponseApplicationJsonOcsSerializer = + _$ReactionGetReactionsResponseApplicationJson_OcsSerializer(); +Serializer _$reactionGetReactionsResponseApplicationJsonSerializer = + _$ReactionGetReactionsResponseApplicationJsonSerializer(); +Serializer _$reactionReactApiVersionSerializer = _$ReactionReactApiVersionSerializer(); +Serializer _$reactionReactResponseApplicationJsonOcsSerializer = + _$ReactionReactResponseApplicationJson_OcsSerializer(); +Serializer _$reactionReactResponseApplicationJsonSerializer = + _$ReactionReactResponseApplicationJsonSerializer(); +Serializer _$reactionDeleteApiVersionSerializer = _$ReactionDeleteApiVersionSerializer(); +Serializer _$reactionDeleteResponseApplicationJsonOcsSerializer = + _$ReactionDeleteResponseApplicationJson_OcsSerializer(); +Serializer _$reactionDeleteResponseApplicationJsonSerializer = + _$ReactionDeleteResponseApplicationJsonSerializer(); +Serializer _$recordingGetWelcomeMessageApiVersionSerializer = + _$RecordingGetWelcomeMessageApiVersionSerializer(); +Serializer + _$recordingGetWelcomeMessageResponseApplicationJsonOcsDataSerializer = + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$recordingGetWelcomeMessageResponseApplicationJsonOcsSerializer = + _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer(); +Serializer + _$recordingGetWelcomeMessageResponseApplicationJsonSerializer = + _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer(); +Serializer _$recordingStartApiVersionSerializer = _$RecordingStartApiVersionSerializer(); +Serializer _$recordingStartResponseApplicationJsonOcsSerializer = + _$RecordingStartResponseApplicationJson_OcsSerializer(); +Serializer _$recordingStartResponseApplicationJsonSerializer = + _$RecordingStartResponseApplicationJsonSerializer(); +Serializer _$recordingStopApiVersionSerializer = _$RecordingStopApiVersionSerializer(); +Serializer _$recordingStopResponseApplicationJsonOcsSerializer = + _$RecordingStopResponseApplicationJson_OcsSerializer(); +Serializer _$recordingStopResponseApplicationJsonSerializer = + _$RecordingStopResponseApplicationJsonSerializer(); +Serializer _$recordingStoreApiVersionSerializer = _$RecordingStoreApiVersionSerializer(); +Serializer _$recordingStoreResponseApplicationJsonOcsSerializer = + _$RecordingStoreResponseApplicationJson_OcsSerializer(); +Serializer _$recordingStoreResponseApplicationJsonSerializer = + _$RecordingStoreResponseApplicationJsonSerializer(); +Serializer _$recordingNotificationDismissApiVersionSerializer = + _$RecordingNotificationDismissApiVersionSerializer(); +Serializer + _$recordingNotificationDismissResponseApplicationJsonOcsSerializer = + _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer(); +Serializer + _$recordingNotificationDismissResponseApplicationJsonSerializer = + _$RecordingNotificationDismissResponseApplicationJsonSerializer(); +Serializer _$recordingShareToChatApiVersionSerializer = + _$RecordingShareToChatApiVersionSerializer(); +Serializer _$recordingShareToChatResponseApplicationJsonOcsSerializer = + _$RecordingShareToChatResponseApplicationJson_OcsSerializer(); +Serializer _$recordingShareToChatResponseApplicationJsonSerializer = + _$RecordingShareToChatResponseApplicationJsonSerializer(); +Serializer _$roomGetRoomsApiVersionSerializer = _$RoomGetRoomsApiVersionSerializer(); +Serializer _$roomGetRoomsResponseApplicationJsonOcsSerializer = + _$RoomGetRoomsResponseApplicationJson_OcsSerializer(); +Serializer _$roomGetRoomsResponseApplicationJsonSerializer = + _$RoomGetRoomsResponseApplicationJsonSerializer(); +Serializer _$roomCreateRoomApiVersionSerializer = _$RoomCreateRoomApiVersionSerializer(); +Serializer _$roomCreateRoomResponseApplicationJsonOcsSerializer = + _$RoomCreateRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomCreateRoomResponseApplicationJsonSerializer = + _$RoomCreateRoomResponseApplicationJsonSerializer(); +Serializer _$roomGetListedRoomsApiVersionSerializer = + _$RoomGetListedRoomsApiVersionSerializer(); +Serializer _$roomGetListedRoomsResponseApplicationJsonOcsSerializer = + _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer(); +Serializer _$roomGetListedRoomsResponseApplicationJsonSerializer = + _$RoomGetListedRoomsResponseApplicationJsonSerializer(); +Serializer _$roomGetNoteToSelfConversationApiVersionSerializer = + _$RoomGetNoteToSelfConversationApiVersionSerializer(); +Serializer + _$roomGetNoteToSelfConversationResponseApplicationJsonOcsSerializer = + _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer(); +Serializer + _$roomGetNoteToSelfConversationResponseApplicationJsonSerializer = + _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer(); +Serializer _$roomGetSingleRoomApiVersionSerializer = + _$RoomGetSingleRoomApiVersionSerializer(); +Serializer _$roomGetSingleRoomResponseApplicationJsonOcsSerializer = + _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomGetSingleRoomResponseApplicationJsonSerializer = + _$RoomGetSingleRoomResponseApplicationJsonSerializer(); +Serializer _$roomRenameRoomApiVersionSerializer = _$RoomRenameRoomApiVersionSerializer(); +Serializer _$roomRenameRoomResponseApplicationJsonOcsSerializer = + _$RoomRenameRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomRenameRoomResponseApplicationJsonSerializer = + _$RoomRenameRoomResponseApplicationJsonSerializer(); +Serializer _$roomDeleteRoomApiVersionSerializer = _$RoomDeleteRoomApiVersionSerializer(); +Serializer _$roomDeleteRoomResponseApplicationJsonOcsSerializer = + _$RoomDeleteRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomDeleteRoomResponseApplicationJsonSerializer = + _$RoomDeleteRoomResponseApplicationJsonSerializer(); +Serializer _$roomGetBreakoutRoomsApiVersionSerializer = + _$RoomGetBreakoutRoomsApiVersionSerializer(); +Serializer _$roomGetBreakoutRoomsResponseApplicationJsonOcsSerializer = + _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer(); +Serializer _$roomGetBreakoutRoomsResponseApplicationJsonSerializer = + _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer(); +Serializer _$roomMakePublicApiVersionSerializer = _$RoomMakePublicApiVersionSerializer(); +Serializer _$roomMakePublicResponseApplicationJsonOcsSerializer = + _$RoomMakePublicResponseApplicationJson_OcsSerializer(); +Serializer _$roomMakePublicResponseApplicationJsonSerializer = + _$RoomMakePublicResponseApplicationJsonSerializer(); +Serializer _$roomMakePrivateApiVersionSerializer = _$RoomMakePrivateApiVersionSerializer(); +Serializer _$roomMakePrivateResponseApplicationJsonOcsSerializer = + _$RoomMakePrivateResponseApplicationJson_OcsSerializer(); +Serializer _$roomMakePrivateResponseApplicationJsonSerializer = + _$RoomMakePrivateResponseApplicationJsonSerializer(); +Serializer _$roomSetDescriptionApiVersionSerializer = + _$RoomSetDescriptionApiVersionSerializer(); +Serializer _$roomSetDescriptionResponseApplicationJsonOcsSerializer = + _$RoomSetDescriptionResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetDescriptionResponseApplicationJsonSerializer = + _$RoomSetDescriptionResponseApplicationJsonSerializer(); +Serializer _$roomSetReadOnlyApiVersionSerializer = _$RoomSetReadOnlyApiVersionSerializer(); +Serializer _$roomSetReadOnlyResponseApplicationJsonOcsSerializer = + _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetReadOnlyResponseApplicationJsonSerializer = + _$RoomSetReadOnlyResponseApplicationJsonSerializer(); +Serializer _$roomSetListableApiVersionSerializer = _$RoomSetListableApiVersionSerializer(); +Serializer _$roomSetListableResponseApplicationJsonOcsSerializer = + _$RoomSetListableResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetListableResponseApplicationJsonSerializer = + _$RoomSetListableResponseApplicationJsonSerializer(); +Serializer _$roomSetPasswordApiVersionSerializer = _$RoomSetPasswordApiVersionSerializer(); +Serializer _$roomSetPasswordResponseApplicationJsonOcsSerializer = + _$RoomSetPasswordResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetPasswordResponseApplicationJsonSerializer = + _$RoomSetPasswordResponseApplicationJsonSerializer(); +Serializer _$roomSetPermissionsApiVersionSerializer = + _$RoomSetPermissionsApiVersionSerializer(); +Serializer _$roomSetPermissionsResponseApplicationJsonOcsSerializer = + _$RoomSetPermissionsResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetPermissionsResponseApplicationJsonSerializer = + _$RoomSetPermissionsResponseApplicationJsonSerializer(); +Serializer _$roomGetParticipantsApiVersionSerializer = + _$RoomGetParticipantsApiVersionSerializer(); +Serializer _$participantSerializer = _$ParticipantSerializer(); +Serializer _$roomGetParticipantsResponseApplicationJsonOcsSerializer = + _$RoomGetParticipantsResponseApplicationJson_OcsSerializer(); +Serializer _$roomGetParticipantsResponseApplicationJsonSerializer = + _$RoomGetParticipantsResponseApplicationJsonSerializer(); +Serializer _$roomAddParticipantToRoomApiVersionSerializer = + _$RoomAddParticipantToRoomApiVersionSerializer(); +Serializer + _$roomAddParticipantToRoomResponseApplicationJsonOcsData0Serializer = + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer(); +Serializer + _$roomAddParticipantToRoomResponseApplicationJsonOcsSerializer = + _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$roomAddParticipantToRoomResponseApplicationJsonSerializer = + _$RoomAddParticipantToRoomResponseApplicationJsonSerializer(); +Serializer _$roomGetBreakoutRoomParticipantsApiVersionSerializer = + _$RoomGetBreakoutRoomParticipantsApiVersionSerializer(); +Serializer + _$roomGetBreakoutRoomParticipantsResponseApplicationJsonOcsSerializer = + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer(); +Serializer + _$roomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer = + _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer(); +Serializer _$roomRemoveSelfFromRoomApiVersionSerializer = + _$RoomRemoveSelfFromRoomApiVersionSerializer(); +Serializer + _$roomRemoveSelfFromRoomResponseApplicationJsonOcsSerializer = + _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomRemoveSelfFromRoomResponseApplicationJsonSerializer = + _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer(); +Serializer _$roomRemoveAttendeeFromRoomApiVersionSerializer = + _$RoomRemoveAttendeeFromRoomApiVersionSerializer(); +Serializer + _$roomRemoveAttendeeFromRoomResponseApplicationJsonOcsSerializer = + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer(); +Serializer + _$roomRemoveAttendeeFromRoomResponseApplicationJsonSerializer = + _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer(); +Serializer _$roomSetAttendeePermissionsApiVersionSerializer = + _$RoomSetAttendeePermissionsApiVersionSerializer(); +Serializer + _$roomSetAttendeePermissionsResponseApplicationJsonOcsSerializer = + _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer(); +Serializer + _$roomSetAttendeePermissionsResponseApplicationJsonSerializer = + _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer(); +Serializer _$roomSetAllAttendeesPermissionsApiVersionSerializer = + _$RoomSetAllAttendeesPermissionsApiVersionSerializer(); +Serializer + _$roomSetAllAttendeesPermissionsResponseApplicationJsonOcsSerializer = + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer(); +Serializer + _$roomSetAllAttendeesPermissionsResponseApplicationJsonSerializer = + _$RoomSetAllAttendeesPermissionsResponseApplicationJsonSerializer(); +Serializer _$roomJoinRoomApiVersionSerializer = _$RoomJoinRoomApiVersionSerializer(); +Serializer _$roomJoinRoomResponseApplicationJsonOcsSerializer = + _$RoomJoinRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomJoinRoomResponseApplicationJsonSerializer = + _$RoomJoinRoomResponseApplicationJsonSerializer(); +Serializer _$roomLeaveRoomApiVersionSerializer = _$RoomLeaveRoomApiVersionSerializer(); +Serializer _$roomLeaveRoomResponseApplicationJsonOcsSerializer = + _$RoomLeaveRoomResponseApplicationJson_OcsSerializer(); +Serializer _$roomLeaveRoomResponseApplicationJsonSerializer = + _$RoomLeaveRoomResponseApplicationJsonSerializer(); +Serializer _$roomResendInvitationsApiVersionSerializer = + _$RoomResendInvitationsApiVersionSerializer(); +Serializer + _$roomResendInvitationsResponseApplicationJsonOcsSerializer = + _$RoomResendInvitationsResponseApplicationJson_OcsSerializer(); +Serializer _$roomResendInvitationsResponseApplicationJsonSerializer = + _$RoomResendInvitationsResponseApplicationJsonSerializer(); +Serializer _$roomSetSessionStateApiVersionSerializer = + _$RoomSetSessionStateApiVersionSerializer(); +Serializer _$roomSetSessionStateResponseApplicationJsonOcsSerializer = + _$RoomSetSessionStateResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetSessionStateResponseApplicationJsonSerializer = + _$RoomSetSessionStateResponseApplicationJsonSerializer(); +Serializer _$roomPromoteModeratorApiVersionSerializer = + _$RoomPromoteModeratorApiVersionSerializer(); +Serializer _$roomPromoteModeratorResponseApplicationJsonOcsSerializer = + _$RoomPromoteModeratorResponseApplicationJson_OcsSerializer(); +Serializer _$roomPromoteModeratorResponseApplicationJsonSerializer = + _$RoomPromoteModeratorResponseApplicationJsonSerializer(); +Serializer _$roomDemoteModeratorApiVersionSerializer = + _$RoomDemoteModeratorApiVersionSerializer(); +Serializer _$roomDemoteModeratorResponseApplicationJsonOcsSerializer = + _$RoomDemoteModeratorResponseApplicationJson_OcsSerializer(); +Serializer _$roomDemoteModeratorResponseApplicationJsonSerializer = + _$RoomDemoteModeratorResponseApplicationJsonSerializer(); +Serializer _$roomAddToFavoritesApiVersionSerializer = + _$RoomAddToFavoritesApiVersionSerializer(); +Serializer _$roomAddToFavoritesResponseApplicationJsonOcsSerializer = + _$RoomAddToFavoritesResponseApplicationJson_OcsSerializer(); +Serializer _$roomAddToFavoritesResponseApplicationJsonSerializer = + _$RoomAddToFavoritesResponseApplicationJsonSerializer(); +Serializer _$roomRemoveFromFavoritesApiVersionSerializer = + _$RoomRemoveFromFavoritesApiVersionSerializer(); +Serializer + _$roomRemoveFromFavoritesResponseApplicationJsonOcsSerializer = + _$RoomRemoveFromFavoritesResponseApplicationJson_OcsSerializer(); +Serializer _$roomRemoveFromFavoritesResponseApplicationJsonSerializer = + _$RoomRemoveFromFavoritesResponseApplicationJsonSerializer(); +Serializer _$roomSetNotificationLevelApiVersionSerializer = + _$RoomSetNotificationLevelApiVersionSerializer(); +Serializer + _$roomSetNotificationLevelResponseApplicationJsonOcsSerializer = + _$RoomSetNotificationLevelResponseApplicationJson_OcsSerializer(); +Serializer + _$roomSetNotificationLevelResponseApplicationJsonSerializer = + _$RoomSetNotificationLevelResponseApplicationJsonSerializer(); +Serializer _$roomSetNotificationCallsApiVersionSerializer = + _$RoomSetNotificationCallsApiVersionSerializer(); +Serializer + _$roomSetNotificationCallsResponseApplicationJsonOcsSerializer = + _$RoomSetNotificationCallsResponseApplicationJson_OcsSerializer(); +Serializer + _$roomSetNotificationCallsResponseApplicationJsonSerializer = + _$RoomSetNotificationCallsResponseApplicationJsonSerializer(); +Serializer _$roomSetLobbyApiVersionSerializer = _$RoomSetLobbyApiVersionSerializer(); +Serializer _$roomSetLobbyResponseApplicationJsonOcsSerializer = + _$RoomSetLobbyResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetLobbyResponseApplicationJsonSerializer = + _$RoomSetLobbyResponseApplicationJsonSerializer(); +Serializer _$roomSetsipEnabledApiVersionSerializer = + _$RoomSetsipEnabledApiVersionSerializer(); +Serializer _$roomSetsipEnabledResponseApplicationJsonOcsSerializer = + _$RoomSetsipEnabledResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetsipEnabledResponseApplicationJsonSerializer = + _$RoomSetsipEnabledResponseApplicationJsonSerializer(); +Serializer _$roomSetRecordingConsentApiVersionSerializer = + _$RoomSetRecordingConsentApiVersionSerializer(); +Serializer + _$roomSetRecordingConsentResponseApplicationJsonOcsSerializer = + _$RoomSetRecordingConsentResponseApplicationJson_OcsSerializer(); +Serializer _$roomSetRecordingConsentResponseApplicationJsonSerializer = + _$RoomSetRecordingConsentResponseApplicationJsonSerializer(); +Serializer _$roomSetMessageExpirationApiVersionSerializer = + _$RoomSetMessageExpirationApiVersionSerializer(); +Serializer + _$roomSetMessageExpirationResponseApplicationJsonOcsSerializer = + _$RoomSetMessageExpirationResponseApplicationJson_OcsSerializer(); +Serializer + _$roomSetMessageExpirationResponseApplicationJsonSerializer = + _$RoomSetMessageExpirationResponseApplicationJsonSerializer(); +Serializer _$settingsSetsipSettingsApiVersionSerializer = + _$SettingsSetsipSettingsApiVersionSerializer(); +Serializer + _$settingsSetsipSettingsResponseApplicationJsonOcsSerializer = + _$SettingsSetsipSettingsResponseApplicationJson_OcsSerializer(); +Serializer _$settingsSetsipSettingsResponseApplicationJsonSerializer = + _$SettingsSetsipSettingsResponseApplicationJsonSerializer(); +Serializer _$settingsSetUserSettingApiVersionSerializer = + _$SettingsSetUserSettingApiVersionSerializer(); +Serializer + _$settingsSetUserSettingResponseApplicationJsonOcsSerializer = + _$SettingsSetUserSettingResponseApplicationJson_OcsSerializer(); +Serializer _$settingsSetUserSettingResponseApplicationJsonSerializer = + _$SettingsSetUserSettingResponseApplicationJsonSerializer(); +Serializer _$signalingGetSettingsApiVersionSerializer = + _$SignalingGetSettingsApiVersionSerializer(); +Serializer _$signalingSettingsHelloAuthParams$10Serializer = + _$SignalingSettings_HelloAuthParams_$10Serializer(); +Serializer _$signalingSettingsHelloAuthParams$20Serializer = + _$SignalingSettings_HelloAuthParams_$20Serializer(); +Serializer _$signalingSettingsHelloAuthParamsSerializer = + _$SignalingSettings_HelloAuthParamsSerializer(); +Serializer _$signalingSettingsStunserversSerializer = + _$SignalingSettings_StunserversSerializer(); +Serializer _$signalingSettingsTurnserversSerializer = + _$SignalingSettings_TurnserversSerializer(); +Serializer _$signalingSettingsSerializer = _$SignalingSettingsSerializer(); +Serializer _$signalingGetSettingsResponseApplicationJsonOcsSerializer = + _$SignalingGetSettingsResponseApplicationJson_OcsSerializer(); +Serializer _$signalingGetSettingsResponseApplicationJsonSerializer = + _$SignalingGetSettingsResponseApplicationJsonSerializer(); +Serializer _$signalingGetWelcomeMessageApiVersionSerializer = + _$SignalingGetWelcomeMessageApiVersionSerializer(); +Serializer + _$signalingGetWelcomeMessageResponseApplicationJsonOcsSerializer = + _$SignalingGetWelcomeMessageResponseApplicationJson_OcsSerializer(); +Serializer + _$signalingGetWelcomeMessageResponseApplicationJsonSerializer = + _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer(); +Serializer _$signalingPullMessagesApiVersionSerializer = + _$SignalingPullMessagesApiVersionSerializer(); +Serializer _$signalingSessionSerializer = _$SignalingSessionSerializer(); +Serializer + _$signalingPullMessagesResponseApplicationJsonOcsDataSerializer = + _$SignalingPullMessagesResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$signalingPullMessagesResponseApplicationJsonOcsSerializer = + _$SignalingPullMessagesResponseApplicationJson_OcsSerializer(); +Serializer _$signalingPullMessagesResponseApplicationJsonSerializer = + _$SignalingPullMessagesResponseApplicationJsonSerializer(); +Serializer _$signalingSignalingApiVersionSerializer = + _$SignalingSignalingApiVersionSerializer(); +Serializer _$signalingSignalingResponseApplicationJsonOcsSerializer = + _$SignalingSignalingResponseApplicationJson_OcsSerializer(); +Serializer _$signalingSignalingResponseApplicationJsonSerializer = + _$SignalingSignalingResponseApplicationJsonSerializer(); +Serializer _$tempAvatarPostAvatarResponseApplicationJsonOcsSerializer = + _$TempAvatarPostAvatarResponseApplicationJson_OcsSerializer(); +Serializer _$tempAvatarPostAvatarResponseApplicationJsonSerializer = + _$TempAvatarPostAvatarResponseApplicationJsonSerializer(); +Serializer + _$tempAvatarDeleteAvatarResponseApplicationJsonOcsSerializer = + _$TempAvatarDeleteAvatarResponseApplicationJson_OcsSerializer(); +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(); + +class _$AvatarGetAvatarApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AvatarGetAvatarApiVersion]; + @override + final String wireName = 'AvatarGetAvatarApiVersion'; + + @override + Object serialize(Serializers serializers, AvatarGetAvatarApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + AvatarGetAvatarApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + AvatarGetAvatarApiVersion.valueOf(serialized as String); +} + +class _$AvatarUploadAvatarApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AvatarUploadAvatarApiVersion]; + @override + final String wireName = 'AvatarUploadAvatarApiVersion'; + + @override + Object serialize(Serializers serializers, AvatarUploadAvatarApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + AvatarUploadAvatarApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + AvatarUploadAvatarApiVersion.valueOf(serialized as String); +} + +class _$OCSMetaSerializer implements StructuredSerializer { + @override + final Iterable types = const [OCSMeta, _$OCSMeta]; + @override + final String wireName = 'OCSMeta'; + + @override + Iterable serialize(Serializers serializers, OCSMeta object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'status', + serializers.serialize(object.status, specifiedType: const FullType(String)), + 'statuscode', + serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.message; + if (value != null) { + result + ..add('message') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.totalitems; + if (value != null) { + result + ..add('totalitems') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.itemsperpage; + if (value != null) { + result + ..add('itemsperpage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + OCSMeta deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = OCSMetaBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'statuscode': + result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'totalitems': + result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'itemsperpage': + result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatMessageSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatMessage, _$ChatMessage]; + @override + final String wireName = 'ChatMessage'; + + @override + Iterable serialize(Serializers serializers, ChatMessage object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'expirationTimestamp', + serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isReplyable', + serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), + 'markdown', + serializers.serialize(object.markdown, specifiedType: const FullType(bool)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), + 'messageParameters', + serializers.serialize(object.messageParameters, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'messageType', + serializers.serialize(object.messageType, specifiedType: const FullType(String)), + 'reactions', + serializers.serialize(object.reactions, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), + 'referenceId', + serializers.serialize(object.referenceId, specifiedType: const FullType(String)), + 'systemMessage', + serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.deleted; + if (value != null) { + result + ..add('deleted') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + return result; + } + + @override + ChatMessage deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMessageBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'deleted': + result.deleted = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'expirationTimestamp': + result.expirationTimestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'isReplyable': + result.isReplyable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'markdown': + result.markdown = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'messageParameters': + result.messageParameters.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))!); + break; + case 'messageType': + result.messageType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'reactions': + result.reactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + break; + case 'referenceId': + result.referenceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'systemMessage': + result.systemMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$RoomSerializer implements StructuredSerializer { + @override + final Iterable types = const [Room, _$Room]; + @override + final String wireName = 'Room'; + + @override + Iterable serialize(Serializers serializers, Room object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'attendeeId', + serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), + 'attendeePermissions', + serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), + 'avatarVersion', + serializers.serialize(object.avatarVersion, specifiedType: const FullType(String)), + 'breakoutRoomMode', + serializers.serialize(object.breakoutRoomMode, specifiedType: const FullType(int)), + 'breakoutRoomStatus', + serializers.serialize(object.breakoutRoomStatus, specifiedType: const FullType(int)), + 'callFlag', + serializers.serialize(object.callFlag, specifiedType: const FullType(int)), + 'callPermissions', + serializers.serialize(object.callPermissions, specifiedType: const FullType(int)), + 'callRecording', + serializers.serialize(object.callRecording, specifiedType: const FullType(int)), + 'callStartTime', + serializers.serialize(object.callStartTime, specifiedType: const FullType(int)), + 'canDeleteConversation', + serializers.serialize(object.canDeleteConversation, specifiedType: const FullType(bool)), + 'canEnableSIP', + serializers.serialize(object.canEnableSIP, specifiedType: const FullType(bool)), + 'canLeaveConversation', + serializers.serialize(object.canLeaveConversation, specifiedType: const FullType(bool)), + 'canStartCall', + serializers.serialize(object.canStartCall, specifiedType: const FullType(bool)), + 'defaultPermissions', + serializers.serialize(object.defaultPermissions, specifiedType: const FullType(int)), + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'hasCall', + serializers.serialize(object.hasCall, specifiedType: const FullType(bool)), + 'hasPassword', + serializers.serialize(object.hasPassword, specifiedType: const FullType(bool)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isCustomAvatar', + serializers.serialize(object.isCustomAvatar, specifiedType: const FullType(bool)), + 'isFavorite', + serializers.serialize(object.isFavorite, specifiedType: const FullType(bool)), + 'lastActivity', + serializers.serialize(object.lastActivity, specifiedType: const FullType(int)), + 'lastCommonReadMessage', + serializers.serialize(object.lastCommonReadMessage, specifiedType: const FullType(int)), + 'lastMessage', + serializers.serialize(object.lastMessage, specifiedType: const FullType(Room_LastMessage)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'lastReadMessage', + serializers.serialize(object.lastReadMessage, specifiedType: const FullType(int)), + 'listable', + serializers.serialize(object.listable, specifiedType: const FullType(int)), + 'lobbyState', + serializers.serialize(object.lobbyState, specifiedType: const FullType(int)), + 'lobbyTimer', + serializers.serialize(object.lobbyTimer, specifiedType: const FullType(int)), + 'messageExpiration', + serializers.serialize(object.messageExpiration, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'notificationCalls', + serializers.serialize(object.notificationCalls, specifiedType: const FullType(int)), + 'notificationLevel', + serializers.serialize(object.notificationLevel, specifiedType: const FullType(int)), + 'objectId', + serializers.serialize(object.objectId, specifiedType: const FullType(String)), + 'objectType', + serializers.serialize(object.objectType, specifiedType: const FullType(String)), + 'participantFlags', + serializers.serialize(object.participantFlags, specifiedType: const FullType(int)), + 'participantType', + serializers.serialize(object.participantType, specifiedType: const FullType(int)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'readOnly', + serializers.serialize(object.readOnly, specifiedType: const FullType(int)), + 'recordingConsent', + serializers.serialize(object.recordingConsent, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'sipEnabled', + serializers.serialize(object.sipEnabled, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(int)), + 'unreadMention', + serializers.serialize(object.unreadMention, specifiedType: const FullType(bool)), + 'unreadMentionDirect', + serializers.serialize(object.unreadMentionDirect, specifiedType: const FullType(bool)), + 'unreadMessages', + serializers.serialize(object.unreadMessages, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.attendeePin; + if (value != null) { + result + ..add('attendeePin') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusClearAt; + if (value != null) { + result + ..add('statusClearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.statusIcon; + if (value != null) { + result + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusMessage; + if (value != null) { + result + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + Room deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'attendeeId': + result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePermissions': + result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePin': + result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'avatarVersion': + result.avatarVersion = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'breakoutRoomMode': + result.breakoutRoomMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'breakoutRoomStatus': + result.breakoutRoomStatus = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callFlag': + result.callFlag = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callPermissions': + result.callPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callRecording': + result.callRecording = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callStartTime': + result.callStartTime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'canDeleteConversation': + result.canDeleteConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canEnableSIP': + result.canEnableSIP = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canLeaveConversation': + result.canLeaveConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canStartCall': + result.canStartCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'defaultPermissions': + result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'hasCall': + result.hasCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'hasPassword': + result.hasPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'isCustomAvatar': + result.isCustomAvatar = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'isFavorite': + result.isFavorite = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'lastActivity': + result.lastActivity = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastCommonReadMessage': + result.lastCommonReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastMessage': + result.lastMessage.replace( + serializers.deserialize(value, specifiedType: const FullType(Room_LastMessage))! as Room_LastMessage); + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastReadMessage': + result.lastReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'listable': + result.listable = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lobbyState': + result.lobbyState = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lobbyTimer': + result.lobbyTimer = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'messageExpiration': + result.messageExpiration = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'notificationCalls': + result.notificationCalls = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'notificationLevel': + result.notificationLevel = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'objectId': + result.objectId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'objectType': + result.objectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'participantFlags': + result.participantFlags = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'participantType': + result.participantType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'readOnly': + result.readOnly = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'recordingConsent': + result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sipEnabled': + result.sipEnabled = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'unreadMention': + result.unreadMention = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'unreadMentionDirect': + result.unreadMentionDirect = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'unreadMessages': + result.unreadMessages = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarUploadAvatarResponseApplicationJson_Ocs, + _$AvatarUploadAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarUploadAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarUploadAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarUploadAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarUploadAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarUploadAvatarResponseApplicationJson, + _$AvatarUploadAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarUploadAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarUploadAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarUploadAvatarResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs))! + as AvatarUploadAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$AvatarDeleteAvatarApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AvatarDeleteAvatarApiVersion]; + @override + final String wireName = 'AvatarDeleteAvatarApiVersion'; + + @override + Object serialize(Serializers serializers, AvatarDeleteAvatarApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + AvatarDeleteAvatarApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + AvatarDeleteAvatarApiVersion.valueOf(serialized as String); +} + +class _$AvatarDeleteAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarDeleteAvatarResponseApplicationJson_Ocs, + _$AvatarDeleteAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarDeleteAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarDeleteAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarDeleteAvatarResponseApplicationJson, + _$AvatarDeleteAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarDeleteAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarDeleteAvatarResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs))! + as AvatarDeleteAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$AvatarEmojiAvatarApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AvatarEmojiAvatarApiVersion]; + @override + final String wireName = 'AvatarEmojiAvatarApiVersion'; + + @override + Object serialize(Serializers serializers, AvatarEmojiAvatarApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + AvatarEmojiAvatarApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + AvatarEmojiAvatarApiVersion.valueOf(serialized as String); +} + +class _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarEmojiAvatarResponseApplicationJson_Ocs, + _$AvatarEmojiAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarEmojiAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarEmojiAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarEmojiAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarEmojiAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarEmojiAvatarResponseApplicationJson, + _$AvatarEmojiAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarEmojiAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarEmojiAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarEmojiAvatarResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs))! + as AvatarEmojiAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$AvatarGetAvatarDarkApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AvatarGetAvatarDarkApiVersion]; + @override + final String wireName = 'AvatarGetAvatarDarkApiVersion'; + + @override + Object serialize(Serializers serializers, AvatarGetAvatarDarkApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + AvatarGetAvatarDarkApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + AvatarGetAvatarDarkApiVersion.valueOf(serialized as String); +} + +class _$BotSendMessageApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotSendMessageApiVersion]; + @override + final String wireName = 'BotSendMessageApiVersion'; + + @override + Object serialize(Serializers serializers, BotSendMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotSendMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotSendMessageApiVersion.valueOf(serialized as String); +} + +class _$BotSendMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotSendMessageResponseApplicationJson_Ocs, + _$BotSendMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotSendMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotSendMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotSendMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotSendMessageResponseApplicationJson, _$BotSendMessageResponseApplicationJson]; + @override + final String wireName = 'BotSendMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotSendMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotSendMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(BotSendMessageResponseApplicationJson_Ocs))! + as BotSendMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotReactApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotReactApiVersion]; + @override + final String wireName = 'BotReactApiVersion'; + + @override + Object serialize(Serializers serializers, BotReactApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotReactApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotReactApiVersion.valueOf(serialized as String); +} + +class _$BotReactResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotReactResponseApplicationJson_Ocs, _$BotReactResponseApplicationJson_Ocs]; + @override + final String wireName = 'BotReactResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotReactResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotReactResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotReactResponseApplicationJsonSerializer implements StructuredSerializer { + @override + final Iterable types = const [BotReactResponseApplicationJson, _$BotReactResponseApplicationJson]; + @override + final String wireName = 'BotReactResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotReactResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotReactResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotReactResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(BotReactResponseApplicationJson_Ocs))! + as BotReactResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotDeleteReactionApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotDeleteReactionApiVersion]; + @override + final String wireName = 'BotDeleteReactionApiVersion'; + + @override + Object serialize(Serializers serializers, BotDeleteReactionApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotDeleteReactionApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotDeleteReactionApiVersion.valueOf(serialized as String); +} + +class _$BotDeleteReactionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDeleteReactionResponseApplicationJson_Ocs, + _$BotDeleteReactionResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotDeleteReactionResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotDeleteReactionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDeleteReactionResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotDeleteReactionResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDeleteReactionResponseApplicationJson, + _$BotDeleteReactionResponseApplicationJson + ]; + @override + final String wireName = 'BotDeleteReactionResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotDeleteReactionResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotDeleteReactionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDeleteReactionResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BotDeleteReactionResponseApplicationJson_Ocs))! + as BotDeleteReactionResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotAdminListBotsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotAdminListBotsApiVersion]; + @override + final String wireName = 'BotAdminListBotsApiVersion'; + + @override + Object serialize(Serializers serializers, BotAdminListBotsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotAdminListBotsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotAdminListBotsApiVersion.valueOf(serialized as String); +} + +class _$BotSerializer implements StructuredSerializer { + @override + final Iterable types = const [Bot, _$Bot]; + @override + final String wireName = 'Bot'; + + @override + Iterable serialize(Serializers serializers, Bot object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + Bot deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$BotWithDetailsSerializer implements StructuredSerializer { + @override + final Iterable types = const [BotWithDetails, _$BotWithDetails]; + @override + final String wireName = 'BotWithDetails'; + + @override + Iterable serialize(Serializers serializers, BotWithDetails object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), + 'error_count', + serializers.serialize(object.errorCount, specifiedType: const FullType(int)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(int)), + 'last_error_date', + serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), + 'last_error_message', + serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'url_hash', + serializers.serialize(object.urlHash, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + BotWithDetails deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotWithDetailsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'error_count': + result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'features': + result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_date': + result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_message': + result.lastErrorMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url': + result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url_hash': + result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$BotAdminListBotsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotAdminListBotsResponseApplicationJson_Ocs, + _$BotAdminListBotsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotAdminListBotsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)])), + ]; + + return result; + } + + @override + BotAdminListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotAdminListBotsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BotAdminListBotsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotAdminListBotsResponseApplicationJson, + _$BotAdminListBotsResponseApplicationJson + ]; + @override + final String wireName = 'BotAdminListBotsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotAdminListBotsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotAdminListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotAdminListBotsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BotAdminListBotsResponseApplicationJson_Ocs))! + as BotAdminListBotsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotListBotsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotListBotsApiVersion]; + @override + final String wireName = 'BotListBotsApiVersion'; + + @override + Object serialize(Serializers serializers, BotListBotsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotListBotsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotListBotsApiVersion.valueOf(serialized as String); +} + +class _$BotListBotsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotListBotsResponseApplicationJson_Ocs, _$BotListBotsResponseApplicationJson_Ocs]; + @override + final String wireName = 'BotListBotsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Bot)])), + ]; + + return result; + } + + @override + BotListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotListBotsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltList, [FullType(Bot)]))! + as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BotListBotsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotListBotsResponseApplicationJson, _$BotListBotsResponseApplicationJson]; + @override + final String wireName = 'BotListBotsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotListBotsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotListBotsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(BotListBotsResponseApplicationJson_Ocs))! + as BotListBotsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotEnableBotApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotEnableBotApiVersion]; + @override + final String wireName = 'BotEnableBotApiVersion'; + + @override + Object serialize(Serializers serializers, BotEnableBotApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotEnableBotApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotEnableBotApiVersion.valueOf(serialized as String); +} + +class _$BotEnableBotResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotEnableBotResponseApplicationJson_Ocs, + _$BotEnableBotResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotEnableBotResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); + } + return result; + } + + @override + BotEnableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotEnableBotResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + break; + } + } + + return result.build(); + } +} + +class _$BotEnableBotResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotEnableBotResponseApplicationJson, _$BotEnableBotResponseApplicationJson]; + @override + final String wireName = 'BotEnableBotResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotEnableBotResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotEnableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotEnableBotResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(BotEnableBotResponseApplicationJson_Ocs))! + as BotEnableBotResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotDisableBotApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [BotDisableBotApiVersion]; + @override + final String wireName = 'BotDisableBotApiVersion'; + + @override + Object serialize(Serializers serializers, BotDisableBotApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BotDisableBotApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BotDisableBotApiVersion.valueOf(serialized as String); +} + +class _$BotDisableBotResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDisableBotResponseApplicationJson_Ocs, + _$BotDisableBotResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotDisableBotResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); + } + return result; + } + + @override + BotDisableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDisableBotResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + break; + } + } + + return result.build(); + } +} + +class _$BotDisableBotResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotDisableBotResponseApplicationJson, _$BotDisableBotResponseApplicationJson]; + @override + final String wireName = 'BotDisableBotResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotDisableBotResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotDisableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDisableBotResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(BotDisableBotResponseApplicationJson_Ocs))! + as BotDisableBotResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomConfigureBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomConfigureBreakoutRoomsApiVersion]; + @override + final String wireName = 'BreakoutRoomConfigureBreakoutRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomConfigureBreakoutRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomConfigureBreakoutRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomConfigureBreakoutRoomsApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRemoveBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomRemoveBreakoutRoomsApiVersion]; + @override + final String wireName = 'BreakoutRoomRemoveBreakoutRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomRemoveBreakoutRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomRemoveBreakoutRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomRemoveBreakoutRoomsApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomBroadcastChatMessageApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomBroadcastChatMessageApiVersion]; + @override + final String wireName = 'BreakoutRoomBroadcastChatMessageApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomBroadcastChatMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomBroadcastChatMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomBroadcastChatMessageApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs, + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomBroadcastChatMessageResponseApplicationJson, + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs))! + as BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomApplyAttendeeMapApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomApplyAttendeeMapApiVersion]; + @override + final String wireName = 'BreakoutRoomApplyAttendeeMapApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomApplyAttendeeMapApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomApplyAttendeeMapApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs, + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomApplyAttendeeMapResponseApplicationJson, + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs))! + as BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRequestAssistanceApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomRequestAssistanceApiVersion]; + @override + final String wireName = 'BreakoutRoomRequestAssistanceApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomRequestAssistanceApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomRequestAssistanceApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomRequestAssistanceApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs, + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRequestAssistanceResponseApplicationJson, + _$BreakoutRoomRequestAssistanceResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs))! + as BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomResetRequestForAssistanceApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomResetRequestForAssistanceApiVersion]; + @override + final String wireName = 'BreakoutRoomResetRequestForAssistanceApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomResetRequestForAssistanceApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomResetRequestForAssistanceApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomResetRequestForAssistanceApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs, + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomResetRequestForAssistanceResponseApplicationJson, + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs))! + as BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStartBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomStartBreakoutRoomsApiVersion]; + @override + final String wireName = 'BreakoutRoomStartBreakoutRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomStartBreakoutRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomStartBreakoutRoomsApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStartBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStopBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomStopBreakoutRoomsApiVersion]; + @override + final String wireName = 'BreakoutRoomStopBreakoutRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomStopBreakoutRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomStopBreakoutRoomsApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStopBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomSwitchBreakoutRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [BreakoutRoomSwitchBreakoutRoomApiVersion]; + @override + final String wireName = 'BreakoutRoomSwitchBreakoutRoomApiVersion'; + + @override + Object serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + BreakoutRoomSwitchBreakoutRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + BreakoutRoomSwitchBreakoutRoomApiVersion.valueOf(serialized as String); +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs, + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson, + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs))! + as BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallGetPeersForCallApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CallGetPeersForCallApiVersion]; + @override + final String wireName = 'CallGetPeersForCallApiVersion'; + + @override + Object serialize(Serializers serializers, CallGetPeersForCallApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CallGetPeersForCallApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CallGetPeersForCallApiVersion.valueOf(serialized as String); +} + +class _$CallPeerSerializer implements StructuredSerializer { + @override + final Iterable types = const [CallPeer, _$CallPeer]; + @override + final String wireName = 'CallPeer'; + + @override + Iterable serialize(Serializers serializers, CallPeer object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + CallPeer deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallPeerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$CallGetPeersForCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallGetPeersForCallResponseApplicationJson_Ocs, + _$CallGetPeersForCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallGetPeersForCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CallPeer)])), + ]; + + return result; + } + + @override + CallGetPeersForCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallGetPeersForCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CallPeer)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CallGetPeersForCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallGetPeersForCallResponseApplicationJson, + _$CallGetPeersForCallResponseApplicationJson + ]; + @override + final String wireName = 'CallGetPeersForCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallGetPeersForCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallGetPeersForCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallGetPeersForCallResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CallGetPeersForCallResponseApplicationJson_Ocs))! + as CallGetPeersForCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallUpdateCallFlagsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CallUpdateCallFlagsApiVersion]; + @override + final String wireName = 'CallUpdateCallFlagsApiVersion'; + + @override + Object serialize(Serializers serializers, CallUpdateCallFlagsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CallUpdateCallFlagsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CallUpdateCallFlagsApiVersion.valueOf(serialized as String); +} + +class _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallUpdateCallFlagsResponseApplicationJson_Ocs, + _$CallUpdateCallFlagsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallUpdateCallFlagsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallUpdateCallFlagsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallUpdateCallFlagsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallUpdateCallFlagsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallUpdateCallFlagsResponseApplicationJson, + _$CallUpdateCallFlagsResponseApplicationJson + ]; + @override + final String wireName = 'CallUpdateCallFlagsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallUpdateCallFlagsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallUpdateCallFlagsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs))! + as CallUpdateCallFlagsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallJoinCallApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CallJoinCallApiVersion]; + @override + final String wireName = 'CallJoinCallApiVersion'; + + @override + Object serialize(Serializers serializers, CallJoinCallApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CallJoinCallApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CallJoinCallApiVersion.valueOf(serialized as String); +} + +class _$CallJoinCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallJoinCallResponseApplicationJson_Ocs, + _$CallJoinCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallJoinCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallJoinCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallJoinCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallJoinCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CallJoinCallResponseApplicationJson, _$CallJoinCallResponseApplicationJson]; + @override + final String wireName = 'CallJoinCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallJoinCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallJoinCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallJoinCallResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(CallJoinCallResponseApplicationJson_Ocs))! + as CallJoinCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallLeaveCallApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CallLeaveCallApiVersion]; + @override + final String wireName = 'CallLeaveCallApiVersion'; + + @override + Object serialize(Serializers serializers, CallLeaveCallApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CallLeaveCallApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CallLeaveCallApiVersion.valueOf(serialized as String); +} + +class _$CallLeaveCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallLeaveCallResponseApplicationJson_Ocs, + _$CallLeaveCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallLeaveCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallLeaveCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallLeaveCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallLeaveCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CallLeaveCallResponseApplicationJson, _$CallLeaveCallResponseApplicationJson]; + @override + final String wireName = 'CallLeaveCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallLeaveCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallLeaveCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallLeaveCallResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(CallLeaveCallResponseApplicationJson_Ocs))! + as CallLeaveCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallRingAttendeeApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CallRingAttendeeApiVersion]; + @override + final String wireName = 'CallRingAttendeeApiVersion'; + + @override + Object serialize(Serializers serializers, CallRingAttendeeApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CallRingAttendeeApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CallRingAttendeeApiVersion.valueOf(serialized as String); +} + +class _$CallRingAttendeeResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallRingAttendeeResponseApplicationJson_Ocs, + _$CallRingAttendeeResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallRingAttendeeResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallRingAttendeeResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallRingAttendeeResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallRingAttendeeResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallRingAttendeeResponseApplicationJson, + _$CallRingAttendeeResponseApplicationJson + ]; + @override + final String wireName = 'CallRingAttendeeResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallRingAttendeeResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallRingAttendeeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallRingAttendeeResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CallRingAttendeeResponseApplicationJson_Ocs))! + as CallRingAttendeeResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [CertificateGetCertificateExpirationApiVersion]; + @override + final String wireName = 'CertificateGetCertificateExpirationApiVersion'; + + @override + Object serialize(Serializers serializers, CertificateGetCertificateExpirationApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + CertificateGetCertificateExpirationApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + CertificateGetCertificateExpirationApiVersion.valueOf(serialized as String); +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data, + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.expirationInDays; + if (value != null) { + result + ..add('expiration_in_days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'expiration_in_days': + result.expirationInDays = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson_Ocs, + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data))! + as CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson, + _$CertificateGetCertificateExpirationResponseApplicationJson + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs))! + as CertificateGetCertificateExpirationResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatReceiveMessagesApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatReceiveMessagesApiVersion]; + @override + final String wireName = 'ChatReceiveMessagesApiVersion'; + + @override + Object serialize(Serializers serializers, ChatReceiveMessagesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatReceiveMessagesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatReceiveMessagesApiVersion.valueOf(serialized as String); +} + +class _$ChatMessageWithParentSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatMessageWithParent, _$ChatMessageWithParent]; + @override + final String wireName = 'ChatMessageWithParent'; + + @override + Iterable serialize(Serializers serializers, ChatMessageWithParent object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'expirationTimestamp', + serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isReplyable', + serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), + 'markdown', + serializers.serialize(object.markdown, specifiedType: const FullType(bool)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), + 'messageParameters', + serializers.serialize(object.messageParameters, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'messageType', + serializers.serialize(object.messageType, specifiedType: const FullType(String)), + 'reactions', + serializers.serialize(object.reactions, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), + 'referenceId', + serializers.serialize(object.referenceId, specifiedType: const FullType(String)), + 'systemMessage', + serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.deleted; + if (value != null) { + result + ..add('deleted') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.parent; + if (value != null) { + result + ..add('parent') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage))); + } + return result; + } + + @override + ChatMessageWithParent deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMessageWithParentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'deleted': + result.deleted = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'expirationTimestamp': + result.expirationTimestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'isReplyable': + result.isReplyable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'markdown': + result.markdown = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'messageParameters': + result.messageParameters.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))!); + break; + case 'messageType': + result.messageType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'reactions': + result.reactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + break; + case 'referenceId': + result.referenceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'systemMessage': + result.systemMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'parent': + result.parent + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessage))! as ChatMessage); + break; + } + } + + return result.build(); + } +} + +class _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatReceiveMessagesResponseApplicationJson_Ocs, + _$ChatReceiveMessagesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatReceiveMessagesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + ]; + + return result; + } + + @override + ChatReceiveMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReceiveMessagesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatReceiveMessagesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatReceiveMessagesResponseApplicationJson, + _$ChatReceiveMessagesResponseApplicationJson + ]; + @override + final String wireName = 'ChatReceiveMessagesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatReceiveMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReceiveMessagesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs))! + as ChatReceiveMessagesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatSendMessageApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatSendMessageApiVersion]; + @override + final String wireName = 'ChatSendMessageApiVersion'; + + @override + Object serialize(Serializers serializers, ChatSendMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatSendMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatSendMessageApiVersion.valueOf(serialized as String); +} + +class _$ChatSendMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSendMessageResponseApplicationJson_Ocs, + _$ChatSendMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSendMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); + } + return result; + } + + @override + ChatSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSendMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); + break; + } + } + + return result.build(); + } +} + +class _$ChatSendMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatSendMessageResponseApplicationJson, _$ChatSendMessageResponseApplicationJson]; + @override + final String wireName = 'ChatSendMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSendMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSendMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatSendMessageResponseApplicationJson_Ocs))! + as ChatSendMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatClearHistoryApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatClearHistoryApiVersion]; + @override + final String wireName = 'ChatClearHistoryApiVersion'; + + @override + Object serialize(Serializers serializers, ChatClearHistoryApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatClearHistoryApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatClearHistoryApiVersion.valueOf(serialized as String); +} + +class _$ChatClearHistoryResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatClearHistoryResponseApplicationJson_Ocs, + _$ChatClearHistoryResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatClearHistoryResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatMessage)), + ]; + + return result; + } + + @override + ChatClearHistoryResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatClearHistoryResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessage))! as ChatMessage); + break; + } + } + + return result.build(); + } +} + +class _$ChatClearHistoryResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatClearHistoryResponseApplicationJson, + _$ChatClearHistoryResponseApplicationJson + ]; + @override + final String wireName = 'ChatClearHistoryResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatClearHistoryResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatClearHistoryResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatClearHistoryResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatClearHistoryResponseApplicationJson_Ocs))! + as ChatClearHistoryResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteMessageApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatDeleteMessageApiVersion]; + @override + final String wireName = 'ChatDeleteMessageApiVersion'; + + @override + Object serialize(Serializers serializers, ChatDeleteMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatDeleteMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatDeleteMessageApiVersion.valueOf(serialized as String); +} + +class _$ChatDeleteMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteMessageResponseApplicationJson_Ocs, + _$ChatDeleteMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatDeleteMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatMessageWithParent)), + ]; + + return result; + } + + @override + ChatDeleteMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteMessageResponseApplicationJson, + _$ChatDeleteMessageResponseApplicationJson + ]; + @override + final String wireName = 'ChatDeleteMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatDeleteMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatDeleteMessageResponseApplicationJson_Ocs))! + as ChatDeleteMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetMessageContextApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatGetMessageContextApiVersion]; + @override + final String wireName = 'ChatGetMessageContextApiVersion'; + + @override + Object serialize(Serializers serializers, ChatGetMessageContextApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatGetMessageContextApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatGetMessageContextApiVersion.valueOf(serialized as String); +} + +class _$ChatGetMessageContextResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetMessageContextResponseApplicationJson_Ocs, + _$ChatGetMessageContextResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetMessageContextResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + ]; + + return result; + } + + @override + ChatGetMessageContextResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetMessageContextResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetMessageContextResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetMessageContextResponseApplicationJson, + _$ChatGetMessageContextResponseApplicationJson + ]; + @override + final String wireName = 'ChatGetMessageContextResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatGetMessageContextResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetMessageContextResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetMessageContextResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatGetMessageContextResponseApplicationJson_Ocs))! + as ChatGetMessageContextResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetReminderApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatGetReminderApiVersion]; + @override + final String wireName = 'ChatGetReminderApiVersion'; + + @override + Object serialize(Serializers serializers, ChatGetReminderApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatGetReminderApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatGetReminderApiVersion.valueOf(serialized as String); +} + +class _$ChatReminderSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatReminder, _$ChatReminder]; + @override + final String wireName = 'ChatReminder'; + + @override + Iterable serialize(Serializers serializers, ChatReminder object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'messageId', + serializers.serialize(object.messageId, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ChatReminder deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReminderBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'messageId': + result.messageId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ChatGetReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetReminderResponseApplicationJson_Ocs, + _$ChatGetReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + ]; + + return result; + } + + @override + ChatGetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatGetReminderResponseApplicationJson, _$ChatGetReminderResponseApplicationJson]; + @override + final String wireName = 'ChatGetReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatGetReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetReminderResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatGetReminderResponseApplicationJson_Ocs))! + as ChatGetReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReminderApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatSetReminderApiVersion]; + @override + final String wireName = 'ChatSetReminderApiVersion'; + + @override + Object serialize(Serializers serializers, ChatSetReminderApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatSetReminderApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatSetReminderApiVersion.valueOf(serialized as String); +} + +class _$ChatSetReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSetReminderResponseApplicationJson_Ocs, + _$ChatSetReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSetReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + ]; + + return result; + } + + @override + ChatSetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatSetReminderResponseApplicationJson, _$ChatSetReminderResponseApplicationJson]; + @override + final String wireName = 'ChatSetReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReminderResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatSetReminderResponseApplicationJson_Ocs))! + as ChatSetReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteReminderApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatDeleteReminderApiVersion]; + @override + final String wireName = 'ChatDeleteReminderApiVersion'; + + @override + Object serialize(Serializers serializers, ChatDeleteReminderApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatDeleteReminderApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatDeleteReminderApiVersion.valueOf(serialized as String); +} + +class _$ChatDeleteReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteReminderResponseApplicationJson_Ocs, + _$ChatDeleteReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatDeleteReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatDeleteReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteReminderResponseApplicationJson, + _$ChatDeleteReminderResponseApplicationJson + ]; + @override + final String wireName = 'ChatDeleteReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatDeleteReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteReminderResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatDeleteReminderResponseApplicationJson_Ocs))! + as ChatDeleteReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReadMarkerApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatSetReadMarkerApiVersion]; + @override + final String wireName = 'ChatSetReadMarkerApiVersion'; + + @override + Object serialize(Serializers serializers, ChatSetReadMarkerApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatSetReadMarkerApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatSetReadMarkerApiVersion.valueOf(serialized as String); +} + +class _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSetReadMarkerResponseApplicationJson_Ocs, + _$ChatSetReadMarkerResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSetReadMarkerResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatSetReadMarkerResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReadMarkerResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReadMarkerResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSetReadMarkerResponseApplicationJson, + _$ChatSetReadMarkerResponseApplicationJson + ]; + @override + final String wireName = 'ChatSetReadMarkerResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSetReadMarkerResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReadMarkerResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs))! + as ChatSetReadMarkerResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatMarkUnreadApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatMarkUnreadApiVersion]; + @override + final String wireName = 'ChatMarkUnreadApiVersion'; + + @override + Object serialize(Serializers serializers, ChatMarkUnreadApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatMarkUnreadApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatMarkUnreadApiVersion.valueOf(serialized as String); +} + +class _$ChatMarkUnreadResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatMarkUnreadResponseApplicationJson_Ocs, + _$ChatMarkUnreadResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatMarkUnreadResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatMarkUnreadResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMarkUnreadResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatMarkUnreadResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatMarkUnreadResponseApplicationJson, _$ChatMarkUnreadResponseApplicationJson]; + @override + final String wireName = 'ChatMarkUnreadResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatMarkUnreadResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatMarkUnreadResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMarkUnreadResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatMarkUnreadResponseApplicationJson_Ocs))! + as ChatMarkUnreadResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatMentionsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatMentionsApiVersion]; + @override + final String wireName = 'ChatMentionsApiVersion'; + + @override + Object serialize(Serializers serializers, ChatMentionsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatMentionsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatMentionsApiVersion.valueOf(serialized as String); +} + +class _$ChatMentionSuggestionSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatMentionSuggestion, _$ChatMentionSuggestion]; + @override + final String wireName = 'ChatMentionSuggestion'; + + @override + Iterable serialize(Serializers serializers, ChatMentionSuggestion object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'label', + serializers.serialize(object.label, specifiedType: const FullType(String)), + 'source', + serializers.serialize(object.source, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusClearAt; + if (value != null) { + result + ..add('statusClearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.statusIcon; + if (value != null) { + result + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusMessage; + if (value != null) { + result + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatMentionSuggestion deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMentionSuggestionBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'label': + result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'source': + result.source = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatMentionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatMentionsResponseApplicationJson_Ocs, + _$ChatMentionsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatMentionsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)])), + ]; + + return result; + } + + @override + ChatMentionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMentionsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatMentionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatMentionsResponseApplicationJson, _$ChatMentionsResponseApplicationJson]; + @override + final String wireName = 'ChatMentionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatMentionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMentionsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs))! + as ChatMentionsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetObjectsSharedInRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ChatGetObjectsSharedInRoomApiVersion]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomApiVersion'; + + @override + Object serialize(Serializers serializers, ChatGetObjectsSharedInRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatGetObjectsSharedInRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatGetObjectsSharedInRoomApiVersion.valueOf(serialized as String); +} + +class _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs, + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessage)])), + ]; + + return result; + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMessage)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetObjectsSharedInRoomResponseApplicationJson, + _$ChatGetObjectsSharedInRoomResponseApplicationJson + ]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs))! + as ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatShareObjectToChatApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ChatShareObjectToChatApiVersion]; + @override + final String wireName = 'ChatShareObjectToChatApiVersion'; + + @override + Object serialize(Serializers serializers, ChatShareObjectToChatApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatShareObjectToChatApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatShareObjectToChatApiVersion.valueOf(serialized as String); +} + +class _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatShareObjectToChatResponseApplicationJson_Ocs, + _$ChatShareObjectToChatResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatShareObjectToChatResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); + } + return result; + } + + @override + ChatShareObjectToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatShareObjectToChatResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); + break; + } + } + + return result.build(); + } +} + +class _$ChatShareObjectToChatResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatShareObjectToChatResponseApplicationJson, + _$ChatShareObjectToChatResponseApplicationJson + ]; + @override + final String wireName = 'ChatShareObjectToChatResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatShareObjectToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatShareObjectToChatResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs))! + as ChatShareObjectToChatResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetObjectsSharedInRoomOverviewApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ChatGetObjectsSharedInRoomOverviewApiVersion]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomOverviewApiVersion'; + + @override + Object serialize(Serializers serializers, ChatGetObjectsSharedInRoomOverviewApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ChatGetObjectsSharedInRoomOverviewApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ChatGetObjectsSharedInRoomOverviewApiVersion.valueOf(serialized as String); +} + +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs, + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(ChatMessage)]) + ])), + ]; + + return result; + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(ChatMessage)]) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson + ]; + @override + final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs))! + as ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FederationAcceptShareApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FederationAcceptShareApiVersion]; + @override + final String wireName = 'FederationAcceptShareApiVersion'; + + @override + Object serialize(Serializers serializers, FederationAcceptShareApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FederationAcceptShareApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FederationAcceptShareApiVersion.valueOf(serialized as String); +} + +class _$FederationAcceptShareResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationAcceptShareResponseApplicationJson_Ocs, + _$FederationAcceptShareResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'FederationAcceptShareResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FederationAcceptShareResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FederationAcceptShareResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationAcceptShareResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FederationAcceptShareResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationAcceptShareResponseApplicationJson, + _$FederationAcceptShareResponseApplicationJson + ]; + @override + final String wireName = 'FederationAcceptShareResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FederationAcceptShareResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FederationAcceptShareResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FederationAcceptShareResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationAcceptShareResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FederationAcceptShareResponseApplicationJson_Ocs))! + as FederationAcceptShareResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FederationRejectShareApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FederationRejectShareApiVersion]; + @override + final String wireName = 'FederationRejectShareApiVersion'; + + @override + Object serialize(Serializers serializers, FederationRejectShareApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FederationRejectShareApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FederationRejectShareApiVersion.valueOf(serialized as String); +} + +class _$FederationRejectShareResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationRejectShareResponseApplicationJson_Ocs, + _$FederationRejectShareResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'FederationRejectShareResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FederationRejectShareResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FederationRejectShareResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationRejectShareResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FederationRejectShareResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationRejectShareResponseApplicationJson, + _$FederationRejectShareResponseApplicationJson + ]; + @override + final String wireName = 'FederationRejectShareResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FederationRejectShareResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FederationRejectShareResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FederationRejectShareResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationRejectShareResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FederationRejectShareResponseApplicationJson_Ocs))! + as FederationRejectShareResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FederationGetSharesApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FederationGetSharesApiVersion]; + @override + final String wireName = 'FederationGetSharesApiVersion'; + + @override + Object serialize(Serializers serializers, FederationGetSharesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FederationGetSharesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FederationGetSharesApiVersion.valueOf(serialized as String); +} + +class _$FederationInviteSerializer implements StructuredSerializer { + @override + final Iterable types = const [FederationInvite, _$FederationInvite]; + @override + final String wireName = 'FederationInvite'; + + @override + Iterable serialize(Serializers serializers, FederationInvite object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'access_token', + serializers.serialize(object.accessToken, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'remote_id', + serializers.serialize(object.remoteId, specifiedType: const FullType(String)), + 'remote_server', + serializers.serialize(object.remoteServer, specifiedType: const FullType(String)), + 'remote_token', + serializers.serialize(object.remoteToken, specifiedType: const FullType(String)), + 'room_id', + serializers.serialize(object.roomId, specifiedType: const FullType(int)), + 'user_id', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FederationInvite deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationInviteBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'access_token': + result.accessToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'remote_id': + result.remoteId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'remote_server': + result.remoteServer = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'remote_token': + result.remoteToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'room_id': + result.roomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'user_id': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FederationGetSharesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationGetSharesResponseApplicationJson_Ocs, + _$FederationGetSharesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'FederationGetSharesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FederationGetSharesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FederationInvite)])), + ]; + + return result; + } + + @override + FederationGetSharesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationGetSharesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FederationInvite)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FederationGetSharesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FederationGetSharesResponseApplicationJson, + _$FederationGetSharesResponseApplicationJson + ]; + @override + final String wireName = 'FederationGetSharesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FederationGetSharesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(FederationGetSharesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FederationGetSharesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FederationGetSharesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FederationGetSharesResponseApplicationJson_Ocs))! + as FederationGetSharesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByFileIdApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [FilesIntegrationGetRoomByFileIdApiVersion]; + @override + final String wireName = 'FilesIntegrationGetRoomByFileIdApiVersion'; + + @override + Object serialize(Serializers serializers, FilesIntegrationGetRoomByFileIdApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FilesIntegrationGetRoomByFileIdApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FilesIntegrationGetRoomByFileIdApiVersion.valueOf(serialized as String); +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data))! + as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByFileIdResponseApplicationJson, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs))! + as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [FilesIntegrationGetRoomByShareTokenApiVersion]; + @override + final String wireName = 'FilesIntegrationGetRoomByShareTokenApiVersion'; + + @override + Object serialize(Serializers serializers, FilesIntegrationGetRoomByShareTokenApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FilesIntegrationGetRoomByShareTokenApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FilesIntegrationGetRoomByShareTokenApiVersion.valueOf(serialized as String); +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + 'userDisplayName', + serializers.serialize(object.userDisplayName, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userDisplayName': + result.userDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data))! + as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesIntegrationGetRoomByShareTokenResponseApplicationJson, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson + ]; + @override + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs))! + as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$GuestSetDisplayNameApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [GuestSetDisplayNameApiVersion]; + @override + final String wireName = 'GuestSetDisplayNameApiVersion'; + + @override + Object serialize(Serializers serializers, GuestSetDisplayNameApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GuestSetDisplayNameApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GuestSetDisplayNameApiVersion.valueOf(serialized as String); +} + +class _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GuestSetDisplayNameResponseApplicationJson_Ocs, + _$GuestSetDisplayNameResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'GuestSetDisplayNameResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + GuestSetDisplayNameResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = GuestSetDisplayNameResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$GuestSetDisplayNameResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GuestSetDisplayNameResponseApplicationJson, + _$GuestSetDisplayNameResponseApplicationJson + ]; + @override + final String wireName = 'GuestSetDisplayNameResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + GuestSetDisplayNameResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = GuestSetDisplayNameResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs))! + as GuestSetDisplayNameResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$HostedSignalingServerRequestTrialApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [HostedSignalingServerRequestTrialApiVersion]; + @override + final String wireName = 'HostedSignalingServerRequestTrialApiVersion'; + + @override + Object serialize(Serializers serializers, HostedSignalingServerRequestTrialApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + HostedSignalingServerRequestTrialApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + HostedSignalingServerRequestTrialApiVersion.valueOf(serialized as String); +} + +class _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs, + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + ]; + + return result; + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + break; + } + } + + return result.build(); + } +} + +class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + HostedSignalingServerRequestTrialResponseApplicationJson, + _$HostedSignalingServerRequestTrialResponseApplicationJson + ]; + @override + final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = HostedSignalingServerRequestTrialResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs))! + as HostedSignalingServerRequestTrialResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$HostedSignalingServerDeleteAccountApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [HostedSignalingServerDeleteAccountApiVersion]; + @override + final String wireName = 'HostedSignalingServerDeleteAccountApiVersion'; + + @override + Object serialize(Serializers serializers, HostedSignalingServerDeleteAccountApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + HostedSignalingServerDeleteAccountApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + HostedSignalingServerDeleteAccountApiVersion.valueOf(serialized as String); +} + +class _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs, + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + HostedSignalingServerDeleteAccountResponseApplicationJson, + _$HostedSignalingServerDeleteAccountResponseApplicationJson + ]; + @override + final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs))! + as HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeGetBridgeOfRoomApiVersion]; + @override + final String wireName = 'MatterbridgeGetBridgeOfRoomApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeGetBridgeOfRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeGetBridgeOfRoomApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeSerializer implements StructuredSerializer { + @override + final Iterable types = const [Matterbridge, _$Matterbridge]; + @override + final String wireName = 'Matterbridge'; + + @override + Iterable serialize(Serializers serializers, Matterbridge object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'parts', + serializers.serialize(object.parts, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'pid', + serializers.serialize(object.pid, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + Matterbridge deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'parts': + result.parts.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))! as BuiltList); + break; + case 'pid': + result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeProcessStateSerializer implements StructuredSerializer { + @override + final Iterable types = const [MatterbridgeProcessState, _$MatterbridgeProcessState]; + @override + final String wireName = 'MatterbridgeProcessState'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeProcessState object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'log', + serializers.serialize(object.log, specifiedType: const FullType(String)), + 'running', + serializers.serialize(object.running, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + MatterbridgeProcessState deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeProcessStateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'log': + result.log = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'running': + result.running = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeWithProcessStateSerializer implements StructuredSerializer { + @override + final Iterable types = const [MatterbridgeWithProcessState, _$MatterbridgeWithProcessState]; + @override + final String wireName = 'MatterbridgeWithProcessState'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeWithProcessState object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'parts', + serializers.serialize(object.parts, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'pid', + serializers.serialize(object.pid, specifiedType: const FullType(int)), + 'log', + serializers.serialize(object.log, specifiedType: const FullType(String)), + 'running', + serializers.serialize(object.running, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + MatterbridgeWithProcessState deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeWithProcessStateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'parts': + result.parts.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))! as BuiltList); + break; + case 'pid': + result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'log': + result.log = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'running': + result.running = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeWithProcessState)), + ]; + + return result; + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeWithProcessState))! as MatterbridgeWithProcessState); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeGetBridgeOfRoomResponseApplicationJson, + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeEditBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeEditBridgeOfRoomApiVersion]; + @override + final String wireName = 'MatterbridgeEditBridgeOfRoomApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeEditBridgeOfRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeEditBridgeOfRoomApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), + ]; + + return result; + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! + as MatterbridgeProcessState); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeEditBridgeOfRoomResponseApplicationJson, + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeDeleteBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeDeleteBridgeOfRoomApiVersion]; + @override + final String wireName = 'MatterbridgeDeleteBridgeOfRoomApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeDeleteBridgeOfRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeDeleteBridgeOfRoomApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson, + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeProcessStateApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeGetBridgeProcessStateApiVersion]; + @override + final String wireName = 'MatterbridgeGetBridgeProcessStateApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeGetBridgeProcessStateApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeGetBridgeProcessStateApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeGetBridgeProcessStateApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs, + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), + ]; + + return result; + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! + as MatterbridgeProcessState); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeGetBridgeProcessStateResponseApplicationJson, + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs))! + as MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeSettingsStopAllBridgesApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeSettingsStopAllBridgesApiVersion]; + @override + final String wireName = 'MatterbridgeSettingsStopAllBridgesApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeSettingsStopAllBridgesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeSettingsStopAllBridgesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeSettingsStopAllBridgesApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs, + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeSettingsStopAllBridgesResponseApplicationJson, + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs))! + as MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [MatterbridgeSettingsGetMatterbridgeVersionApiVersion]; + @override + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionApiVersion'; + + @override + Object serialize(Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + MatterbridgeSettingsGetMatterbridgeVersionApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + MatterbridgeSettingsGetMatterbridgeVersionApiVersion.valueOf(serialized as String); +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data))! + as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs))! + as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$PollCreatePollApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [PollCreatePollApiVersion]; + @override + final String wireName = 'PollCreatePollApiVersion'; + + @override + Object serialize(Serializers serializers, PollCreatePollApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + PollCreatePollApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + PollCreatePollApiVersion.valueOf(serialized as String); +} + +class _$PollVoteSerializer implements StructuredSerializer { + @override + final Iterable types = const [PollVote, _$PollVote]; + @override + final String wireName = 'PollVote'; + + @override + Iterable serialize(Serializers serializers, PollVote object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'optionId', + serializers.serialize(object.optionId, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + PollVote deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollVoteBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'optionId': + result.optionId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$PollSerializer implements StructuredSerializer { + @override + final Iterable types = const [Poll, _$Poll]; + @override + final String wireName = 'Poll'; + + @override + Iterable serialize(Serializers serializers, Poll object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'maxVotes', + serializers.serialize(object.maxVotes, specifiedType: const FullType(int)), + 'options', + serializers.serialize(object.options, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'question', + serializers.serialize(object.question, specifiedType: const FullType(String)), + 'resultMode', + serializers.serialize(object.resultMode, specifiedType: const FullType(int)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.details; + if (value != null) { + result + ..add('details') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(PollVote)]))); + } + value = object.numVoters; + if (value != null) { + result + ..add('numVoters') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.votedSelf; + if (value != null) { + result + ..add('votedSelf') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(int)]))); + } + value = object.votes; + if (value != null) { + result + ..add('votes') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))); + } + return result; + } + + @override + Poll deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'details': + result.details.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(PollVote)]))! as BuiltList); + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'maxVotes': + result.maxVotes = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'numVoters': + result.numVoters = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'options': + result.options.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'question': + result.question = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'resultMode': + result.resultMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'votedSelf': + result.votedSelf.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + break; + case 'votes': + result.votes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + break; + } + } + + return result.build(); + } +} + +class _$PollCreatePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PollCreatePollResponseApplicationJson_Ocs, + _$PollCreatePollResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'PollCreatePollResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), + ]; + + return result; + } + + @override + PollCreatePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollCreatePollResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + break; + } + } + + return result.build(); + } +} + +class _$PollCreatePollResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PollCreatePollResponseApplicationJson, _$PollCreatePollResponseApplicationJson]; + @override + final String wireName = 'PollCreatePollResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + PollCreatePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollCreatePollResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs))! + as PollCreatePollResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$PollShowPollApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [PollShowPollApiVersion]; + @override + final String wireName = 'PollShowPollApiVersion'; + + @override + Object serialize(Serializers serializers, PollShowPollApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + PollShowPollApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + PollShowPollApiVersion.valueOf(serialized as String); +} + +class _$PollShowPollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PollShowPollResponseApplicationJson_Ocs, + _$PollShowPollResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'PollShowPollResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), + ]; + + return result; + } + + @override + PollShowPollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollShowPollResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + break; + } + } + + return result.build(); + } +} + +class _$PollShowPollResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PollShowPollResponseApplicationJson, _$PollShowPollResponseApplicationJson]; + @override + final String wireName = 'PollShowPollResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + PollShowPollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollShowPollResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs))! + as PollShowPollResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$PollVotePollApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [PollVotePollApiVersion]; + @override + final String wireName = 'PollVotePollApiVersion'; + + @override + Object serialize(Serializers serializers, PollVotePollApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + PollVotePollApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + PollVotePollApiVersion.valueOf(serialized as String); +} + +class _$PollVotePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PollVotePollResponseApplicationJson_Ocs, + _$PollVotePollResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'PollVotePollResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), + ]; + + return result; + } + + @override + PollVotePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollVotePollResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + break; + } + } + + return result.build(); + } +} + +class _$PollVotePollResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PollVotePollResponseApplicationJson, _$PollVotePollResponseApplicationJson]; + @override + final String wireName = 'PollVotePollResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollVotePollResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + PollVotePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollVotePollResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollVotePollResponseApplicationJson_Ocs))! + as PollVotePollResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$PollClosePollApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [PollClosePollApiVersion]; + @override + final String wireName = 'PollClosePollApiVersion'; + + @override + Object serialize(Serializers serializers, PollClosePollApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + PollClosePollApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + PollClosePollApiVersion.valueOf(serialized as String); +} + +class _$PollClosePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PollClosePollResponseApplicationJson_Ocs, + _$PollClosePollResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'PollClosePollResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), + ]; + + return result; + } + + @override + PollClosePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollClosePollResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + break; + } + } + + return result.build(); + } +} + +class _$PollClosePollResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PollClosePollResponseApplicationJson, _$PollClosePollResponseApplicationJson]; + @override + final String wireName = 'PollClosePollResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + PollClosePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollClosePollResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs))! + as PollClosePollResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$PublicShareAuthCreateRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [PublicShareAuthCreateRoomApiVersion]; + @override + final String wireName = 'PublicShareAuthCreateRoomApiVersion'; + + @override + Object serialize(Serializers serializers, PublicShareAuthCreateRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + PublicShareAuthCreateRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + PublicShareAuthCreateRoomApiVersion.valueOf(serialized as String); +} + +class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data, + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicShareAuthCreateRoomResponseApplicationJson_Ocs, + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data))! + as PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicShareAuthCreateRoomResponseApplicationJson, + _$PublicShareAuthCreateRoomResponseApplicationJson + ]; + @override + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicShareAuthCreateRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs))! + as PublicShareAuthCreateRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ReactionGetReactionsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ReactionGetReactionsApiVersion]; + @override + final String wireName = 'ReactionGetReactionsApiVersion'; + + @override + Object serialize(Serializers serializers, ReactionGetReactionsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ReactionGetReactionsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ReactionGetReactionsApiVersion.valueOf(serialized as String); +} + +class _$ReactionSerializer implements StructuredSerializer { + @override + final Iterable types = const [Reaction, _$Reaction]; + @override + final String wireName = 'Reaction'; + + @override + Iterable serialize(Serializers serializers, Reaction object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + Reaction deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$ReactionGetReactionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ReactionGetReactionsResponseApplicationJson_Ocs, + _$ReactionGetReactionsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ReactionGetReactionsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), + ]; + + return result; + } + + @override + ReactionGetReactionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionGetReactionsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ReactionGetReactionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ReactionGetReactionsResponseApplicationJson, + _$ReactionGetReactionsResponseApplicationJson + ]; + @override + final String wireName = 'ReactionGetReactionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionGetReactionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ReactionGetReactionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionGetReactionsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ReactionGetReactionsResponseApplicationJson_Ocs))! + as ReactionGetReactionsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ReactionReactApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ReactionReactApiVersion]; + @override + final String wireName = 'ReactionReactApiVersion'; + + @override + Object serialize(Serializers serializers, ReactionReactApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ReactionReactApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ReactionReactApiVersion.valueOf(serialized as String); +} + +class _$ReactionReactResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ReactionReactResponseApplicationJson_Ocs, + _$ReactionReactResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ReactionReactResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), + ]; + + return result; + } + + @override + ReactionReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionReactResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ReactionReactResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ReactionReactResponseApplicationJson, _$ReactionReactResponseApplicationJson]; + @override + final String wireName = 'ReactionReactResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ReactionReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionReactResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs))! + as ReactionReactResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ReactionDeleteApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [ReactionDeleteApiVersion]; + @override + final String wireName = 'ReactionDeleteApiVersion'; + + @override + Object serialize(Serializers serializers, ReactionDeleteApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + ReactionDeleteApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + ReactionDeleteApiVersion.valueOf(serialized as String); +} + +class _$ReactionDeleteResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ReactionDeleteResponseApplicationJson_Ocs, + _$ReactionDeleteResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ReactionDeleteResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), + ]; + + return result; + } + + @override + ReactionDeleteResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionDeleteResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ReactionDeleteResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ReactionDeleteResponseApplicationJson, _$ReactionDeleteResponseApplicationJson]; + @override + final String wireName = 'ReactionDeleteResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ReactionDeleteResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionDeleteResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs))! + as ReactionDeleteResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingGetWelcomeMessageApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingGetWelcomeMessageApiVersion]; + @override + final String wireName = 'RecordingGetWelcomeMessageApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingGetWelcomeMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingGetWelcomeMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingGetWelcomeMessageApiVersion.valueOf(serialized as String); +} + +class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data, + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'version', + serializers.serialize(object.version, specifiedType: const FullType(num)), + ]; + + return result; + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(num))! as num; + break; + } + } + + return result.build(); + } +} + +class _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingGetWelcomeMessageResponseApplicationJson_Ocs, + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data))! + as RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingGetWelcomeMessageResponseApplicationJson, + _$RecordingGetWelcomeMessageResponseApplicationJson + ]; + @override + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingGetWelcomeMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs))! + as RecordingGetWelcomeMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingStartApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingStartApiVersion]; + @override + final String wireName = 'RecordingStartApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingStartApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingStartApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingStartApiVersion.valueOf(serialized as String); +} + +class _$RecordingStartResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingStartResponseApplicationJson_Ocs, + _$RecordingStartResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingStartResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RecordingStartResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStartResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RecordingStartResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RecordingStartResponseApplicationJson, _$RecordingStartResponseApplicationJson]; + @override + final String wireName = 'RecordingStartResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingStartResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStartResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs))! + as RecordingStartResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingStopApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingStopApiVersion]; + @override + final String wireName = 'RecordingStopApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingStopApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingStopApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingStopApiVersion.valueOf(serialized as String); +} + +class _$RecordingStopResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingStopResponseApplicationJson_Ocs, + _$RecordingStopResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingStopResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RecordingStopResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStopResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RecordingStopResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RecordingStopResponseApplicationJson, _$RecordingStopResponseApplicationJson]; + @override + final String wireName = 'RecordingStopResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingStopResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStopResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs))! + as RecordingStopResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingStoreApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingStoreApiVersion]; + @override + final String wireName = 'RecordingStoreApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingStoreApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingStoreApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingStoreApiVersion.valueOf(serialized as String); +} + +class _$RecordingStoreResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingStoreResponseApplicationJson_Ocs, + _$RecordingStoreResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingStoreResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RecordingStoreResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStoreResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RecordingStoreResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RecordingStoreResponseApplicationJson, _$RecordingStoreResponseApplicationJson]; + @override + final String wireName = 'RecordingStoreResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingStoreResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingStoreResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs))! + as RecordingStoreResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingNotificationDismissApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingNotificationDismissApiVersion]; + @override + final String wireName = 'RecordingNotificationDismissApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingNotificationDismissApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingNotificationDismissApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingNotificationDismissApiVersion.valueOf(serialized as String); +} + +class _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingNotificationDismissResponseApplicationJson_Ocs, + _$RecordingNotificationDismissResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingNotificationDismissResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RecordingNotificationDismissResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingNotificationDismissResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RecordingNotificationDismissResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingNotificationDismissResponseApplicationJson, + _$RecordingNotificationDismissResponseApplicationJson + ]; + @override + final String wireName = 'RecordingNotificationDismissResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingNotificationDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingNotificationDismissResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs))! + as RecordingNotificationDismissResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RecordingShareToChatApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RecordingShareToChatApiVersion]; + @override + final String wireName = 'RecordingShareToChatApiVersion'; + + @override + Object serialize(Serializers serializers, RecordingShareToChatApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RecordingShareToChatApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RecordingShareToChatApiVersion.valueOf(serialized as String); +} + +class _$RecordingShareToChatResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingShareToChatResponseApplicationJson_Ocs, + _$RecordingShareToChatResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RecordingShareToChatResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RecordingShareToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingShareToChatResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RecordingShareToChatResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RecordingShareToChatResponseApplicationJson, + _$RecordingShareToChatResponseApplicationJson + ]; + @override + final String wireName = 'RecordingShareToChatResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RecordingShareToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RecordingShareToChatResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs))! + as RecordingShareToChatResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetRoomsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetRoomsApiVersion]; + @override + final String wireName = 'RoomGetRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetRoomsApiVersion.valueOf(serialized as String); +} + +class _$RoomGetRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetRoomsResponseApplicationJson_Ocs, + _$RoomGetRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + RoomGetRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomGetRoomsResponseApplicationJson, _$RoomGetRoomsResponseApplicationJson]; + @override + final String wireName = 'RoomGetRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs))! + as RoomGetRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomCreateRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomCreateRoomApiVersion]; + @override + final String wireName = 'RoomCreateRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomCreateRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomCreateRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomCreateRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomCreateRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomCreateRoomResponseApplicationJson_Ocs, + _$RoomCreateRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomCreateRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomCreateRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomCreateRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomCreateRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomCreateRoomResponseApplicationJson, _$RoomCreateRoomResponseApplicationJson]; + @override + final String wireName = 'RoomCreateRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomCreateRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs))! + as RoomCreateRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetListedRoomsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetListedRoomsApiVersion]; + @override + final String wireName = 'RoomGetListedRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetListedRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetListedRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetListedRoomsApiVersion.valueOf(serialized as String); +} + +class _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetListedRoomsResponseApplicationJson_Ocs, + _$RoomGetListedRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetListedRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + RoomGetListedRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetListedRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetListedRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetListedRoomsResponseApplicationJson, + _$RoomGetListedRoomsResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetListedRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetListedRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetListedRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs))! + as RoomGetListedRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetNoteToSelfConversationApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetNoteToSelfConversationApiVersion]; + @override + final String wireName = 'RoomGetNoteToSelfConversationApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetNoteToSelfConversationApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetNoteToSelfConversationApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetNoteToSelfConversationApiVersion.valueOf(serialized as String); +} + +class _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs, + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetNoteToSelfConversationResponseApplicationJson, + _$RoomGetNoteToSelfConversationResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetNoteToSelfConversationResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs))! + as RoomGetNoteToSelfConversationResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetSingleRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetSingleRoomApiVersion]; + @override + final String wireName = 'RoomGetSingleRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetSingleRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetSingleRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetSingleRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetSingleRoomResponseApplicationJson_Ocs, + _$RoomGetSingleRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetSingleRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomGetSingleRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetSingleRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetSingleRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetSingleRoomResponseApplicationJson, + _$RoomGetSingleRoomResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetSingleRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetSingleRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetSingleRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs))! + as RoomGetSingleRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomRenameRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomRenameRoomApiVersion]; + @override + final String wireName = 'RoomRenameRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomRenameRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomRenameRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomRenameRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomRenameRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRenameRoomResponseApplicationJson_Ocs, + _$RoomRenameRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomRenameRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomRenameRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRenameRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomRenameRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomRenameRoomResponseApplicationJson, _$RoomRenameRoomResponseApplicationJson]; + @override + final String wireName = 'RoomRenameRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomRenameRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRenameRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs))! + as RoomRenameRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomDeleteRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomDeleteRoomApiVersion]; + @override + final String wireName = 'RoomDeleteRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomDeleteRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomDeleteRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomDeleteRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomDeleteRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomDeleteRoomResponseApplicationJson_Ocs, + _$RoomDeleteRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomDeleteRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomDeleteRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomDeleteRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomDeleteRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomDeleteRoomResponseApplicationJson, _$RoomDeleteRoomResponseApplicationJson]; + @override + final String wireName = 'RoomDeleteRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomDeleteRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomDeleteRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs))! + as RoomDeleteRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetBreakoutRoomsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetBreakoutRoomsApiVersion]; + @override + final String wireName = 'RoomGetBreakoutRoomsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetBreakoutRoomsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetBreakoutRoomsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetBreakoutRoomsApiVersion.valueOf(serialized as String); +} + +class _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetBreakoutRoomsResponseApplicationJson_Ocs, + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetBreakoutRoomsResponseApplicationJson, + _$RoomGetBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetBreakoutRoomsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs))! + as RoomGetBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomMakePublicApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomMakePublicApiVersion]; + @override + final String wireName = 'RoomMakePublicApiVersion'; + + @override + Object serialize(Serializers serializers, RoomMakePublicApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomMakePublicApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomMakePublicApiVersion.valueOf(serialized as String); +} + +class _$RoomMakePublicResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomMakePublicResponseApplicationJson_Ocs, + _$RoomMakePublicResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomMakePublicResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomMakePublicResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomMakePublicResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomMakePublicResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomMakePublicResponseApplicationJson, _$RoomMakePublicResponseApplicationJson]; + @override + final String wireName = 'RoomMakePublicResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomMakePublicResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomMakePublicResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs))! + as RoomMakePublicResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomMakePrivateApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomMakePrivateApiVersion]; + @override + final String wireName = 'RoomMakePrivateApiVersion'; + + @override + Object serialize(Serializers serializers, RoomMakePrivateApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomMakePrivateApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomMakePrivateApiVersion.valueOf(serialized as String); +} + +class _$RoomMakePrivateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomMakePrivateResponseApplicationJson_Ocs, + _$RoomMakePrivateResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomMakePrivateResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomMakePrivateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomMakePrivateResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomMakePrivateResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomMakePrivateResponseApplicationJson, _$RoomMakePrivateResponseApplicationJson]; + @override + final String wireName = 'RoomMakePrivateResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomMakePrivateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomMakePrivateResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs))! + as RoomMakePrivateResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetDescriptionApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetDescriptionApiVersion]; + @override + final String wireName = 'RoomSetDescriptionApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetDescriptionApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetDescriptionApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetDescriptionApiVersion.valueOf(serialized as String); +} + +class _$RoomSetDescriptionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetDescriptionResponseApplicationJson_Ocs, + _$RoomSetDescriptionResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetDescriptionResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetDescriptionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetDescriptionResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetDescriptionResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetDescriptionResponseApplicationJson, + _$RoomSetDescriptionResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetDescriptionResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetDescriptionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetDescriptionResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs))! + as RoomSetDescriptionResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetReadOnlyApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetReadOnlyApiVersion]; + @override + final String wireName = 'RoomSetReadOnlyApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetReadOnlyApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetReadOnlyApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetReadOnlyApiVersion.valueOf(serialized as String); +} + +class _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetReadOnlyResponseApplicationJson_Ocs, + _$RoomSetReadOnlyResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetReadOnlyResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetReadOnlyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetReadOnlyResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetReadOnlyResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomSetReadOnlyResponseApplicationJson, _$RoomSetReadOnlyResponseApplicationJson]; + @override + final String wireName = 'RoomSetReadOnlyResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetReadOnlyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetReadOnlyResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs))! + as RoomSetReadOnlyResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetListableApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetListableApiVersion]; + @override + final String wireName = 'RoomSetListableApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetListableApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetListableApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetListableApiVersion.valueOf(serialized as String); +} + +class _$RoomSetListableResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetListableResponseApplicationJson_Ocs, + _$RoomSetListableResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetListableResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetListableResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetListableResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetListableResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomSetListableResponseApplicationJson, _$RoomSetListableResponseApplicationJson]; + @override + final String wireName = 'RoomSetListableResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetListableResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetListableResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs))! + as RoomSetListableResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetPasswordApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetPasswordApiVersion]; + @override + final String wireName = 'RoomSetPasswordApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetPasswordApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetPasswordApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetPasswordApiVersion.valueOf(serialized as String); +} + +class _$RoomSetPasswordResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetPasswordResponseApplicationJson_Ocs, + _$RoomSetPasswordResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetPasswordResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetPasswordResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetPasswordResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetPasswordResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomSetPasswordResponseApplicationJson, _$RoomSetPasswordResponseApplicationJson]; + @override + final String wireName = 'RoomSetPasswordResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetPasswordResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs))! + as RoomSetPasswordResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetPermissionsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetPermissionsApiVersion]; + @override + final String wireName = 'RoomSetPermissionsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetPermissionsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetPermissionsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetPermissionsApiVersion.valueOf(serialized as String); +} + +class _$RoomSetPermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetPermissionsResponseApplicationJson_Ocs, + _$RoomSetPermissionsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetPermissionsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetPermissionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetPermissionsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetPermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetPermissionsResponseApplicationJson, + _$RoomSetPermissionsResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetPermissionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPermissionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetPermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetPermissionsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetPermissionsResponseApplicationJson_Ocs))! + as RoomSetPermissionsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetParticipantsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetParticipantsApiVersion]; + @override + final String wireName = 'RoomGetParticipantsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetParticipantsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetParticipantsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetParticipantsApiVersion.valueOf(serialized as String); +} + +class _$ParticipantSerializer implements StructuredSerializer { + @override + final Iterable types = const [Participant, _$Participant]; + @override + final String wireName = 'Participant'; + + @override + Iterable serialize(Serializers serializers, Participant object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(String)), + 'attendeeId', + serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), + 'attendeePermissions', + serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), + 'attendeePin', + serializers.serialize(object.attendeePin, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'inCall', + serializers.serialize(object.inCall, specifiedType: const FullType(int)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'participantType', + serializers.serialize(object.participantType, specifiedType: const FullType(int)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'roomToken', + serializers.serialize(object.roomToken, specifiedType: const FullType(String)), + 'sessionIds', + serializers.serialize(object.sessionIds, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + Object? value; + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusClearAt; + if (value != null) { + result + ..add('statusClearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.statusIcon; + if (value != null) { + result + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusMessage; + if (value != null) { + result + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + Participant deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ParticipantBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'attendeeId': + result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePermissions': + result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePin': + result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'inCall': + result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'participantType': + result.participantType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'roomToken': + result.roomToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sessionIds': + result.sessionIds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$RoomGetParticipantsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetParticipantsResponseApplicationJson_Ocs, + _$RoomGetParticipantsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetParticipantsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), + ]; + + return result; + } + + @override + RoomGetParticipantsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetParticipantsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetParticipantsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetParticipantsResponseApplicationJson, + _$RoomGetParticipantsResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetParticipantsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetParticipantsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetParticipantsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetParticipantsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetParticipantsResponseApplicationJson_Ocs))! + as RoomGetParticipantsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomAddParticipantToRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomAddParticipantToRoomApiVersion]; + @override + final String wireName = 'RoomAddParticipantToRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomAddParticipantToRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomAddParticipantToRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomAddParticipantToRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0, + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 + ]; + @override + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0'; + + @override + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'type', + serializers.serialize(object.type, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson_Ocs, + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data))! + as RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson, + _$RoomAddParticipantToRoomResponseApplicationJson + ]; + @override + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomAddParticipantToRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomAddParticipantToRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs))! + as RoomAddParticipantToRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetBreakoutRoomParticipantsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomGetBreakoutRoomParticipantsApiVersion]; + @override + final String wireName = 'RoomGetBreakoutRoomParticipantsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomGetBreakoutRoomParticipantsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomGetBreakoutRoomParticipantsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomGetBreakoutRoomParticipantsApiVersion.valueOf(serialized as String); +} + +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs, + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), + ]; + + return result; + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetBreakoutRoomParticipantsResponseApplicationJson, + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs))! + as RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveSelfFromRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomRemoveSelfFromRoomApiVersion]; + @override + final String wireName = 'RoomRemoveSelfFromRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomRemoveSelfFromRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomRemoveSelfFromRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomRemoveSelfFromRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs, + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveSelfFromRoomResponseApplicationJson, + _$RoomRemoveSelfFromRoomResponseApplicationJson + ]; + @override + final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveSelfFromRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs))! + as RoomRemoveSelfFromRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveAttendeeFromRoomApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomRemoveAttendeeFromRoomApiVersion]; + @override + final String wireName = 'RoomRemoveAttendeeFromRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomRemoveAttendeeFromRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomRemoveAttendeeFromRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomRemoveAttendeeFromRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs, + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveAttendeeFromRoomResponseApplicationJson, + _$RoomRemoveAttendeeFromRoomResponseApplicationJson + ]; + @override + final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs))! + as RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetAttendeePermissionsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetAttendeePermissionsApiVersion]; + @override + final String wireName = 'RoomSetAttendeePermissionsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetAttendeePermissionsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetAttendeePermissionsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetAttendeePermissionsApiVersion.valueOf(serialized as String); +} + +class _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetAttendeePermissionsResponseApplicationJson_Ocs, + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetAttendeePermissionsResponseApplicationJson, + _$RoomSetAttendeePermissionsResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetAttendeePermissionsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs))! + as RoomSetAttendeePermissionsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetAllAttendeesPermissionsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetAllAttendeesPermissionsApiVersion]; + @override + final String wireName = 'RoomSetAllAttendeesPermissionsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetAllAttendeesPermissionsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetAllAttendeesPermissionsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetAllAttendeesPermissionsApiVersion.valueOf(serialized as String); +} + +class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs, + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetAllAttendeesPermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetAllAttendeesPermissionsResponseApplicationJson, + _$RoomSetAllAttendeesPermissionsResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs))! + as RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomJoinRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomJoinRoomApiVersion]; + @override + final String wireName = 'RoomJoinRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomJoinRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomJoinRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomJoinRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomJoinRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomJoinRoomResponseApplicationJson_Ocs, + _$RoomJoinRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomJoinRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomJoinRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomJoinRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomJoinRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomJoinRoomResponseApplicationJson, _$RoomJoinRoomResponseApplicationJson]; + @override + final String wireName = 'RoomJoinRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomJoinRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomJoinRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomJoinRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomJoinRoomResponseApplicationJson_Ocs))! + as RoomJoinRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomLeaveRoomApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomLeaveRoomApiVersion]; + @override + final String wireName = 'RoomLeaveRoomApiVersion'; + + @override + Object serialize(Serializers serializers, RoomLeaveRoomApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomLeaveRoomApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomLeaveRoomApiVersion.valueOf(serialized as String); +} + +class _$RoomLeaveRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomLeaveRoomResponseApplicationJson_Ocs, + _$RoomLeaveRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomLeaveRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomLeaveRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomLeaveRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomLeaveRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomLeaveRoomResponseApplicationJson, _$RoomLeaveRoomResponseApplicationJson]; + @override + final String wireName = 'RoomLeaveRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomLeaveRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomLeaveRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomLeaveRoomResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomLeaveRoomResponseApplicationJson_Ocs))! + as RoomLeaveRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomResendInvitationsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomResendInvitationsApiVersion]; + @override + final String wireName = 'RoomResendInvitationsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomResendInvitationsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomResendInvitationsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomResendInvitationsApiVersion.valueOf(serialized as String); +} + +class _$RoomResendInvitationsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomResendInvitationsResponseApplicationJson_Ocs, + _$RoomResendInvitationsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomResendInvitationsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomResendInvitationsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomResendInvitationsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomResendInvitationsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomResendInvitationsResponseApplicationJson, + _$RoomResendInvitationsResponseApplicationJson + ]; + @override + final String wireName = 'RoomResendInvitationsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomResendInvitationsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomResendInvitationsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomResendInvitationsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomResendInvitationsResponseApplicationJson_Ocs))! + as RoomResendInvitationsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetSessionStateApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetSessionStateApiVersion]; + @override + final String wireName = 'RoomSetSessionStateApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetSessionStateApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetSessionStateApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetSessionStateApiVersion.valueOf(serialized as String); +} + +class _$RoomSetSessionStateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetSessionStateResponseApplicationJson_Ocs, + _$RoomSetSessionStateResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetSessionStateResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetSessionStateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetSessionStateResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetSessionStateResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetSessionStateResponseApplicationJson, + _$RoomSetSessionStateResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetSessionStateResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetSessionStateResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetSessionStateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetSessionStateResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetSessionStateResponseApplicationJson_Ocs))! + as RoomSetSessionStateResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomPromoteModeratorApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomPromoteModeratorApiVersion]; + @override + final String wireName = 'RoomPromoteModeratorApiVersion'; + + @override + Object serialize(Serializers serializers, RoomPromoteModeratorApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomPromoteModeratorApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomPromoteModeratorApiVersion.valueOf(serialized as String); +} + +class _$RoomPromoteModeratorResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomPromoteModeratorResponseApplicationJson_Ocs, + _$RoomPromoteModeratorResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomPromoteModeratorResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomPromoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomPromoteModeratorResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomPromoteModeratorResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomPromoteModeratorResponseApplicationJson, + _$RoomPromoteModeratorResponseApplicationJson + ]; + @override + final String wireName = 'RoomPromoteModeratorResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomPromoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomPromoteModeratorResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs))! + as RoomPromoteModeratorResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomDemoteModeratorApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomDemoteModeratorApiVersion]; + @override + final String wireName = 'RoomDemoteModeratorApiVersion'; + + @override + Object serialize(Serializers serializers, RoomDemoteModeratorApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomDemoteModeratorApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomDemoteModeratorApiVersion.valueOf(serialized as String); +} + +class _$RoomDemoteModeratorResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomDemoteModeratorResponseApplicationJson_Ocs, + _$RoomDemoteModeratorResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomDemoteModeratorResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomDemoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomDemoteModeratorResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomDemoteModeratorResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomDemoteModeratorResponseApplicationJson, + _$RoomDemoteModeratorResponseApplicationJson + ]; + @override + final String wireName = 'RoomDemoteModeratorResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomDemoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomDemoteModeratorResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs))! + as RoomDemoteModeratorResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomAddToFavoritesApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomAddToFavoritesApiVersion]; + @override + final String wireName = 'RoomAddToFavoritesApiVersion'; + + @override + Object serialize(Serializers serializers, RoomAddToFavoritesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomAddToFavoritesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomAddToFavoritesApiVersion.valueOf(serialized as String); +} + +class _$RoomAddToFavoritesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomAddToFavoritesResponseApplicationJson_Ocs, + _$RoomAddToFavoritesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomAddToFavoritesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomAddToFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomAddToFavoritesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomAddToFavoritesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomAddToFavoritesResponseApplicationJson, + _$RoomAddToFavoritesResponseApplicationJson + ]; + @override + final String wireName = 'RoomAddToFavoritesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomAddToFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomAddToFavoritesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs))! + as RoomAddToFavoritesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveFromFavoritesApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomRemoveFromFavoritesApiVersion]; + @override + final String wireName = 'RoomRemoveFromFavoritesApiVersion'; + + @override + Object serialize(Serializers serializers, RoomRemoveFromFavoritesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomRemoveFromFavoritesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomRemoveFromFavoritesApiVersion.valueOf(serialized as String); +} + +class _$RoomRemoveFromFavoritesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveFromFavoritesResponseApplicationJson_Ocs, + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomRemoveFromFavoritesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomRemoveFromFavoritesResponseApplicationJson, + _$RoomRemoveFromFavoritesResponseApplicationJson + ]; + @override + final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRemoveFromFavoritesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs))! + as RoomRemoveFromFavoritesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetNotificationLevelApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetNotificationLevelApiVersion]; + @override + final String wireName = 'RoomSetNotificationLevelApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetNotificationLevelApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetNotificationLevelApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetNotificationLevelApiVersion.valueOf(serialized as String); +} + +class _$RoomSetNotificationLevelResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetNotificationLevelResponseApplicationJson_Ocs, + _$RoomSetNotificationLevelResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetNotificationLevelResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetNotificationLevelResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetNotificationLevelResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetNotificationLevelResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetNotificationLevelResponseApplicationJson, + _$RoomSetNotificationLevelResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetNotificationLevelResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetNotificationLevelResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetNotificationLevelResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs))! + as RoomSetNotificationLevelResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetNotificationCallsApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetNotificationCallsApiVersion]; + @override + final String wireName = 'RoomSetNotificationCallsApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetNotificationCallsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetNotificationCallsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetNotificationCallsApiVersion.valueOf(serialized as String); +} + +class _$RoomSetNotificationCallsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetNotificationCallsResponseApplicationJson_Ocs, + _$RoomSetNotificationCallsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetNotificationCallsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetNotificationCallsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetNotificationCallsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetNotificationCallsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetNotificationCallsResponseApplicationJson, + _$RoomSetNotificationCallsResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetNotificationCallsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetNotificationCallsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetNotificationCallsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs))! + as RoomSetNotificationCallsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetLobbyApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetLobbyApiVersion]; + @override + final String wireName = 'RoomSetLobbyApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetLobbyApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetLobbyApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetLobbyApiVersion.valueOf(serialized as String); +} + +class _$RoomSetLobbyResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetLobbyResponseApplicationJson_Ocs, + _$RoomSetLobbyResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetLobbyResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetLobbyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetLobbyResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetLobbyResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [RoomSetLobbyResponseApplicationJson, _$RoomSetLobbyResponseApplicationJson]; + @override + final String wireName = 'RoomSetLobbyResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetLobbyResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetLobbyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetLobbyResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetLobbyResponseApplicationJson_Ocs))! + as RoomSetLobbyResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetsipEnabledApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetsipEnabledApiVersion]; + @override + final String wireName = 'RoomSetsipEnabledApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetsipEnabledApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetsipEnabledApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetsipEnabledApiVersion.valueOf(serialized as String); +} + +class _$RoomSetsipEnabledResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetsipEnabledResponseApplicationJson_Ocs, + _$RoomSetsipEnabledResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetsipEnabledResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetsipEnabledResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetsipEnabledResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetsipEnabledResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetsipEnabledResponseApplicationJson, + _$RoomSetsipEnabledResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetsipEnabledResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetsipEnabledResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetsipEnabledResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs))! + as RoomSetsipEnabledResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetRecordingConsentApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetRecordingConsentApiVersion]; + @override + final String wireName = 'RoomSetRecordingConsentApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetRecordingConsentApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetRecordingConsentApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetRecordingConsentApiVersion.valueOf(serialized as String); +} + +class _$RoomSetRecordingConsentResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetRecordingConsentResponseApplicationJson_Ocs, + _$RoomSetRecordingConsentResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetRecordingConsentResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + RoomSetRecordingConsentResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetRecordingConsentResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetRecordingConsentResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetRecordingConsentResponseApplicationJson, + _$RoomSetRecordingConsentResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetRecordingConsentResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetRecordingConsentResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetRecordingConsentResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetRecordingConsentResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetRecordingConsentResponseApplicationJson_Ocs))! + as RoomSetRecordingConsentResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomSetMessageExpirationApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [RoomSetMessageExpirationApiVersion]; + @override + final String wireName = 'RoomSetMessageExpirationApiVersion'; + + @override + Object serialize(Serializers serializers, RoomSetMessageExpirationApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + RoomSetMessageExpirationApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + RoomSetMessageExpirationApiVersion.valueOf(serialized as String); +} + +class _$RoomSetMessageExpirationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetMessageExpirationResponseApplicationJson_Ocs, + _$RoomSetMessageExpirationResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'RoomSetMessageExpirationResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + RoomSetMessageExpirationResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetMessageExpirationResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$RoomSetMessageExpirationResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomSetMessageExpirationResponseApplicationJson, + _$RoomSetMessageExpirationResponseApplicationJson + ]; + @override + final String wireName = 'RoomSetMessageExpirationResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomSetMessageExpirationResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomSetMessageExpirationResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs))! + as RoomSetMessageExpirationResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SettingsSetsipSettingsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SettingsSetsipSettingsApiVersion]; + @override + final String wireName = 'SettingsSetsipSettingsApiVersion'; + + @override + Object serialize(Serializers serializers, SettingsSetsipSettingsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SettingsSetsipSettingsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SettingsSetsipSettingsApiVersion.valueOf(serialized as String); +} + +class _$SettingsSetsipSettingsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SettingsSetsipSettingsResponseApplicationJson_Ocs, + _$SettingsSetsipSettingsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SettingsSetsipSettingsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + SettingsSetsipSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SettingsSetsipSettingsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$SettingsSetsipSettingsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SettingsSetsipSettingsResponseApplicationJson, + _$SettingsSetsipSettingsResponseApplicationJson + ]; + @override + final String wireName = 'SettingsSetsipSettingsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SettingsSetsipSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SettingsSetsipSettingsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs))! + as SettingsSetsipSettingsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SettingsSetUserSettingApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SettingsSetUserSettingApiVersion]; + @override + final String wireName = 'SettingsSetUserSettingApiVersion'; + + @override + Object serialize(Serializers serializers, SettingsSetUserSettingApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SettingsSetUserSettingApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SettingsSetUserSettingApiVersion.valueOf(serialized as String); +} + +class _$SettingsSetUserSettingResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SettingsSetUserSettingResponseApplicationJson_Ocs, + _$SettingsSetUserSettingResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SettingsSetUserSettingResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + SettingsSetUserSettingResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SettingsSetUserSettingResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$SettingsSetUserSettingResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SettingsSetUserSettingResponseApplicationJson, + _$SettingsSetUserSettingResponseApplicationJson + ]; + @override + final String wireName = 'SettingsSetUserSettingResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SettingsSetUserSettingResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SettingsSetUserSettingResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs))! + as SettingsSetUserSettingResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SignalingGetSettingsApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SignalingGetSettingsApiVersion]; + @override + final String wireName = 'SignalingGetSettingsApiVersion'; + + @override + Object serialize(Serializers serializers, SignalingGetSettingsApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SignalingGetSettingsApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SignalingGetSettingsApiVersion.valueOf(serialized as String); +} + +class _$SignalingSettings_HelloAuthParams_$10Serializer + implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings_HelloAuthParams_$10, _$SignalingSettings_HelloAuthParams_$10]; + @override + final String wireName = 'SignalingSettings_HelloAuthParams_\$10'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_$10 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ticket', + serializers.serialize(object.ticket, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.userid; + if (value != null) { + result + ..add('userid') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + SignalingSettings_HelloAuthParams_$10 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettings_HelloAuthParams_$10Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'userid': + result.userid = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'ticket': + result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$SignalingSettings_HelloAuthParams_$20Serializer + implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings_HelloAuthParams_$20, _$SignalingSettings_HelloAuthParams_$20]; + @override + final String wireName = 'SignalingSettings_HelloAuthParams_\$20'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_$20 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + SignalingSettings_HelloAuthParams_$20 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettings_HelloAuthParams_$20Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$SignalingSettings_HelloAuthParamsSerializer implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings_HelloAuthParams, _$SignalingSettings_HelloAuthParams]; + @override + final String wireName = 'SignalingSettings_HelloAuthParams'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '1.0', + serializers.serialize(object.$10, specifiedType: const FullType(SignalingSettings_HelloAuthParams_$10)), + '2.0', + serializers.serialize(object.$20, specifiedType: const FullType(SignalingSettings_HelloAuthParams_$20)), + ]; + + return result; + } + + @override + SignalingSettings_HelloAuthParams deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettings_HelloAuthParamsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case '1.0': + result.$10.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_$10))! + as SignalingSettings_HelloAuthParams_$10); + break; + case '2.0': + result.$20.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_$20))! + as SignalingSettings_HelloAuthParams_$20); + break; + } + } + + return result.build(); + } +} + +class _$SignalingSettings_StunserversSerializer implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings_Stunservers, _$SignalingSettings_Stunservers]; + @override + final String wireName = 'SignalingSettings_Stunservers'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings_Stunservers object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'urls', + serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + SignalingSettings_Stunservers deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettings_StunserversBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'urls': + result.urls.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$SignalingSettings_TurnserversSerializer implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings_Turnservers, _$SignalingSettings_Turnservers]; + @override + final String wireName = 'SignalingSettings_Turnservers'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings_Turnservers object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'urls', + serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'username', + serializers.serialize(object.username, specifiedType: const FullType(String)), + 'credential', + serializers.serialize(object.credential, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + SignalingSettings_Turnservers deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettings_TurnserversBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'urls': + result.urls.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'username': + result.username = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'credential': + result.credential = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$SignalingSettingsSerializer implements StructuredSerializer { + @override + final Iterable types = const [SignalingSettings, _$SignalingSettings]; + @override + final String wireName = 'SignalingSettings'; + + @override + Iterable serialize(Serializers serializers, SignalingSettings object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'helloAuthParams', + serializers.serialize(object.helloAuthParams, specifiedType: const FullType(SignalingSettings_HelloAuthParams)), + 'hideWarning', + serializers.serialize(object.hideWarning, specifiedType: const FullType(bool)), + 'server', + serializers.serialize(object.server, specifiedType: const FullType(String)), + 'signalingMode', + serializers.serialize(object.signalingMode, specifiedType: const FullType(String)), + 'sipDialinInfo', + serializers.serialize(object.sipDialinInfo, specifiedType: const FullType(String)), + 'stunservers', + serializers.serialize(object.stunservers, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)])), + 'ticket', + serializers.serialize(object.ticket, specifiedType: const FullType(String)), + 'turnservers', + serializers.serialize(object.turnservers, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)])), + ]; + Object? value; + value = object.userId; + if (value != null) { + result + ..add('userId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + SignalingSettings deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSettingsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'helloAuthParams': + result.helloAuthParams.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingSettings_HelloAuthParams))! as SignalingSettings_HelloAuthParams); + break; + case 'hideWarning': + result.hideWarning = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'signalingMode': + result.signalingMode = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sipDialinInfo': + result.sipDialinInfo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'stunservers': + result.stunservers.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)]))! + as BuiltList); + break; + case 'ticket': + result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'turnservers': + result.turnservers.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)]))! + as BuiltList); + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$SignalingGetSettingsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingGetSettingsResponseApplicationJson_Ocs, + _$SignalingGetSettingsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SignalingGetSettingsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(SignalingSettings)), + ]; + + return result; + } + + @override + SignalingGetSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingGetSettingsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings))! as SignalingSettings); + break; + } + } + + return result.build(); + } +} + +class _$SignalingGetSettingsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingGetSettingsResponseApplicationJson, + _$SignalingGetSettingsResponseApplicationJson + ]; + @override + final String wireName = 'SignalingGetSettingsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(SignalingGetSettingsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SignalingGetSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingGetSettingsResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingGetSettingsResponseApplicationJson_Ocs))! + as SignalingGetSettingsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SignalingGetWelcomeMessageApiVersionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [SignalingGetWelcomeMessageApiVersion]; + @override + final String wireName = 'SignalingGetWelcomeMessageApiVersion'; + + @override + Object serialize(Serializers serializers, SignalingGetWelcomeMessageApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SignalingGetWelcomeMessageApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SignalingGetWelcomeMessageApiVersion.valueOf(serialized as String); +} + +class _$SignalingGetWelcomeMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingGetWelcomeMessageResponseApplicationJson_Ocs, + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + ]; + + return result; + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + break; + } + } + + return result.build(); + } +} + +class _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingGetWelcomeMessageResponseApplicationJson, + _$SignalingGetWelcomeMessageResponseApplicationJson + ]; + @override + final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingGetWelcomeMessageResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs))! + as SignalingGetWelcomeMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SignalingPullMessagesApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SignalingPullMessagesApiVersion]; + @override + final String wireName = 'SignalingPullMessagesApiVersion'; + + @override + Object serialize(Serializers serializers, SignalingPullMessagesApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SignalingPullMessagesApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SignalingPullMessagesApiVersion.valueOf(serialized as String); +} + +class _$SignalingSessionSerializer implements StructuredSerializer { + @override + final Iterable types = const [SignalingSession, _$SignalingSession]; + @override + final String wireName = 'SignalingSession'; + + @override + Iterable serialize(Serializers serializers, SignalingSession object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'inCall', + serializers.serialize(object.inCall, specifiedType: const FullType(int)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'participantPermissions', + serializers.serialize(object.participantPermissions, specifiedType: const FullType(int)), + 'roomId', + serializers.serialize(object.roomId, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + SignalingSession deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSessionBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'inCall': + result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'participantPermissions': + result.participantPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'roomId': + result.roomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$SignalingPullMessagesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingPullMessagesResponseApplicationJson_Ocs_Data, + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(SignalingSession)])), + ]; + + return result; + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(SignalingSession)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$SignalingPullMessagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingPullMessagesResponseApplicationJson_Ocs, + _$SignalingPullMessagesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)])), + ]; + + return result; + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingPullMessagesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)]))! + as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$SignalingPullMessagesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingPullMessagesResponseApplicationJson, + _$SignalingPullMessagesResponseApplicationJson + ]; + @override + final String wireName = 'SignalingPullMessagesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SignalingPullMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingPullMessagesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs))! + as SignalingPullMessagesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$SignalingSignalingApiVersionSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [SignalingSignalingApiVersion]; + @override + final String wireName = 'SignalingSignalingApiVersion'; + + @override + Object serialize(Serializers serializers, SignalingSignalingApiVersion object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + SignalingSignalingApiVersion deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + SignalingSignalingApiVersion.valueOf(serialized as String); +} + +class _$SignalingSignalingResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingSignalingResponseApplicationJson_Ocs, + _$SignalingSignalingResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'SignalingSignalingResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, SignalingSignalingResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + SignalingSignalingResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSignalingResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$SignalingSignalingResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SignalingSignalingResponseApplicationJson, + _$SignalingSignalingResponseApplicationJson + ]; + @override + final String wireName = 'SignalingSignalingResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, SignalingSignalingResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(SignalingSignalingResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + SignalingSignalingResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = SignalingSignalingResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingSignalingResponseApplicationJson_Ocs))! + as SignalingSignalingResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$TempAvatarPostAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TempAvatarPostAvatarResponseApplicationJson_Ocs, + _$TempAvatarPostAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'TempAvatarPostAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + TempAvatarPostAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TempAvatarPostAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$TempAvatarPostAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TempAvatarPostAvatarResponseApplicationJson, + _$TempAvatarPostAvatarResponseApplicationJson + ]; + @override + final String wireName = 'TempAvatarPostAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + TempAvatarPostAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TempAvatarPostAvatarResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs))! + as TempAvatarPostAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$TempAvatarDeleteAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TempAvatarDeleteAvatarResponseApplicationJson_Ocs, + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$TempAvatarDeleteAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + TempAvatarDeleteAvatarResponseApplicationJson, + _$TempAvatarDeleteAvatarResponseApplicationJson + ]; + @override + final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = TempAvatarDeleteAvatarResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs))! + as TempAvatarDeleteAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotWithDetailsAndSecretSerializer implements StructuredSerializer { + @override + final Iterable types = const [BotWithDetailsAndSecret, _$BotWithDetailsAndSecret]; + @override + final String wireName = 'BotWithDetailsAndSecret'; + + @override + Iterable serialize(Serializers serializers, BotWithDetailsAndSecret object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), + 'error_count', + serializers.serialize(object.errorCount, specifiedType: const FullType(int)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(int)), + 'last_error_date', + serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), + 'last_error_message', + serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'url_hash', + serializers.serialize(object.urlHash, specifiedType: const FullType(String)), + 'secret', + serializers.serialize(object.secret, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + BotWithDetailsAndSecret deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotWithDetailsAndSecretBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'error_count': + result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'features': + result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_date': + result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_message': + result.lastErrorMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url': + result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url_hash': + result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'secret': + result.secret = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_AttachmentsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicCapabilities_Spreed_Config_Attachments, + _$PublicCapabilities_Spreed_Config_Attachments + ]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Attachments'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Attachments object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'allowed', + serializers.serialize(object.allowed, specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.folder; + if (value != null) { + result + ..add('folder') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + PublicCapabilities_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_AttachmentsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'allowed': + result.allowed = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'folder': + result.folder = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_CallSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities_Spreed_Config_Call, _$PublicCapabilities_Spreed_Config_Call]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Call'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Call object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'breakout-rooms', + serializers.serialize(object.breakoutRooms, specifiedType: const FullType(bool)), + 'recording', + serializers.serialize(object.recording, specifiedType: const FullType(bool)), + 'recording-consent', + serializers.serialize(object.recordingConsent, specifiedType: const FullType(int)), + 'supported-reactions', + serializers.serialize(object.supportedReactions, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'predefined-backgrounds', + serializers.serialize(object.predefinedBackgrounds, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'can-upload-background', + serializers.serialize(object.canUploadBackground, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_CallBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'breakout-rooms': + result.breakoutRooms = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'recording': + result.recording = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'recording-consent': + result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'supported-reactions': + result.supportedReactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'predefined-backgrounds': + result.predefinedBackgrounds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'can-upload-background': + result.canUploadBackground = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_ChatSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities_Spreed_Config_Chat, _$PublicCapabilities_Spreed_Config_Chat]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Chat'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Chat object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'max-length', + serializers.serialize(object.maxLength, specifiedType: const FullType(int)), + 'read-privacy', + serializers.serialize(object.readPrivacy, specifiedType: const FullType(int)), + 'has-translation-providers', + serializers.serialize(object.hasTranslationProviders, specifiedType: const FullType(bool)), + 'typing-privacy', + serializers.serialize(object.typingPrivacy, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_ChatBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'max-length': + result.maxLength = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'read-privacy': + result.readPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'has-translation-providers': + result.hasTranslationProviders = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'typing-privacy': + result.typingPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_ConversationsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicCapabilities_Spreed_Config_Conversations, + _$PublicCapabilities_Spreed_Config_Conversations + ]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Conversations'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Conversations object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'can-create', + serializers.serialize(object.canCreate, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed_Config_Conversations deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_ConversationsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'can-create': + result.canCreate = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_PreviewsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicCapabilities_Spreed_Config_Previews, + _$PublicCapabilities_Spreed_Config_Previews + ]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Previews'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Previews object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'max-gif-size', + serializers.serialize(object.maxGifSize, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_PreviewsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'max-gif-size': + result.maxGifSize = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_Config_SignalingSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + PublicCapabilities_Spreed_Config_Signaling, + _$PublicCapabilities_Spreed_Config_Signaling + ]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config_Signaling'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config_Signaling object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'session-ping-limit', + serializers.serialize(object.sessionPingLimit, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.helloV2TokenKey; + if (value != null) { + result + ..add('hello-v2-token-key') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + PublicCapabilities_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_Config_SignalingBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'session-ping-limit': + result.sessionPingLimit = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'hello-v2-token-key': + result.helloV2TokenKey = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_Spreed_ConfigSerializer implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities_Spreed_Config, _$PublicCapabilities_Spreed_Config]; + @override + final String wireName = 'PublicCapabilities_Spreed_Config'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_Spreed_Config object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'attachments', + serializers.serialize(object.attachments, + specifiedType: const FullType(PublicCapabilities_Spreed_Config_Attachments)), + 'call', + serializers.serialize(object.call, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Call)), + 'chat', + serializers.serialize(object.chat, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Chat)), + 'conversations', + serializers.serialize(object.conversations, + specifiedType: const FullType(PublicCapabilities_Spreed_Config_Conversations)), + 'previews', + serializers.serialize(object.previews, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Previews)), + 'signaling', + serializers.serialize(object.signaling, + specifiedType: const FullType(PublicCapabilities_Spreed_Config_Signaling)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed_Config deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_Spreed_ConfigBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'attachments': + result.attachments.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities_Spreed_Config_Attachments))! + as PublicCapabilities_Spreed_Config_Attachments); + break; + case 'call': + result.call.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Call))! + as PublicCapabilities_Spreed_Config_Call); + break; + case 'chat': + result.chat.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Chat))! + as PublicCapabilities_Spreed_Config_Chat); + break; + case 'conversations': + result.conversations.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities_Spreed_Config_Conversations))! + as PublicCapabilities_Spreed_Config_Conversations); + break; + case 'previews': + result.previews.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Previews))! + as PublicCapabilities_Spreed_Config_Previews); + break; + case 'signaling': + result.signaling.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities_Spreed_Config_Signaling))! + as PublicCapabilities_Spreed_Config_Signaling); + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities_SpreedSerializer implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities_Spreed, _$PublicCapabilities_Spreed]; + @override + final String wireName = 'PublicCapabilities_Spreed'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities_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)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + PublicCapabilities_Spreed deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities_SpreedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'features': + result.features.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'config': + result.config.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities_Spreed_Config))! as PublicCapabilities_Spreed_Config); + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities, _$PublicCapabilities]; + @override + final String wireName = 'PublicCapabilities'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'spreed', + serializers.serialize(object.spreed, specifiedType: const FullType(PublicCapabilities_Spreed)), + ]; + + return result; + } + + @override + PublicCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'spreed': + result.spreed.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities_Spreed))! as PublicCapabilities_Spreed); + break; + } + } + + return result.build(); + } +} + +abstract mixin class OCSMetaInterfaceBuilder { + void replace(OCSMetaInterface other); + void update(void Function(OCSMetaInterfaceBuilder) updates); + String? get status; + set status(String? status); + + int? get statuscode; + set statuscode(int? statuscode); + + String? get message; + set message(String? message); + + String? get totalitems; + set totalitems(String? totalitems); + + String? get itemsperpage; + set itemsperpage(String? itemsperpage); +} + +class _$OCSMeta extends OCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + + _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + } + + @override + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is OCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'OCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { + _$OCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + OCSMetaBuilder(); + + OCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(covariant OCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$OCSMeta; + } + + @override + void update(void Function(OCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + OCSMeta build() => _build(); + + _$OCSMeta _build() { + final _$result = _$v ?? + _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMessageInterfaceBuilder { + void replace(ChatMessageInterface other); + void update(void Function(ChatMessageInterfaceBuilder) updates); + String? get actorDisplayName; + set actorDisplayName(String? actorDisplayName); + + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + bool? get deleted; + set deleted(bool? deleted); + + int? get expirationTimestamp; + set expirationTimestamp(int? expirationTimestamp); + + int? get id; + set id(int? id); + + bool? get isReplyable; + set isReplyable(bool? isReplyable); + + bool? get markdown; + set markdown(bool? markdown); + + String? get message; + set message(String? message); + + MapBuilder> get messageParameters; + set messageParameters(MapBuilder>? messageParameters); + + String? get messageType; + set messageType(String? messageType); + + MapBuilder get reactions; + set reactions(MapBuilder? reactions); + + String? get referenceId; + set referenceId(String? referenceId); + + String? get systemMessage; + set systemMessage(String? systemMessage); + + int? get timestamp; + set timestamp(int? timestamp); + + String? get token; + set token(String? token); +} + +class _$ChatMessage extends ChatMessage { + @override + final String actorDisplayName; + @override + final String actorId; + @override + final String actorType; + @override + final bool? deleted; + @override + final int expirationTimestamp; + @override + final int id; + @override + final bool isReplyable; + @override + final bool markdown; + @override + final String message; + @override + final BuiltMap> messageParameters; + @override + final String messageType; + @override + final BuiltMap reactions; + @override + final String referenceId; + @override + final String systemMessage; + @override + final int timestamp; + @override + final String token; + + factory _$ChatMessage([void Function(ChatMessageBuilder)? updates]) => + (ChatMessageBuilder()..update(updates))._build(); + + _$ChatMessage._( + {required this.actorDisplayName, + required this.actorId, + required this.actorType, + this.deleted, + required this.expirationTimestamp, + required this.id, + required this.isReplyable, + required this.markdown, + required this.message, + required this.messageParameters, + required this.messageType, + required this.reactions, + required this.referenceId, + required this.systemMessage, + required this.timestamp, + required this.token}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'ChatMessage', 'actorDisplayName'); + BuiltValueNullFieldError.checkNotNull(actorId, r'ChatMessage', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'ChatMessage', 'actorType'); + BuiltValueNullFieldError.checkNotNull(expirationTimestamp, r'ChatMessage', 'expirationTimestamp'); + BuiltValueNullFieldError.checkNotNull(id, r'ChatMessage', 'id'); + BuiltValueNullFieldError.checkNotNull(isReplyable, r'ChatMessage', 'isReplyable'); + BuiltValueNullFieldError.checkNotNull(markdown, r'ChatMessage', 'markdown'); + BuiltValueNullFieldError.checkNotNull(message, r'ChatMessage', 'message'); + BuiltValueNullFieldError.checkNotNull(messageParameters, r'ChatMessage', 'messageParameters'); + BuiltValueNullFieldError.checkNotNull(messageType, r'ChatMessage', 'messageType'); + BuiltValueNullFieldError.checkNotNull(reactions, r'ChatMessage', 'reactions'); + BuiltValueNullFieldError.checkNotNull(referenceId, r'ChatMessage', 'referenceId'); + BuiltValueNullFieldError.checkNotNull(systemMessage, r'ChatMessage', 'systemMessage'); + BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatMessage', 'timestamp'); + BuiltValueNullFieldError.checkNotNull(token, r'ChatMessage', 'token'); + } + + @override + ChatMessage rebuild(void Function(ChatMessageBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ChatMessageBuilder toBuilder() => ChatMessageBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMessage && + actorDisplayName == other.actorDisplayName && + actorId == other.actorId && + actorType == other.actorType && + deleted == other.deleted && + expirationTimestamp == other.expirationTimestamp && + id == other.id && + isReplyable == other.isReplyable && + markdown == other.markdown && + message == other.message && + messageParameters == other.messageParameters && + messageType == other.messageType && + reactions == other.reactions && + referenceId == other.referenceId && + systemMessage == other.systemMessage && + timestamp == other.timestamp && + token == other.token; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorDisplayName.hashCode); + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, deleted.hashCode); + _$hash = $jc(_$hash, expirationTimestamp.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isReplyable.hashCode); + _$hash = $jc(_$hash, markdown.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, messageParameters.hashCode); + _$hash = $jc(_$hash, messageType.hashCode); + _$hash = $jc(_$hash, reactions.hashCode); + _$hash = $jc(_$hash, referenceId.hashCode); + _$hash = $jc(_$hash, systemMessage.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMessage') + ..add('actorDisplayName', actorDisplayName) + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('deleted', deleted) + ..add('expirationTimestamp', expirationTimestamp) + ..add('id', id) + ..add('isReplyable', isReplyable) + ..add('markdown', markdown) + ..add('message', message) + ..add('messageParameters', messageParameters) + ..add('messageType', messageType) + ..add('reactions', reactions) + ..add('referenceId', referenceId) + ..add('systemMessage', systemMessage) + ..add('timestamp', timestamp) + ..add('token', token)) + .toString(); + } +} + +class ChatMessageBuilder implements Builder, ChatMessageInterfaceBuilder { + _$ChatMessage? _$v; + + String? _actorDisplayName; + String? get actorDisplayName => _$this._actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName) => _$this._actorDisplayName = actorDisplayName; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + bool? _deleted; + bool? get deleted => _$this._deleted; + set deleted(covariant bool? deleted) => _$this._deleted = deleted; + + int? _expirationTimestamp; + int? get expirationTimestamp => _$this._expirationTimestamp; + set expirationTimestamp(covariant int? expirationTimestamp) => _$this._expirationTimestamp = expirationTimestamp; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + bool? _isReplyable; + bool? get isReplyable => _$this._isReplyable; + set isReplyable(covariant bool? isReplyable) => _$this._isReplyable = isReplyable; + + bool? _markdown; + bool? get markdown => _$this._markdown; + set markdown(covariant bool? markdown) => _$this._markdown = markdown; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + MapBuilder>? _messageParameters; + MapBuilder> get messageParameters => + _$this._messageParameters ??= MapBuilder>(); + set messageParameters(covariant MapBuilder>? messageParameters) => + _$this._messageParameters = messageParameters; + + String? _messageType; + String? get messageType => _$this._messageType; + set messageType(covariant String? messageType) => _$this._messageType = messageType; + + MapBuilder? _reactions; + MapBuilder get reactions => _$this._reactions ??= MapBuilder(); + set reactions(covariant MapBuilder? reactions) => _$this._reactions = reactions; + + String? _referenceId; + String? get referenceId => _$this._referenceId; + set referenceId(covariant String? referenceId) => _$this._referenceId = referenceId; + + String? _systemMessage; + String? get systemMessage => _$this._systemMessage; + set systemMessage(covariant String? systemMessage) => _$this._systemMessage = systemMessage; + + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(covariant int? timestamp) => _$this._timestamp = timestamp; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + ChatMessageBuilder(); + + ChatMessageBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorDisplayName = $v.actorDisplayName; + _actorId = $v.actorId; + _actorType = $v.actorType; + _deleted = $v.deleted; + _expirationTimestamp = $v.expirationTimestamp; + _id = $v.id; + _isReplyable = $v.isReplyable; + _markdown = $v.markdown; + _message = $v.message; + _messageParameters = $v.messageParameters.toBuilder(); + _messageType = $v.messageType; + _reactions = $v.reactions.toBuilder(); + _referenceId = $v.referenceId; + _systemMessage = $v.systemMessage; + _timestamp = $v.timestamp; + _token = $v.token; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMessage other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMessage; + } + + @override + void update(void Function(ChatMessageBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMessage build() => _build(); + + _$ChatMessage _build() { + _$ChatMessage _$result; + try { + _$result = _$v ?? + _$ChatMessage._( + actorDisplayName: + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'ChatMessage', 'actorDisplayName'), + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'ChatMessage', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'ChatMessage', 'actorType'), + deleted: deleted, + expirationTimestamp: + BuiltValueNullFieldError.checkNotNull(expirationTimestamp, r'ChatMessage', 'expirationTimestamp'), + id: BuiltValueNullFieldError.checkNotNull(id, r'ChatMessage', 'id'), + isReplyable: BuiltValueNullFieldError.checkNotNull(isReplyable, r'ChatMessage', 'isReplyable'), + markdown: BuiltValueNullFieldError.checkNotNull(markdown, r'ChatMessage', 'markdown'), + message: BuiltValueNullFieldError.checkNotNull(message, r'ChatMessage', 'message'), + messageParameters: messageParameters.build(), + messageType: BuiltValueNullFieldError.checkNotNull(messageType, r'ChatMessage', 'messageType'), + reactions: reactions.build(), + referenceId: BuiltValueNullFieldError.checkNotNull(referenceId, r'ChatMessage', 'referenceId'), + systemMessage: BuiltValueNullFieldError.checkNotNull(systemMessage, r'ChatMessage', 'systemMessage'), + timestamp: BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatMessage', 'timestamp'), + token: BuiltValueNullFieldError.checkNotNull(token, r'ChatMessage', 'token')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'messageParameters'; + messageParameters.build(); + + _$failedField = 'reactions'; + reactions.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMessage', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class Room_LastMessageInterfaceBuilder { + void replace(Room_LastMessageInterface other); + void update(void Function(Room_LastMessageInterfaceBuilder) updates); + JsonObject? get data; + set data(JsonObject? data); + + ChatMessageBuilder get chatMessage; + set chatMessage(ChatMessageBuilder? chatMessage); + + JsonObject? get jsonObject; + set jsonObject(JsonObject? jsonObject); +} + +class _$Room_LastMessage extends Room_LastMessage { + @override + final JsonObject data; + @override + final ChatMessage? chatMessage; + @override + final JsonObject? jsonObject; + + factory _$Room_LastMessage([void Function(Room_LastMessageBuilder)? updates]) => + (Room_LastMessageBuilder()..update(updates))._build(); + + _$Room_LastMessage._({required this.data, this.chatMessage, this.jsonObject}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'Room_LastMessage', 'data'); + } + + @override + Room_LastMessage rebuild(void Function(Room_LastMessageBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + Room_LastMessageBuilder toBuilder() => Room_LastMessageBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Room_LastMessage && + data == other.data && + chatMessage == other.chatMessage && + jsonObject == other.jsonObject; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, chatMessage.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Room_LastMessage') + ..add('data', data) + ..add('chatMessage', chatMessage) + ..add('jsonObject', jsonObject)) + .toString(); + } +} + +class Room_LastMessageBuilder + implements Builder, Room_LastMessageInterfaceBuilder { + _$Room_LastMessage? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + ChatMessageBuilder? _chatMessage; + 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; + + Room_LastMessageBuilder(); + + Room_LastMessageBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _chatMessage = $v.chatMessage?.toBuilder(); + _jsonObject = $v.jsonObject; + _$v = null; + } + return this; + } + + @override + void replace(covariant Room_LastMessage other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Room_LastMessage; + } + + @override + void update(void Function(Room_LastMessageBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Room_LastMessage build() => _build(); + + _$Room_LastMessage _build() { + _$Room_LastMessage _$result; + try { + _$result = _$v ?? + _$Room_LastMessage._( + data: BuiltValueNullFieldError.checkNotNull(data, r'Room_LastMessage', 'data'), + chatMessage: _chatMessage?.build(), + jsonObject: jsonObject); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'chatMessage'; + _chatMessage?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Room_LastMessage', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomInterfaceBuilder { + void replace(RoomInterface other); + void update(void Function(RoomInterfaceBuilder) updates); + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + int? get attendeeId; + set attendeeId(int? attendeeId); + + int? get attendeePermissions; + set attendeePermissions(int? attendeePermissions); + + String? get attendeePin; + set attendeePin(String? attendeePin); + + String? get avatarVersion; + set avatarVersion(String? avatarVersion); + + int? get breakoutRoomMode; + set breakoutRoomMode(int? breakoutRoomMode); + + int? get breakoutRoomStatus; + set breakoutRoomStatus(int? breakoutRoomStatus); + + int? get callFlag; + set callFlag(int? callFlag); + + int? get callPermissions; + set callPermissions(int? callPermissions); + + int? get callRecording; + set callRecording(int? callRecording); + + int? get callStartTime; + set callStartTime(int? callStartTime); + + bool? get canDeleteConversation; + set canDeleteConversation(bool? canDeleteConversation); + + bool? get canEnableSIP; + set canEnableSIP(bool? canEnableSIP); + + bool? get canLeaveConversation; + set canLeaveConversation(bool? canLeaveConversation); + + bool? get canStartCall; + set canStartCall(bool? canStartCall); + + int? get defaultPermissions; + set defaultPermissions(int? defaultPermissions); + + String? get description; + set description(String? description); + + String? get displayName; + set displayName(String? displayName); + + bool? get hasCall; + set hasCall(bool? hasCall); + + bool? get hasPassword; + set hasPassword(bool? hasPassword); + + int? get id; + set id(int? id); + + bool? get isCustomAvatar; + set isCustomAvatar(bool? isCustomAvatar); + + bool? get isFavorite; + set isFavorite(bool? isFavorite); + + int? get lastActivity; + set lastActivity(int? lastActivity); + + int? get lastCommonReadMessage; + set lastCommonReadMessage(int? lastCommonReadMessage); + + Room_LastMessageBuilder get lastMessage; + set lastMessage(Room_LastMessageBuilder? lastMessage); + + int? get lastPing; + set lastPing(int? lastPing); + + int? get lastReadMessage; + set lastReadMessage(int? lastReadMessage); + + int? get listable; + set listable(int? listable); + + int? get lobbyState; + set lobbyState(int? lobbyState); + + int? get lobbyTimer; + set lobbyTimer(int? lobbyTimer); + + int? get messageExpiration; + set messageExpiration(int? messageExpiration); + + String? get name; + set name(String? name); + + int? get notificationCalls; + set notificationCalls(int? notificationCalls); + + int? get notificationLevel; + set notificationLevel(int? notificationLevel); + + String? get objectId; + set objectId(String? objectId); + + String? get objectType; + set objectType(String? objectType); + + int? get participantFlags; + set participantFlags(int? participantFlags); + + int? get participantType; + set participantType(int? participantType); + + int? get permissions; + set permissions(int? permissions); + + int? get readOnly; + set readOnly(int? readOnly); + + int? get recordingConsent; + set recordingConsent(int? recordingConsent); + + String? get sessionId; + set sessionId(String? sessionId); + + int? get sipEnabled; + set sipEnabled(int? sipEnabled); + + String? get status; + set status(String? status); + + int? get statusClearAt; + set statusClearAt(int? statusClearAt); + + String? get statusIcon; + set statusIcon(String? statusIcon); + + String? get statusMessage; + set statusMessage(String? statusMessage); + + String? get token; + set token(String? token); + + int? get type; + set type(int? type); + + bool? get unreadMention; + set unreadMention(bool? unreadMention); + + bool? get unreadMentionDirect; + set unreadMentionDirect(bool? unreadMentionDirect); + + int? get unreadMessages; + set unreadMessages(int? unreadMessages); +} + +class _$Room extends Room { + @override + final String actorId; + @override + final String actorType; + @override + final int attendeeId; + @override + final int attendeePermissions; + @override + final String? attendeePin; + @override + final String avatarVersion; + @override + final int breakoutRoomMode; + @override + final int breakoutRoomStatus; + @override + final int callFlag; + @override + final int callPermissions; + @override + final int callRecording; + @override + final int callStartTime; + @override + final bool canDeleteConversation; + @override + final bool canEnableSIP; + @override + final bool canLeaveConversation; + @override + final bool canStartCall; + @override + final int defaultPermissions; + @override + final String description; + @override + final String displayName; + @override + final bool hasCall; + @override + final bool hasPassword; + @override + final int id; + @override + final bool isCustomAvatar; + @override + final bool isFavorite; + @override + final int lastActivity; + @override + final int lastCommonReadMessage; + @override + final Room_LastMessage lastMessage; + @override + final int lastPing; + @override + final int lastReadMessage; + @override + final int listable; + @override + final int lobbyState; + @override + final int lobbyTimer; + @override + final int messageExpiration; + @override + final String name; + @override + final int notificationCalls; + @override + final int notificationLevel; + @override + final String objectId; + @override + final String objectType; + @override + final int participantFlags; + @override + final int participantType; + @override + final int permissions; + @override + final int readOnly; + @override + final int recordingConsent; + @override + final String sessionId; + @override + final int sipEnabled; + @override + final String? status; + @override + final int? statusClearAt; + @override + final String? statusIcon; + @override + final String? statusMessage; + @override + final String token; + @override + final int type; + @override + final bool unreadMention; + @override + final bool unreadMentionDirect; + @override + final int unreadMessages; + + factory _$Room([void Function(RoomBuilder)? updates]) => (RoomBuilder()..update(updates))._build(); + + _$Room._( + {required this.actorId, + required this.actorType, + required this.attendeeId, + required this.attendeePermissions, + this.attendeePin, + required this.avatarVersion, + required this.breakoutRoomMode, + required this.breakoutRoomStatus, + required this.callFlag, + required this.callPermissions, + required this.callRecording, + required this.callStartTime, + required this.canDeleteConversation, + required this.canEnableSIP, + required this.canLeaveConversation, + required this.canStartCall, + required this.defaultPermissions, + required this.description, + required this.displayName, + required this.hasCall, + required this.hasPassword, + required this.id, + required this.isCustomAvatar, + required this.isFavorite, + required this.lastActivity, + required this.lastCommonReadMessage, + required this.lastMessage, + required this.lastPing, + required this.lastReadMessage, + required this.listable, + required this.lobbyState, + required this.lobbyTimer, + required this.messageExpiration, + required this.name, + required this.notificationCalls, + required this.notificationLevel, + required this.objectId, + required this.objectType, + required this.participantFlags, + required this.participantType, + required this.permissions, + required this.readOnly, + required this.recordingConsent, + required this.sessionId, + required this.sipEnabled, + this.status, + this.statusClearAt, + this.statusIcon, + this.statusMessage, + required this.token, + required this.type, + required this.unreadMention, + required this.unreadMentionDirect, + required this.unreadMessages}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorId, r'Room', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'Room', 'actorType'); + BuiltValueNullFieldError.checkNotNull(attendeeId, r'Room', 'attendeeId'); + BuiltValueNullFieldError.checkNotNull(attendeePermissions, r'Room', 'attendeePermissions'); + BuiltValueNullFieldError.checkNotNull(avatarVersion, r'Room', 'avatarVersion'); + BuiltValueNullFieldError.checkNotNull(breakoutRoomMode, r'Room', 'breakoutRoomMode'); + BuiltValueNullFieldError.checkNotNull(breakoutRoomStatus, r'Room', 'breakoutRoomStatus'); + BuiltValueNullFieldError.checkNotNull(callFlag, r'Room', 'callFlag'); + BuiltValueNullFieldError.checkNotNull(callPermissions, r'Room', 'callPermissions'); + BuiltValueNullFieldError.checkNotNull(callRecording, r'Room', 'callRecording'); + BuiltValueNullFieldError.checkNotNull(callStartTime, r'Room', 'callStartTime'); + BuiltValueNullFieldError.checkNotNull(canDeleteConversation, r'Room', 'canDeleteConversation'); + BuiltValueNullFieldError.checkNotNull(canEnableSIP, r'Room', 'canEnableSIP'); + BuiltValueNullFieldError.checkNotNull(canLeaveConversation, r'Room', 'canLeaveConversation'); + BuiltValueNullFieldError.checkNotNull(canStartCall, r'Room', 'canStartCall'); + BuiltValueNullFieldError.checkNotNull(defaultPermissions, r'Room', 'defaultPermissions'); + BuiltValueNullFieldError.checkNotNull(description, r'Room', 'description'); + BuiltValueNullFieldError.checkNotNull(displayName, r'Room', 'displayName'); + BuiltValueNullFieldError.checkNotNull(hasCall, r'Room', 'hasCall'); + BuiltValueNullFieldError.checkNotNull(hasPassword, r'Room', 'hasPassword'); + BuiltValueNullFieldError.checkNotNull(id, r'Room', 'id'); + BuiltValueNullFieldError.checkNotNull(isCustomAvatar, r'Room', 'isCustomAvatar'); + BuiltValueNullFieldError.checkNotNull(isFavorite, r'Room', 'isFavorite'); + BuiltValueNullFieldError.checkNotNull(lastActivity, r'Room', 'lastActivity'); + BuiltValueNullFieldError.checkNotNull(lastCommonReadMessage, r'Room', 'lastCommonReadMessage'); + BuiltValueNullFieldError.checkNotNull(lastMessage, r'Room', 'lastMessage'); + BuiltValueNullFieldError.checkNotNull(lastPing, r'Room', 'lastPing'); + BuiltValueNullFieldError.checkNotNull(lastReadMessage, r'Room', 'lastReadMessage'); + BuiltValueNullFieldError.checkNotNull(listable, r'Room', 'listable'); + BuiltValueNullFieldError.checkNotNull(lobbyState, r'Room', 'lobbyState'); + BuiltValueNullFieldError.checkNotNull(lobbyTimer, r'Room', 'lobbyTimer'); + BuiltValueNullFieldError.checkNotNull(messageExpiration, r'Room', 'messageExpiration'); + BuiltValueNullFieldError.checkNotNull(name, r'Room', 'name'); + BuiltValueNullFieldError.checkNotNull(notificationCalls, r'Room', 'notificationCalls'); + BuiltValueNullFieldError.checkNotNull(notificationLevel, r'Room', 'notificationLevel'); + BuiltValueNullFieldError.checkNotNull(objectId, r'Room', 'objectId'); + BuiltValueNullFieldError.checkNotNull(objectType, r'Room', 'objectType'); + BuiltValueNullFieldError.checkNotNull(participantFlags, r'Room', 'participantFlags'); + BuiltValueNullFieldError.checkNotNull(participantType, r'Room', 'participantType'); + BuiltValueNullFieldError.checkNotNull(permissions, r'Room', 'permissions'); + BuiltValueNullFieldError.checkNotNull(readOnly, r'Room', 'readOnly'); + BuiltValueNullFieldError.checkNotNull(recordingConsent, r'Room', 'recordingConsent'); + BuiltValueNullFieldError.checkNotNull(sessionId, r'Room', 'sessionId'); + BuiltValueNullFieldError.checkNotNull(sipEnabled, r'Room', 'sipEnabled'); + BuiltValueNullFieldError.checkNotNull(token, r'Room', 'token'); + BuiltValueNullFieldError.checkNotNull(type, r'Room', 'type'); + BuiltValueNullFieldError.checkNotNull(unreadMention, r'Room', 'unreadMention'); + BuiltValueNullFieldError.checkNotNull(unreadMentionDirect, r'Room', 'unreadMentionDirect'); + BuiltValueNullFieldError.checkNotNull(unreadMessages, r'Room', 'unreadMessages'); + } + + @override + Room rebuild(void Function(RoomBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + RoomBuilder toBuilder() => RoomBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Room && + actorId == other.actorId && + actorType == other.actorType && + attendeeId == other.attendeeId && + attendeePermissions == other.attendeePermissions && + attendeePin == other.attendeePin && + avatarVersion == other.avatarVersion && + breakoutRoomMode == other.breakoutRoomMode && + breakoutRoomStatus == other.breakoutRoomStatus && + callFlag == other.callFlag && + callPermissions == other.callPermissions && + callRecording == other.callRecording && + callStartTime == other.callStartTime && + canDeleteConversation == other.canDeleteConversation && + canEnableSIP == other.canEnableSIP && + canLeaveConversation == other.canLeaveConversation && + canStartCall == other.canStartCall && + defaultPermissions == other.defaultPermissions && + description == other.description && + displayName == other.displayName && + hasCall == other.hasCall && + hasPassword == other.hasPassword && + id == other.id && + isCustomAvatar == other.isCustomAvatar && + isFavorite == other.isFavorite && + lastActivity == other.lastActivity && + lastCommonReadMessage == other.lastCommonReadMessage && + lastMessage == other.lastMessage && + lastPing == other.lastPing && + lastReadMessage == other.lastReadMessage && + listable == other.listable && + lobbyState == other.lobbyState && + lobbyTimer == other.lobbyTimer && + messageExpiration == other.messageExpiration && + name == other.name && + notificationCalls == other.notificationCalls && + notificationLevel == other.notificationLevel && + objectId == other.objectId && + objectType == other.objectType && + participantFlags == other.participantFlags && + participantType == other.participantType && + permissions == other.permissions && + readOnly == other.readOnly && + recordingConsent == other.recordingConsent && + sessionId == other.sessionId && + sipEnabled == other.sipEnabled && + status == other.status && + statusClearAt == other.statusClearAt && + statusIcon == other.statusIcon && + statusMessage == other.statusMessage && + token == other.token && + type == other.type && + unreadMention == other.unreadMention && + unreadMentionDirect == other.unreadMentionDirect && + unreadMessages == other.unreadMessages; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, attendeeId.hashCode); + _$hash = $jc(_$hash, attendeePermissions.hashCode); + _$hash = $jc(_$hash, attendeePin.hashCode); + _$hash = $jc(_$hash, avatarVersion.hashCode); + _$hash = $jc(_$hash, breakoutRoomMode.hashCode); + _$hash = $jc(_$hash, breakoutRoomStatus.hashCode); + _$hash = $jc(_$hash, callFlag.hashCode); + _$hash = $jc(_$hash, callPermissions.hashCode); + _$hash = $jc(_$hash, callRecording.hashCode); + _$hash = $jc(_$hash, callStartTime.hashCode); + _$hash = $jc(_$hash, canDeleteConversation.hashCode); + _$hash = $jc(_$hash, canEnableSIP.hashCode); + _$hash = $jc(_$hash, canLeaveConversation.hashCode); + _$hash = $jc(_$hash, canStartCall.hashCode); + _$hash = $jc(_$hash, defaultPermissions.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, hasCall.hashCode); + _$hash = $jc(_$hash, hasPassword.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isCustomAvatar.hashCode); + _$hash = $jc(_$hash, isFavorite.hashCode); + _$hash = $jc(_$hash, lastActivity.hashCode); + _$hash = $jc(_$hash, lastCommonReadMessage.hashCode); + _$hash = $jc(_$hash, lastMessage.hashCode); + _$hash = $jc(_$hash, lastPing.hashCode); + _$hash = $jc(_$hash, lastReadMessage.hashCode); + _$hash = $jc(_$hash, listable.hashCode); + _$hash = $jc(_$hash, lobbyState.hashCode); + _$hash = $jc(_$hash, lobbyTimer.hashCode); + _$hash = $jc(_$hash, messageExpiration.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, notificationCalls.hashCode); + _$hash = $jc(_$hash, notificationLevel.hashCode); + _$hash = $jc(_$hash, objectId.hashCode); + _$hash = $jc(_$hash, objectType.hashCode); + _$hash = $jc(_$hash, participantFlags.hashCode); + _$hash = $jc(_$hash, participantType.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, readOnly.hashCode); + _$hash = $jc(_$hash, recordingConsent.hashCode); + _$hash = $jc(_$hash, sessionId.hashCode); + _$hash = $jc(_$hash, sipEnabled.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statusClearAt.hashCode); + _$hash = $jc(_$hash, statusIcon.hashCode); + _$hash = $jc(_$hash, statusMessage.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, unreadMention.hashCode); + _$hash = $jc(_$hash, unreadMentionDirect.hashCode); + _$hash = $jc(_$hash, unreadMessages.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Room') + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('attendeeId', attendeeId) + ..add('attendeePermissions', attendeePermissions) + ..add('attendeePin', attendeePin) + ..add('avatarVersion', avatarVersion) + ..add('breakoutRoomMode', breakoutRoomMode) + ..add('breakoutRoomStatus', breakoutRoomStatus) + ..add('callFlag', callFlag) + ..add('callPermissions', callPermissions) + ..add('callRecording', callRecording) + ..add('callStartTime', callStartTime) + ..add('canDeleteConversation', canDeleteConversation) + ..add('canEnableSIP', canEnableSIP) + ..add('canLeaveConversation', canLeaveConversation) + ..add('canStartCall', canStartCall) + ..add('defaultPermissions', defaultPermissions) + ..add('description', description) + ..add('displayName', displayName) + ..add('hasCall', hasCall) + ..add('hasPassword', hasPassword) + ..add('id', id) + ..add('isCustomAvatar', isCustomAvatar) + ..add('isFavorite', isFavorite) + ..add('lastActivity', lastActivity) + ..add('lastCommonReadMessage', lastCommonReadMessage) + ..add('lastMessage', lastMessage) + ..add('lastPing', lastPing) + ..add('lastReadMessage', lastReadMessage) + ..add('listable', listable) + ..add('lobbyState', lobbyState) + ..add('lobbyTimer', lobbyTimer) + ..add('messageExpiration', messageExpiration) + ..add('name', name) + ..add('notificationCalls', notificationCalls) + ..add('notificationLevel', notificationLevel) + ..add('objectId', objectId) + ..add('objectType', objectType) + ..add('participantFlags', participantFlags) + ..add('participantType', participantType) + ..add('permissions', permissions) + ..add('readOnly', readOnly) + ..add('recordingConsent', recordingConsent) + ..add('sessionId', sessionId) + ..add('sipEnabled', sipEnabled) + ..add('status', status) + ..add('statusClearAt', statusClearAt) + ..add('statusIcon', statusIcon) + ..add('statusMessage', statusMessage) + ..add('token', token) + ..add('type', type) + ..add('unreadMention', unreadMention) + ..add('unreadMentionDirect', unreadMentionDirect) + ..add('unreadMessages', unreadMessages)) + .toString(); + } +} + +class RoomBuilder implements Builder, RoomInterfaceBuilder { + _$Room? _$v; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + int? _attendeeId; + int? get attendeeId => _$this._attendeeId; + set attendeeId(covariant int? attendeeId) => _$this._attendeeId = attendeeId; + + int? _attendeePermissions; + int? get attendeePermissions => _$this._attendeePermissions; + set attendeePermissions(covariant int? attendeePermissions) => _$this._attendeePermissions = attendeePermissions; + + String? _attendeePin; + String? get attendeePin => _$this._attendeePin; + set attendeePin(covariant String? attendeePin) => _$this._attendeePin = attendeePin; + + String? _avatarVersion; + String? get avatarVersion => _$this._avatarVersion; + set avatarVersion(covariant String? avatarVersion) => _$this._avatarVersion = avatarVersion; + + int? _breakoutRoomMode; + int? get breakoutRoomMode => _$this._breakoutRoomMode; + set breakoutRoomMode(covariant int? breakoutRoomMode) => _$this._breakoutRoomMode = breakoutRoomMode; + + int? _breakoutRoomStatus; + int? get breakoutRoomStatus => _$this._breakoutRoomStatus; + set breakoutRoomStatus(covariant int? breakoutRoomStatus) => _$this._breakoutRoomStatus = breakoutRoomStatus; + + int? _callFlag; + int? get callFlag => _$this._callFlag; + set callFlag(covariant int? callFlag) => _$this._callFlag = callFlag; + + int? _callPermissions; + int? get callPermissions => _$this._callPermissions; + set callPermissions(covariant int? callPermissions) => _$this._callPermissions = callPermissions; + + int? _callRecording; + int? get callRecording => _$this._callRecording; + set callRecording(covariant int? callRecording) => _$this._callRecording = callRecording; + + int? _callStartTime; + int? get callStartTime => _$this._callStartTime; + set callStartTime(covariant int? callStartTime) => _$this._callStartTime = callStartTime; + + bool? _canDeleteConversation; + bool? get canDeleteConversation => _$this._canDeleteConversation; + set canDeleteConversation(covariant bool? canDeleteConversation) => + _$this._canDeleteConversation = canDeleteConversation; + + bool? _canEnableSIP; + bool? get canEnableSIP => _$this._canEnableSIP; + set canEnableSIP(covariant bool? canEnableSIP) => _$this._canEnableSIP = canEnableSIP; + + bool? _canLeaveConversation; + bool? get canLeaveConversation => _$this._canLeaveConversation; + set canLeaveConversation(covariant bool? canLeaveConversation) => _$this._canLeaveConversation = canLeaveConversation; + + bool? _canStartCall; + bool? get canStartCall => _$this._canStartCall; + set canStartCall(covariant bool? canStartCall) => _$this._canStartCall = canStartCall; + + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; + + bool? _hasCall; + bool? get hasCall => _$this._hasCall; + set hasCall(covariant bool? hasCall) => _$this._hasCall = hasCall; + + bool? _hasPassword; + bool? get hasPassword => _$this._hasPassword; + set hasPassword(covariant bool? hasPassword) => _$this._hasPassword = hasPassword; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + bool? _isCustomAvatar; + bool? get isCustomAvatar => _$this._isCustomAvatar; + set isCustomAvatar(covariant bool? isCustomAvatar) => _$this._isCustomAvatar = isCustomAvatar; + + bool? _isFavorite; + bool? get isFavorite => _$this._isFavorite; + set isFavorite(covariant bool? isFavorite) => _$this._isFavorite = isFavorite; + + int? _lastActivity; + int? get lastActivity => _$this._lastActivity; + set lastActivity(covariant int? lastActivity) => _$this._lastActivity = lastActivity; + + int? _lastCommonReadMessage; + int? get lastCommonReadMessage => _$this._lastCommonReadMessage; + set lastCommonReadMessage(covariant int? lastCommonReadMessage) => + _$this._lastCommonReadMessage = lastCommonReadMessage; + + Room_LastMessageBuilder? _lastMessage; + Room_LastMessageBuilder get lastMessage => _$this._lastMessage ??= Room_LastMessageBuilder(); + set lastMessage(covariant Room_LastMessageBuilder? lastMessage) => _$this._lastMessage = lastMessage; + + int? _lastPing; + int? get lastPing => _$this._lastPing; + set lastPing(covariant int? lastPing) => _$this._lastPing = lastPing; + + int? _lastReadMessage; + int? get lastReadMessage => _$this._lastReadMessage; + set lastReadMessage(covariant int? lastReadMessage) => _$this._lastReadMessage = lastReadMessage; + + int? _listable; + int? get listable => _$this._listable; + set listable(covariant int? listable) => _$this._listable = listable; + + int? _lobbyState; + int? get lobbyState => _$this._lobbyState; + set lobbyState(covariant int? lobbyState) => _$this._lobbyState = lobbyState; + + int? _lobbyTimer; + int? get lobbyTimer => _$this._lobbyTimer; + set lobbyTimer(covariant int? lobbyTimer) => _$this._lobbyTimer = lobbyTimer; + + int? _messageExpiration; + int? get messageExpiration => _$this._messageExpiration; + set messageExpiration(covariant int? messageExpiration) => _$this._messageExpiration = messageExpiration; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + int? _notificationCalls; + int? get notificationCalls => _$this._notificationCalls; + set notificationCalls(covariant int? notificationCalls) => _$this._notificationCalls = notificationCalls; + + int? _notificationLevel; + int? get notificationLevel => _$this._notificationLevel; + set notificationLevel(covariant int? notificationLevel) => _$this._notificationLevel = notificationLevel; + + String? _objectId; + String? get objectId => _$this._objectId; + set objectId(covariant String? objectId) => _$this._objectId = objectId; + + String? _objectType; + String? get objectType => _$this._objectType; + set objectType(covariant String? objectType) => _$this._objectType = objectType; + + int? _participantFlags; + int? get participantFlags => _$this._participantFlags; + set participantFlags(covariant int? participantFlags) => _$this._participantFlags = participantFlags; + + int? _participantType; + int? get participantType => _$this._participantType; + set participantType(covariant int? participantType) => _$this._participantType = participantType; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(covariant int? permissions) => _$this._permissions = permissions; + + int? _readOnly; + int? get readOnly => _$this._readOnly; + set readOnly(covariant int? readOnly) => _$this._readOnly = readOnly; + + int? _recordingConsent; + int? get recordingConsent => _$this._recordingConsent; + set recordingConsent(covariant int? recordingConsent) => _$this._recordingConsent = recordingConsent; + + String? _sessionId; + String? get sessionId => _$this._sessionId; + set sessionId(covariant String? sessionId) => _$this._sessionId = sessionId; + + int? _sipEnabled; + int? get sipEnabled => _$this._sipEnabled; + set sipEnabled(covariant int? sipEnabled) => _$this._sipEnabled = sipEnabled; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statusClearAt; + int? get statusClearAt => _$this._statusClearAt; + set statusClearAt(covariant int? statusClearAt) => _$this._statusClearAt = statusClearAt; + + String? _statusIcon; + String? get statusIcon => _$this._statusIcon; + set statusIcon(covariant String? statusIcon) => _$this._statusIcon = statusIcon; + + String? _statusMessage; + String? get statusMessage => _$this._statusMessage; + set statusMessage(covariant String? statusMessage) => _$this._statusMessage = statusMessage; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + int? _type; + int? get type => _$this._type; + set type(covariant int? type) => _$this._type = type; + + bool? _unreadMention; + bool? get unreadMention => _$this._unreadMention; + set unreadMention(covariant bool? unreadMention) => _$this._unreadMention = unreadMention; + + bool? _unreadMentionDirect; + bool? get unreadMentionDirect => _$this._unreadMentionDirect; + set unreadMentionDirect(covariant bool? unreadMentionDirect) => _$this._unreadMentionDirect = unreadMentionDirect; + + int? _unreadMessages; + int? get unreadMessages => _$this._unreadMessages; + set unreadMessages(covariant int? unreadMessages) => _$this._unreadMessages = unreadMessages; + + RoomBuilder(); + + RoomBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorId = $v.actorId; + _actorType = $v.actorType; + _attendeeId = $v.attendeeId; + _attendeePermissions = $v.attendeePermissions; + _attendeePin = $v.attendeePin; + _avatarVersion = $v.avatarVersion; + _breakoutRoomMode = $v.breakoutRoomMode; + _breakoutRoomStatus = $v.breakoutRoomStatus; + _callFlag = $v.callFlag; + _callPermissions = $v.callPermissions; + _callRecording = $v.callRecording; + _callStartTime = $v.callStartTime; + _canDeleteConversation = $v.canDeleteConversation; + _canEnableSIP = $v.canEnableSIP; + _canLeaveConversation = $v.canLeaveConversation; + _canStartCall = $v.canStartCall; + _defaultPermissions = $v.defaultPermissions; + _description = $v.description; + _displayName = $v.displayName; + _hasCall = $v.hasCall; + _hasPassword = $v.hasPassword; + _id = $v.id; + _isCustomAvatar = $v.isCustomAvatar; + _isFavorite = $v.isFavorite; + _lastActivity = $v.lastActivity; + _lastCommonReadMessage = $v.lastCommonReadMessage; + _lastMessage = $v.lastMessage.toBuilder(); + _lastPing = $v.lastPing; + _lastReadMessage = $v.lastReadMessage; + _listable = $v.listable; + _lobbyState = $v.lobbyState; + _lobbyTimer = $v.lobbyTimer; + _messageExpiration = $v.messageExpiration; + _name = $v.name; + _notificationCalls = $v.notificationCalls; + _notificationLevel = $v.notificationLevel; + _objectId = $v.objectId; + _objectType = $v.objectType; + _participantFlags = $v.participantFlags; + _participantType = $v.participantType; + _permissions = $v.permissions; + _readOnly = $v.readOnly; + _recordingConsent = $v.recordingConsent; + _sessionId = $v.sessionId; + _sipEnabled = $v.sipEnabled; + _status = $v.status; + _statusClearAt = $v.statusClearAt; + _statusIcon = $v.statusIcon; + _statusMessage = $v.statusMessage; + _token = $v.token; + _type = $v.type; + _unreadMention = $v.unreadMention; + _unreadMentionDirect = $v.unreadMentionDirect; + _unreadMessages = $v.unreadMessages; + _$v = null; + } + return this; + } + + @override + void replace(covariant Room other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Room; + } + + @override + void update(void Function(RoomBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Room build() => _build(); + + _$Room _build() { + _$Room _$result; + try { + _$result = _$v ?? + _$Room._( + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'Room', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'Room', 'actorType'), + attendeeId: BuiltValueNullFieldError.checkNotNull(attendeeId, r'Room', 'attendeeId'), + attendeePermissions: + BuiltValueNullFieldError.checkNotNull(attendeePermissions, r'Room', 'attendeePermissions'), + attendeePin: attendeePin, + avatarVersion: BuiltValueNullFieldError.checkNotNull(avatarVersion, r'Room', 'avatarVersion'), + breakoutRoomMode: BuiltValueNullFieldError.checkNotNull(breakoutRoomMode, r'Room', 'breakoutRoomMode'), + breakoutRoomStatus: + BuiltValueNullFieldError.checkNotNull(breakoutRoomStatus, r'Room', 'breakoutRoomStatus'), + callFlag: BuiltValueNullFieldError.checkNotNull(callFlag, r'Room', 'callFlag'), + callPermissions: BuiltValueNullFieldError.checkNotNull(callPermissions, r'Room', 'callPermissions'), + callRecording: BuiltValueNullFieldError.checkNotNull(callRecording, r'Room', 'callRecording'), + callStartTime: BuiltValueNullFieldError.checkNotNull(callStartTime, r'Room', 'callStartTime'), + canDeleteConversation: + BuiltValueNullFieldError.checkNotNull(canDeleteConversation, r'Room', 'canDeleteConversation'), + canEnableSIP: BuiltValueNullFieldError.checkNotNull(canEnableSIP, r'Room', 'canEnableSIP'), + canLeaveConversation: + BuiltValueNullFieldError.checkNotNull(canLeaveConversation, r'Room', 'canLeaveConversation'), + canStartCall: BuiltValueNullFieldError.checkNotNull(canStartCall, r'Room', 'canStartCall'), + defaultPermissions: + BuiltValueNullFieldError.checkNotNull(defaultPermissions, r'Room', 'defaultPermissions'), + description: BuiltValueNullFieldError.checkNotNull(description, r'Room', 'description'), + displayName: BuiltValueNullFieldError.checkNotNull(displayName, r'Room', 'displayName'), + hasCall: BuiltValueNullFieldError.checkNotNull(hasCall, r'Room', 'hasCall'), + hasPassword: BuiltValueNullFieldError.checkNotNull(hasPassword, r'Room', 'hasPassword'), + id: BuiltValueNullFieldError.checkNotNull(id, r'Room', 'id'), + isCustomAvatar: BuiltValueNullFieldError.checkNotNull(isCustomAvatar, r'Room', 'isCustomAvatar'), + isFavorite: BuiltValueNullFieldError.checkNotNull(isFavorite, r'Room', 'isFavorite'), + lastActivity: BuiltValueNullFieldError.checkNotNull(lastActivity, r'Room', 'lastActivity'), + lastCommonReadMessage: + BuiltValueNullFieldError.checkNotNull(lastCommonReadMessage, r'Room', 'lastCommonReadMessage'), + lastMessage: lastMessage.build(), + lastPing: BuiltValueNullFieldError.checkNotNull(lastPing, r'Room', 'lastPing'), + lastReadMessage: BuiltValueNullFieldError.checkNotNull(lastReadMessage, r'Room', 'lastReadMessage'), + listable: BuiltValueNullFieldError.checkNotNull(listable, r'Room', 'listable'), + lobbyState: BuiltValueNullFieldError.checkNotNull(lobbyState, r'Room', 'lobbyState'), + lobbyTimer: BuiltValueNullFieldError.checkNotNull(lobbyTimer, r'Room', 'lobbyTimer'), + messageExpiration: BuiltValueNullFieldError.checkNotNull(messageExpiration, r'Room', 'messageExpiration'), + name: BuiltValueNullFieldError.checkNotNull(name, r'Room', 'name'), + notificationCalls: BuiltValueNullFieldError.checkNotNull(notificationCalls, r'Room', 'notificationCalls'), + notificationLevel: BuiltValueNullFieldError.checkNotNull(notificationLevel, r'Room', 'notificationLevel'), + objectId: BuiltValueNullFieldError.checkNotNull(objectId, r'Room', 'objectId'), + objectType: BuiltValueNullFieldError.checkNotNull(objectType, r'Room', 'objectType'), + participantFlags: BuiltValueNullFieldError.checkNotNull(participantFlags, r'Room', 'participantFlags'), + participantType: BuiltValueNullFieldError.checkNotNull(participantType, r'Room', 'participantType'), + permissions: BuiltValueNullFieldError.checkNotNull(permissions, r'Room', 'permissions'), + readOnly: BuiltValueNullFieldError.checkNotNull(readOnly, r'Room', 'readOnly'), + recordingConsent: BuiltValueNullFieldError.checkNotNull(recordingConsent, r'Room', 'recordingConsent'), + sessionId: BuiltValueNullFieldError.checkNotNull(sessionId, r'Room', 'sessionId'), + sipEnabled: BuiltValueNullFieldError.checkNotNull(sipEnabled, r'Room', 'sipEnabled'), + status: status, + statusClearAt: statusClearAt, + statusIcon: statusIcon, + statusMessage: statusMessage, + token: BuiltValueNullFieldError.checkNotNull(token, r'Room', 'token'), + type: BuiltValueNullFieldError.checkNotNull(type, r'Room', 'type'), + unreadMention: BuiltValueNullFieldError.checkNotNull(unreadMention, r'Room', 'unreadMention'), + unreadMentionDirect: + BuiltValueNullFieldError.checkNotNull(unreadMentionDirect, r'Room', 'unreadMentionDirect'), + unreadMessages: BuiltValueNullFieldError.checkNotNull(unreadMessages, r'Room', 'unreadMessages')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'lastMessage'; + lastMessage.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Room', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarUploadAvatarResponseApplicationJson_OcsInterfaceBuilder { + void replace(AvatarUploadAvatarResponseApplicationJson_OcsInterface other); + void update(void Function(AvatarUploadAvatarResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$AvatarUploadAvatarResponseApplicationJson_Ocs extends AvatarUploadAvatarResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$AvatarUploadAvatarResponseApplicationJson_Ocs( + [void Function(AvatarUploadAvatarResponseApplicationJson_OcsBuilder)? updates]) => + (AvatarUploadAvatarResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AvatarUploadAvatarResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AvatarUploadAvatarResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AvatarUploadAvatarResponseApplicationJson_Ocs', 'data'); + } + + @override + AvatarUploadAvatarResponseApplicationJson_Ocs rebuild( + void Function(AvatarUploadAvatarResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarUploadAvatarResponseApplicationJson_OcsBuilder toBuilder() => + AvatarUploadAvatarResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarUploadAvatarResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarUploadAvatarResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AvatarUploadAvatarResponseApplicationJson_OcsBuilder + implements + Builder, + AvatarUploadAvatarResponseApplicationJson_OcsInterfaceBuilder { + _$AvatarUploadAvatarResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + AvatarUploadAvatarResponseApplicationJson_OcsBuilder(); + + AvatarUploadAvatarResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarUploadAvatarResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarUploadAvatarResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AvatarUploadAvatarResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarUploadAvatarResponseApplicationJson_Ocs build() => _build(); + + _$AvatarUploadAvatarResponseApplicationJson_Ocs _build() { + _$AvatarUploadAvatarResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$AvatarUploadAvatarResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarUploadAvatarResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarUploadAvatarResponseApplicationJsonInterfaceBuilder { + void replace(AvatarUploadAvatarResponseApplicationJsonInterface other); + void update(void Function(AvatarUploadAvatarResponseApplicationJsonInterfaceBuilder) updates); + AvatarUploadAvatarResponseApplicationJson_OcsBuilder get ocs; + set ocs(AvatarUploadAvatarResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AvatarUploadAvatarResponseApplicationJson extends AvatarUploadAvatarResponseApplicationJson { + @override + final AvatarUploadAvatarResponseApplicationJson_Ocs ocs; + + factory _$AvatarUploadAvatarResponseApplicationJson( + [void Function(AvatarUploadAvatarResponseApplicationJsonBuilder)? updates]) => + (AvatarUploadAvatarResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AvatarUploadAvatarResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AvatarUploadAvatarResponseApplicationJson', 'ocs'); + } + + @override + AvatarUploadAvatarResponseApplicationJson rebuild( + void Function(AvatarUploadAvatarResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarUploadAvatarResponseApplicationJsonBuilder toBuilder() => + AvatarUploadAvatarResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarUploadAvatarResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarUploadAvatarResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class AvatarUploadAvatarResponseApplicationJsonBuilder + implements + Builder, + AvatarUploadAvatarResponseApplicationJsonInterfaceBuilder { + _$AvatarUploadAvatarResponseApplicationJson? _$v; + + AvatarUploadAvatarResponseApplicationJson_OcsBuilder? _ocs; + AvatarUploadAvatarResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AvatarUploadAvatarResponseApplicationJson_OcsBuilder(); + set ocs(covariant AvatarUploadAvatarResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AvatarUploadAvatarResponseApplicationJsonBuilder(); + + AvatarUploadAvatarResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarUploadAvatarResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarUploadAvatarResponseApplicationJson; + } + + @override + void update(void Function(AvatarUploadAvatarResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarUploadAvatarResponseApplicationJson build() => _build(); + + _$AvatarUploadAvatarResponseApplicationJson _build() { + _$AvatarUploadAvatarResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AvatarUploadAvatarResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarUploadAvatarResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder { + void replace(AvatarDeleteAvatarResponseApplicationJson_OcsInterface other); + void update(void Function(AvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$AvatarDeleteAvatarResponseApplicationJson_Ocs extends AvatarDeleteAvatarResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$AvatarDeleteAvatarResponseApplicationJson_Ocs( + [void Function(AvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? updates]) => + (AvatarDeleteAvatarResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AvatarDeleteAvatarResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AvatarDeleteAvatarResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AvatarDeleteAvatarResponseApplicationJson_Ocs', 'data'); + } + + @override + AvatarDeleteAvatarResponseApplicationJson_Ocs rebuild( + void Function(AvatarDeleteAvatarResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder toBuilder() => + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarDeleteAvatarResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarDeleteAvatarResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AvatarDeleteAvatarResponseApplicationJson_OcsBuilder + implements + Builder, + AvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder { + _$AvatarDeleteAvatarResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarDeleteAvatarResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarDeleteAvatarResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarDeleteAvatarResponseApplicationJson_Ocs build() => _build(); + + _$AvatarDeleteAvatarResponseApplicationJson_Ocs _build() { + _$AvatarDeleteAvatarResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$AvatarDeleteAvatarResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarDeleteAvatarResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder { + void replace(AvatarDeleteAvatarResponseApplicationJsonInterface other); + void update(void Function(AvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder) updates); + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder get ocs; + set ocs(AvatarDeleteAvatarResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AvatarDeleteAvatarResponseApplicationJson extends AvatarDeleteAvatarResponseApplicationJson { + @override + final AvatarDeleteAvatarResponseApplicationJson_Ocs ocs; + + factory _$AvatarDeleteAvatarResponseApplicationJson( + [void Function(AvatarDeleteAvatarResponseApplicationJsonBuilder)? updates]) => + (AvatarDeleteAvatarResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AvatarDeleteAvatarResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AvatarDeleteAvatarResponseApplicationJson', 'ocs'); + } + + @override + AvatarDeleteAvatarResponseApplicationJson rebuild( + void Function(AvatarDeleteAvatarResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarDeleteAvatarResponseApplicationJsonBuilder toBuilder() => + AvatarDeleteAvatarResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarDeleteAvatarResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarDeleteAvatarResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class AvatarDeleteAvatarResponseApplicationJsonBuilder + implements + Builder, + AvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder { + _$AvatarDeleteAvatarResponseApplicationJson? _$v; + + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder? _ocs; + AvatarDeleteAvatarResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + set ocs(covariant AvatarDeleteAvatarResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AvatarDeleteAvatarResponseApplicationJsonBuilder(); + + AvatarDeleteAvatarResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarDeleteAvatarResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarDeleteAvatarResponseApplicationJson; + } + + @override + void update(void Function(AvatarDeleteAvatarResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarDeleteAvatarResponseApplicationJson build() => _build(); + + _$AvatarDeleteAvatarResponseApplicationJson _build() { + _$AvatarDeleteAvatarResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AvatarDeleteAvatarResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarDeleteAvatarResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarEmojiAvatarResponseApplicationJson_OcsInterfaceBuilder { + void replace(AvatarEmojiAvatarResponseApplicationJson_OcsInterface other); + void update(void Function(AvatarEmojiAvatarResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$AvatarEmojiAvatarResponseApplicationJson_Ocs extends AvatarEmojiAvatarResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$AvatarEmojiAvatarResponseApplicationJson_Ocs( + [void Function(AvatarEmojiAvatarResponseApplicationJson_OcsBuilder)? updates]) => + (AvatarEmojiAvatarResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$AvatarEmojiAvatarResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'AvatarEmojiAvatarResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'AvatarEmojiAvatarResponseApplicationJson_Ocs', 'data'); + } + + @override + AvatarEmojiAvatarResponseApplicationJson_Ocs rebuild( + void Function(AvatarEmojiAvatarResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder toBuilder() => + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarEmojiAvatarResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarEmojiAvatarResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class AvatarEmojiAvatarResponseApplicationJson_OcsBuilder + implements + Builder, + AvatarEmojiAvatarResponseApplicationJson_OcsInterfaceBuilder { + _$AvatarEmojiAvatarResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder(); + + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarEmojiAvatarResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarEmojiAvatarResponseApplicationJson_Ocs; + } + + @override + void update(void Function(AvatarEmojiAvatarResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarEmojiAvatarResponseApplicationJson_Ocs build() => _build(); + + _$AvatarEmojiAvatarResponseApplicationJson_Ocs _build() { + _$AvatarEmojiAvatarResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$AvatarEmojiAvatarResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarEmojiAvatarResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class AvatarEmojiAvatarResponseApplicationJsonInterfaceBuilder { + void replace(AvatarEmojiAvatarResponseApplicationJsonInterface other); + void update(void Function(AvatarEmojiAvatarResponseApplicationJsonInterfaceBuilder) updates); + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder get ocs; + set ocs(AvatarEmojiAvatarResponseApplicationJson_OcsBuilder? ocs); +} + +class _$AvatarEmojiAvatarResponseApplicationJson extends AvatarEmojiAvatarResponseApplicationJson { + @override + final AvatarEmojiAvatarResponseApplicationJson_Ocs ocs; + + factory _$AvatarEmojiAvatarResponseApplicationJson( + [void Function(AvatarEmojiAvatarResponseApplicationJsonBuilder)? updates]) => + (AvatarEmojiAvatarResponseApplicationJsonBuilder()..update(updates))._build(); + + _$AvatarEmojiAvatarResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'AvatarEmojiAvatarResponseApplicationJson', 'ocs'); + } + + @override + AvatarEmojiAvatarResponseApplicationJson rebuild( + void Function(AvatarEmojiAvatarResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + AvatarEmojiAvatarResponseApplicationJsonBuilder toBuilder() => + AvatarEmojiAvatarResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AvatarEmojiAvatarResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'AvatarEmojiAvatarResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class AvatarEmojiAvatarResponseApplicationJsonBuilder + implements + Builder, + AvatarEmojiAvatarResponseApplicationJsonInterfaceBuilder { + _$AvatarEmojiAvatarResponseApplicationJson? _$v; + + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder? _ocs; + AvatarEmojiAvatarResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= AvatarEmojiAvatarResponseApplicationJson_OcsBuilder(); + set ocs(covariant AvatarEmojiAvatarResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + AvatarEmojiAvatarResponseApplicationJsonBuilder(); + + AvatarEmojiAvatarResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant AvatarEmojiAvatarResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$AvatarEmojiAvatarResponseApplicationJson; + } + + @override + void update(void Function(AvatarEmojiAvatarResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + AvatarEmojiAvatarResponseApplicationJson build() => _build(); + + _$AvatarEmojiAvatarResponseApplicationJson _build() { + _$AvatarEmojiAvatarResponseApplicationJson _$result; + try { + _$result = _$v ?? _$AvatarEmojiAvatarResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'AvatarEmojiAvatarResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotSendMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotSendMessageResponseApplicationJson_OcsInterface other); + void update(void Function(BotSendMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$BotSendMessageResponseApplicationJson_Ocs extends BotSendMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$BotSendMessageResponseApplicationJson_Ocs( + [void Function(BotSendMessageResponseApplicationJson_OcsBuilder)? updates]) => + (BotSendMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotSendMessageResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotSendMessageResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BotSendMessageResponseApplicationJson_Ocs', 'data'); + } + + @override + BotSendMessageResponseApplicationJson_Ocs rebuild( + void Function(BotSendMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotSendMessageResponseApplicationJson_OcsBuilder toBuilder() => + BotSendMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotSendMessageResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotSendMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotSendMessageResponseApplicationJson_OcsBuilder + implements + Builder, + BotSendMessageResponseApplicationJson_OcsInterfaceBuilder { + _$BotSendMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + BotSendMessageResponseApplicationJson_OcsBuilder(); + + BotSendMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant BotSendMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotSendMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotSendMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotSendMessageResponseApplicationJson_Ocs build() => _build(); + + _$BotSendMessageResponseApplicationJson_Ocs _build() { + _$BotSendMessageResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BotSendMessageResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'BotSendMessageResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotSendMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotSendMessageResponseApplicationJsonInterfaceBuilder { + void replace(BotSendMessageResponseApplicationJsonInterface other); + void update(void Function(BotSendMessageResponseApplicationJsonInterfaceBuilder) updates); + BotSendMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotSendMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotSendMessageResponseApplicationJson extends BotSendMessageResponseApplicationJson { + @override + final BotSendMessageResponseApplicationJson_Ocs ocs; + + factory _$BotSendMessageResponseApplicationJson( + [void Function(BotSendMessageResponseApplicationJsonBuilder)? updates]) => + (BotSendMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotSendMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotSendMessageResponseApplicationJson', 'ocs'); + } + + @override + BotSendMessageResponseApplicationJson rebuild(void Function(BotSendMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotSendMessageResponseApplicationJsonBuilder toBuilder() => + BotSendMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotSendMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotSendMessageResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotSendMessageResponseApplicationJsonBuilder + implements + Builder, + BotSendMessageResponseApplicationJsonInterfaceBuilder { + _$BotSendMessageResponseApplicationJson? _$v; + + BotSendMessageResponseApplicationJson_OcsBuilder? _ocs; + BotSendMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotSendMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotSendMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotSendMessageResponseApplicationJsonBuilder(); + + BotSendMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotSendMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotSendMessageResponseApplicationJson; + } + + @override + void update(void Function(BotSendMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotSendMessageResponseApplicationJson build() => _build(); + + _$BotSendMessageResponseApplicationJson _build() { + _$BotSendMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotSendMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotSendMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotReactResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotReactResponseApplicationJson_OcsInterface other); + void update(void Function(BotReactResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$BotReactResponseApplicationJson_Ocs extends BotReactResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$BotReactResponseApplicationJson_Ocs([void Function(BotReactResponseApplicationJson_OcsBuilder)? updates]) => + (BotReactResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotReactResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotReactResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BotReactResponseApplicationJson_Ocs', 'data'); + } + + @override + BotReactResponseApplicationJson_Ocs rebuild(void Function(BotReactResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotReactResponseApplicationJson_OcsBuilder toBuilder() => BotReactResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotReactResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotReactResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotReactResponseApplicationJson_OcsBuilder + implements + Builder, + BotReactResponseApplicationJson_OcsInterfaceBuilder { + _$BotReactResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + BotReactResponseApplicationJson_OcsBuilder(); + + BotReactResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant BotReactResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotReactResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotReactResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotReactResponseApplicationJson_Ocs build() => _build(); + + _$BotReactResponseApplicationJson_Ocs _build() { + _$BotReactResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BotReactResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'BotReactResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotReactResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotReactResponseApplicationJsonInterfaceBuilder { + void replace(BotReactResponseApplicationJsonInterface other); + void update(void Function(BotReactResponseApplicationJsonInterfaceBuilder) updates); + BotReactResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotReactResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotReactResponseApplicationJson extends BotReactResponseApplicationJson { + @override + final BotReactResponseApplicationJson_Ocs ocs; + + factory _$BotReactResponseApplicationJson([void Function(BotReactResponseApplicationJsonBuilder)? updates]) => + (BotReactResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotReactResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotReactResponseApplicationJson', 'ocs'); + } + + @override + BotReactResponseApplicationJson rebuild(void Function(BotReactResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotReactResponseApplicationJsonBuilder toBuilder() => BotReactResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotReactResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotReactResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotReactResponseApplicationJsonBuilder + implements + Builder, + BotReactResponseApplicationJsonInterfaceBuilder { + _$BotReactResponseApplicationJson? _$v; + + BotReactResponseApplicationJson_OcsBuilder? _ocs; + BotReactResponseApplicationJson_OcsBuilder get ocs => _$this._ocs ??= BotReactResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotReactResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotReactResponseApplicationJsonBuilder(); + + BotReactResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotReactResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotReactResponseApplicationJson; + } + + @override + void update(void Function(BotReactResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotReactResponseApplicationJson build() => _build(); + + _$BotReactResponseApplicationJson _build() { + _$BotReactResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotReactResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotReactResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotDeleteReactionResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotDeleteReactionResponseApplicationJson_OcsInterface other); + void update(void Function(BotDeleteReactionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$BotDeleteReactionResponseApplicationJson_Ocs extends BotDeleteReactionResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$BotDeleteReactionResponseApplicationJson_Ocs( + [void Function(BotDeleteReactionResponseApplicationJson_OcsBuilder)? updates]) => + (BotDeleteReactionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotDeleteReactionResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotDeleteReactionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BotDeleteReactionResponseApplicationJson_Ocs', 'data'); + } + + @override + BotDeleteReactionResponseApplicationJson_Ocs rebuild( + void Function(BotDeleteReactionResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotDeleteReactionResponseApplicationJson_OcsBuilder toBuilder() => + BotDeleteReactionResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotDeleteReactionResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotDeleteReactionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotDeleteReactionResponseApplicationJson_OcsBuilder + implements + Builder, + BotDeleteReactionResponseApplicationJson_OcsInterfaceBuilder { + _$BotDeleteReactionResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + BotDeleteReactionResponseApplicationJson_OcsBuilder(); + + BotDeleteReactionResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant BotDeleteReactionResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotDeleteReactionResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotDeleteReactionResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotDeleteReactionResponseApplicationJson_Ocs build() => _build(); + + _$BotDeleteReactionResponseApplicationJson_Ocs _build() { + _$BotDeleteReactionResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BotDeleteReactionResponseApplicationJson_Ocs._( + meta: meta.build(), + data: + BuiltValueNullFieldError.checkNotNull(data, r'BotDeleteReactionResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotDeleteReactionResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotDeleteReactionResponseApplicationJsonInterfaceBuilder { + void replace(BotDeleteReactionResponseApplicationJsonInterface other); + void update(void Function(BotDeleteReactionResponseApplicationJsonInterfaceBuilder) updates); + BotDeleteReactionResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotDeleteReactionResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotDeleteReactionResponseApplicationJson extends BotDeleteReactionResponseApplicationJson { + @override + final BotDeleteReactionResponseApplicationJson_Ocs ocs; + + factory _$BotDeleteReactionResponseApplicationJson( + [void Function(BotDeleteReactionResponseApplicationJsonBuilder)? updates]) => + (BotDeleteReactionResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotDeleteReactionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotDeleteReactionResponseApplicationJson', 'ocs'); + } + + @override + BotDeleteReactionResponseApplicationJson rebuild( + void Function(BotDeleteReactionResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotDeleteReactionResponseApplicationJsonBuilder toBuilder() => + BotDeleteReactionResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotDeleteReactionResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotDeleteReactionResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotDeleteReactionResponseApplicationJsonBuilder + implements + Builder, + BotDeleteReactionResponseApplicationJsonInterfaceBuilder { + _$BotDeleteReactionResponseApplicationJson? _$v; + + BotDeleteReactionResponseApplicationJson_OcsBuilder? _ocs; + BotDeleteReactionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotDeleteReactionResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotDeleteReactionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotDeleteReactionResponseApplicationJsonBuilder(); + + BotDeleteReactionResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotDeleteReactionResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotDeleteReactionResponseApplicationJson; + } + + @override + void update(void Function(BotDeleteReactionResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotDeleteReactionResponseApplicationJson build() => _build(); + + _$BotDeleteReactionResponseApplicationJson _build() { + _$BotDeleteReactionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotDeleteReactionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotDeleteReactionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotInterfaceBuilder { + void replace(BotInterface other); + void update(void Function(BotInterfaceBuilder) updates); + String? get description; + set description(String? description); + + int? get id; + set id(int? id); + + String? get name; + set name(String? name); + + int? get state; + set state(int? state); +} + +class _$Bot extends Bot { + @override + final String? description; + @override + final int id; + @override + final String name; + @override + final int state; + + factory _$Bot([void Function(BotBuilder)? updates]) => (BotBuilder()..update(updates))._build(); + + _$Bot._({this.description, required this.id, required this.name, required this.state}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'Bot', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'Bot', 'name'); + BuiltValueNullFieldError.checkNotNull(state, r'Bot', 'state'); + } + + @override + Bot rebuild(void Function(BotBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + BotBuilder toBuilder() => BotBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Bot && + description == other.description && + id == other.id && + name == other.name && + state == other.state; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, state.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Bot') + ..add('description', description) + ..add('id', id) + ..add('name', name) + ..add('state', state)) + .toString(); + } +} + +class BotBuilder implements Builder, BotInterfaceBuilder { + _$Bot? _$v; + + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + int? _state; + int? get state => _$this._state; + set state(covariant int? state) => _$this._state = state; + + BotBuilder(); + + BotBuilder get _$this { + final $v = _$v; + if ($v != null) { + _description = $v.description; + _id = $v.id; + _name = $v.name; + _state = $v.state; + _$v = null; + } + return this; + } + + @override + void replace(covariant Bot other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Bot; + } + + @override + void update(void Function(BotBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Bot build() => _build(); + + _$Bot _build() { + final _$result = _$v ?? + _$Bot._( + description: description, + id: BuiltValueNullFieldError.checkNotNull(id, r'Bot', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'Bot', 'name'), + state: BuiltValueNullFieldError.checkNotNull(state, r'Bot', 'state')); + replace(_$result); + return _$result; + } +} + +abstract mixin class BotWithDetails_1InterfaceBuilder { + void replace(BotWithDetails_1Interface other); + void update(void Function(BotWithDetails_1InterfaceBuilder) updates); + int? get errorCount; + set errorCount(int? errorCount); + + int? get features; + set features(int? features); + + int? get lastErrorDate; + set lastErrorDate(int? lastErrorDate); + + String? get lastErrorMessage; + set lastErrorMessage(String? lastErrorMessage); + + String? get url; + set url(String? url); + + String? get urlHash; + set urlHash(String? urlHash); +} + +abstract mixin class BotWithDetailsInterfaceBuilder implements BotInterfaceBuilder, BotWithDetails_1InterfaceBuilder { + void replace(covariant BotWithDetailsInterface other); + void update(void Function(BotWithDetailsInterfaceBuilder) updates); + String? get description; + set description(covariant String? description); + + int? get id; + set id(covariant int? id); + + String? get name; + set name(covariant String? name); + + int? get state; + set state(covariant int? state); + + int? get errorCount; + set errorCount(covariant int? errorCount); + + int? get features; + set features(covariant int? features); + + int? get lastErrorDate; + set lastErrorDate(covariant int? lastErrorDate); + + String? get lastErrorMessage; + set lastErrorMessage(covariant String? lastErrorMessage); + + String? get url; + set url(covariant String? url); + + String? get urlHash; + set urlHash(covariant String? urlHash); +} + +class _$BotWithDetails extends BotWithDetails { + @override + final String? description; + @override + final int id; + @override + final String name; + @override + final int state; + @override + final int errorCount; + @override + final int features; + @override + final int lastErrorDate; + @override + final String lastErrorMessage; + @override + final String url; + @override + final String urlHash; + + factory _$BotWithDetails([void Function(BotWithDetailsBuilder)? updates]) => + (BotWithDetailsBuilder()..update(updates))._build(); + + _$BotWithDetails._( + {this.description, + required this.id, + required this.name, + required this.state, + required this.errorCount, + required this.features, + required this.lastErrorDate, + required this.lastErrorMessage, + required this.url, + required this.urlHash}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'BotWithDetails', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'BotWithDetails', 'name'); + BuiltValueNullFieldError.checkNotNull(state, r'BotWithDetails', 'state'); + BuiltValueNullFieldError.checkNotNull(errorCount, r'BotWithDetails', 'errorCount'); + BuiltValueNullFieldError.checkNotNull(features, r'BotWithDetails', 'features'); + BuiltValueNullFieldError.checkNotNull(lastErrorDate, r'BotWithDetails', 'lastErrorDate'); + BuiltValueNullFieldError.checkNotNull(lastErrorMessage, r'BotWithDetails', 'lastErrorMessage'); + BuiltValueNullFieldError.checkNotNull(url, r'BotWithDetails', 'url'); + BuiltValueNullFieldError.checkNotNull(urlHash, r'BotWithDetails', 'urlHash'); + } + + @override + BotWithDetails rebuild(void Function(BotWithDetailsBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + BotWithDetailsBuilder toBuilder() => BotWithDetailsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotWithDetails && + description == other.description && + id == other.id && + name == other.name && + state == other.state && + errorCount == other.errorCount && + features == other.features && + lastErrorDate == other.lastErrorDate && + lastErrorMessage == other.lastErrorMessage && + url == other.url && + urlHash == other.urlHash; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, state.hashCode); + _$hash = $jc(_$hash, errorCount.hashCode); + _$hash = $jc(_$hash, features.hashCode); + _$hash = $jc(_$hash, lastErrorDate.hashCode); + _$hash = $jc(_$hash, lastErrorMessage.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, urlHash.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotWithDetails') + ..add('description', description) + ..add('id', id) + ..add('name', name) + ..add('state', state) + ..add('errorCount', errorCount) + ..add('features', features) + ..add('lastErrorDate', lastErrorDate) + ..add('lastErrorMessage', lastErrorMessage) + ..add('url', url) + ..add('urlHash', urlHash)) + .toString(); + } +} + +class BotWithDetailsBuilder implements Builder, BotWithDetailsInterfaceBuilder { + _$BotWithDetails? _$v; + + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + int? _state; + int? get state => _$this._state; + set state(covariant int? state) => _$this._state = state; + + int? _errorCount; + int? get errorCount => _$this._errorCount; + set errorCount(covariant int? errorCount) => _$this._errorCount = errorCount; + + int? _features; + int? get features => _$this._features; + set features(covariant int? features) => _$this._features = features; + + int? _lastErrorDate; + int? get lastErrorDate => _$this._lastErrorDate; + set lastErrorDate(covariant int? lastErrorDate) => _$this._lastErrorDate = lastErrorDate; + + String? _lastErrorMessage; + String? get lastErrorMessage => _$this._lastErrorMessage; + set lastErrorMessage(covariant String? lastErrorMessage) => _$this._lastErrorMessage = lastErrorMessage; + + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; + + String? _urlHash; + String? get urlHash => _$this._urlHash; + set urlHash(covariant String? urlHash) => _$this._urlHash = urlHash; + + BotWithDetailsBuilder(); + + BotWithDetailsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _description = $v.description; + _id = $v.id; + _name = $v.name; + _state = $v.state; + _errorCount = $v.errorCount; + _features = $v.features; + _lastErrorDate = $v.lastErrorDate; + _lastErrorMessage = $v.lastErrorMessage; + _url = $v.url; + _urlHash = $v.urlHash; + _$v = null; + } + return this; + } + + @override + void replace(covariant BotWithDetails other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotWithDetails; + } + + @override + void update(void Function(BotWithDetailsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotWithDetails build() => _build(); + + _$BotWithDetails _build() { + final _$result = _$v ?? + _$BotWithDetails._( + description: description, + id: BuiltValueNullFieldError.checkNotNull(id, r'BotWithDetails', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'BotWithDetails', 'name'), + state: BuiltValueNullFieldError.checkNotNull(state, r'BotWithDetails', 'state'), + errorCount: BuiltValueNullFieldError.checkNotNull(errorCount, r'BotWithDetails', 'errorCount'), + features: BuiltValueNullFieldError.checkNotNull(features, r'BotWithDetails', 'features'), + lastErrorDate: BuiltValueNullFieldError.checkNotNull(lastErrorDate, r'BotWithDetails', 'lastErrorDate'), + lastErrorMessage: + BuiltValueNullFieldError.checkNotNull(lastErrorMessage, r'BotWithDetails', 'lastErrorMessage'), + url: BuiltValueNullFieldError.checkNotNull(url, r'BotWithDetails', 'url'), + urlHash: BuiltValueNullFieldError.checkNotNull(urlHash, r'BotWithDetails', 'urlHash')); + replace(_$result); + return _$result; + } +} + +abstract mixin class BotAdminListBotsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotAdminListBotsResponseApplicationJson_OcsInterface other); + void update(void Function(BotAdminListBotsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BotAdminListBotsResponseApplicationJson_Ocs extends BotAdminListBotsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BotAdminListBotsResponseApplicationJson_Ocs( + [void Function(BotAdminListBotsResponseApplicationJson_OcsBuilder)? updates]) => + (BotAdminListBotsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotAdminListBotsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotAdminListBotsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BotAdminListBotsResponseApplicationJson_Ocs', 'data'); + } + + @override + BotAdminListBotsResponseApplicationJson_Ocs rebuild( + void Function(BotAdminListBotsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotAdminListBotsResponseApplicationJson_OcsBuilder toBuilder() => + BotAdminListBotsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotAdminListBotsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotAdminListBotsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotAdminListBotsResponseApplicationJson_OcsBuilder + implements + Builder, + BotAdminListBotsResponseApplicationJson_OcsInterfaceBuilder { + _$BotAdminListBotsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BotAdminListBotsResponseApplicationJson_OcsBuilder(); + + BotAdminListBotsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotAdminListBotsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotAdminListBotsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotAdminListBotsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotAdminListBotsResponseApplicationJson_Ocs build() => _build(); + + _$BotAdminListBotsResponseApplicationJson_Ocs _build() { + _$BotAdminListBotsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$BotAdminListBotsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotAdminListBotsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotAdminListBotsResponseApplicationJsonInterfaceBuilder { + void replace(BotAdminListBotsResponseApplicationJsonInterface other); + void update(void Function(BotAdminListBotsResponseApplicationJsonInterfaceBuilder) updates); + BotAdminListBotsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotAdminListBotsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotAdminListBotsResponseApplicationJson extends BotAdminListBotsResponseApplicationJson { + @override + final BotAdminListBotsResponseApplicationJson_Ocs ocs; + + factory _$BotAdminListBotsResponseApplicationJson( + [void Function(BotAdminListBotsResponseApplicationJsonBuilder)? updates]) => + (BotAdminListBotsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotAdminListBotsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotAdminListBotsResponseApplicationJson', 'ocs'); + } + + @override + BotAdminListBotsResponseApplicationJson rebuild( + void Function(BotAdminListBotsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotAdminListBotsResponseApplicationJsonBuilder toBuilder() => + BotAdminListBotsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotAdminListBotsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotAdminListBotsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotAdminListBotsResponseApplicationJsonBuilder + implements + Builder, + BotAdminListBotsResponseApplicationJsonInterfaceBuilder { + _$BotAdminListBotsResponseApplicationJson? _$v; + + BotAdminListBotsResponseApplicationJson_OcsBuilder? _ocs; + BotAdminListBotsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotAdminListBotsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotAdminListBotsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotAdminListBotsResponseApplicationJsonBuilder(); + + BotAdminListBotsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotAdminListBotsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotAdminListBotsResponseApplicationJson; + } + + @override + void update(void Function(BotAdminListBotsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotAdminListBotsResponseApplicationJson build() => _build(); + + _$BotAdminListBotsResponseApplicationJson _build() { + _$BotAdminListBotsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotAdminListBotsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotAdminListBotsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotListBotsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotListBotsResponseApplicationJson_OcsInterface other); + void update(void Function(BotListBotsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BotListBotsResponseApplicationJson_Ocs extends BotListBotsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BotListBotsResponseApplicationJson_Ocs( + [void Function(BotListBotsResponseApplicationJson_OcsBuilder)? updates]) => + (BotListBotsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotListBotsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotListBotsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BotListBotsResponseApplicationJson_Ocs', 'data'); + } + + @override + BotListBotsResponseApplicationJson_Ocs rebuild( + void Function(BotListBotsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotListBotsResponseApplicationJson_OcsBuilder toBuilder() => + BotListBotsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotListBotsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotListBotsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotListBotsResponseApplicationJson_OcsBuilder + implements + Builder, + BotListBotsResponseApplicationJson_OcsInterfaceBuilder { + _$BotListBotsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BotListBotsResponseApplicationJson_OcsBuilder(); + + BotListBotsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotListBotsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotListBotsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotListBotsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotListBotsResponseApplicationJson_Ocs build() => _build(); + + _$BotListBotsResponseApplicationJson_Ocs _build() { + _$BotListBotsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$BotListBotsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotListBotsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotListBotsResponseApplicationJsonInterfaceBuilder { + void replace(BotListBotsResponseApplicationJsonInterface other); + void update(void Function(BotListBotsResponseApplicationJsonInterfaceBuilder) updates); + BotListBotsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotListBotsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotListBotsResponseApplicationJson extends BotListBotsResponseApplicationJson { + @override + final BotListBotsResponseApplicationJson_Ocs ocs; + + factory _$BotListBotsResponseApplicationJson([void Function(BotListBotsResponseApplicationJsonBuilder)? updates]) => + (BotListBotsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotListBotsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotListBotsResponseApplicationJson', 'ocs'); + } + + @override + BotListBotsResponseApplicationJson rebuild(void Function(BotListBotsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotListBotsResponseApplicationJsonBuilder toBuilder() => BotListBotsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotListBotsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotListBotsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotListBotsResponseApplicationJsonBuilder + implements + Builder, + BotListBotsResponseApplicationJsonInterfaceBuilder { + _$BotListBotsResponseApplicationJson? _$v; + + BotListBotsResponseApplicationJson_OcsBuilder? _ocs; + BotListBotsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotListBotsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotListBotsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotListBotsResponseApplicationJsonBuilder(); + + BotListBotsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotListBotsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotListBotsResponseApplicationJson; + } + + @override + void update(void Function(BotListBotsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotListBotsResponseApplicationJson build() => _build(); + + _$BotListBotsResponseApplicationJson _build() { + _$BotListBotsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotListBotsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotListBotsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotEnableBotResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotEnableBotResponseApplicationJson_OcsInterface other); + void update(void Function(BotEnableBotResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + BotBuilder get data; + set data(BotBuilder? data); +} + +class _$BotEnableBotResponseApplicationJson_Ocs extends BotEnableBotResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Bot? data; + + factory _$BotEnableBotResponseApplicationJson_Ocs( + [void Function(BotEnableBotResponseApplicationJson_OcsBuilder)? updates]) => + (BotEnableBotResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotEnableBotResponseApplicationJson_Ocs._({required this.meta, this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotEnableBotResponseApplicationJson_Ocs', 'meta'); + } + + @override + BotEnableBotResponseApplicationJson_Ocs rebuild( + void Function(BotEnableBotResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotEnableBotResponseApplicationJson_OcsBuilder toBuilder() => + BotEnableBotResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotEnableBotResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotEnableBotResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotEnableBotResponseApplicationJson_OcsBuilder + implements + Builder, + BotEnableBotResponseApplicationJson_OcsInterfaceBuilder { + _$BotEnableBotResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + BotBuilder? _data; + BotBuilder get data => _$this._data ??= BotBuilder(); + set data(covariant BotBuilder? data) => _$this._data = data; + + BotEnableBotResponseApplicationJson_OcsBuilder(); + + BotEnableBotResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotEnableBotResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotEnableBotResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotEnableBotResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotEnableBotResponseApplicationJson_Ocs build() => _build(); + + _$BotEnableBotResponseApplicationJson_Ocs _build() { + _$BotEnableBotResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$BotEnableBotResponseApplicationJson_Ocs._(meta: meta.build(), data: _data?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + _data?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotEnableBotResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotEnableBotResponseApplicationJsonInterfaceBuilder { + void replace(BotEnableBotResponseApplicationJsonInterface other); + void update(void Function(BotEnableBotResponseApplicationJsonInterfaceBuilder) updates); + BotEnableBotResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotEnableBotResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotEnableBotResponseApplicationJson extends BotEnableBotResponseApplicationJson { + @override + final BotEnableBotResponseApplicationJson_Ocs ocs; + + factory _$BotEnableBotResponseApplicationJson([void Function(BotEnableBotResponseApplicationJsonBuilder)? updates]) => + (BotEnableBotResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotEnableBotResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotEnableBotResponseApplicationJson', 'ocs'); + } + + @override + BotEnableBotResponseApplicationJson rebuild(void Function(BotEnableBotResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotEnableBotResponseApplicationJsonBuilder toBuilder() => BotEnableBotResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotEnableBotResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotEnableBotResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotEnableBotResponseApplicationJsonBuilder + implements + Builder, + BotEnableBotResponseApplicationJsonInterfaceBuilder { + _$BotEnableBotResponseApplicationJson? _$v; + + BotEnableBotResponseApplicationJson_OcsBuilder? _ocs; + BotEnableBotResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotEnableBotResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotEnableBotResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotEnableBotResponseApplicationJsonBuilder(); + + BotEnableBotResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotEnableBotResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotEnableBotResponseApplicationJson; + } + + @override + void update(void Function(BotEnableBotResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotEnableBotResponseApplicationJson build() => _build(); + + _$BotEnableBotResponseApplicationJson _build() { + _$BotEnableBotResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotEnableBotResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotEnableBotResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotDisableBotResponseApplicationJson_OcsInterfaceBuilder { + void replace(BotDisableBotResponseApplicationJson_OcsInterface other); + void update(void Function(BotDisableBotResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + BotBuilder get data; + set data(BotBuilder? data); +} + +class _$BotDisableBotResponseApplicationJson_Ocs extends BotDisableBotResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Bot? data; + + factory _$BotDisableBotResponseApplicationJson_Ocs( + [void Function(BotDisableBotResponseApplicationJson_OcsBuilder)? updates]) => + (BotDisableBotResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BotDisableBotResponseApplicationJson_Ocs._({required this.meta, this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BotDisableBotResponseApplicationJson_Ocs', 'meta'); + } + + @override + BotDisableBotResponseApplicationJson_Ocs rebuild( + void Function(BotDisableBotResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotDisableBotResponseApplicationJson_OcsBuilder toBuilder() => + BotDisableBotResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotDisableBotResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotDisableBotResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BotDisableBotResponseApplicationJson_OcsBuilder + implements + Builder, + BotDisableBotResponseApplicationJson_OcsInterfaceBuilder { + _$BotDisableBotResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + BotBuilder? _data; + BotBuilder get data => _$this._data ??= BotBuilder(); + set data(covariant BotBuilder? data) => _$this._data = data; + + BotDisableBotResponseApplicationJson_OcsBuilder(); + + BotDisableBotResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotDisableBotResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotDisableBotResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BotDisableBotResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotDisableBotResponseApplicationJson_Ocs build() => _build(); + + _$BotDisableBotResponseApplicationJson_Ocs _build() { + _$BotDisableBotResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$BotDisableBotResponseApplicationJson_Ocs._(meta: meta.build(), data: _data?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + _data?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotDisableBotResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotDisableBotResponseApplicationJsonInterfaceBuilder { + void replace(BotDisableBotResponseApplicationJsonInterface other); + void update(void Function(BotDisableBotResponseApplicationJsonInterfaceBuilder) updates); + BotDisableBotResponseApplicationJson_OcsBuilder get ocs; + set ocs(BotDisableBotResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BotDisableBotResponseApplicationJson extends BotDisableBotResponseApplicationJson { + @override + final BotDisableBotResponseApplicationJson_Ocs ocs; + + factory _$BotDisableBotResponseApplicationJson( + [void Function(BotDisableBotResponseApplicationJsonBuilder)? updates]) => + (BotDisableBotResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BotDisableBotResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BotDisableBotResponseApplicationJson', 'ocs'); + } + + @override + BotDisableBotResponseApplicationJson rebuild(void Function(BotDisableBotResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotDisableBotResponseApplicationJsonBuilder toBuilder() => + BotDisableBotResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotDisableBotResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotDisableBotResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class BotDisableBotResponseApplicationJsonBuilder + implements + Builder, + BotDisableBotResponseApplicationJsonInterfaceBuilder { + _$BotDisableBotResponseApplicationJson? _$v; + + BotDisableBotResponseApplicationJson_OcsBuilder? _ocs; + BotDisableBotResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BotDisableBotResponseApplicationJson_OcsBuilder(); + set ocs(covariant BotDisableBotResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BotDisableBotResponseApplicationJsonBuilder(); + + BotDisableBotResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BotDisableBotResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotDisableBotResponseApplicationJson; + } + + @override + void update(void Function(BotDisableBotResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotDisableBotResponseApplicationJson build() => _build(); + + _$BotDisableBotResponseApplicationJson _build() { + _$BotDisableBotResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BotDisableBotResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'BotDisableBotResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs + extends BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs( + [void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs _build() { + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson + extends BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson { + @override + final BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson( + [void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson rebuild( + void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson? _$v; + + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder(); + + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson build() => _build(); + + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson _build() { + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs + extends BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs( + [void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs _build() { + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson + extends BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson { + @override + final BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson( + [void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson rebuild( + void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson? _$v; + + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder(); + + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson build() => _build(); + + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson _build() { + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs + extends BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs( + [void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder(); + + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs _build() { + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson + extends BreakoutRoomBroadcastChatMessageResponseApplicationJson { + @override + final BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomBroadcastChatMessageResponseApplicationJson( + [void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomBroadcastChatMessageResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson rebuild( + void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomBroadcastChatMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomBroadcastChatMessageResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomBroadcastChatMessageResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson? _$v; + + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder(); + + BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomBroadcastChatMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomBroadcastChatMessageResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson build() => _build(); + + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson _build() { + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomBroadcastChatMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomBroadcastChatMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs + extends BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs( + [void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder(); + + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs _build() { + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson + extends BreakoutRoomApplyAttendeeMapResponseApplicationJson { + @override + final BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomApplyAttendeeMapResponseApplicationJson( + [void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomApplyAttendeeMapResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson rebuild( + void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomApplyAttendeeMapResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomApplyAttendeeMapResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomApplyAttendeeMapResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson? _$v; + + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder(); + + BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomApplyAttendeeMapResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomApplyAttendeeMapResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson build() => _build(); + + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson _build() { + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomApplyAttendeeMapResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomApplyAttendeeMapResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs + extends BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs( + [void Function(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder(); + + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs _build() { + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomRequestAssistanceResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomRequestAssistanceResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomRequestAssistanceResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJson + extends BreakoutRoomRequestAssistanceResponseApplicationJson { + @override + final BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomRequestAssistanceResponseApplicationJson( + [void Function(BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomRequestAssistanceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomRequestAssistanceResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson rebuild( + void Function(BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomRequestAssistanceResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomRequestAssistanceResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomRequestAssistanceResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomRequestAssistanceResponseApplicationJson? _$v; + + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder(); + + BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomRequestAssistanceResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomRequestAssistanceResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson build() => _build(); + + _$BreakoutRoomRequestAssistanceResponseApplicationJson _build() { + _$BreakoutRoomRequestAssistanceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomRequestAssistanceResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomRequestAssistanceResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs + extends BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs( + [void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder(); + + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs _build() { + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson + extends BreakoutRoomResetRequestForAssistanceResponseApplicationJson { + @override + final BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson( + [void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson rebuild( + void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomResetRequestForAssistanceResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson? _$v; + + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder(); + + BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomResetRequestForAssistanceResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson build() => _build(); + + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson _build() { + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomResetRequestForAssistanceResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs + extends BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs( + [void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs _build() { + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson + extends BreakoutRoomStartBreakoutRoomsResponseApplicationJson { + @override + final BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson( + [void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson rebuild( + void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomStartBreakoutRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson? _$v; + + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder(); + + BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomStartBreakoutRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson build() => _build(); + + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson _build() { + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomStartBreakoutRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs + extends BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs( + [void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs _build() { + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson + extends BreakoutRoomStopBreakoutRoomsResponseApplicationJson { + @override + final BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson( + [void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson rebuild( + void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomStopBreakoutRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson? _$v; + + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder(); + + BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomStopBreakoutRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson build() => _build(); + + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson _build() { + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomStopBreakoutRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterface other); + void update(void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs + extends BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs( + [void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder)? updates]) => + (BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs rebuild( + void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder toBuilder() => + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder + implements + Builder, + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsInterfaceBuilder { + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder(); + + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs build() => _build(); + + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs _build() { + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterfaceBuilder { + void replace(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterface other); + void update(void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterfaceBuilder) updates); + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson + extends BreakoutRoomSwitchBreakoutRoomResponseApplicationJson { + @override + final BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs ocs; + + factory _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson( + [void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder)? updates]) => + (BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson', 'ocs'); + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson rebuild( + void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder toBuilder() => + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BreakoutRoomSwitchBreakoutRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder + implements + Builder, + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonInterfaceBuilder { + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson? _$v; + + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder? _ocs; + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder(); + + BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant BreakoutRoomSwitchBreakoutRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson; + } + + @override + void update(void Function(BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson build() => _build(); + + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson _build() { + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallPeerInterfaceBuilder { + void replace(CallPeerInterface other); + void update(void Function(CallPeerInterfaceBuilder) updates); + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + String? get displayName; + set displayName(String? displayName); + + int? get lastPing; + set lastPing(int? lastPing); + + String? get sessionId; + set sessionId(String? sessionId); + + String? get token; + set token(String? token); +} + +class _$CallPeer extends CallPeer { + @override + final String actorId; + @override + final String actorType; + @override + final String displayName; + @override + final int lastPing; + @override + final String sessionId; + @override + final String token; + + factory _$CallPeer([void Function(CallPeerBuilder)? updates]) => (CallPeerBuilder()..update(updates))._build(); + + _$CallPeer._( + {required this.actorId, + required this.actorType, + required this.displayName, + required this.lastPing, + required this.sessionId, + required this.token}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorId, r'CallPeer', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'CallPeer', 'actorType'); + BuiltValueNullFieldError.checkNotNull(displayName, r'CallPeer', 'displayName'); + BuiltValueNullFieldError.checkNotNull(lastPing, r'CallPeer', 'lastPing'); + BuiltValueNullFieldError.checkNotNull(sessionId, r'CallPeer', 'sessionId'); + BuiltValueNullFieldError.checkNotNull(token, r'CallPeer', 'token'); + } + + @override + CallPeer rebuild(void Function(CallPeerBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CallPeerBuilder toBuilder() => CallPeerBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallPeer && + actorId == other.actorId && + actorType == other.actorType && + displayName == other.displayName && + lastPing == other.lastPing && + sessionId == other.sessionId && + token == other.token; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, lastPing.hashCode); + _$hash = $jc(_$hash, sessionId.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallPeer') + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('displayName', displayName) + ..add('lastPing', lastPing) + ..add('sessionId', sessionId) + ..add('token', token)) + .toString(); + } +} + +class CallPeerBuilder implements Builder, CallPeerInterfaceBuilder { + _$CallPeer? _$v; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; + + int? _lastPing; + int? get lastPing => _$this._lastPing; + set lastPing(covariant int? lastPing) => _$this._lastPing = lastPing; + + String? _sessionId; + String? get sessionId => _$this._sessionId; + set sessionId(covariant String? sessionId) => _$this._sessionId = sessionId; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + CallPeerBuilder(); + + CallPeerBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorId = $v.actorId; + _actorType = $v.actorType; + _displayName = $v.displayName; + _lastPing = $v.lastPing; + _sessionId = $v.sessionId; + _token = $v.token; + _$v = null; + } + return this; + } + + @override + void replace(covariant CallPeer other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallPeer; + } + + @override + void update(void Function(CallPeerBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallPeer build() => _build(); + + _$CallPeer _build() { + final _$result = _$v ?? + _$CallPeer._( + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'CallPeer', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'CallPeer', 'actorType'), + displayName: BuiltValueNullFieldError.checkNotNull(displayName, r'CallPeer', 'displayName'), + lastPing: BuiltValueNullFieldError.checkNotNull(lastPing, r'CallPeer', 'lastPing'), + sessionId: BuiltValueNullFieldError.checkNotNull(sessionId, r'CallPeer', 'sessionId'), + token: BuiltValueNullFieldError.checkNotNull(token, r'CallPeer', 'token')); + replace(_$result); + return _$result; + } +} + +abstract mixin class CallGetPeersForCallResponseApplicationJson_OcsInterfaceBuilder { + void replace(CallGetPeersForCallResponseApplicationJson_OcsInterface other); + void update(void Function(CallGetPeersForCallResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$CallGetPeersForCallResponseApplicationJson_Ocs extends CallGetPeersForCallResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$CallGetPeersForCallResponseApplicationJson_Ocs( + [void Function(CallGetPeersForCallResponseApplicationJson_OcsBuilder)? updates]) => + (CallGetPeersForCallResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CallGetPeersForCallResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CallGetPeersForCallResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CallGetPeersForCallResponseApplicationJson_Ocs', 'data'); + } + + @override + CallGetPeersForCallResponseApplicationJson_Ocs rebuild( + void Function(CallGetPeersForCallResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallGetPeersForCallResponseApplicationJson_OcsBuilder toBuilder() => + CallGetPeersForCallResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallGetPeersForCallResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallGetPeersForCallResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CallGetPeersForCallResponseApplicationJson_OcsBuilder + implements + Builder, + CallGetPeersForCallResponseApplicationJson_OcsInterfaceBuilder { + _$CallGetPeersForCallResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + CallGetPeersForCallResponseApplicationJson_OcsBuilder(); + + CallGetPeersForCallResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallGetPeersForCallResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallGetPeersForCallResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CallGetPeersForCallResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallGetPeersForCallResponseApplicationJson_Ocs build() => _build(); + + _$CallGetPeersForCallResponseApplicationJson_Ocs _build() { + _$CallGetPeersForCallResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$CallGetPeersForCallResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CallGetPeersForCallResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallGetPeersForCallResponseApplicationJsonInterfaceBuilder { + void replace(CallGetPeersForCallResponseApplicationJsonInterface other); + void update(void Function(CallGetPeersForCallResponseApplicationJsonInterfaceBuilder) updates); + CallGetPeersForCallResponseApplicationJson_OcsBuilder get ocs; + set ocs(CallGetPeersForCallResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CallGetPeersForCallResponseApplicationJson extends CallGetPeersForCallResponseApplicationJson { + @override + final CallGetPeersForCallResponseApplicationJson_Ocs ocs; + + factory _$CallGetPeersForCallResponseApplicationJson( + [void Function(CallGetPeersForCallResponseApplicationJsonBuilder)? updates]) => + (CallGetPeersForCallResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CallGetPeersForCallResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CallGetPeersForCallResponseApplicationJson', 'ocs'); + } + + @override + CallGetPeersForCallResponseApplicationJson rebuild( + void Function(CallGetPeersForCallResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallGetPeersForCallResponseApplicationJsonBuilder toBuilder() => + CallGetPeersForCallResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallGetPeersForCallResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallGetPeersForCallResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CallGetPeersForCallResponseApplicationJsonBuilder + implements + Builder, + CallGetPeersForCallResponseApplicationJsonInterfaceBuilder { + _$CallGetPeersForCallResponseApplicationJson? _$v; + + CallGetPeersForCallResponseApplicationJson_OcsBuilder? _ocs; + CallGetPeersForCallResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CallGetPeersForCallResponseApplicationJson_OcsBuilder(); + set ocs(covariant CallGetPeersForCallResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CallGetPeersForCallResponseApplicationJsonBuilder(); + + CallGetPeersForCallResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallGetPeersForCallResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallGetPeersForCallResponseApplicationJson; + } + + @override + void update(void Function(CallGetPeersForCallResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallGetPeersForCallResponseApplicationJson build() => _build(); + + _$CallGetPeersForCallResponseApplicationJson _build() { + _$CallGetPeersForCallResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CallGetPeersForCallResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallGetPeersForCallResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallUpdateCallFlagsResponseApplicationJson_OcsInterfaceBuilder { + void replace(CallUpdateCallFlagsResponseApplicationJson_OcsInterface other); + void update(void Function(CallUpdateCallFlagsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$CallUpdateCallFlagsResponseApplicationJson_Ocs extends CallUpdateCallFlagsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$CallUpdateCallFlagsResponseApplicationJson_Ocs( + [void Function(CallUpdateCallFlagsResponseApplicationJson_OcsBuilder)? updates]) => + (CallUpdateCallFlagsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CallUpdateCallFlagsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CallUpdateCallFlagsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CallUpdateCallFlagsResponseApplicationJson_Ocs', 'data'); + } + + @override + CallUpdateCallFlagsResponseApplicationJson_Ocs rebuild( + void Function(CallUpdateCallFlagsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder toBuilder() => + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallUpdateCallFlagsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallUpdateCallFlagsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CallUpdateCallFlagsResponseApplicationJson_OcsBuilder + implements + Builder, + CallUpdateCallFlagsResponseApplicationJson_OcsInterfaceBuilder { + _$CallUpdateCallFlagsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder(); + + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant CallUpdateCallFlagsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallUpdateCallFlagsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CallUpdateCallFlagsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallUpdateCallFlagsResponseApplicationJson_Ocs build() => _build(); + + _$CallUpdateCallFlagsResponseApplicationJson_Ocs _build() { + _$CallUpdateCallFlagsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CallUpdateCallFlagsResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CallUpdateCallFlagsResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CallUpdateCallFlagsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallUpdateCallFlagsResponseApplicationJsonInterfaceBuilder { + void replace(CallUpdateCallFlagsResponseApplicationJsonInterface other); + void update(void Function(CallUpdateCallFlagsResponseApplicationJsonInterfaceBuilder) updates); + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder get ocs; + set ocs(CallUpdateCallFlagsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CallUpdateCallFlagsResponseApplicationJson extends CallUpdateCallFlagsResponseApplicationJson { + @override + final CallUpdateCallFlagsResponseApplicationJson_Ocs ocs; + + factory _$CallUpdateCallFlagsResponseApplicationJson( + [void Function(CallUpdateCallFlagsResponseApplicationJsonBuilder)? updates]) => + (CallUpdateCallFlagsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CallUpdateCallFlagsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CallUpdateCallFlagsResponseApplicationJson', 'ocs'); + } + + @override + CallUpdateCallFlagsResponseApplicationJson rebuild( + void Function(CallUpdateCallFlagsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallUpdateCallFlagsResponseApplicationJsonBuilder toBuilder() => + CallUpdateCallFlagsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallUpdateCallFlagsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallUpdateCallFlagsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CallUpdateCallFlagsResponseApplicationJsonBuilder + implements + Builder, + CallUpdateCallFlagsResponseApplicationJsonInterfaceBuilder { + _$CallUpdateCallFlagsResponseApplicationJson? _$v; + + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder? _ocs; + CallUpdateCallFlagsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CallUpdateCallFlagsResponseApplicationJson_OcsBuilder(); + set ocs(covariant CallUpdateCallFlagsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CallUpdateCallFlagsResponseApplicationJsonBuilder(); + + CallUpdateCallFlagsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallUpdateCallFlagsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallUpdateCallFlagsResponseApplicationJson; + } + + @override + void update(void Function(CallUpdateCallFlagsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallUpdateCallFlagsResponseApplicationJson build() => _build(); + + _$CallUpdateCallFlagsResponseApplicationJson _build() { + _$CallUpdateCallFlagsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CallUpdateCallFlagsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallUpdateCallFlagsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallJoinCallResponseApplicationJson_OcsInterfaceBuilder { + void replace(CallJoinCallResponseApplicationJson_OcsInterface other); + void update(void Function(CallJoinCallResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$CallJoinCallResponseApplicationJson_Ocs extends CallJoinCallResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$CallJoinCallResponseApplicationJson_Ocs( + [void Function(CallJoinCallResponseApplicationJson_OcsBuilder)? updates]) => + (CallJoinCallResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CallJoinCallResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CallJoinCallResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CallJoinCallResponseApplicationJson_Ocs', 'data'); + } + + @override + CallJoinCallResponseApplicationJson_Ocs rebuild( + void Function(CallJoinCallResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallJoinCallResponseApplicationJson_OcsBuilder toBuilder() => + CallJoinCallResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallJoinCallResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallJoinCallResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CallJoinCallResponseApplicationJson_OcsBuilder + implements + Builder, + CallJoinCallResponseApplicationJson_OcsInterfaceBuilder { + _$CallJoinCallResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + CallJoinCallResponseApplicationJson_OcsBuilder(); + + CallJoinCallResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant CallJoinCallResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallJoinCallResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CallJoinCallResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallJoinCallResponseApplicationJson_Ocs build() => _build(); + + _$CallJoinCallResponseApplicationJson_Ocs _build() { + _$CallJoinCallResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CallJoinCallResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'CallJoinCallResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallJoinCallResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallJoinCallResponseApplicationJsonInterfaceBuilder { + void replace(CallJoinCallResponseApplicationJsonInterface other); + void update(void Function(CallJoinCallResponseApplicationJsonInterfaceBuilder) updates); + CallJoinCallResponseApplicationJson_OcsBuilder get ocs; + set ocs(CallJoinCallResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CallJoinCallResponseApplicationJson extends CallJoinCallResponseApplicationJson { + @override + final CallJoinCallResponseApplicationJson_Ocs ocs; + + factory _$CallJoinCallResponseApplicationJson([void Function(CallJoinCallResponseApplicationJsonBuilder)? updates]) => + (CallJoinCallResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CallJoinCallResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CallJoinCallResponseApplicationJson', 'ocs'); + } + + @override + CallJoinCallResponseApplicationJson rebuild(void Function(CallJoinCallResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallJoinCallResponseApplicationJsonBuilder toBuilder() => CallJoinCallResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallJoinCallResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallJoinCallResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CallJoinCallResponseApplicationJsonBuilder + implements + Builder, + CallJoinCallResponseApplicationJsonInterfaceBuilder { + _$CallJoinCallResponseApplicationJson? _$v; + + CallJoinCallResponseApplicationJson_OcsBuilder? _ocs; + CallJoinCallResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CallJoinCallResponseApplicationJson_OcsBuilder(); + set ocs(covariant CallJoinCallResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CallJoinCallResponseApplicationJsonBuilder(); + + CallJoinCallResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallJoinCallResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallJoinCallResponseApplicationJson; + } + + @override + void update(void Function(CallJoinCallResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallJoinCallResponseApplicationJson build() => _build(); + + _$CallJoinCallResponseApplicationJson _build() { + _$CallJoinCallResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CallJoinCallResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallJoinCallResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallLeaveCallResponseApplicationJson_OcsInterfaceBuilder { + void replace(CallLeaveCallResponseApplicationJson_OcsInterface other); + void update(void Function(CallLeaveCallResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$CallLeaveCallResponseApplicationJson_Ocs extends CallLeaveCallResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$CallLeaveCallResponseApplicationJson_Ocs( + [void Function(CallLeaveCallResponseApplicationJson_OcsBuilder)? updates]) => + (CallLeaveCallResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CallLeaveCallResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CallLeaveCallResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CallLeaveCallResponseApplicationJson_Ocs', 'data'); + } + + @override + CallLeaveCallResponseApplicationJson_Ocs rebuild( + void Function(CallLeaveCallResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallLeaveCallResponseApplicationJson_OcsBuilder toBuilder() => + CallLeaveCallResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallLeaveCallResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallLeaveCallResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CallLeaveCallResponseApplicationJson_OcsBuilder + implements + Builder, + CallLeaveCallResponseApplicationJson_OcsInterfaceBuilder { + _$CallLeaveCallResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + CallLeaveCallResponseApplicationJson_OcsBuilder(); + + CallLeaveCallResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant CallLeaveCallResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallLeaveCallResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CallLeaveCallResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallLeaveCallResponseApplicationJson_Ocs build() => _build(); + + _$CallLeaveCallResponseApplicationJson_Ocs _build() { + _$CallLeaveCallResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CallLeaveCallResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'CallLeaveCallResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallLeaveCallResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallLeaveCallResponseApplicationJsonInterfaceBuilder { + void replace(CallLeaveCallResponseApplicationJsonInterface other); + void update(void Function(CallLeaveCallResponseApplicationJsonInterfaceBuilder) updates); + CallLeaveCallResponseApplicationJson_OcsBuilder get ocs; + set ocs(CallLeaveCallResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CallLeaveCallResponseApplicationJson extends CallLeaveCallResponseApplicationJson { + @override + final CallLeaveCallResponseApplicationJson_Ocs ocs; + + factory _$CallLeaveCallResponseApplicationJson( + [void Function(CallLeaveCallResponseApplicationJsonBuilder)? updates]) => + (CallLeaveCallResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CallLeaveCallResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CallLeaveCallResponseApplicationJson', 'ocs'); + } + + @override + CallLeaveCallResponseApplicationJson rebuild(void Function(CallLeaveCallResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallLeaveCallResponseApplicationJsonBuilder toBuilder() => + CallLeaveCallResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallLeaveCallResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallLeaveCallResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CallLeaveCallResponseApplicationJsonBuilder + implements + Builder, + CallLeaveCallResponseApplicationJsonInterfaceBuilder { + _$CallLeaveCallResponseApplicationJson? _$v; + + CallLeaveCallResponseApplicationJson_OcsBuilder? _ocs; + CallLeaveCallResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CallLeaveCallResponseApplicationJson_OcsBuilder(); + set ocs(covariant CallLeaveCallResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CallLeaveCallResponseApplicationJsonBuilder(); + + CallLeaveCallResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallLeaveCallResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallLeaveCallResponseApplicationJson; + } + + @override + void update(void Function(CallLeaveCallResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallLeaveCallResponseApplicationJson build() => _build(); + + _$CallLeaveCallResponseApplicationJson _build() { + _$CallLeaveCallResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CallLeaveCallResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallLeaveCallResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallRingAttendeeResponseApplicationJson_OcsInterfaceBuilder { + void replace(CallRingAttendeeResponseApplicationJson_OcsInterface other); + void update(void Function(CallRingAttendeeResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$CallRingAttendeeResponseApplicationJson_Ocs extends CallRingAttendeeResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$CallRingAttendeeResponseApplicationJson_Ocs( + [void Function(CallRingAttendeeResponseApplicationJson_OcsBuilder)? updates]) => + (CallRingAttendeeResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CallRingAttendeeResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CallRingAttendeeResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CallRingAttendeeResponseApplicationJson_Ocs', 'data'); + } + + @override + CallRingAttendeeResponseApplicationJson_Ocs rebuild( + void Function(CallRingAttendeeResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallRingAttendeeResponseApplicationJson_OcsBuilder toBuilder() => + CallRingAttendeeResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallRingAttendeeResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallRingAttendeeResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CallRingAttendeeResponseApplicationJson_OcsBuilder + implements + Builder, + CallRingAttendeeResponseApplicationJson_OcsInterfaceBuilder { + _$CallRingAttendeeResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + CallRingAttendeeResponseApplicationJson_OcsBuilder(); + + CallRingAttendeeResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant CallRingAttendeeResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallRingAttendeeResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CallRingAttendeeResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallRingAttendeeResponseApplicationJson_Ocs build() => _build(); + + _$CallRingAttendeeResponseApplicationJson_Ocs _build() { + _$CallRingAttendeeResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CallRingAttendeeResponseApplicationJson_Ocs._( + meta: meta.build(), + data: + BuiltValueNullFieldError.checkNotNull(data, r'CallRingAttendeeResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallRingAttendeeResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CallRingAttendeeResponseApplicationJsonInterfaceBuilder { + void replace(CallRingAttendeeResponseApplicationJsonInterface other); + void update(void Function(CallRingAttendeeResponseApplicationJsonInterfaceBuilder) updates); + CallRingAttendeeResponseApplicationJson_OcsBuilder get ocs; + set ocs(CallRingAttendeeResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CallRingAttendeeResponseApplicationJson extends CallRingAttendeeResponseApplicationJson { + @override + final CallRingAttendeeResponseApplicationJson_Ocs ocs; + + factory _$CallRingAttendeeResponseApplicationJson( + [void Function(CallRingAttendeeResponseApplicationJsonBuilder)? updates]) => + (CallRingAttendeeResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CallRingAttendeeResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CallRingAttendeeResponseApplicationJson', 'ocs'); + } + + @override + CallRingAttendeeResponseApplicationJson rebuild( + void Function(CallRingAttendeeResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CallRingAttendeeResponseApplicationJsonBuilder toBuilder() => + CallRingAttendeeResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CallRingAttendeeResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CallRingAttendeeResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CallRingAttendeeResponseApplicationJsonBuilder + implements + Builder, + CallRingAttendeeResponseApplicationJsonInterfaceBuilder { + _$CallRingAttendeeResponseApplicationJson? _$v; + + CallRingAttendeeResponseApplicationJson_OcsBuilder? _ocs; + CallRingAttendeeResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CallRingAttendeeResponseApplicationJson_OcsBuilder(); + set ocs(covariant CallRingAttendeeResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CallRingAttendeeResponseApplicationJsonBuilder(); + + CallRingAttendeeResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CallRingAttendeeResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CallRingAttendeeResponseApplicationJson; + } + + @override + void update(void Function(CallRingAttendeeResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CallRingAttendeeResponseApplicationJson build() => _build(); + + _$CallRingAttendeeResponseApplicationJson _build() { + _$CallRingAttendeeResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CallRingAttendeeResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CallRingAttendeeResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + int? get expirationInDays; + set expirationInDays(int? expirationInDays); +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data + extends CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data { + @override + final int? expirationInDays; + + factory _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data( + [void Function(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data._({this.expirationInDays}) : super._(); + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data rebuild( + void Function(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder toBuilder() => + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data && + expirationInDays == other.expirationInDays; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, expirationInDays.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data') + ..add('expirationInDays', expirationInDays)) + .toString(); + } +} + +class CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data? _$v; + + int? _expirationInDays; + int? get expirationInDays => _$this._expirationInDays; + set expirationInDays(covariant int? expirationInDays) => _$this._expirationInDays = expirationInDays; + + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder(); + + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _expirationInDays = $v.expirationInDays; + _$v = null; + } + return this; + } + + @override + void replace(covariant CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data build() => _build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data._(expirationInDays: expirationInDays); + replace(_$result); + return _$result; + } +} + +abstract mixin class CertificateGetCertificateExpirationResponseApplicationJson_OcsInterfaceBuilder { + void replace(CertificateGetCertificateExpirationResponseApplicationJson_OcsInterface other); + void update(void Function(CertificateGetCertificateExpirationResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder get data; + set data(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs + extends CertificateGetCertificateExpirationResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data data; + + factory _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs( + [void Function(CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder)? updates]) => + (CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CertificateGetCertificateExpirationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CertificateGetCertificateExpirationResponseApplicationJson_Ocs', 'data'); + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs rebuild( + void Function(CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder toBuilder() => + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CertificateGetCertificateExpirationResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CertificateGetCertificateExpirationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder + implements + Builder, + CertificateGetCertificateExpirationResponseApplicationJson_OcsInterfaceBuilder { + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder? _data; + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder(); + + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CertificateGetCertificateExpirationResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs; + } + + @override + void update(void Function(CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs build() => _build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs _build() { + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CertificateGetCertificateExpirationResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CertificateGetCertificateExpirationResponseApplicationJsonInterfaceBuilder { + void replace(CertificateGetCertificateExpirationResponseApplicationJsonInterface other); + void update(void Function(CertificateGetCertificateExpirationResponseApplicationJsonInterfaceBuilder) updates); + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder get ocs; + set ocs(CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson + extends CertificateGetCertificateExpirationResponseApplicationJson { + @override + final CertificateGetCertificateExpirationResponseApplicationJson_Ocs ocs; + + factory _$CertificateGetCertificateExpirationResponseApplicationJson( + [void Function(CertificateGetCertificateExpirationResponseApplicationJsonBuilder)? updates]) => + (CertificateGetCertificateExpirationResponseApplicationJsonBuilder()..update(updates))._build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CertificateGetCertificateExpirationResponseApplicationJson', 'ocs'); + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson rebuild( + void Function(CertificateGetCertificateExpirationResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CertificateGetCertificateExpirationResponseApplicationJsonBuilder toBuilder() => + CertificateGetCertificateExpirationResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CertificateGetCertificateExpirationResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CertificateGetCertificateExpirationResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CertificateGetCertificateExpirationResponseApplicationJsonBuilder + implements + Builder, + CertificateGetCertificateExpirationResponseApplicationJsonInterfaceBuilder { + _$CertificateGetCertificateExpirationResponseApplicationJson? _$v; + + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder? _ocs; + CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder(); + set ocs(covariant CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CertificateGetCertificateExpirationResponseApplicationJsonBuilder(); + + CertificateGetCertificateExpirationResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant CertificateGetCertificateExpirationResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CertificateGetCertificateExpirationResponseApplicationJson; + } + + @override + void update(void Function(CertificateGetCertificateExpirationResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson build() => _build(); + + _$CertificateGetCertificateExpirationResponseApplicationJson _build() { + _$CertificateGetCertificateExpirationResponseApplicationJson _$result; + try { + _$result = _$v ?? _$CertificateGetCertificateExpirationResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CertificateGetCertificateExpirationResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatReceiveMessagesHeadersInterfaceBuilder { + void replace(ChatChatReceiveMessagesHeadersInterface other); + void update(void Function(ChatChatReceiveMessagesHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); + + String? get xChatLastGiven; + set xChatLastGiven(String? xChatLastGiven); +} + +class _$ChatChatReceiveMessagesHeaders extends ChatChatReceiveMessagesHeaders { + @override + final String? xChatLastCommonRead; + @override + final String? xChatLastGiven; + + factory _$ChatChatReceiveMessagesHeaders([void Function(ChatChatReceiveMessagesHeadersBuilder)? updates]) => + (ChatChatReceiveMessagesHeadersBuilder()..update(updates))._build(); + + _$ChatChatReceiveMessagesHeaders._({this.xChatLastCommonRead, this.xChatLastGiven}) : super._(); + + @override + ChatChatReceiveMessagesHeaders rebuild(void Function(ChatChatReceiveMessagesHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatReceiveMessagesHeadersBuilder toBuilder() => ChatChatReceiveMessagesHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatReceiveMessagesHeaders && + xChatLastCommonRead == other.xChatLastCommonRead && + xChatLastGiven == other.xChatLastGiven; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jc(_$hash, xChatLastGiven.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatReceiveMessagesHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead) + ..add('xChatLastGiven', xChatLastGiven)) + .toString(); + } +} + +class ChatChatReceiveMessagesHeadersBuilder + implements + Builder, + ChatChatReceiveMessagesHeadersInterfaceBuilder { + _$ChatChatReceiveMessagesHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + String? _xChatLastGiven; + String? get xChatLastGiven => _$this._xChatLastGiven; + set xChatLastGiven(covariant String? xChatLastGiven) => _$this._xChatLastGiven = xChatLastGiven; + + ChatChatReceiveMessagesHeadersBuilder(); + + ChatChatReceiveMessagesHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _xChatLastGiven = $v.xChatLastGiven; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatReceiveMessagesHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatReceiveMessagesHeaders; + } + + @override + void update(void Function(ChatChatReceiveMessagesHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatReceiveMessagesHeaders build() => _build(); + + _$ChatChatReceiveMessagesHeaders _build() { + final _$result = _$v ?? + _$ChatChatReceiveMessagesHeaders._(xChatLastCommonRead: xChatLastCommonRead, xChatLastGiven: xChatLastGiven); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMessageWithParent_1InterfaceBuilder { + void replace(ChatMessageWithParent_1Interface other); + void update(void Function(ChatMessageWithParent_1InterfaceBuilder) updates); + ChatMessageBuilder get parent; + set parent(ChatMessageBuilder? parent); +} + +abstract mixin class ChatMessageWithParentInterfaceBuilder + implements ChatMessageInterfaceBuilder, ChatMessageWithParent_1InterfaceBuilder { + void replace(covariant ChatMessageWithParentInterface other); + void update(void Function(ChatMessageWithParentInterfaceBuilder) updates); + String? get actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName); + + String? get actorId; + set actorId(covariant String? actorId); + + String? get actorType; + set actorType(covariant String? actorType); + + bool? get deleted; + set deleted(covariant bool? deleted); + + int? get expirationTimestamp; + set expirationTimestamp(covariant int? expirationTimestamp); + + int? get id; + set id(covariant int? id); + + bool? get isReplyable; + set isReplyable(covariant bool? isReplyable); + + bool? get markdown; + set markdown(covariant bool? markdown); + + String? get message; + set message(covariant String? message); + + MapBuilder> get messageParameters; + set messageParameters(covariant MapBuilder>? messageParameters); + + String? get messageType; + set messageType(covariant String? messageType); + + MapBuilder get reactions; + set reactions(covariant MapBuilder? reactions); + + String? get referenceId; + set referenceId(covariant String? referenceId); + + String? get systemMessage; + set systemMessage(covariant String? systemMessage); + + int? get timestamp; + set timestamp(covariant int? timestamp); + + String? get token; + set token(covariant String? token); + + ChatMessageBuilder get parent; + set parent(covariant ChatMessageBuilder? parent); +} + +class _$ChatMessageWithParent extends ChatMessageWithParent { + @override + final String actorDisplayName; + @override + final String actorId; + @override + final String actorType; + @override + final bool? deleted; + @override + final int expirationTimestamp; + @override + final int id; + @override + final bool isReplyable; + @override + final bool markdown; + @override + final String message; + @override + final BuiltMap> messageParameters; + @override + final String messageType; + @override + final BuiltMap reactions; + @override + final String referenceId; + @override + final String systemMessage; + @override + final int timestamp; + @override + final String token; + @override + final ChatMessage? parent; + + factory _$ChatMessageWithParent([void Function(ChatMessageWithParentBuilder)? updates]) => + (ChatMessageWithParentBuilder()..update(updates))._build(); + + _$ChatMessageWithParent._( + {required this.actorDisplayName, + required this.actorId, + required this.actorType, + this.deleted, + required this.expirationTimestamp, + required this.id, + required this.isReplyable, + required this.markdown, + required this.message, + required this.messageParameters, + required this.messageType, + required this.reactions, + required this.referenceId, + required this.systemMessage, + required this.timestamp, + required this.token, + this.parent}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'ChatMessageWithParent', 'actorDisplayName'); + BuiltValueNullFieldError.checkNotNull(actorId, r'ChatMessageWithParent', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'ChatMessageWithParent', 'actorType'); + BuiltValueNullFieldError.checkNotNull(expirationTimestamp, r'ChatMessageWithParent', 'expirationTimestamp'); + BuiltValueNullFieldError.checkNotNull(id, r'ChatMessageWithParent', 'id'); + BuiltValueNullFieldError.checkNotNull(isReplyable, r'ChatMessageWithParent', 'isReplyable'); + BuiltValueNullFieldError.checkNotNull(markdown, r'ChatMessageWithParent', 'markdown'); + BuiltValueNullFieldError.checkNotNull(message, r'ChatMessageWithParent', 'message'); + BuiltValueNullFieldError.checkNotNull(messageParameters, r'ChatMessageWithParent', 'messageParameters'); + BuiltValueNullFieldError.checkNotNull(messageType, r'ChatMessageWithParent', 'messageType'); + BuiltValueNullFieldError.checkNotNull(reactions, r'ChatMessageWithParent', 'reactions'); + BuiltValueNullFieldError.checkNotNull(referenceId, r'ChatMessageWithParent', 'referenceId'); + BuiltValueNullFieldError.checkNotNull(systemMessage, r'ChatMessageWithParent', 'systemMessage'); + BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatMessageWithParent', 'timestamp'); + BuiltValueNullFieldError.checkNotNull(token, r'ChatMessageWithParent', 'token'); + } + + @override + ChatMessageWithParent rebuild(void Function(ChatMessageWithParentBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMessageWithParentBuilder toBuilder() => ChatMessageWithParentBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMessageWithParent && + actorDisplayName == other.actorDisplayName && + actorId == other.actorId && + actorType == other.actorType && + deleted == other.deleted && + expirationTimestamp == other.expirationTimestamp && + id == other.id && + isReplyable == other.isReplyable && + markdown == other.markdown && + message == other.message && + messageParameters == other.messageParameters && + messageType == other.messageType && + reactions == other.reactions && + referenceId == other.referenceId && + systemMessage == other.systemMessage && + timestamp == other.timestamp && + token == other.token && + parent == other.parent; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorDisplayName.hashCode); + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, deleted.hashCode); + _$hash = $jc(_$hash, expirationTimestamp.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, isReplyable.hashCode); + _$hash = $jc(_$hash, markdown.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, messageParameters.hashCode); + _$hash = $jc(_$hash, messageType.hashCode); + _$hash = $jc(_$hash, reactions.hashCode); + _$hash = $jc(_$hash, referenceId.hashCode); + _$hash = $jc(_$hash, systemMessage.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, parent.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMessageWithParent') + ..add('actorDisplayName', actorDisplayName) + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('deleted', deleted) + ..add('expirationTimestamp', expirationTimestamp) + ..add('id', id) + ..add('isReplyable', isReplyable) + ..add('markdown', markdown) + ..add('message', message) + ..add('messageParameters', messageParameters) + ..add('messageType', messageType) + ..add('reactions', reactions) + ..add('referenceId', referenceId) + ..add('systemMessage', systemMessage) + ..add('timestamp', timestamp) + ..add('token', token) + ..add('parent', parent)) + .toString(); + } +} + +class ChatMessageWithParentBuilder + implements Builder, ChatMessageWithParentInterfaceBuilder { + _$ChatMessageWithParent? _$v; + + String? _actorDisplayName; + String? get actorDisplayName => _$this._actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName) => _$this._actorDisplayName = actorDisplayName; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + bool? _deleted; + bool? get deleted => _$this._deleted; + set deleted(covariant bool? deleted) => _$this._deleted = deleted; + + int? _expirationTimestamp; + int? get expirationTimestamp => _$this._expirationTimestamp; + set expirationTimestamp(covariant int? expirationTimestamp) => _$this._expirationTimestamp = expirationTimestamp; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + bool? _isReplyable; + bool? get isReplyable => _$this._isReplyable; + set isReplyable(covariant bool? isReplyable) => _$this._isReplyable = isReplyable; + + bool? _markdown; + bool? get markdown => _$this._markdown; + set markdown(covariant bool? markdown) => _$this._markdown = markdown; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + MapBuilder>? _messageParameters; + MapBuilder> get messageParameters => + _$this._messageParameters ??= MapBuilder>(); + set messageParameters(covariant MapBuilder>? messageParameters) => + _$this._messageParameters = messageParameters; + + String? _messageType; + String? get messageType => _$this._messageType; + set messageType(covariant String? messageType) => _$this._messageType = messageType; + + MapBuilder? _reactions; + MapBuilder get reactions => _$this._reactions ??= MapBuilder(); + set reactions(covariant MapBuilder? reactions) => _$this._reactions = reactions; + + String? _referenceId; + String? get referenceId => _$this._referenceId; + set referenceId(covariant String? referenceId) => _$this._referenceId = referenceId; + + String? _systemMessage; + String? get systemMessage => _$this._systemMessage; + set systemMessage(covariant String? systemMessage) => _$this._systemMessage = systemMessage; + + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(covariant int? timestamp) => _$this._timestamp = timestamp; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + ChatMessageBuilder? _parent; + ChatMessageBuilder get parent => _$this._parent ??= ChatMessageBuilder(); + set parent(covariant ChatMessageBuilder? parent) => _$this._parent = parent; + + ChatMessageWithParentBuilder(); + + ChatMessageWithParentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorDisplayName = $v.actorDisplayName; + _actorId = $v.actorId; + _actorType = $v.actorType; + _deleted = $v.deleted; + _expirationTimestamp = $v.expirationTimestamp; + _id = $v.id; + _isReplyable = $v.isReplyable; + _markdown = $v.markdown; + _message = $v.message; + _messageParameters = $v.messageParameters.toBuilder(); + _messageType = $v.messageType; + _reactions = $v.reactions.toBuilder(); + _referenceId = $v.referenceId; + _systemMessage = $v.systemMessage; + _timestamp = $v.timestamp; + _token = $v.token; + _parent = $v.parent?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMessageWithParent other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMessageWithParent; + } + + @override + void update(void Function(ChatMessageWithParentBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMessageWithParent build() => _build(); + + _$ChatMessageWithParent _build() { + _$ChatMessageWithParent _$result; + try { + _$result = _$v ?? + _$ChatMessageWithParent._( + actorDisplayName: + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'ChatMessageWithParent', 'actorDisplayName'), + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'ChatMessageWithParent', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'ChatMessageWithParent', 'actorType'), + deleted: deleted, + expirationTimestamp: BuiltValueNullFieldError.checkNotNull( + expirationTimestamp, r'ChatMessageWithParent', 'expirationTimestamp'), + id: BuiltValueNullFieldError.checkNotNull(id, r'ChatMessageWithParent', 'id'), + isReplyable: BuiltValueNullFieldError.checkNotNull(isReplyable, r'ChatMessageWithParent', 'isReplyable'), + markdown: BuiltValueNullFieldError.checkNotNull(markdown, r'ChatMessageWithParent', 'markdown'), + message: BuiltValueNullFieldError.checkNotNull(message, r'ChatMessageWithParent', 'message'), + messageParameters: messageParameters.build(), + messageType: BuiltValueNullFieldError.checkNotNull(messageType, r'ChatMessageWithParent', 'messageType'), + reactions: reactions.build(), + referenceId: BuiltValueNullFieldError.checkNotNull(referenceId, r'ChatMessageWithParent', 'referenceId'), + systemMessage: + BuiltValueNullFieldError.checkNotNull(systemMessage, r'ChatMessageWithParent', 'systemMessage'), + timestamp: BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatMessageWithParent', 'timestamp'), + token: BuiltValueNullFieldError.checkNotNull(token, r'ChatMessageWithParent', 'token'), + parent: _parent?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'messageParameters'; + messageParameters.build(); + + _$failedField = 'reactions'; + reactions.build(); + + _$failedField = 'parent'; + _parent?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMessageWithParent', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatReceiveMessagesResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatReceiveMessagesResponseApplicationJson_OcsInterface other); + void update(void Function(ChatReceiveMessagesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$ChatReceiveMessagesResponseApplicationJson_Ocs extends ChatReceiveMessagesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$ChatReceiveMessagesResponseApplicationJson_Ocs( + [void Function(ChatReceiveMessagesResponseApplicationJson_OcsBuilder)? updates]) => + (ChatReceiveMessagesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatReceiveMessagesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatReceiveMessagesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatReceiveMessagesResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatReceiveMessagesResponseApplicationJson_Ocs rebuild( + void Function(ChatReceiveMessagesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatReceiveMessagesResponseApplicationJson_OcsBuilder toBuilder() => + ChatReceiveMessagesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatReceiveMessagesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatReceiveMessagesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatReceiveMessagesResponseApplicationJson_OcsBuilder + implements + Builder, + ChatReceiveMessagesResponseApplicationJson_OcsInterfaceBuilder { + _$ChatReceiveMessagesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + ChatReceiveMessagesResponseApplicationJson_OcsBuilder(); + + ChatReceiveMessagesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatReceiveMessagesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatReceiveMessagesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatReceiveMessagesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatReceiveMessagesResponseApplicationJson_Ocs build() => _build(); + + _$ChatReceiveMessagesResponseApplicationJson_Ocs _build() { + _$ChatReceiveMessagesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatReceiveMessagesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatReceiveMessagesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatReceiveMessagesResponseApplicationJsonInterfaceBuilder { + void replace(ChatReceiveMessagesResponseApplicationJsonInterface other); + void update(void Function(ChatReceiveMessagesResponseApplicationJsonInterfaceBuilder) updates); + ChatReceiveMessagesResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatReceiveMessagesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatReceiveMessagesResponseApplicationJson extends ChatReceiveMessagesResponseApplicationJson { + @override + final ChatReceiveMessagesResponseApplicationJson_Ocs ocs; + + factory _$ChatReceiveMessagesResponseApplicationJson( + [void Function(ChatReceiveMessagesResponseApplicationJsonBuilder)? updates]) => + (ChatReceiveMessagesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatReceiveMessagesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatReceiveMessagesResponseApplicationJson', 'ocs'); + } + + @override + ChatReceiveMessagesResponseApplicationJson rebuild( + void Function(ChatReceiveMessagesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatReceiveMessagesResponseApplicationJsonBuilder toBuilder() => + ChatReceiveMessagesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatReceiveMessagesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatReceiveMessagesResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatReceiveMessagesResponseApplicationJsonBuilder + implements + Builder, + ChatReceiveMessagesResponseApplicationJsonInterfaceBuilder { + _$ChatReceiveMessagesResponseApplicationJson? _$v; + + ChatReceiveMessagesResponseApplicationJson_OcsBuilder? _ocs; + ChatReceiveMessagesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatReceiveMessagesResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatReceiveMessagesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatReceiveMessagesResponseApplicationJsonBuilder(); + + ChatReceiveMessagesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatReceiveMessagesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatReceiveMessagesResponseApplicationJson; + } + + @override + void update(void Function(ChatReceiveMessagesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatReceiveMessagesResponseApplicationJson build() => _build(); + + _$ChatReceiveMessagesResponseApplicationJson _build() { + _$ChatReceiveMessagesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatReceiveMessagesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatReceiveMessagesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatSendMessageHeadersInterfaceBuilder { + void replace(ChatChatSendMessageHeadersInterface other); + void update(void Function(ChatChatSendMessageHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatSendMessageHeaders extends ChatChatSendMessageHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatSendMessageHeaders([void Function(ChatChatSendMessageHeadersBuilder)? updates]) => + (ChatChatSendMessageHeadersBuilder()..update(updates))._build(); + + _$ChatChatSendMessageHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatSendMessageHeaders rebuild(void Function(ChatChatSendMessageHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatSendMessageHeadersBuilder toBuilder() => ChatChatSendMessageHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatSendMessageHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatSendMessageHeaders')..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatSendMessageHeadersBuilder + implements + Builder, + ChatChatSendMessageHeadersInterfaceBuilder { + _$ChatChatSendMessageHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatSendMessageHeadersBuilder(); + + ChatChatSendMessageHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatSendMessageHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatSendMessageHeaders; + } + + @override + void update(void Function(ChatChatSendMessageHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatSendMessageHeaders build() => _build(); + + _$ChatChatSendMessageHeaders _build() { + final _$result = _$v ?? _$ChatChatSendMessageHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSendMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatSendMessageResponseApplicationJson_OcsInterface other); + void update(void Function(ChatSendMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatMessageWithParentBuilder get data; + set data(ChatMessageWithParentBuilder? data); +} + +class _$ChatSendMessageResponseApplicationJson_Ocs extends ChatSendMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatMessageWithParent? data; + + factory _$ChatSendMessageResponseApplicationJson_Ocs( + [void Function(ChatSendMessageResponseApplicationJson_OcsBuilder)? updates]) => + (ChatSendMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatSendMessageResponseApplicationJson_Ocs._({required this.meta, this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatSendMessageResponseApplicationJson_Ocs', 'meta'); + } + + @override + ChatSendMessageResponseApplicationJson_Ocs rebuild( + void Function(ChatSendMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSendMessageResponseApplicationJson_OcsBuilder toBuilder() => + ChatSendMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSendMessageResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSendMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatSendMessageResponseApplicationJson_OcsBuilder + implements + Builder, + ChatSendMessageResponseApplicationJson_OcsInterfaceBuilder { + _$ChatSendMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatMessageWithParentBuilder? _data; + ChatMessageWithParentBuilder get data => _$this._data ??= ChatMessageWithParentBuilder(); + set data(covariant ChatMessageWithParentBuilder? data) => _$this._data = data; + + ChatSendMessageResponseApplicationJson_OcsBuilder(); + + ChatSendMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSendMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSendMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatSendMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSendMessageResponseApplicationJson_Ocs build() => _build(); + + _$ChatSendMessageResponseApplicationJson_Ocs _build() { + _$ChatSendMessageResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatSendMessageResponseApplicationJson_Ocs._(meta: meta.build(), data: _data?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + _data?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSendMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSendMessageResponseApplicationJsonInterfaceBuilder { + void replace(ChatSendMessageResponseApplicationJsonInterface other); + void update(void Function(ChatSendMessageResponseApplicationJsonInterfaceBuilder) updates); + ChatSendMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatSendMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatSendMessageResponseApplicationJson extends ChatSendMessageResponseApplicationJson { + @override + final ChatSendMessageResponseApplicationJson_Ocs ocs; + + factory _$ChatSendMessageResponseApplicationJson( + [void Function(ChatSendMessageResponseApplicationJsonBuilder)? updates]) => + (ChatSendMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatSendMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatSendMessageResponseApplicationJson', 'ocs'); + } + + @override + ChatSendMessageResponseApplicationJson rebuild( + void Function(ChatSendMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSendMessageResponseApplicationJsonBuilder toBuilder() => + ChatSendMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSendMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSendMessageResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatSendMessageResponseApplicationJsonBuilder + implements + Builder, + ChatSendMessageResponseApplicationJsonInterfaceBuilder { + _$ChatSendMessageResponseApplicationJson? _$v; + + ChatSendMessageResponseApplicationJson_OcsBuilder? _ocs; + ChatSendMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatSendMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatSendMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatSendMessageResponseApplicationJsonBuilder(); + + ChatSendMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSendMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSendMessageResponseApplicationJson; + } + + @override + void update(void Function(ChatSendMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSendMessageResponseApplicationJson build() => _build(); + + _$ChatSendMessageResponseApplicationJson _build() { + _$ChatSendMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatSendMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSendMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatClearHistoryHeadersInterfaceBuilder { + void replace(ChatChatClearHistoryHeadersInterface other); + void update(void Function(ChatChatClearHistoryHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatClearHistoryHeaders extends ChatChatClearHistoryHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatClearHistoryHeaders([void Function(ChatChatClearHistoryHeadersBuilder)? updates]) => + (ChatChatClearHistoryHeadersBuilder()..update(updates))._build(); + + _$ChatChatClearHistoryHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatClearHistoryHeaders rebuild(void Function(ChatChatClearHistoryHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatClearHistoryHeadersBuilder toBuilder() => ChatChatClearHistoryHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatClearHistoryHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatClearHistoryHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatClearHistoryHeadersBuilder + implements + Builder, + ChatChatClearHistoryHeadersInterfaceBuilder { + _$ChatChatClearHistoryHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatClearHistoryHeadersBuilder(); + + ChatChatClearHistoryHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatClearHistoryHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatClearHistoryHeaders; + } + + @override + void update(void Function(ChatChatClearHistoryHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatClearHistoryHeaders build() => _build(); + + _$ChatChatClearHistoryHeaders _build() { + final _$result = _$v ?? _$ChatChatClearHistoryHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatClearHistoryResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatClearHistoryResponseApplicationJson_OcsInterface other); + void update(void Function(ChatClearHistoryResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatMessageBuilder get data; + set data(ChatMessageBuilder? data); +} + +class _$ChatClearHistoryResponseApplicationJson_Ocs extends ChatClearHistoryResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatMessage data; + + factory _$ChatClearHistoryResponseApplicationJson_Ocs( + [void Function(ChatClearHistoryResponseApplicationJson_OcsBuilder)? updates]) => + (ChatClearHistoryResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatClearHistoryResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatClearHistoryResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatClearHistoryResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatClearHistoryResponseApplicationJson_Ocs rebuild( + void Function(ChatClearHistoryResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatClearHistoryResponseApplicationJson_OcsBuilder toBuilder() => + ChatClearHistoryResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatClearHistoryResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatClearHistoryResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatClearHistoryResponseApplicationJson_OcsBuilder + implements + Builder, + ChatClearHistoryResponseApplicationJson_OcsInterfaceBuilder { + _$ChatClearHistoryResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatMessageBuilder? _data; + ChatMessageBuilder get data => _$this._data ??= ChatMessageBuilder(); + set data(covariant ChatMessageBuilder? data) => _$this._data = data; + + ChatClearHistoryResponseApplicationJson_OcsBuilder(); + + ChatClearHistoryResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatClearHistoryResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatClearHistoryResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatClearHistoryResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatClearHistoryResponseApplicationJson_Ocs build() => _build(); + + _$ChatClearHistoryResponseApplicationJson_Ocs _build() { + _$ChatClearHistoryResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatClearHistoryResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatClearHistoryResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatClearHistoryResponseApplicationJsonInterfaceBuilder { + void replace(ChatClearHistoryResponseApplicationJsonInterface other); + void update(void Function(ChatClearHistoryResponseApplicationJsonInterfaceBuilder) updates); + ChatClearHistoryResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatClearHistoryResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatClearHistoryResponseApplicationJson extends ChatClearHistoryResponseApplicationJson { + @override + final ChatClearHistoryResponseApplicationJson_Ocs ocs; + + factory _$ChatClearHistoryResponseApplicationJson( + [void Function(ChatClearHistoryResponseApplicationJsonBuilder)? updates]) => + (ChatClearHistoryResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatClearHistoryResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatClearHistoryResponseApplicationJson', 'ocs'); + } + + @override + ChatClearHistoryResponseApplicationJson rebuild( + void Function(ChatClearHistoryResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatClearHistoryResponseApplicationJsonBuilder toBuilder() => + ChatClearHistoryResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatClearHistoryResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatClearHistoryResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatClearHistoryResponseApplicationJsonBuilder + implements + Builder, + ChatClearHistoryResponseApplicationJsonInterfaceBuilder { + _$ChatClearHistoryResponseApplicationJson? _$v; + + ChatClearHistoryResponseApplicationJson_OcsBuilder? _ocs; + ChatClearHistoryResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatClearHistoryResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatClearHistoryResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatClearHistoryResponseApplicationJsonBuilder(); + + ChatClearHistoryResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatClearHistoryResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatClearHistoryResponseApplicationJson; + } + + @override + void update(void Function(ChatClearHistoryResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatClearHistoryResponseApplicationJson build() => _build(); + + _$ChatClearHistoryResponseApplicationJson _build() { + _$ChatClearHistoryResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatClearHistoryResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatClearHistoryResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatDeleteMessageHeadersInterfaceBuilder { + void replace(ChatChatDeleteMessageHeadersInterface other); + void update(void Function(ChatChatDeleteMessageHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatDeleteMessageHeaders extends ChatChatDeleteMessageHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatDeleteMessageHeaders([void Function(ChatChatDeleteMessageHeadersBuilder)? updates]) => + (ChatChatDeleteMessageHeadersBuilder()..update(updates))._build(); + + _$ChatChatDeleteMessageHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatDeleteMessageHeaders rebuild(void Function(ChatChatDeleteMessageHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatDeleteMessageHeadersBuilder toBuilder() => ChatChatDeleteMessageHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatDeleteMessageHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatDeleteMessageHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatDeleteMessageHeadersBuilder + implements + Builder, + ChatChatDeleteMessageHeadersInterfaceBuilder { + _$ChatChatDeleteMessageHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatDeleteMessageHeadersBuilder(); + + ChatChatDeleteMessageHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatDeleteMessageHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatDeleteMessageHeaders; + } + + @override + void update(void Function(ChatChatDeleteMessageHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatDeleteMessageHeaders build() => _build(); + + _$ChatChatDeleteMessageHeaders _build() { + final _$result = _$v ?? _$ChatChatDeleteMessageHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatDeleteMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatDeleteMessageResponseApplicationJson_OcsInterface other); + void update(void Function(ChatDeleteMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatMessageWithParentBuilder get data; + set data(ChatMessageWithParentBuilder? data); +} + +class _$ChatDeleteMessageResponseApplicationJson_Ocs extends ChatDeleteMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatMessageWithParent data; + + factory _$ChatDeleteMessageResponseApplicationJson_Ocs( + [void Function(ChatDeleteMessageResponseApplicationJson_OcsBuilder)? updates]) => + (ChatDeleteMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatDeleteMessageResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatDeleteMessageResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatDeleteMessageResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatDeleteMessageResponseApplicationJson_Ocs rebuild( + void Function(ChatDeleteMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatDeleteMessageResponseApplicationJson_OcsBuilder toBuilder() => + ChatDeleteMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatDeleteMessageResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatDeleteMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatDeleteMessageResponseApplicationJson_OcsBuilder + implements + Builder, + ChatDeleteMessageResponseApplicationJson_OcsInterfaceBuilder { + _$ChatDeleteMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatMessageWithParentBuilder? _data; + ChatMessageWithParentBuilder get data => _$this._data ??= ChatMessageWithParentBuilder(); + set data(covariant ChatMessageWithParentBuilder? data) => _$this._data = data; + + ChatDeleteMessageResponseApplicationJson_OcsBuilder(); + + ChatDeleteMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatDeleteMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatDeleteMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatDeleteMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatDeleteMessageResponseApplicationJson_Ocs build() => _build(); + + _$ChatDeleteMessageResponseApplicationJson_Ocs _build() { + _$ChatDeleteMessageResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatDeleteMessageResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatDeleteMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatDeleteMessageResponseApplicationJsonInterfaceBuilder { + void replace(ChatDeleteMessageResponseApplicationJsonInterface other); + void update(void Function(ChatDeleteMessageResponseApplicationJsonInterfaceBuilder) updates); + ChatDeleteMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatDeleteMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatDeleteMessageResponseApplicationJson extends ChatDeleteMessageResponseApplicationJson { + @override + final ChatDeleteMessageResponseApplicationJson_Ocs ocs; + + factory _$ChatDeleteMessageResponseApplicationJson( + [void Function(ChatDeleteMessageResponseApplicationJsonBuilder)? updates]) => + (ChatDeleteMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatDeleteMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatDeleteMessageResponseApplicationJson', 'ocs'); + } + + @override + ChatDeleteMessageResponseApplicationJson rebuild( + void Function(ChatDeleteMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatDeleteMessageResponseApplicationJsonBuilder toBuilder() => + ChatDeleteMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatDeleteMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatDeleteMessageResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatDeleteMessageResponseApplicationJsonBuilder + implements + Builder, + ChatDeleteMessageResponseApplicationJsonInterfaceBuilder { + _$ChatDeleteMessageResponseApplicationJson? _$v; + + ChatDeleteMessageResponseApplicationJson_OcsBuilder? _ocs; + ChatDeleteMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatDeleteMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatDeleteMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatDeleteMessageResponseApplicationJsonBuilder(); + + ChatDeleteMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatDeleteMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatDeleteMessageResponseApplicationJson; + } + + @override + void update(void Function(ChatDeleteMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatDeleteMessageResponseApplicationJson build() => _build(); + + _$ChatDeleteMessageResponseApplicationJson _build() { + _$ChatDeleteMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatDeleteMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatDeleteMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatGetMessageContextHeadersInterfaceBuilder { + void replace(ChatChatGetMessageContextHeadersInterface other); + void update(void Function(ChatChatGetMessageContextHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); + + String? get xChatLastGiven; + set xChatLastGiven(String? xChatLastGiven); +} + +class _$ChatChatGetMessageContextHeaders extends ChatChatGetMessageContextHeaders { + @override + final String? xChatLastCommonRead; + @override + final String? xChatLastGiven; + + factory _$ChatChatGetMessageContextHeaders([void Function(ChatChatGetMessageContextHeadersBuilder)? updates]) => + (ChatChatGetMessageContextHeadersBuilder()..update(updates))._build(); + + _$ChatChatGetMessageContextHeaders._({this.xChatLastCommonRead, this.xChatLastGiven}) : super._(); + + @override + ChatChatGetMessageContextHeaders rebuild(void Function(ChatChatGetMessageContextHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatGetMessageContextHeadersBuilder toBuilder() => ChatChatGetMessageContextHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatGetMessageContextHeaders && + xChatLastCommonRead == other.xChatLastCommonRead && + xChatLastGiven == other.xChatLastGiven; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jc(_$hash, xChatLastGiven.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatGetMessageContextHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead) + ..add('xChatLastGiven', xChatLastGiven)) + .toString(); + } +} + +class ChatChatGetMessageContextHeadersBuilder + implements + Builder, + ChatChatGetMessageContextHeadersInterfaceBuilder { + _$ChatChatGetMessageContextHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + String? _xChatLastGiven; + String? get xChatLastGiven => _$this._xChatLastGiven; + set xChatLastGiven(covariant String? xChatLastGiven) => _$this._xChatLastGiven = xChatLastGiven; + + ChatChatGetMessageContextHeadersBuilder(); + + ChatChatGetMessageContextHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _xChatLastGiven = $v.xChatLastGiven; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatGetMessageContextHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatGetMessageContextHeaders; + } + + @override + void update(void Function(ChatChatGetMessageContextHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatGetMessageContextHeaders build() => _build(); + + _$ChatChatGetMessageContextHeaders _build() { + final _$result = _$v ?? + _$ChatChatGetMessageContextHeaders._(xChatLastCommonRead: xChatLastCommonRead, xChatLastGiven: xChatLastGiven); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetMessageContextResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatGetMessageContextResponseApplicationJson_OcsInterface other); + void update(void Function(ChatGetMessageContextResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$ChatGetMessageContextResponseApplicationJson_Ocs extends ChatGetMessageContextResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$ChatGetMessageContextResponseApplicationJson_Ocs( + [void Function(ChatGetMessageContextResponseApplicationJson_OcsBuilder)? updates]) => + (ChatGetMessageContextResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatGetMessageContextResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatGetMessageContextResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatGetMessageContextResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatGetMessageContextResponseApplicationJson_Ocs rebuild( + void Function(ChatGetMessageContextResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetMessageContextResponseApplicationJson_OcsBuilder toBuilder() => + ChatGetMessageContextResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetMessageContextResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetMessageContextResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatGetMessageContextResponseApplicationJson_OcsBuilder + implements + Builder, + ChatGetMessageContextResponseApplicationJson_OcsInterfaceBuilder { + _$ChatGetMessageContextResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + ChatGetMessageContextResponseApplicationJson_OcsBuilder(); + + ChatGetMessageContextResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetMessageContextResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetMessageContextResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatGetMessageContextResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetMessageContextResponseApplicationJson_Ocs build() => _build(); + + _$ChatGetMessageContextResponseApplicationJson_Ocs _build() { + _$ChatGetMessageContextResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatGetMessageContextResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatGetMessageContextResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetMessageContextResponseApplicationJsonInterfaceBuilder { + void replace(ChatGetMessageContextResponseApplicationJsonInterface other); + void update(void Function(ChatGetMessageContextResponseApplicationJsonInterfaceBuilder) updates); + ChatGetMessageContextResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatGetMessageContextResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatGetMessageContextResponseApplicationJson extends ChatGetMessageContextResponseApplicationJson { + @override + final ChatGetMessageContextResponseApplicationJson_Ocs ocs; + + factory _$ChatGetMessageContextResponseApplicationJson( + [void Function(ChatGetMessageContextResponseApplicationJsonBuilder)? updates]) => + (ChatGetMessageContextResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatGetMessageContextResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatGetMessageContextResponseApplicationJson', 'ocs'); + } + + @override + ChatGetMessageContextResponseApplicationJson rebuild( + void Function(ChatGetMessageContextResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetMessageContextResponseApplicationJsonBuilder toBuilder() => + ChatGetMessageContextResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetMessageContextResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetMessageContextResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatGetMessageContextResponseApplicationJsonBuilder + implements + Builder, + ChatGetMessageContextResponseApplicationJsonInterfaceBuilder { + _$ChatGetMessageContextResponseApplicationJson? _$v; + + ChatGetMessageContextResponseApplicationJson_OcsBuilder? _ocs; + ChatGetMessageContextResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatGetMessageContextResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatGetMessageContextResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatGetMessageContextResponseApplicationJsonBuilder(); + + ChatGetMessageContextResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetMessageContextResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetMessageContextResponseApplicationJson; + } + + @override + void update(void Function(ChatGetMessageContextResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetMessageContextResponseApplicationJson build() => _build(); + + _$ChatGetMessageContextResponseApplicationJson _build() { + _$ChatGetMessageContextResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatGetMessageContextResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatGetMessageContextResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatReminderInterfaceBuilder { + void replace(ChatReminderInterface other); + void update(void Function(ChatReminderInterfaceBuilder) updates); + int? get messageId; + set messageId(int? messageId); + + int? get timestamp; + set timestamp(int? timestamp); + + String? get token; + set token(String? token); + + String? get userId; + set userId(String? userId); +} + +class _$ChatReminder extends ChatReminder { + @override + final int messageId; + @override + final int timestamp; + @override + final String token; + @override + final String userId; + + factory _$ChatReminder([void Function(ChatReminderBuilder)? updates]) => + (ChatReminderBuilder()..update(updates))._build(); + + _$ChatReminder._({required this.messageId, required this.timestamp, required this.token, required this.userId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(messageId, r'ChatReminder', 'messageId'); + BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatReminder', 'timestamp'); + BuiltValueNullFieldError.checkNotNull(token, r'ChatReminder', 'token'); + BuiltValueNullFieldError.checkNotNull(userId, r'ChatReminder', 'userId'); + } + + @override + ChatReminder rebuild(void Function(ChatReminderBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ChatReminderBuilder toBuilder() => ChatReminderBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatReminder && + messageId == other.messageId && + timestamp == other.timestamp && + token == other.token && + userId == other.userId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, messageId.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatReminder') + ..add('messageId', messageId) + ..add('timestamp', timestamp) + ..add('token', token) + ..add('userId', userId)) + .toString(); + } +} + +class ChatReminderBuilder implements Builder, ChatReminderInterfaceBuilder { + _$ChatReminder? _$v; + + int? _messageId; + int? get messageId => _$this._messageId; + set messageId(covariant int? messageId) => _$this._messageId = messageId; + + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(covariant int? timestamp) => _$this._timestamp = timestamp; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + ChatReminderBuilder(); + + ChatReminderBuilder get _$this { + final $v = _$v; + if ($v != null) { + _messageId = $v.messageId; + _timestamp = $v.timestamp; + _token = $v.token; + _userId = $v.userId; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatReminder other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatReminder; + } + + @override + void update(void Function(ChatReminderBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatReminder build() => _build(); + + _$ChatReminder _build() { + final _$result = _$v ?? + _$ChatReminder._( + messageId: BuiltValueNullFieldError.checkNotNull(messageId, r'ChatReminder', 'messageId'), + timestamp: BuiltValueNullFieldError.checkNotNull(timestamp, r'ChatReminder', 'timestamp'), + token: BuiltValueNullFieldError.checkNotNull(token, r'ChatReminder', 'token'), + userId: BuiltValueNullFieldError.checkNotNull(userId, r'ChatReminder', 'userId')); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetReminderResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatGetReminderResponseApplicationJson_OcsInterface other); + void update(void Function(ChatGetReminderResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatReminderBuilder get data; + set data(ChatReminderBuilder? data); +} + +class _$ChatGetReminderResponseApplicationJson_Ocs extends ChatGetReminderResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatReminder data; + + factory _$ChatGetReminderResponseApplicationJson_Ocs( + [void Function(ChatGetReminderResponseApplicationJson_OcsBuilder)? updates]) => + (ChatGetReminderResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatGetReminderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatGetReminderResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatGetReminderResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatGetReminderResponseApplicationJson_Ocs rebuild( + void Function(ChatGetReminderResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetReminderResponseApplicationJson_OcsBuilder toBuilder() => + ChatGetReminderResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetReminderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetReminderResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatGetReminderResponseApplicationJson_OcsBuilder + implements + Builder, + ChatGetReminderResponseApplicationJson_OcsInterfaceBuilder { + _$ChatGetReminderResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatReminderBuilder? _data; + ChatReminderBuilder get data => _$this._data ??= ChatReminderBuilder(); + set data(covariant ChatReminderBuilder? data) => _$this._data = data; + + ChatGetReminderResponseApplicationJson_OcsBuilder(); + + ChatGetReminderResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetReminderResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetReminderResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatGetReminderResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetReminderResponseApplicationJson_Ocs build() => _build(); + + _$ChatGetReminderResponseApplicationJson_Ocs _build() { + _$ChatGetReminderResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatGetReminderResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatGetReminderResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetReminderResponseApplicationJsonInterfaceBuilder { + void replace(ChatGetReminderResponseApplicationJsonInterface other); + void update(void Function(ChatGetReminderResponseApplicationJsonInterfaceBuilder) updates); + ChatGetReminderResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatGetReminderResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatGetReminderResponseApplicationJson extends ChatGetReminderResponseApplicationJson { + @override + final ChatGetReminderResponseApplicationJson_Ocs ocs; + + factory _$ChatGetReminderResponseApplicationJson( + [void Function(ChatGetReminderResponseApplicationJsonBuilder)? updates]) => + (ChatGetReminderResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatGetReminderResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatGetReminderResponseApplicationJson', 'ocs'); + } + + @override + ChatGetReminderResponseApplicationJson rebuild( + void Function(ChatGetReminderResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetReminderResponseApplicationJsonBuilder toBuilder() => + ChatGetReminderResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetReminderResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetReminderResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatGetReminderResponseApplicationJsonBuilder + implements + Builder, + ChatGetReminderResponseApplicationJsonInterfaceBuilder { + _$ChatGetReminderResponseApplicationJson? _$v; + + ChatGetReminderResponseApplicationJson_OcsBuilder? _ocs; + ChatGetReminderResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatGetReminderResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatGetReminderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatGetReminderResponseApplicationJsonBuilder(); + + ChatGetReminderResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetReminderResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetReminderResponseApplicationJson; + } + + @override + void update(void Function(ChatGetReminderResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetReminderResponseApplicationJson build() => _build(); + + _$ChatGetReminderResponseApplicationJson _build() { + _$ChatGetReminderResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatGetReminderResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatGetReminderResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSetReminderResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatSetReminderResponseApplicationJson_OcsInterface other); + void update(void Function(ChatSetReminderResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatReminderBuilder get data; + set data(ChatReminderBuilder? data); +} + +class _$ChatSetReminderResponseApplicationJson_Ocs extends ChatSetReminderResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatReminder data; + + factory _$ChatSetReminderResponseApplicationJson_Ocs( + [void Function(ChatSetReminderResponseApplicationJson_OcsBuilder)? updates]) => + (ChatSetReminderResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatSetReminderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatSetReminderResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatSetReminderResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatSetReminderResponseApplicationJson_Ocs rebuild( + void Function(ChatSetReminderResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSetReminderResponseApplicationJson_OcsBuilder toBuilder() => + ChatSetReminderResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSetReminderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSetReminderResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatSetReminderResponseApplicationJson_OcsBuilder + implements + Builder, + ChatSetReminderResponseApplicationJson_OcsInterfaceBuilder { + _$ChatSetReminderResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatReminderBuilder? _data; + ChatReminderBuilder get data => _$this._data ??= ChatReminderBuilder(); + set data(covariant ChatReminderBuilder? data) => _$this._data = data; + + ChatSetReminderResponseApplicationJson_OcsBuilder(); + + ChatSetReminderResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSetReminderResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSetReminderResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatSetReminderResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSetReminderResponseApplicationJson_Ocs build() => _build(); + + _$ChatSetReminderResponseApplicationJson_Ocs _build() { + _$ChatSetReminderResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatSetReminderResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSetReminderResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSetReminderResponseApplicationJsonInterfaceBuilder { + void replace(ChatSetReminderResponseApplicationJsonInterface other); + void update(void Function(ChatSetReminderResponseApplicationJsonInterfaceBuilder) updates); + ChatSetReminderResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatSetReminderResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatSetReminderResponseApplicationJson extends ChatSetReminderResponseApplicationJson { + @override + final ChatSetReminderResponseApplicationJson_Ocs ocs; + + factory _$ChatSetReminderResponseApplicationJson( + [void Function(ChatSetReminderResponseApplicationJsonBuilder)? updates]) => + (ChatSetReminderResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatSetReminderResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatSetReminderResponseApplicationJson', 'ocs'); + } + + @override + ChatSetReminderResponseApplicationJson rebuild( + void Function(ChatSetReminderResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSetReminderResponseApplicationJsonBuilder toBuilder() => + ChatSetReminderResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSetReminderResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSetReminderResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatSetReminderResponseApplicationJsonBuilder + implements + Builder, + ChatSetReminderResponseApplicationJsonInterfaceBuilder { + _$ChatSetReminderResponseApplicationJson? _$v; + + ChatSetReminderResponseApplicationJson_OcsBuilder? _ocs; + ChatSetReminderResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatSetReminderResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatSetReminderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatSetReminderResponseApplicationJsonBuilder(); + + ChatSetReminderResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSetReminderResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSetReminderResponseApplicationJson; + } + + @override + void update(void Function(ChatSetReminderResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSetReminderResponseApplicationJson build() => _build(); + + _$ChatSetReminderResponseApplicationJson _build() { + _$ChatSetReminderResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatSetReminderResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSetReminderResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatDeleteReminderResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatDeleteReminderResponseApplicationJson_OcsInterface other); + void update(void Function(ChatDeleteReminderResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$ChatDeleteReminderResponseApplicationJson_Ocs extends ChatDeleteReminderResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$ChatDeleteReminderResponseApplicationJson_Ocs( + [void Function(ChatDeleteReminderResponseApplicationJson_OcsBuilder)? updates]) => + (ChatDeleteReminderResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatDeleteReminderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatDeleteReminderResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatDeleteReminderResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatDeleteReminderResponseApplicationJson_Ocs rebuild( + void Function(ChatDeleteReminderResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatDeleteReminderResponseApplicationJson_OcsBuilder toBuilder() => + ChatDeleteReminderResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatDeleteReminderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatDeleteReminderResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatDeleteReminderResponseApplicationJson_OcsBuilder + implements + Builder, + ChatDeleteReminderResponseApplicationJson_OcsInterfaceBuilder { + _$ChatDeleteReminderResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + ChatDeleteReminderResponseApplicationJson_OcsBuilder(); + + ChatDeleteReminderResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatDeleteReminderResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatDeleteReminderResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatDeleteReminderResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatDeleteReminderResponseApplicationJson_Ocs build() => _build(); + + _$ChatDeleteReminderResponseApplicationJson_Ocs _build() { + _$ChatDeleteReminderResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ChatDeleteReminderResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ChatDeleteReminderResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatDeleteReminderResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatDeleteReminderResponseApplicationJsonInterfaceBuilder { + void replace(ChatDeleteReminderResponseApplicationJsonInterface other); + void update(void Function(ChatDeleteReminderResponseApplicationJsonInterfaceBuilder) updates); + ChatDeleteReminderResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatDeleteReminderResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatDeleteReminderResponseApplicationJson extends ChatDeleteReminderResponseApplicationJson { + @override + final ChatDeleteReminderResponseApplicationJson_Ocs ocs; + + factory _$ChatDeleteReminderResponseApplicationJson( + [void Function(ChatDeleteReminderResponseApplicationJsonBuilder)? updates]) => + (ChatDeleteReminderResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatDeleteReminderResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatDeleteReminderResponseApplicationJson', 'ocs'); + } + + @override + ChatDeleteReminderResponseApplicationJson rebuild( + void Function(ChatDeleteReminderResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatDeleteReminderResponseApplicationJsonBuilder toBuilder() => + ChatDeleteReminderResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatDeleteReminderResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatDeleteReminderResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatDeleteReminderResponseApplicationJsonBuilder + implements + Builder, + ChatDeleteReminderResponseApplicationJsonInterfaceBuilder { + _$ChatDeleteReminderResponseApplicationJson? _$v; + + ChatDeleteReminderResponseApplicationJson_OcsBuilder? _ocs; + ChatDeleteReminderResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatDeleteReminderResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatDeleteReminderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatDeleteReminderResponseApplicationJsonBuilder(); + + ChatDeleteReminderResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatDeleteReminderResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatDeleteReminderResponseApplicationJson; + } + + @override + void update(void Function(ChatDeleteReminderResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatDeleteReminderResponseApplicationJson build() => _build(); + + _$ChatDeleteReminderResponseApplicationJson _build() { + _$ChatDeleteReminderResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatDeleteReminderResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatDeleteReminderResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatSetReadMarkerHeadersInterfaceBuilder { + void replace(ChatChatSetReadMarkerHeadersInterface other); + void update(void Function(ChatChatSetReadMarkerHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatSetReadMarkerHeaders extends ChatChatSetReadMarkerHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatSetReadMarkerHeaders([void Function(ChatChatSetReadMarkerHeadersBuilder)? updates]) => + (ChatChatSetReadMarkerHeadersBuilder()..update(updates))._build(); + + _$ChatChatSetReadMarkerHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatSetReadMarkerHeaders rebuild(void Function(ChatChatSetReadMarkerHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatSetReadMarkerHeadersBuilder toBuilder() => ChatChatSetReadMarkerHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatSetReadMarkerHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatSetReadMarkerHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatSetReadMarkerHeadersBuilder + implements + Builder, + ChatChatSetReadMarkerHeadersInterfaceBuilder { + _$ChatChatSetReadMarkerHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatSetReadMarkerHeadersBuilder(); + + ChatChatSetReadMarkerHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatSetReadMarkerHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatSetReadMarkerHeaders; + } + + @override + void update(void Function(ChatChatSetReadMarkerHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatSetReadMarkerHeaders build() => _build(); + + _$ChatChatSetReadMarkerHeaders _build() { + final _$result = _$v ?? _$ChatChatSetReadMarkerHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSetReadMarkerResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatSetReadMarkerResponseApplicationJson_OcsInterface other); + void update(void Function(ChatSetReadMarkerResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$ChatSetReadMarkerResponseApplicationJson_Ocs extends ChatSetReadMarkerResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$ChatSetReadMarkerResponseApplicationJson_Ocs( + [void Function(ChatSetReadMarkerResponseApplicationJson_OcsBuilder)? updates]) => + (ChatSetReadMarkerResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatSetReadMarkerResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatSetReadMarkerResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatSetReadMarkerResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatSetReadMarkerResponseApplicationJson_Ocs rebuild( + void Function(ChatSetReadMarkerResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSetReadMarkerResponseApplicationJson_OcsBuilder toBuilder() => + ChatSetReadMarkerResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSetReadMarkerResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSetReadMarkerResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatSetReadMarkerResponseApplicationJson_OcsBuilder + implements + Builder, + ChatSetReadMarkerResponseApplicationJson_OcsInterfaceBuilder { + _$ChatSetReadMarkerResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + ChatSetReadMarkerResponseApplicationJson_OcsBuilder(); + + ChatSetReadMarkerResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSetReadMarkerResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSetReadMarkerResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatSetReadMarkerResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSetReadMarkerResponseApplicationJson_Ocs build() => _build(); + + _$ChatSetReadMarkerResponseApplicationJson_Ocs _build() { + _$ChatSetReadMarkerResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ChatSetReadMarkerResponseApplicationJson_Ocs._( + meta: meta.build(), + data: + BuiltValueNullFieldError.checkNotNull(data, r'ChatSetReadMarkerResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSetReadMarkerResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatSetReadMarkerResponseApplicationJsonInterfaceBuilder { + void replace(ChatSetReadMarkerResponseApplicationJsonInterface other); + void update(void Function(ChatSetReadMarkerResponseApplicationJsonInterfaceBuilder) updates); + ChatSetReadMarkerResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatSetReadMarkerResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatSetReadMarkerResponseApplicationJson extends ChatSetReadMarkerResponseApplicationJson { + @override + final ChatSetReadMarkerResponseApplicationJson_Ocs ocs; + + factory _$ChatSetReadMarkerResponseApplicationJson( + [void Function(ChatSetReadMarkerResponseApplicationJsonBuilder)? updates]) => + (ChatSetReadMarkerResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatSetReadMarkerResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatSetReadMarkerResponseApplicationJson', 'ocs'); + } + + @override + ChatSetReadMarkerResponseApplicationJson rebuild( + void Function(ChatSetReadMarkerResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatSetReadMarkerResponseApplicationJsonBuilder toBuilder() => + ChatSetReadMarkerResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatSetReadMarkerResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatSetReadMarkerResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatSetReadMarkerResponseApplicationJsonBuilder + implements + Builder, + ChatSetReadMarkerResponseApplicationJsonInterfaceBuilder { + _$ChatSetReadMarkerResponseApplicationJson? _$v; + + ChatSetReadMarkerResponseApplicationJson_OcsBuilder? _ocs; + ChatSetReadMarkerResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatSetReadMarkerResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatSetReadMarkerResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatSetReadMarkerResponseApplicationJsonBuilder(); + + ChatSetReadMarkerResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatSetReadMarkerResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatSetReadMarkerResponseApplicationJson; + } + + @override + void update(void Function(ChatSetReadMarkerResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatSetReadMarkerResponseApplicationJson build() => _build(); + + _$ChatSetReadMarkerResponseApplicationJson _build() { + _$ChatSetReadMarkerResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatSetReadMarkerResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatSetReadMarkerResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatMarkUnreadHeadersInterfaceBuilder { + void replace(ChatChatMarkUnreadHeadersInterface other); + void update(void Function(ChatChatMarkUnreadHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatMarkUnreadHeaders extends ChatChatMarkUnreadHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatMarkUnreadHeaders([void Function(ChatChatMarkUnreadHeadersBuilder)? updates]) => + (ChatChatMarkUnreadHeadersBuilder()..update(updates))._build(); + + _$ChatChatMarkUnreadHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatMarkUnreadHeaders rebuild(void Function(ChatChatMarkUnreadHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatMarkUnreadHeadersBuilder toBuilder() => ChatChatMarkUnreadHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatMarkUnreadHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatMarkUnreadHeaders')..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatMarkUnreadHeadersBuilder + implements + Builder, + ChatChatMarkUnreadHeadersInterfaceBuilder { + _$ChatChatMarkUnreadHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatMarkUnreadHeadersBuilder(); + + ChatChatMarkUnreadHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatMarkUnreadHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatMarkUnreadHeaders; + } + + @override + void update(void Function(ChatChatMarkUnreadHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatMarkUnreadHeaders build() => _build(); + + _$ChatChatMarkUnreadHeaders _build() { + final _$result = _$v ?? _$ChatChatMarkUnreadHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMarkUnreadResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatMarkUnreadResponseApplicationJson_OcsInterface other); + void update(void Function(ChatMarkUnreadResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$ChatMarkUnreadResponseApplicationJson_Ocs extends ChatMarkUnreadResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$ChatMarkUnreadResponseApplicationJson_Ocs( + [void Function(ChatMarkUnreadResponseApplicationJson_OcsBuilder)? updates]) => + (ChatMarkUnreadResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatMarkUnreadResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatMarkUnreadResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatMarkUnreadResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatMarkUnreadResponseApplicationJson_Ocs rebuild( + void Function(ChatMarkUnreadResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMarkUnreadResponseApplicationJson_OcsBuilder toBuilder() => + ChatMarkUnreadResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMarkUnreadResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMarkUnreadResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatMarkUnreadResponseApplicationJson_OcsBuilder + implements + Builder, + ChatMarkUnreadResponseApplicationJson_OcsInterfaceBuilder { + _$ChatMarkUnreadResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + ChatMarkUnreadResponseApplicationJson_OcsBuilder(); + + ChatMarkUnreadResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMarkUnreadResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMarkUnreadResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatMarkUnreadResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMarkUnreadResponseApplicationJson_Ocs build() => _build(); + + _$ChatMarkUnreadResponseApplicationJson_Ocs _build() { + _$ChatMarkUnreadResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ChatMarkUnreadResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'ChatMarkUnreadResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMarkUnreadResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMarkUnreadResponseApplicationJsonInterfaceBuilder { + void replace(ChatMarkUnreadResponseApplicationJsonInterface other); + void update(void Function(ChatMarkUnreadResponseApplicationJsonInterfaceBuilder) updates); + ChatMarkUnreadResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatMarkUnreadResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatMarkUnreadResponseApplicationJson extends ChatMarkUnreadResponseApplicationJson { + @override + final ChatMarkUnreadResponseApplicationJson_Ocs ocs; + + factory _$ChatMarkUnreadResponseApplicationJson( + [void Function(ChatMarkUnreadResponseApplicationJsonBuilder)? updates]) => + (ChatMarkUnreadResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatMarkUnreadResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatMarkUnreadResponseApplicationJson', 'ocs'); + } + + @override + ChatMarkUnreadResponseApplicationJson rebuild(void Function(ChatMarkUnreadResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMarkUnreadResponseApplicationJsonBuilder toBuilder() => + ChatMarkUnreadResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMarkUnreadResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMarkUnreadResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatMarkUnreadResponseApplicationJsonBuilder + implements + Builder, + ChatMarkUnreadResponseApplicationJsonInterfaceBuilder { + _$ChatMarkUnreadResponseApplicationJson? _$v; + + ChatMarkUnreadResponseApplicationJson_OcsBuilder? _ocs; + ChatMarkUnreadResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatMarkUnreadResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatMarkUnreadResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatMarkUnreadResponseApplicationJsonBuilder(); + + ChatMarkUnreadResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMarkUnreadResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMarkUnreadResponseApplicationJson; + } + + @override + void update(void Function(ChatMarkUnreadResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMarkUnreadResponseApplicationJson build() => _build(); + + _$ChatMarkUnreadResponseApplicationJson _build() { + _$ChatMarkUnreadResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatMarkUnreadResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMarkUnreadResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMentionSuggestionInterfaceBuilder { + void replace(ChatMentionSuggestionInterface other); + void update(void Function(ChatMentionSuggestionInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get label; + set label(String? label); + + String? get source; + set source(String? source); + + String? get status; + set status(String? status); + + int? get statusClearAt; + set statusClearAt(int? statusClearAt); + + String? get statusIcon; + set statusIcon(String? statusIcon); + + String? get statusMessage; + set statusMessage(String? statusMessage); +} + +class _$ChatMentionSuggestion extends ChatMentionSuggestion { + @override + final String id; + @override + final String label; + @override + final String source; + @override + final String? status; + @override + final int? statusClearAt; + @override + final String? statusIcon; + @override + final String? statusMessage; + + factory _$ChatMentionSuggestion([void Function(ChatMentionSuggestionBuilder)? updates]) => + (ChatMentionSuggestionBuilder()..update(updates))._build(); + + _$ChatMentionSuggestion._( + {required this.id, + required this.label, + required this.source, + this.status, + this.statusClearAt, + this.statusIcon, + this.statusMessage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'ChatMentionSuggestion', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'ChatMentionSuggestion', 'label'); + BuiltValueNullFieldError.checkNotNull(source, r'ChatMentionSuggestion', 'source'); + } + + @override + ChatMentionSuggestion rebuild(void Function(ChatMentionSuggestionBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMentionSuggestionBuilder toBuilder() => ChatMentionSuggestionBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMentionSuggestion && + id == other.id && + label == other.label && + source == other.source && + status == other.status && + statusClearAt == other.statusClearAt && + statusIcon == other.statusIcon && + statusMessage == other.statusMessage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statusClearAt.hashCode); + _$hash = $jc(_$hash, statusIcon.hashCode); + _$hash = $jc(_$hash, statusMessage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMentionSuggestion') + ..add('id', id) + ..add('label', label) + ..add('source', source) + ..add('status', status) + ..add('statusClearAt', statusClearAt) + ..add('statusIcon', statusIcon) + ..add('statusMessage', statusMessage)) + .toString(); + } +} + +class ChatMentionSuggestionBuilder + implements Builder, ChatMentionSuggestionInterfaceBuilder { + _$ChatMentionSuggestion? _$v; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _label; + String? get label => _$this._label; + set label(covariant String? label) => _$this._label = label; + + String? _source; + String? get source => _$this._source; + set source(covariant String? source) => _$this._source = source; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statusClearAt; + int? get statusClearAt => _$this._statusClearAt; + set statusClearAt(covariant int? statusClearAt) => _$this._statusClearAt = statusClearAt; + + String? _statusIcon; + String? get statusIcon => _$this._statusIcon; + set statusIcon(covariant String? statusIcon) => _$this._statusIcon = statusIcon; + + String? _statusMessage; + String? get statusMessage => _$this._statusMessage; + set statusMessage(covariant String? statusMessage) => _$this._statusMessage = statusMessage; + + ChatMentionSuggestionBuilder(); + + ChatMentionSuggestionBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _label = $v.label; + _source = $v.source; + _status = $v.status; + _statusClearAt = $v.statusClearAt; + _statusIcon = $v.statusIcon; + _statusMessage = $v.statusMessage; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMentionSuggestion other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMentionSuggestion; + } + + @override + void update(void Function(ChatMentionSuggestionBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMentionSuggestion build() => _build(); + + _$ChatMentionSuggestion _build() { + final _$result = _$v ?? + _$ChatMentionSuggestion._( + id: BuiltValueNullFieldError.checkNotNull(id, r'ChatMentionSuggestion', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'ChatMentionSuggestion', 'label'), + source: BuiltValueNullFieldError.checkNotNull(source, r'ChatMentionSuggestion', 'source'), + status: status, + statusClearAt: statusClearAt, + statusIcon: statusIcon, + statusMessage: statusMessage); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMentionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatMentionsResponseApplicationJson_OcsInterface other); + void update(void Function(ChatMentionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$ChatMentionsResponseApplicationJson_Ocs extends ChatMentionsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$ChatMentionsResponseApplicationJson_Ocs( + [void Function(ChatMentionsResponseApplicationJson_OcsBuilder)? updates]) => + (ChatMentionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatMentionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatMentionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatMentionsResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatMentionsResponseApplicationJson_Ocs rebuild( + void Function(ChatMentionsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMentionsResponseApplicationJson_OcsBuilder toBuilder() => + ChatMentionsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMentionsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMentionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatMentionsResponseApplicationJson_OcsBuilder + implements + Builder, + ChatMentionsResponseApplicationJson_OcsInterfaceBuilder { + _$ChatMentionsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + ChatMentionsResponseApplicationJson_OcsBuilder(); + + ChatMentionsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMentionsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMentionsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatMentionsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMentionsResponseApplicationJson_Ocs build() => _build(); + + _$ChatMentionsResponseApplicationJson_Ocs _build() { + _$ChatMentionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatMentionsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMentionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatMentionsResponseApplicationJsonInterfaceBuilder { + void replace(ChatMentionsResponseApplicationJsonInterface other); + void update(void Function(ChatMentionsResponseApplicationJsonInterfaceBuilder) updates); + ChatMentionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatMentionsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatMentionsResponseApplicationJson extends ChatMentionsResponseApplicationJson { + @override + final ChatMentionsResponseApplicationJson_Ocs ocs; + + factory _$ChatMentionsResponseApplicationJson([void Function(ChatMentionsResponseApplicationJsonBuilder)? updates]) => + (ChatMentionsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatMentionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatMentionsResponseApplicationJson', 'ocs'); + } + + @override + ChatMentionsResponseApplicationJson rebuild(void Function(ChatMentionsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatMentionsResponseApplicationJsonBuilder toBuilder() => ChatMentionsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatMentionsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatMentionsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatMentionsResponseApplicationJsonBuilder + implements + Builder, + ChatMentionsResponseApplicationJsonInterfaceBuilder { + _$ChatMentionsResponseApplicationJson? _$v; + + ChatMentionsResponseApplicationJson_OcsBuilder? _ocs; + ChatMentionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatMentionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatMentionsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatMentionsResponseApplicationJsonBuilder(); + + ChatMentionsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatMentionsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatMentionsResponseApplicationJson; + } + + @override + void update(void Function(ChatMentionsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatMentionsResponseApplicationJson build() => _build(); + + _$ChatMentionsResponseApplicationJson _build() { + _$ChatMentionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatMentionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatMentionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatGetObjectsSharedInRoomHeadersInterfaceBuilder { + void replace(ChatChatGetObjectsSharedInRoomHeadersInterface other); + void update(void Function(ChatChatGetObjectsSharedInRoomHeadersInterfaceBuilder) updates); + String? get xChatLastGiven; + set xChatLastGiven(String? xChatLastGiven); +} + +class _$ChatChatGetObjectsSharedInRoomHeaders extends ChatChatGetObjectsSharedInRoomHeaders { + @override + final String? xChatLastGiven; + + factory _$ChatChatGetObjectsSharedInRoomHeaders( + [void Function(ChatChatGetObjectsSharedInRoomHeadersBuilder)? updates]) => + (ChatChatGetObjectsSharedInRoomHeadersBuilder()..update(updates))._build(); + + _$ChatChatGetObjectsSharedInRoomHeaders._({this.xChatLastGiven}) : super._(); + + @override + ChatChatGetObjectsSharedInRoomHeaders rebuild(void Function(ChatChatGetObjectsSharedInRoomHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatGetObjectsSharedInRoomHeadersBuilder toBuilder() => + ChatChatGetObjectsSharedInRoomHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatGetObjectsSharedInRoomHeaders && xChatLastGiven == other.xChatLastGiven; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastGiven.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatGetObjectsSharedInRoomHeaders') + ..add('xChatLastGiven', xChatLastGiven)) + .toString(); + } +} + +class ChatChatGetObjectsSharedInRoomHeadersBuilder + implements + Builder, + ChatChatGetObjectsSharedInRoomHeadersInterfaceBuilder { + _$ChatChatGetObjectsSharedInRoomHeaders? _$v; + + String? _xChatLastGiven; + String? get xChatLastGiven => _$this._xChatLastGiven; + set xChatLastGiven(covariant String? xChatLastGiven) => _$this._xChatLastGiven = xChatLastGiven; + + ChatChatGetObjectsSharedInRoomHeadersBuilder(); + + ChatChatGetObjectsSharedInRoomHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastGiven = $v.xChatLastGiven; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatGetObjectsSharedInRoomHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatGetObjectsSharedInRoomHeaders; + } + + @override + void update(void Function(ChatChatGetObjectsSharedInRoomHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatGetObjectsSharedInRoomHeaders build() => _build(); + + _$ChatChatGetObjectsSharedInRoomHeaders _build() { + final _$result = _$v ?? _$ChatChatGetObjectsSharedInRoomHeaders._(xChatLastGiven: xChatLastGiven); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterface other); + void update(void Function(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs + extends ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs( + [void Function(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder)? updates]) => + (ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs rebuild( + void Function(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder toBuilder() => + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder + implements + Builder, + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsInterfaceBuilder { + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder(); + + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs build() => _build(); + + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs _build() { + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetObjectsSharedInRoomResponseApplicationJsonInterfaceBuilder { + void replace(ChatGetObjectsSharedInRoomResponseApplicationJsonInterface other); + void update(void Function(ChatGetObjectsSharedInRoomResponseApplicationJsonInterfaceBuilder) updates); + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatGetObjectsSharedInRoomResponseApplicationJson extends ChatGetObjectsSharedInRoomResponseApplicationJson { + @override + final ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs ocs; + + factory _$ChatGetObjectsSharedInRoomResponseApplicationJson( + [void Function(ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder)? updates]) => + (ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatGetObjectsSharedInRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatGetObjectsSharedInRoomResponseApplicationJson', 'ocs'); + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson rebuild( + void Function(ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder toBuilder() => + ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetObjectsSharedInRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetObjectsSharedInRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder + implements + Builder, + ChatGetObjectsSharedInRoomResponseApplicationJsonInterfaceBuilder { + _$ChatGetObjectsSharedInRoomResponseApplicationJson? _$v; + + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder? _ocs; + ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder(); + + ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetObjectsSharedInRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetObjectsSharedInRoomResponseApplicationJson; + } + + @override + void update(void Function(ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetObjectsSharedInRoomResponseApplicationJson build() => _build(); + + _$ChatGetObjectsSharedInRoomResponseApplicationJson _build() { + _$ChatGetObjectsSharedInRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatGetObjectsSharedInRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatGetObjectsSharedInRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatChatShareObjectToChatHeadersInterfaceBuilder { + void replace(ChatChatShareObjectToChatHeadersInterface other); + void update(void Function(ChatChatShareObjectToChatHeadersInterfaceBuilder) updates); + String? get xChatLastCommonRead; + set xChatLastCommonRead(String? xChatLastCommonRead); +} + +class _$ChatChatShareObjectToChatHeaders extends ChatChatShareObjectToChatHeaders { + @override + final String? xChatLastCommonRead; + + factory _$ChatChatShareObjectToChatHeaders([void Function(ChatChatShareObjectToChatHeadersBuilder)? updates]) => + (ChatChatShareObjectToChatHeadersBuilder()..update(updates))._build(); + + _$ChatChatShareObjectToChatHeaders._({this.xChatLastCommonRead}) : super._(); + + @override + ChatChatShareObjectToChatHeaders rebuild(void Function(ChatChatShareObjectToChatHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatChatShareObjectToChatHeadersBuilder toBuilder() => ChatChatShareObjectToChatHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatChatShareObjectToChatHeaders && xChatLastCommonRead == other.xChatLastCommonRead; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xChatLastCommonRead.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatChatShareObjectToChatHeaders') + ..add('xChatLastCommonRead', xChatLastCommonRead)) + .toString(); + } +} + +class ChatChatShareObjectToChatHeadersBuilder + implements + Builder, + ChatChatShareObjectToChatHeadersInterfaceBuilder { + _$ChatChatShareObjectToChatHeaders? _$v; + + String? _xChatLastCommonRead; + String? get xChatLastCommonRead => _$this._xChatLastCommonRead; + set xChatLastCommonRead(covariant String? xChatLastCommonRead) => _$this._xChatLastCommonRead = xChatLastCommonRead; + + ChatChatShareObjectToChatHeadersBuilder(); + + ChatChatShareObjectToChatHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xChatLastCommonRead = $v.xChatLastCommonRead; + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatChatShareObjectToChatHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatChatShareObjectToChatHeaders; + } + + @override + void update(void Function(ChatChatShareObjectToChatHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatChatShareObjectToChatHeaders build() => _build(); + + _$ChatChatShareObjectToChatHeaders _build() { + final _$result = _$v ?? _$ChatChatShareObjectToChatHeaders._(xChatLastCommonRead: xChatLastCommonRead); + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatShareObjectToChatResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatShareObjectToChatResponseApplicationJson_OcsInterface other); + void update(void Function(ChatShareObjectToChatResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ChatMessageWithParentBuilder get data; + set data(ChatMessageWithParentBuilder? data); +} + +class _$ChatShareObjectToChatResponseApplicationJson_Ocs extends ChatShareObjectToChatResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final ChatMessageWithParent? data; + + factory _$ChatShareObjectToChatResponseApplicationJson_Ocs( + [void Function(ChatShareObjectToChatResponseApplicationJson_OcsBuilder)? updates]) => + (ChatShareObjectToChatResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatShareObjectToChatResponseApplicationJson_Ocs._({required this.meta, this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ChatShareObjectToChatResponseApplicationJson_Ocs', 'meta'); + } + + @override + ChatShareObjectToChatResponseApplicationJson_Ocs rebuild( + void Function(ChatShareObjectToChatResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatShareObjectToChatResponseApplicationJson_OcsBuilder toBuilder() => + ChatShareObjectToChatResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatShareObjectToChatResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatShareObjectToChatResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatShareObjectToChatResponseApplicationJson_OcsBuilder + implements + Builder, + ChatShareObjectToChatResponseApplicationJson_OcsInterfaceBuilder { + _$ChatShareObjectToChatResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ChatMessageWithParentBuilder? _data; + ChatMessageWithParentBuilder get data => _$this._data ??= ChatMessageWithParentBuilder(); + set data(covariant ChatMessageWithParentBuilder? data) => _$this._data = data; + + ChatShareObjectToChatResponseApplicationJson_OcsBuilder(); + + ChatShareObjectToChatResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatShareObjectToChatResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatShareObjectToChatResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatShareObjectToChatResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatShareObjectToChatResponseApplicationJson_Ocs build() => _build(); + + _$ChatShareObjectToChatResponseApplicationJson_Ocs _build() { + _$ChatShareObjectToChatResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ChatShareObjectToChatResponseApplicationJson_Ocs._(meta: meta.build(), data: _data?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + _data?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatShareObjectToChatResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatShareObjectToChatResponseApplicationJsonInterfaceBuilder { + void replace(ChatShareObjectToChatResponseApplicationJsonInterface other); + void update(void Function(ChatShareObjectToChatResponseApplicationJsonInterfaceBuilder) updates); + ChatShareObjectToChatResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatShareObjectToChatResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatShareObjectToChatResponseApplicationJson extends ChatShareObjectToChatResponseApplicationJson { + @override + final ChatShareObjectToChatResponseApplicationJson_Ocs ocs; + + factory _$ChatShareObjectToChatResponseApplicationJson( + [void Function(ChatShareObjectToChatResponseApplicationJsonBuilder)? updates]) => + (ChatShareObjectToChatResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatShareObjectToChatResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatShareObjectToChatResponseApplicationJson', 'ocs'); + } + + @override + ChatShareObjectToChatResponseApplicationJson rebuild( + void Function(ChatShareObjectToChatResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatShareObjectToChatResponseApplicationJsonBuilder toBuilder() => + ChatShareObjectToChatResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatShareObjectToChatResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatShareObjectToChatResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ChatShareObjectToChatResponseApplicationJsonBuilder + implements + Builder, + ChatShareObjectToChatResponseApplicationJsonInterfaceBuilder { + _$ChatShareObjectToChatResponseApplicationJson? _$v; + + ChatShareObjectToChatResponseApplicationJson_OcsBuilder? _ocs; + ChatShareObjectToChatResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatShareObjectToChatResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatShareObjectToChatResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatShareObjectToChatResponseApplicationJsonBuilder(); + + ChatShareObjectToChatResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatShareObjectToChatResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatShareObjectToChatResponseApplicationJson; + } + + @override + void update(void Function(ChatShareObjectToChatResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatShareObjectToChatResponseApplicationJson build() => _build(); + + _$ChatShareObjectToChatResponseApplicationJson _build() { + _$ChatShareObjectToChatResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatShareObjectToChatResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ChatShareObjectToChatResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterfaceBuilder { + void replace(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterface other); + void update(void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder> get data; + set data(MapBuilder>? data); +} + +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs + extends ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap> data; + + factory _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs( + [void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder)? updates]) => + (ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs', 'data'); + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs rebuild( + void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder toBuilder() => + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder + implements + Builder, + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsInterfaceBuilder { + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder>? _data; + MapBuilder> get data => _$this._data ??= MapBuilder>(); + set data(covariant MapBuilder>? data) => _$this._data = data; + + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder(); + + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs build() => _build(); + + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs _build() { + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterfaceBuilder { + void replace(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterface other); + void update(void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterfaceBuilder) updates); + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder get ocs; + set ocs(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson + extends ChatGetObjectsSharedInRoomOverviewResponseApplicationJson { + @override + final ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs ocs; + + factory _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson( + [void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder)? updates]) => + (ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson', 'ocs'); + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson rebuild( + void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder toBuilder() => + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ChatGetObjectsSharedInRoomOverviewResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder + implements + Builder, + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonInterfaceBuilder { + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson? _$v; + + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder? _ocs; + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder(); + set ocs(covariant ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder(); + + ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ChatGetObjectsSharedInRoomOverviewResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson; + } + + @override + void update(void Function(ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson build() => _build(); + + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson _build() { + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationAcceptShareResponseApplicationJson_OcsInterfaceBuilder { + void replace(FederationAcceptShareResponseApplicationJson_OcsInterface other); + void update(void Function(FederationAcceptShareResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$FederationAcceptShareResponseApplicationJson_Ocs extends FederationAcceptShareResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$FederationAcceptShareResponseApplicationJson_Ocs( + [void Function(FederationAcceptShareResponseApplicationJson_OcsBuilder)? updates]) => + (FederationAcceptShareResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FederationAcceptShareResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FederationAcceptShareResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FederationAcceptShareResponseApplicationJson_Ocs', 'data'); + } + + @override + FederationAcceptShareResponseApplicationJson_Ocs rebuild( + void Function(FederationAcceptShareResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationAcceptShareResponseApplicationJson_OcsBuilder toBuilder() => + FederationAcceptShareResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationAcceptShareResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationAcceptShareResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FederationAcceptShareResponseApplicationJson_OcsBuilder + implements + Builder, + FederationAcceptShareResponseApplicationJson_OcsInterfaceBuilder { + _$FederationAcceptShareResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + FederationAcceptShareResponseApplicationJson_OcsBuilder(); + + FederationAcceptShareResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationAcceptShareResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationAcceptShareResponseApplicationJson_Ocs; + } + + @override + void update(void Function(FederationAcceptShareResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationAcceptShareResponseApplicationJson_Ocs build() => _build(); + + _$FederationAcceptShareResponseApplicationJson_Ocs _build() { + _$FederationAcceptShareResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FederationAcceptShareResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FederationAcceptShareResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FederationAcceptShareResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationAcceptShareResponseApplicationJsonInterfaceBuilder { + void replace(FederationAcceptShareResponseApplicationJsonInterface other); + void update(void Function(FederationAcceptShareResponseApplicationJsonInterfaceBuilder) updates); + FederationAcceptShareResponseApplicationJson_OcsBuilder get ocs; + set ocs(FederationAcceptShareResponseApplicationJson_OcsBuilder? ocs); +} + +class _$FederationAcceptShareResponseApplicationJson extends FederationAcceptShareResponseApplicationJson { + @override + final FederationAcceptShareResponseApplicationJson_Ocs ocs; + + factory _$FederationAcceptShareResponseApplicationJson( + [void Function(FederationAcceptShareResponseApplicationJsonBuilder)? updates]) => + (FederationAcceptShareResponseApplicationJsonBuilder()..update(updates))._build(); + + _$FederationAcceptShareResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FederationAcceptShareResponseApplicationJson', 'ocs'); + } + + @override + FederationAcceptShareResponseApplicationJson rebuild( + void Function(FederationAcceptShareResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationAcceptShareResponseApplicationJsonBuilder toBuilder() => + FederationAcceptShareResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationAcceptShareResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationAcceptShareResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class FederationAcceptShareResponseApplicationJsonBuilder + implements + Builder, + FederationAcceptShareResponseApplicationJsonInterfaceBuilder { + _$FederationAcceptShareResponseApplicationJson? _$v; + + FederationAcceptShareResponseApplicationJson_OcsBuilder? _ocs; + FederationAcceptShareResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FederationAcceptShareResponseApplicationJson_OcsBuilder(); + set ocs(covariant FederationAcceptShareResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FederationAcceptShareResponseApplicationJsonBuilder(); + + FederationAcceptShareResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationAcceptShareResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationAcceptShareResponseApplicationJson; + } + + @override + void update(void Function(FederationAcceptShareResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationAcceptShareResponseApplicationJson build() => _build(); + + _$FederationAcceptShareResponseApplicationJson _build() { + _$FederationAcceptShareResponseApplicationJson _$result; + try { + _$result = _$v ?? _$FederationAcceptShareResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FederationAcceptShareResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationRejectShareResponseApplicationJson_OcsInterfaceBuilder { + void replace(FederationRejectShareResponseApplicationJson_OcsInterface other); + void update(void Function(FederationRejectShareResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$FederationRejectShareResponseApplicationJson_Ocs extends FederationRejectShareResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$FederationRejectShareResponseApplicationJson_Ocs( + [void Function(FederationRejectShareResponseApplicationJson_OcsBuilder)? updates]) => + (FederationRejectShareResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FederationRejectShareResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FederationRejectShareResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FederationRejectShareResponseApplicationJson_Ocs', 'data'); + } + + @override + FederationRejectShareResponseApplicationJson_Ocs rebuild( + void Function(FederationRejectShareResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationRejectShareResponseApplicationJson_OcsBuilder toBuilder() => + FederationRejectShareResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationRejectShareResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationRejectShareResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FederationRejectShareResponseApplicationJson_OcsBuilder + implements + Builder, + FederationRejectShareResponseApplicationJson_OcsInterfaceBuilder { + _$FederationRejectShareResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + FederationRejectShareResponseApplicationJson_OcsBuilder(); + + FederationRejectShareResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationRejectShareResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationRejectShareResponseApplicationJson_Ocs; + } + + @override + void update(void Function(FederationRejectShareResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationRejectShareResponseApplicationJson_Ocs build() => _build(); + + _$FederationRejectShareResponseApplicationJson_Ocs _build() { + _$FederationRejectShareResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FederationRejectShareResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FederationRejectShareResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FederationRejectShareResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationRejectShareResponseApplicationJsonInterfaceBuilder { + void replace(FederationRejectShareResponseApplicationJsonInterface other); + void update(void Function(FederationRejectShareResponseApplicationJsonInterfaceBuilder) updates); + FederationRejectShareResponseApplicationJson_OcsBuilder get ocs; + set ocs(FederationRejectShareResponseApplicationJson_OcsBuilder? ocs); +} + +class _$FederationRejectShareResponseApplicationJson extends FederationRejectShareResponseApplicationJson { + @override + final FederationRejectShareResponseApplicationJson_Ocs ocs; + + factory _$FederationRejectShareResponseApplicationJson( + [void Function(FederationRejectShareResponseApplicationJsonBuilder)? updates]) => + (FederationRejectShareResponseApplicationJsonBuilder()..update(updates))._build(); + + _$FederationRejectShareResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FederationRejectShareResponseApplicationJson', 'ocs'); + } + + @override + FederationRejectShareResponseApplicationJson rebuild( + void Function(FederationRejectShareResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationRejectShareResponseApplicationJsonBuilder toBuilder() => + FederationRejectShareResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationRejectShareResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationRejectShareResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class FederationRejectShareResponseApplicationJsonBuilder + implements + Builder, + FederationRejectShareResponseApplicationJsonInterfaceBuilder { + _$FederationRejectShareResponseApplicationJson? _$v; + + FederationRejectShareResponseApplicationJson_OcsBuilder? _ocs; + FederationRejectShareResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FederationRejectShareResponseApplicationJson_OcsBuilder(); + set ocs(covariant FederationRejectShareResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FederationRejectShareResponseApplicationJsonBuilder(); + + FederationRejectShareResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationRejectShareResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationRejectShareResponseApplicationJson; + } + + @override + void update(void Function(FederationRejectShareResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationRejectShareResponseApplicationJson build() => _build(); + + _$FederationRejectShareResponseApplicationJson _build() { + _$FederationRejectShareResponseApplicationJson _$result; + try { + _$result = _$v ?? _$FederationRejectShareResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FederationRejectShareResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationInviteInterfaceBuilder { + void replace(FederationInviteInterface other); + void update(void Function(FederationInviteInterfaceBuilder) updates); + String? get accessToken; + set accessToken(String? accessToken); + + int? get id; + set id(int? id); + + String? get remoteId; + set remoteId(String? remoteId); + + String? get remoteServer; + set remoteServer(String? remoteServer); + + String? get remoteToken; + set remoteToken(String? remoteToken); + + int? get roomId; + set roomId(int? roomId); + + String? get userId; + set userId(String? userId); +} + +class _$FederationInvite extends FederationInvite { + @override + final String accessToken; + @override + final int id; + @override + final String remoteId; + @override + final String remoteServer; + @override + final String remoteToken; + @override + final int roomId; + @override + final String userId; + + factory _$FederationInvite([void Function(FederationInviteBuilder)? updates]) => + (FederationInviteBuilder()..update(updates))._build(); + + _$FederationInvite._( + {required this.accessToken, + required this.id, + required this.remoteId, + required this.remoteServer, + required this.remoteToken, + required this.roomId, + required this.userId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(accessToken, r'FederationInvite', 'accessToken'); + BuiltValueNullFieldError.checkNotNull(id, r'FederationInvite', 'id'); + BuiltValueNullFieldError.checkNotNull(remoteId, r'FederationInvite', 'remoteId'); + BuiltValueNullFieldError.checkNotNull(remoteServer, r'FederationInvite', 'remoteServer'); + BuiltValueNullFieldError.checkNotNull(remoteToken, r'FederationInvite', 'remoteToken'); + BuiltValueNullFieldError.checkNotNull(roomId, r'FederationInvite', 'roomId'); + BuiltValueNullFieldError.checkNotNull(userId, r'FederationInvite', 'userId'); + } + + @override + FederationInvite rebuild(void Function(FederationInviteBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + FederationInviteBuilder toBuilder() => FederationInviteBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationInvite && + accessToken == other.accessToken && + id == other.id && + remoteId == other.remoteId && + remoteServer == other.remoteServer && + remoteToken == other.remoteToken && + roomId == other.roomId && + userId == other.userId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, accessToken.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, remoteId.hashCode); + _$hash = $jc(_$hash, remoteServer.hashCode); + _$hash = $jc(_$hash, remoteToken.hashCode); + _$hash = $jc(_$hash, roomId.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationInvite') + ..add('accessToken', accessToken) + ..add('id', id) + ..add('remoteId', remoteId) + ..add('remoteServer', remoteServer) + ..add('remoteToken', remoteToken) + ..add('roomId', roomId) + ..add('userId', userId)) + .toString(); + } +} + +class FederationInviteBuilder + implements Builder, FederationInviteInterfaceBuilder { + _$FederationInvite? _$v; + + String? _accessToken; + String? get accessToken => _$this._accessToken; + set accessToken(covariant String? accessToken) => _$this._accessToken = accessToken; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + String? _remoteId; + String? get remoteId => _$this._remoteId; + set remoteId(covariant String? remoteId) => _$this._remoteId = remoteId; + + String? _remoteServer; + String? get remoteServer => _$this._remoteServer; + set remoteServer(covariant String? remoteServer) => _$this._remoteServer = remoteServer; + + String? _remoteToken; + String? get remoteToken => _$this._remoteToken; + set remoteToken(covariant String? remoteToken) => _$this._remoteToken = remoteToken; + + int? _roomId; + int? get roomId => _$this._roomId; + set roomId(covariant int? roomId) => _$this._roomId = roomId; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + FederationInviteBuilder(); + + FederationInviteBuilder get _$this { + final $v = _$v; + if ($v != null) { + _accessToken = $v.accessToken; + _id = $v.id; + _remoteId = $v.remoteId; + _remoteServer = $v.remoteServer; + _remoteToken = $v.remoteToken; + _roomId = $v.roomId; + _userId = $v.userId; + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationInvite other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationInvite; + } + + @override + void update(void Function(FederationInviteBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationInvite build() => _build(); + + _$FederationInvite _build() { + final _$result = _$v ?? + _$FederationInvite._( + accessToken: BuiltValueNullFieldError.checkNotNull(accessToken, r'FederationInvite', 'accessToken'), + id: BuiltValueNullFieldError.checkNotNull(id, r'FederationInvite', 'id'), + remoteId: BuiltValueNullFieldError.checkNotNull(remoteId, r'FederationInvite', 'remoteId'), + remoteServer: BuiltValueNullFieldError.checkNotNull(remoteServer, r'FederationInvite', 'remoteServer'), + remoteToken: BuiltValueNullFieldError.checkNotNull(remoteToken, r'FederationInvite', 'remoteToken'), + roomId: BuiltValueNullFieldError.checkNotNull(roomId, r'FederationInvite', 'roomId'), + userId: BuiltValueNullFieldError.checkNotNull(userId, r'FederationInvite', 'userId')); + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationGetSharesResponseApplicationJson_OcsInterfaceBuilder { + void replace(FederationGetSharesResponseApplicationJson_OcsInterface other); + void update(void Function(FederationGetSharesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$FederationGetSharesResponseApplicationJson_Ocs extends FederationGetSharesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$FederationGetSharesResponseApplicationJson_Ocs( + [void Function(FederationGetSharesResponseApplicationJson_OcsBuilder)? updates]) => + (FederationGetSharesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FederationGetSharesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FederationGetSharesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FederationGetSharesResponseApplicationJson_Ocs', 'data'); + } + + @override + FederationGetSharesResponseApplicationJson_Ocs rebuild( + void Function(FederationGetSharesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationGetSharesResponseApplicationJson_OcsBuilder toBuilder() => + FederationGetSharesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationGetSharesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationGetSharesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FederationGetSharesResponseApplicationJson_OcsBuilder + implements + Builder, + FederationGetSharesResponseApplicationJson_OcsInterfaceBuilder { + _$FederationGetSharesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + FederationGetSharesResponseApplicationJson_OcsBuilder(); + + FederationGetSharesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationGetSharesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationGetSharesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(FederationGetSharesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationGetSharesResponseApplicationJson_Ocs build() => _build(); + + _$FederationGetSharesResponseApplicationJson_Ocs _build() { + _$FederationGetSharesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$FederationGetSharesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FederationGetSharesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FederationGetSharesResponseApplicationJsonInterfaceBuilder { + void replace(FederationGetSharesResponseApplicationJsonInterface other); + void update(void Function(FederationGetSharesResponseApplicationJsonInterfaceBuilder) updates); + FederationGetSharesResponseApplicationJson_OcsBuilder get ocs; + set ocs(FederationGetSharesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$FederationGetSharesResponseApplicationJson extends FederationGetSharesResponseApplicationJson { + @override + final FederationGetSharesResponseApplicationJson_Ocs ocs; + + factory _$FederationGetSharesResponseApplicationJson( + [void Function(FederationGetSharesResponseApplicationJsonBuilder)? updates]) => + (FederationGetSharesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$FederationGetSharesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FederationGetSharesResponseApplicationJson', 'ocs'); + } + + @override + FederationGetSharesResponseApplicationJson rebuild( + void Function(FederationGetSharesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FederationGetSharesResponseApplicationJsonBuilder toBuilder() => + FederationGetSharesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FederationGetSharesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FederationGetSharesResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class FederationGetSharesResponseApplicationJsonBuilder + implements + Builder, + FederationGetSharesResponseApplicationJsonInterfaceBuilder { + _$FederationGetSharesResponseApplicationJson? _$v; + + FederationGetSharesResponseApplicationJson_OcsBuilder? _ocs; + FederationGetSharesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FederationGetSharesResponseApplicationJson_OcsBuilder(); + set ocs(covariant FederationGetSharesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FederationGetSharesResponseApplicationJsonBuilder(); + + FederationGetSharesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FederationGetSharesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FederationGetSharesResponseApplicationJson; + } + + @override + void update(void Function(FederationGetSharesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FederationGetSharesResponseApplicationJson build() => _build(); + + _$FederationGetSharesResponseApplicationJson _build() { + _$FederationGetSharesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$FederationGetSharesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FederationGetSharesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get token; + set token(String? token); +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data + extends FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data { + @override + final String token; + + factory _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data( + [void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data._({required this.token}) : super._() { + BuiltValueNullFieldError.checkNotNull( + token, r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data', 'token'); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data rebuild( + void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder toBuilder() => + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data && token == other.token; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data') + ..add('token', token)) + .toString(); + } +} + +class FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data? _$v; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder(); + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data build() => _build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data._( + token: BuiltValueNullFieldError.checkNotNull( + token, r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data', 'token')); + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterfaceBuilder { + void replace(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterface other); + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder get data; + set data(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs + extends FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data data; + + factory _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs( + [void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder)? updates]) => + (FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs', 'data'); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs rebuild( + void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder toBuilder() => + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder + implements + Builder, + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsInterfaceBuilder { + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder? _data; + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder(); + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs; + } + + @override + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs build() => _build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs _build() { + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterfaceBuilder { + void replace(FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterface other); + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterfaceBuilder) updates); + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder get ocs; + set ocs(FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder? ocs); +} + +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson + extends FilesIntegrationGetRoomByFileIdResponseApplicationJson { + @override + final FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs ocs; + + factory _$FilesIntegrationGetRoomByFileIdResponseApplicationJson( + [void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder)? updates]) => + (FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesIntegrationGetRoomByFileIdResponseApplicationJson', 'ocs'); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson rebuild( + void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder toBuilder() => + FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByFileIdResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByFileIdResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder + implements + Builder, + FilesIntegrationGetRoomByFileIdResponseApplicationJsonInterfaceBuilder { + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson? _$v; + + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder? _ocs; + FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder(); + set ocs(covariant FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder(); + + FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByFileIdResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByFileIdResponseApplicationJson; + } + + @override + void update(void Function(FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByFileIdResponseApplicationJson build() => _build(); + + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson _build() { + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson _$result; + try { + _$result = _$v ?? _$FilesIntegrationGetRoomByFileIdResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesIntegrationGetRoomByFileIdResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get token; + set token(String? token); + + String? get userId; + set userId(String? userId); + + String? get userDisplayName; + set userDisplayName(String? userDisplayName); +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data + extends FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data { + @override + final String token; + @override + final String userId; + @override + final String userDisplayName; + + factory _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data( + [void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data._( + {required this.token, required this.userId, required this.userDisplayName}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + token, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'token'); + BuiltValueNullFieldError.checkNotNull( + userId, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'userId'); + BuiltValueNullFieldError.checkNotNull( + userDisplayName, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'userDisplayName'); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data rebuild( + void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder toBuilder() => + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data && + token == other.token && + userId == other.userId && + userDisplayName == other.userDisplayName; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, userDisplayName.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data') + ..add('token', token) + ..add('userId', userId) + ..add('userDisplayName', userDisplayName)) + .toString(); + } +} + +class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data? _$v; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + String? _userDisplayName; + String? get userDisplayName => _$this._userDisplayName; + set userDisplayName(covariant String? userDisplayName) => _$this._userDisplayName = userDisplayName; + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder(); + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _userId = $v.userId; + _userDisplayName = $v.userDisplayName; + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data build() => _build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data._( + token: BuiltValueNullFieldError.checkNotNull( + token, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'token'), + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'userId'), + userDisplayName: BuiltValueNullFieldError.checkNotNull(userDisplayName, + r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data', 'userDisplayName')); + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterfaceBuilder { + void replace(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterface other); + void update(void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder get data; + set data(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs + extends FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data data; + + factory _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs( + [void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder)? updates]) => + (FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs', 'data'); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs rebuild( + void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder toBuilder() => + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder + implements + Builder, + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsInterfaceBuilder { + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder? _data; + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder(); + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs; + } + + @override + void update(void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs build() => _build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs _build() { + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterfaceBuilder { + void replace(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterface other); + void update(void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterfaceBuilder) updates); + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder get ocs; + set ocs(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder? ocs); +} + +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson + extends FilesIntegrationGetRoomByShareTokenResponseApplicationJson { + @override + final FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs ocs; + + factory _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson( + [void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder)? updates]) => + (FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder()..update(updates))._build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson', 'ocs'); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson rebuild( + void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder toBuilder() => + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesIntegrationGetRoomByShareTokenResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder + implements + Builder, + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonInterfaceBuilder { + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson? _$v; + + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder? _ocs; + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder(); + set ocs(covariant FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder(); + + FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant FilesIntegrationGetRoomByShareTokenResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson; + } + + @override + void update(void Function(FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesIntegrationGetRoomByShareTokenResponseApplicationJson build() => _build(); + + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson _build() { + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson _$result; + try { + _$result = _$v ?? _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesIntegrationGetRoomByShareTokenResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class GuestSetDisplayNameResponseApplicationJson_OcsInterfaceBuilder { + void replace(GuestSetDisplayNameResponseApplicationJson_OcsInterface other); + void update(void Function(GuestSetDisplayNameResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$GuestSetDisplayNameResponseApplicationJson_Ocs extends GuestSetDisplayNameResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$GuestSetDisplayNameResponseApplicationJson_Ocs( + [void Function(GuestSetDisplayNameResponseApplicationJson_OcsBuilder)? updates]) => + (GuestSetDisplayNameResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$GuestSetDisplayNameResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'GuestSetDisplayNameResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'GuestSetDisplayNameResponseApplicationJson_Ocs', 'data'); + } + + @override + GuestSetDisplayNameResponseApplicationJson_Ocs rebuild( + void Function(GuestSetDisplayNameResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GuestSetDisplayNameResponseApplicationJson_OcsBuilder toBuilder() => + GuestSetDisplayNameResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GuestSetDisplayNameResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GuestSetDisplayNameResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class GuestSetDisplayNameResponseApplicationJson_OcsBuilder + implements + Builder, + GuestSetDisplayNameResponseApplicationJson_OcsInterfaceBuilder { + _$GuestSetDisplayNameResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + GuestSetDisplayNameResponseApplicationJson_OcsBuilder(); + + GuestSetDisplayNameResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant GuestSetDisplayNameResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GuestSetDisplayNameResponseApplicationJson_Ocs; + } + + @override + void update(void Function(GuestSetDisplayNameResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GuestSetDisplayNameResponseApplicationJson_Ocs build() => _build(); + + _$GuestSetDisplayNameResponseApplicationJson_Ocs _build() { + _$GuestSetDisplayNameResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$GuestSetDisplayNameResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'GuestSetDisplayNameResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'GuestSetDisplayNameResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class GuestSetDisplayNameResponseApplicationJsonInterfaceBuilder { + void replace(GuestSetDisplayNameResponseApplicationJsonInterface other); + void update(void Function(GuestSetDisplayNameResponseApplicationJsonInterfaceBuilder) updates); + GuestSetDisplayNameResponseApplicationJson_OcsBuilder get ocs; + set ocs(GuestSetDisplayNameResponseApplicationJson_OcsBuilder? ocs); +} + +class _$GuestSetDisplayNameResponseApplicationJson extends GuestSetDisplayNameResponseApplicationJson { + @override + final GuestSetDisplayNameResponseApplicationJson_Ocs ocs; + + factory _$GuestSetDisplayNameResponseApplicationJson( + [void Function(GuestSetDisplayNameResponseApplicationJsonBuilder)? updates]) => + (GuestSetDisplayNameResponseApplicationJsonBuilder()..update(updates))._build(); + + _$GuestSetDisplayNameResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'GuestSetDisplayNameResponseApplicationJson', 'ocs'); + } + + @override + GuestSetDisplayNameResponseApplicationJson rebuild( + void Function(GuestSetDisplayNameResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GuestSetDisplayNameResponseApplicationJsonBuilder toBuilder() => + GuestSetDisplayNameResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GuestSetDisplayNameResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'GuestSetDisplayNameResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class GuestSetDisplayNameResponseApplicationJsonBuilder + implements + Builder, + GuestSetDisplayNameResponseApplicationJsonInterfaceBuilder { + _$GuestSetDisplayNameResponseApplicationJson? _$v; + + GuestSetDisplayNameResponseApplicationJson_OcsBuilder? _ocs; + GuestSetDisplayNameResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= GuestSetDisplayNameResponseApplicationJson_OcsBuilder(); + set ocs(covariant GuestSetDisplayNameResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + GuestSetDisplayNameResponseApplicationJsonBuilder(); + + GuestSetDisplayNameResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant GuestSetDisplayNameResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GuestSetDisplayNameResponseApplicationJson; + } + + @override + void update(void Function(GuestSetDisplayNameResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + GuestSetDisplayNameResponseApplicationJson build() => _build(); + + _$GuestSetDisplayNameResponseApplicationJson _build() { + _$GuestSetDisplayNameResponseApplicationJson _$result; + try { + _$result = _$v ?? _$GuestSetDisplayNameResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'GuestSetDisplayNameResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterfaceBuilder { + void replace(HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterface other); + void update(void Function(HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder get data; + set data(MapBuilder? data); +} + +class _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs + extends HostedSignalingServerRequestTrialResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap data; + + factory _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs( + [void Function(HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder)? updates]) => + (HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs', 'data'); + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs rebuild( + void Function(HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder toBuilder() => + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is HostedSignalingServerRequestTrialResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder + implements + Builder, + HostedSignalingServerRequestTrialResponseApplicationJson_OcsInterfaceBuilder { + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder? _data; + MapBuilder get data => _$this._data ??= MapBuilder(); + set data(covariant MapBuilder? data) => _$this._data = data; + + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder(); + + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant HostedSignalingServerRequestTrialResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs; + } + + @override + void update(void Function(HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs build() => _build(); + + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs _build() { + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class HostedSignalingServerRequestTrialResponseApplicationJsonInterfaceBuilder { + void replace(HostedSignalingServerRequestTrialResponseApplicationJsonInterface other); + void update(void Function(HostedSignalingServerRequestTrialResponseApplicationJsonInterfaceBuilder) updates); + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder get ocs; + set ocs(HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder? ocs); +} + +class _$HostedSignalingServerRequestTrialResponseApplicationJson + extends HostedSignalingServerRequestTrialResponseApplicationJson { + @override + final HostedSignalingServerRequestTrialResponseApplicationJson_Ocs ocs; + + factory _$HostedSignalingServerRequestTrialResponseApplicationJson( + [void Function(HostedSignalingServerRequestTrialResponseApplicationJsonBuilder)? updates]) => + (HostedSignalingServerRequestTrialResponseApplicationJsonBuilder()..update(updates))._build(); + + _$HostedSignalingServerRequestTrialResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'HostedSignalingServerRequestTrialResponseApplicationJson', 'ocs'); + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson rebuild( + void Function(HostedSignalingServerRequestTrialResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + HostedSignalingServerRequestTrialResponseApplicationJsonBuilder toBuilder() => + HostedSignalingServerRequestTrialResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is HostedSignalingServerRequestTrialResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'HostedSignalingServerRequestTrialResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class HostedSignalingServerRequestTrialResponseApplicationJsonBuilder + implements + Builder, + HostedSignalingServerRequestTrialResponseApplicationJsonInterfaceBuilder { + _$HostedSignalingServerRequestTrialResponseApplicationJson? _$v; + + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder? _ocs; + HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder(); + set ocs(covariant HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + HostedSignalingServerRequestTrialResponseApplicationJsonBuilder(); + + HostedSignalingServerRequestTrialResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant HostedSignalingServerRequestTrialResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$HostedSignalingServerRequestTrialResponseApplicationJson; + } + + @override + void update(void Function(HostedSignalingServerRequestTrialResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + HostedSignalingServerRequestTrialResponseApplicationJson build() => _build(); + + _$HostedSignalingServerRequestTrialResponseApplicationJson _build() { + _$HostedSignalingServerRequestTrialResponseApplicationJson _$result; + try { + _$result = _$v ?? _$HostedSignalingServerRequestTrialResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'HostedSignalingServerRequestTrialResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterfaceBuilder { + void replace(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterface other); + void update(void Function(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs + extends HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs( + [void Function(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder)? updates]) => + (HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs', 'data'); + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs rebuild( + void Function(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder toBuilder() => + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder + implements + Builder, + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsInterfaceBuilder { + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder(); + + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs; + } + + @override + void update(void Function(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs build() => _build(); + + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs _build() { + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class HostedSignalingServerDeleteAccountResponseApplicationJsonInterfaceBuilder { + void replace(HostedSignalingServerDeleteAccountResponseApplicationJsonInterface other); + void update(void Function(HostedSignalingServerDeleteAccountResponseApplicationJsonInterfaceBuilder) updates); + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder get ocs; + set ocs(HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder? ocs); +} + +class _$HostedSignalingServerDeleteAccountResponseApplicationJson + extends HostedSignalingServerDeleteAccountResponseApplicationJson { + @override + final HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs ocs; + + factory _$HostedSignalingServerDeleteAccountResponseApplicationJson( + [void Function(HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder)? updates]) => + (HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder()..update(updates))._build(); + + _$HostedSignalingServerDeleteAccountResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'HostedSignalingServerDeleteAccountResponseApplicationJson', 'ocs'); + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson rebuild( + void Function(HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder toBuilder() => + HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is HostedSignalingServerDeleteAccountResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'HostedSignalingServerDeleteAccountResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder + implements + Builder, + HostedSignalingServerDeleteAccountResponseApplicationJsonInterfaceBuilder { + _$HostedSignalingServerDeleteAccountResponseApplicationJson? _$v; + + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder? _ocs; + HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder(); + set ocs(covariant HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder(); + + HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant HostedSignalingServerDeleteAccountResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$HostedSignalingServerDeleteAccountResponseApplicationJson; + } + + @override + void update(void Function(HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + HostedSignalingServerDeleteAccountResponseApplicationJson build() => _build(); + + _$HostedSignalingServerDeleteAccountResponseApplicationJson _build() { + _$HostedSignalingServerDeleteAccountResponseApplicationJson _$result; + try { + _$result = _$v ?? _$HostedSignalingServerDeleteAccountResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'HostedSignalingServerDeleteAccountResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeInterfaceBuilder { + void replace(MatterbridgeInterface other); + void update(void Function(MatterbridgeInterfaceBuilder) updates); + bool? get enabled; + set enabled(bool? enabled); + + ListBuilder> get parts; + set parts(ListBuilder>? parts); + + int? get pid; + set pid(int? pid); +} + +class _$Matterbridge extends Matterbridge { + @override + final bool enabled; + @override + final BuiltList> parts; + @override + final int pid; + + factory _$Matterbridge([void Function(MatterbridgeBuilder)? updates]) => + (MatterbridgeBuilder()..update(updates))._build(); + + _$Matterbridge._({required this.enabled, required this.parts, required this.pid}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'Matterbridge', 'enabled'); + BuiltValueNullFieldError.checkNotNull(parts, r'Matterbridge', 'parts'); + BuiltValueNullFieldError.checkNotNull(pid, r'Matterbridge', 'pid'); + } + + @override + Matterbridge rebuild(void Function(MatterbridgeBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + MatterbridgeBuilder toBuilder() => MatterbridgeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Matterbridge && enabled == other.enabled && parts == other.parts && pid == other.pid; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, parts.hashCode); + _$hash = $jc(_$hash, pid.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Matterbridge') + ..add('enabled', enabled) + ..add('parts', parts) + ..add('pid', pid)) + .toString(); + } +} + +class MatterbridgeBuilder implements Builder, MatterbridgeInterfaceBuilder { + _$Matterbridge? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + ListBuilder>? _parts; + ListBuilder> get parts => _$this._parts ??= ListBuilder>(); + set parts(covariant ListBuilder>? parts) => _$this._parts = parts; + + int? _pid; + int? get pid => _$this._pid; + set pid(covariant int? pid) => _$this._pid = pid; + + MatterbridgeBuilder(); + + MatterbridgeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _parts = $v.parts.toBuilder(); + _pid = $v.pid; + _$v = null; + } + return this; + } + + @override + void replace(covariant Matterbridge other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Matterbridge; + } + + @override + void update(void Function(MatterbridgeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Matterbridge build() => _build(); + + _$Matterbridge _build() { + _$Matterbridge _$result; + try { + _$result = _$v ?? + _$Matterbridge._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, r'Matterbridge', 'enabled'), + parts: parts.build(), + pid: BuiltValueNullFieldError.checkNotNull(pid, r'Matterbridge', 'pid')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'parts'; + parts.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Matterbridge', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeProcessStateInterfaceBuilder { + void replace(MatterbridgeProcessStateInterface other); + void update(void Function(MatterbridgeProcessStateInterfaceBuilder) updates); + String? get log; + set log(String? log); + + bool? get running; + set running(bool? running); +} + +class _$MatterbridgeProcessState extends MatterbridgeProcessState { + @override + final String log; + @override + final bool running; + + factory _$MatterbridgeProcessState([void Function(MatterbridgeProcessStateBuilder)? updates]) => + (MatterbridgeProcessStateBuilder()..update(updates))._build(); + + _$MatterbridgeProcessState._({required this.log, required this.running}) : super._() { + BuiltValueNullFieldError.checkNotNull(log, r'MatterbridgeProcessState', 'log'); + BuiltValueNullFieldError.checkNotNull(running, r'MatterbridgeProcessState', 'running'); + } + + @override + MatterbridgeProcessState rebuild(void Function(MatterbridgeProcessStateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeProcessStateBuilder toBuilder() => MatterbridgeProcessStateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeProcessState && log == other.log && running == other.running; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, log.hashCode); + _$hash = $jc(_$hash, running.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeProcessState') + ..add('log', log) + ..add('running', running)) + .toString(); + } +} + +class MatterbridgeProcessStateBuilder + implements + Builder, + MatterbridgeProcessStateInterfaceBuilder { + _$MatterbridgeProcessState? _$v; + + String? _log; + String? get log => _$this._log; + set log(covariant String? log) => _$this._log = log; + + bool? _running; + bool? get running => _$this._running; + set running(covariant bool? running) => _$this._running = running; + + MatterbridgeProcessStateBuilder(); + + MatterbridgeProcessStateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _log = $v.log; + _running = $v.running; + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeProcessState other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeProcessState; + } + + @override + void update(void Function(MatterbridgeProcessStateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeProcessState build() => _build(); + + _$MatterbridgeProcessState _build() { + final _$result = _$v ?? + _$MatterbridgeProcessState._( + log: BuiltValueNullFieldError.checkNotNull(log, r'MatterbridgeProcessState', 'log'), + running: BuiltValueNullFieldError.checkNotNull(running, r'MatterbridgeProcessState', 'running')); + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeWithProcessStateInterfaceBuilder + implements MatterbridgeInterfaceBuilder, MatterbridgeProcessStateInterfaceBuilder { + void replace(covariant MatterbridgeWithProcessStateInterface other); + void update(void Function(MatterbridgeWithProcessStateInterfaceBuilder) updates); + bool? get enabled; + set enabled(covariant bool? enabled); + + ListBuilder> get parts; + set parts(covariant ListBuilder>? parts); + + int? get pid; + set pid(covariant int? pid); + + String? get log; + set log(covariant String? log); + + bool? get running; + set running(covariant bool? running); +} + +class _$MatterbridgeWithProcessState extends MatterbridgeWithProcessState { + @override + final bool enabled; + @override + final BuiltList> parts; + @override + final int pid; + @override + final String log; + @override + final bool running; + + factory _$MatterbridgeWithProcessState([void Function(MatterbridgeWithProcessStateBuilder)? updates]) => + (MatterbridgeWithProcessStateBuilder()..update(updates))._build(); + + _$MatterbridgeWithProcessState._( + {required this.enabled, required this.parts, required this.pid, required this.log, required this.running}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'MatterbridgeWithProcessState', 'enabled'); + BuiltValueNullFieldError.checkNotNull(parts, r'MatterbridgeWithProcessState', 'parts'); + BuiltValueNullFieldError.checkNotNull(pid, r'MatterbridgeWithProcessState', 'pid'); + BuiltValueNullFieldError.checkNotNull(log, r'MatterbridgeWithProcessState', 'log'); + BuiltValueNullFieldError.checkNotNull(running, r'MatterbridgeWithProcessState', 'running'); + } + + @override + MatterbridgeWithProcessState rebuild(void Function(MatterbridgeWithProcessStateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeWithProcessStateBuilder toBuilder() => MatterbridgeWithProcessStateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeWithProcessState && + enabled == other.enabled && + parts == other.parts && + pid == other.pid && + log == other.log && + running == other.running; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, parts.hashCode); + _$hash = $jc(_$hash, pid.hashCode); + _$hash = $jc(_$hash, log.hashCode); + _$hash = $jc(_$hash, running.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeWithProcessState') + ..add('enabled', enabled) + ..add('parts', parts) + ..add('pid', pid) + ..add('log', log) + ..add('running', running)) + .toString(); + } +} + +class MatterbridgeWithProcessStateBuilder + implements + Builder, + MatterbridgeWithProcessStateInterfaceBuilder { + _$MatterbridgeWithProcessState? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + ListBuilder>? _parts; + ListBuilder> get parts => _$this._parts ??= ListBuilder>(); + set parts(covariant ListBuilder>? parts) => _$this._parts = parts; + + int? _pid; + int? get pid => _$this._pid; + set pid(covariant int? pid) => _$this._pid = pid; + + String? _log; + String? get log => _$this._log; + set log(covariant String? log) => _$this._log = log; + + bool? _running; + bool? get running => _$this._running; + set running(covariant bool? running) => _$this._running = running; + + MatterbridgeWithProcessStateBuilder(); + + MatterbridgeWithProcessStateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _parts = $v.parts.toBuilder(); + _pid = $v.pid; + _log = $v.log; + _running = $v.running; + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeWithProcessState other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeWithProcessState; + } + + @override + void update(void Function(MatterbridgeWithProcessStateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeWithProcessState build() => _build(); + + _$MatterbridgeWithProcessState _build() { + _$MatterbridgeWithProcessState _$result; + try { + _$result = _$v ?? + _$MatterbridgeWithProcessState._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, r'MatterbridgeWithProcessState', 'enabled'), + parts: parts.build(), + pid: BuiltValueNullFieldError.checkNotNull(pid, r'MatterbridgeWithProcessState', 'pid'), + log: BuiltValueNullFieldError.checkNotNull(log, r'MatterbridgeWithProcessState', 'log'), + running: BuiltValueNullFieldError.checkNotNull(running, r'MatterbridgeWithProcessState', 'running')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'parts'; + parts.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'MatterbridgeWithProcessState', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterface other); + void update(void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MatterbridgeWithProcessStateBuilder get data; + set data(MatterbridgeWithProcessStateBuilder? data); +} + +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs + extends MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final MatterbridgeWithProcessState data; + + factory _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs( + [void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MatterbridgeWithProcessStateBuilder? _data; + MatterbridgeWithProcessStateBuilder get data => _$this._data ??= MatterbridgeWithProcessStateBuilder(); + set data(covariant MatterbridgeWithProcessStateBuilder? data) => _$this._data = data; + + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs _build() { + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson extends MatterbridgeGetBridgeOfRoomResponseApplicationJson { + @override + final MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeGetBridgeOfRoomResponseApplicationJson( + [void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'MatterbridgeGetBridgeOfRoomResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson rebuild( + void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder toBuilder() => + MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeGetBridgeOfRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeGetBridgeOfRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeGetBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson? _$v; + + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder(); + + MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeGetBridgeOfRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeGetBridgeOfRoomResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeGetBridgeOfRoomResponseApplicationJson build() => _build(); + + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson _build() { + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeGetBridgeOfRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeGetBridgeOfRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterface other); + void update(void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MatterbridgeProcessStateBuilder get data; + set data(MatterbridgeProcessStateBuilder? data); +} + +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs + extends MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final MatterbridgeProcessState data; + + factory _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs( + [void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MatterbridgeProcessStateBuilder? _data; + MatterbridgeProcessStateBuilder get data => _$this._data ??= MatterbridgeProcessStateBuilder(); + set data(covariant MatterbridgeProcessStateBuilder? data) => _$this._data = data; + + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs _build() { + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson + extends MatterbridgeEditBridgeOfRoomResponseApplicationJson { + @override + final MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeEditBridgeOfRoomResponseApplicationJson( + [void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'MatterbridgeEditBridgeOfRoomResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson rebuild( + void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder toBuilder() => + MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeEditBridgeOfRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeEditBridgeOfRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeEditBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson? _$v; + + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder(); + + MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeEditBridgeOfRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeEditBridgeOfRoomResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeEditBridgeOfRoomResponseApplicationJson build() => _build(); + + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson _build() { + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeEditBridgeOfRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeEditBridgeOfRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterface other); + void update(void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + bool? get data; + set data(bool? data); +} + +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs + extends MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final bool data; + + factory _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs( + [void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + bool? _data; + bool? get data => _$this._data; + set data(covariant bool? data) => _$this._data = data; + + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder(); + + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs _build() { + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson + extends MatterbridgeDeleteBridgeOfRoomResponseApplicationJson { + @override + final MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson( + [void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson rebuild( + void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder toBuilder() => + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeDeleteBridgeOfRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson? _$v; + + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder(); + + MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeDeleteBridgeOfRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson build() => _build(); + + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson _build() { + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterface other); + void update(void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MatterbridgeProcessStateBuilder get data; + set data(MatterbridgeProcessStateBuilder? data); +} + +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs + extends MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final MatterbridgeProcessState data; + + factory _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs( + [void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MatterbridgeProcessStateBuilder? _data; + MatterbridgeProcessStateBuilder get data => _$this._data ??= MatterbridgeProcessStateBuilder(); + set data(covariant MatterbridgeProcessStateBuilder? data) => _$this._data = data; + + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder(); + + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs _build() { + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson + extends MatterbridgeGetBridgeProcessStateResponseApplicationJson { + @override + final MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeGetBridgeProcessStateResponseApplicationJson( + [void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'MatterbridgeGetBridgeProcessStateResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson rebuild( + void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder toBuilder() => + MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeGetBridgeProcessStateResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeGetBridgeProcessStateResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeGetBridgeProcessStateResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson? _$v; + + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder(); + + MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeGetBridgeProcessStateResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeGetBridgeProcessStateResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson build() => _build(); + + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson _build() { + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeGetBridgeProcessStateResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeGetBridgeProcessStateResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterface other); + void update(void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + bool? get data; + set data(bool? data); +} + +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs + extends MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final bool data; + + factory _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs( + [void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + bool? _data; + bool? get data => _$this._data; + set data(covariant bool? data) => _$this._data = data; + + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder(); + + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs _build() { + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson + extends MatterbridgeSettingsStopAllBridgesResponseApplicationJson { + @override + final MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson( + [void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson rebuild( + void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder toBuilder() => + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeSettingsStopAllBridgesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson? _$v; + + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder(); + + MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeSettingsStopAllBridgesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeSettingsStopAllBridgesResponseApplicationJson build() => _build(); + + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson _build() { + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeSettingsStopAllBridgesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + String? get version; + set version(String? version); +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data + extends MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data { + @override + final String version; + + factory _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data( + [void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data._({required this.version}) : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data', 'version'); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data rebuild( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder toBuilder() => + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data && + version == other.version; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data') + ..add('version', version)) + .toString(); + } +} + +class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data? _$v; + + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder(); + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _version = $v.version; + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data; + } + + @override + void update( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data build() => _build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data._( + version: BuiltValueNullFieldError.checkNotNull( + version, r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data', 'version')); + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterfaceBuilder { + void replace(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterface other); + void update( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder get data; + set data(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs + extends MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data data; + + factory _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs( + [void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder)? updates]) => + (MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs', 'data'); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs rebuild( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder toBuilder() => + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder + implements + Builder, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsInterfaceBuilder { + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder? _data; + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder(); + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs; + } + + @override + void update(void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs build() => _build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs _build() { + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterfaceBuilder { + void replace(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterface other); + void update(void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterfaceBuilder) updates); + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder get ocs; + set ocs(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder? ocs); +} + +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson + extends MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson { + @override + final MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs ocs; + + factory _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson( + [void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder)? updates]) => + (MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder()..update(updates))._build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson', 'ocs'); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson rebuild( + void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder toBuilder() => + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder + implements + Builder, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonInterfaceBuilder { + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson? _$v; + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder? _ocs; + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder(); + set ocs(covariant MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder(); + + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson; + } + + @override + void update(void Function(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson build() => _build(); + + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson _build() { + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollVoteInterfaceBuilder { + void replace(PollVoteInterface other); + void update(void Function(PollVoteInterfaceBuilder) updates); + String? get actorDisplayName; + set actorDisplayName(String? actorDisplayName); + + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + int? get optionId; + set optionId(int? optionId); +} + +class _$PollVote extends PollVote { + @override + final String actorDisplayName; + @override + final String actorId; + @override + final String actorType; + @override + final int optionId; + + factory _$PollVote([void Function(PollVoteBuilder)? updates]) => (PollVoteBuilder()..update(updates))._build(); + + _$PollVote._({required this.actorDisplayName, required this.actorId, required this.actorType, required this.optionId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'PollVote', 'actorDisplayName'); + BuiltValueNullFieldError.checkNotNull(actorId, r'PollVote', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'PollVote', 'actorType'); + BuiltValueNullFieldError.checkNotNull(optionId, r'PollVote', 'optionId'); + } + + @override + PollVote rebuild(void Function(PollVoteBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + PollVoteBuilder toBuilder() => PollVoteBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollVote && + actorDisplayName == other.actorDisplayName && + actorId == other.actorId && + actorType == other.actorType && + optionId == other.optionId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorDisplayName.hashCode); + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, optionId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollVote') + ..add('actorDisplayName', actorDisplayName) + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('optionId', optionId)) + .toString(); + } +} + +class PollVoteBuilder implements Builder, PollVoteInterfaceBuilder { + _$PollVote? _$v; + + String? _actorDisplayName; + String? get actorDisplayName => _$this._actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName) => _$this._actorDisplayName = actorDisplayName; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + int? _optionId; + int? get optionId => _$this._optionId; + set optionId(covariant int? optionId) => _$this._optionId = optionId; + + PollVoteBuilder(); + + PollVoteBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorDisplayName = $v.actorDisplayName; + _actorId = $v.actorId; + _actorType = $v.actorType; + _optionId = $v.optionId; + _$v = null; + } + return this; + } + + @override + void replace(covariant PollVote other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollVote; + } + + @override + void update(void Function(PollVoteBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollVote build() => _build(); + + _$PollVote _build() { + final _$result = _$v ?? + _$PollVote._( + actorDisplayName: BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'PollVote', 'actorDisplayName'), + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'PollVote', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'PollVote', 'actorType'), + optionId: BuiltValueNullFieldError.checkNotNull(optionId, r'PollVote', 'optionId')); + replace(_$result); + return _$result; + } +} + +abstract mixin class PollInterfaceBuilder { + void replace(PollInterface other); + void update(void Function(PollInterfaceBuilder) updates); + String? get actorDisplayName; + set actorDisplayName(String? actorDisplayName); + + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + ListBuilder get details; + set details(ListBuilder? details); + + int? get id; + set id(int? id); + + int? get maxVotes; + set maxVotes(int? maxVotes); + + int? get numVoters; + set numVoters(int? numVoters); + + ListBuilder get options; + set options(ListBuilder? options); + + String? get question; + set question(String? question); + + int? get resultMode; + set resultMode(int? resultMode); + + int? get status; + set status(int? status); + + ListBuilder get votedSelf; + set votedSelf(ListBuilder? votedSelf); + + MapBuilder get votes; + set votes(MapBuilder? votes); +} + +class _$Poll extends Poll { + @override + final String actorDisplayName; + @override + final String actorId; + @override + final String actorType; + @override + final BuiltList? details; + @override + final int id; + @override + final int maxVotes; + @override + final int? numVoters; + @override + final BuiltList options; + @override + final String question; + @override + final int resultMode; + @override + final int status; + @override + final BuiltList? votedSelf; + @override + final BuiltMap? votes; + + factory _$Poll([void Function(PollBuilder)? updates]) => (PollBuilder()..update(updates))._build(); + + _$Poll._( + {required this.actorDisplayName, + required this.actorId, + required this.actorType, + this.details, + required this.id, + required this.maxVotes, + this.numVoters, + required this.options, + required this.question, + required this.resultMode, + required this.status, + this.votedSelf, + this.votes}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'Poll', 'actorDisplayName'); + BuiltValueNullFieldError.checkNotNull(actorId, r'Poll', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'Poll', 'actorType'); + BuiltValueNullFieldError.checkNotNull(id, r'Poll', 'id'); + BuiltValueNullFieldError.checkNotNull(maxVotes, r'Poll', 'maxVotes'); + BuiltValueNullFieldError.checkNotNull(options, r'Poll', 'options'); + BuiltValueNullFieldError.checkNotNull(question, r'Poll', 'question'); + BuiltValueNullFieldError.checkNotNull(resultMode, r'Poll', 'resultMode'); + BuiltValueNullFieldError.checkNotNull(status, r'Poll', 'status'); + } + + @override + Poll rebuild(void Function(PollBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + PollBuilder toBuilder() => PollBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Poll && + actorDisplayName == other.actorDisplayName && + actorId == other.actorId && + actorType == other.actorType && + details == other.details && + id == other.id && + maxVotes == other.maxVotes && + numVoters == other.numVoters && + options == other.options && + question == other.question && + resultMode == other.resultMode && + status == other.status && + votedSelf == other.votedSelf && + votes == other.votes; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorDisplayName.hashCode); + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, details.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, maxVotes.hashCode); + _$hash = $jc(_$hash, numVoters.hashCode); + _$hash = $jc(_$hash, options.hashCode); + _$hash = $jc(_$hash, question.hashCode); + _$hash = $jc(_$hash, resultMode.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, votedSelf.hashCode); + _$hash = $jc(_$hash, votes.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Poll') + ..add('actorDisplayName', actorDisplayName) + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('details', details) + ..add('id', id) + ..add('maxVotes', maxVotes) + ..add('numVoters', numVoters) + ..add('options', options) + ..add('question', question) + ..add('resultMode', resultMode) + ..add('status', status) + ..add('votedSelf', votedSelf) + ..add('votes', votes)) + .toString(); + } +} + +class PollBuilder implements Builder, PollInterfaceBuilder { + _$Poll? _$v; + + String? _actorDisplayName; + String? get actorDisplayName => _$this._actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName) => _$this._actorDisplayName = actorDisplayName; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + ListBuilder? _details; + ListBuilder get details => _$this._details ??= ListBuilder(); + set details(covariant ListBuilder? details) => _$this._details = details; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + int? _maxVotes; + int? get maxVotes => _$this._maxVotes; + set maxVotes(covariant int? maxVotes) => _$this._maxVotes = maxVotes; + + int? _numVoters; + int? get numVoters => _$this._numVoters; + set numVoters(covariant int? numVoters) => _$this._numVoters = numVoters; + + ListBuilder? _options; + ListBuilder get options => _$this._options ??= ListBuilder(); + set options(covariant ListBuilder? options) => _$this._options = options; + + String? _question; + String? get question => _$this._question; + set question(covariant String? question) => _$this._question = question; + + int? _resultMode; + int? get resultMode => _$this._resultMode; + set resultMode(covariant int? resultMode) => _$this._resultMode = resultMode; + + int? _status; + int? get status => _$this._status; + set status(covariant int? status) => _$this._status = status; + + ListBuilder? _votedSelf; + ListBuilder get votedSelf => _$this._votedSelf ??= ListBuilder(); + set votedSelf(covariant ListBuilder? votedSelf) => _$this._votedSelf = votedSelf; + + MapBuilder? _votes; + MapBuilder get votes => _$this._votes ??= MapBuilder(); + set votes(covariant MapBuilder? votes) => _$this._votes = votes; + + PollBuilder(); + + PollBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorDisplayName = $v.actorDisplayName; + _actorId = $v.actorId; + _actorType = $v.actorType; + _details = $v.details?.toBuilder(); + _id = $v.id; + _maxVotes = $v.maxVotes; + _numVoters = $v.numVoters; + _options = $v.options.toBuilder(); + _question = $v.question; + _resultMode = $v.resultMode; + _status = $v.status; + _votedSelf = $v.votedSelf?.toBuilder(); + _votes = $v.votes?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant Poll other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Poll; + } + + @override + void update(void Function(PollBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Poll build() => _build(); + + _$Poll _build() { + _$Poll _$result; + try { + _$result = _$v ?? + _$Poll._( + actorDisplayName: BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'Poll', 'actorDisplayName'), + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'Poll', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'Poll', 'actorType'), + details: _details?.build(), + id: BuiltValueNullFieldError.checkNotNull(id, r'Poll', 'id'), + maxVotes: BuiltValueNullFieldError.checkNotNull(maxVotes, r'Poll', 'maxVotes'), + numVoters: numVoters, + options: options.build(), + question: BuiltValueNullFieldError.checkNotNull(question, r'Poll', 'question'), + resultMode: BuiltValueNullFieldError.checkNotNull(resultMode, r'Poll', 'resultMode'), + status: BuiltValueNullFieldError.checkNotNull(status, r'Poll', 'status'), + votedSelf: _votedSelf?.build(), + votes: _votes?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'details'; + _details?.build(); + + _$failedField = 'options'; + options.build(); + + _$failedField = 'votedSelf'; + _votedSelf?.build(); + _$failedField = 'votes'; + _votes?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Poll', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollCreatePollResponseApplicationJson_OcsInterfaceBuilder { + void replace(PollCreatePollResponseApplicationJson_OcsInterface other); + void update(void Function(PollCreatePollResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + PollBuilder get data; + set data(PollBuilder? data); +} + +class _$PollCreatePollResponseApplicationJson_Ocs extends PollCreatePollResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Poll data; + + factory _$PollCreatePollResponseApplicationJson_Ocs( + [void Function(PollCreatePollResponseApplicationJson_OcsBuilder)? updates]) => + (PollCreatePollResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$PollCreatePollResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'PollCreatePollResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'PollCreatePollResponseApplicationJson_Ocs', 'data'); + } + + @override + PollCreatePollResponseApplicationJson_Ocs rebuild( + void Function(PollCreatePollResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollCreatePollResponseApplicationJson_OcsBuilder toBuilder() => + PollCreatePollResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollCreatePollResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollCreatePollResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class PollCreatePollResponseApplicationJson_OcsBuilder + implements + Builder, + PollCreatePollResponseApplicationJson_OcsInterfaceBuilder { + _$PollCreatePollResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + PollBuilder? _data; + PollBuilder get data => _$this._data ??= PollBuilder(); + set data(covariant PollBuilder? data) => _$this._data = data; + + PollCreatePollResponseApplicationJson_OcsBuilder(); + + PollCreatePollResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollCreatePollResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollCreatePollResponseApplicationJson_Ocs; + } + + @override + void update(void Function(PollCreatePollResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollCreatePollResponseApplicationJson_Ocs build() => _build(); + + _$PollCreatePollResponseApplicationJson_Ocs _build() { + _$PollCreatePollResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$PollCreatePollResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollCreatePollResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollCreatePollResponseApplicationJsonInterfaceBuilder { + void replace(PollCreatePollResponseApplicationJsonInterface other); + void update(void Function(PollCreatePollResponseApplicationJsonInterfaceBuilder) updates); + PollCreatePollResponseApplicationJson_OcsBuilder get ocs; + set ocs(PollCreatePollResponseApplicationJson_OcsBuilder? ocs); +} + +class _$PollCreatePollResponseApplicationJson extends PollCreatePollResponseApplicationJson { + @override + final PollCreatePollResponseApplicationJson_Ocs ocs; + + factory _$PollCreatePollResponseApplicationJson( + [void Function(PollCreatePollResponseApplicationJsonBuilder)? updates]) => + (PollCreatePollResponseApplicationJsonBuilder()..update(updates))._build(); + + _$PollCreatePollResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'PollCreatePollResponseApplicationJson', 'ocs'); + } + + @override + PollCreatePollResponseApplicationJson rebuild(void Function(PollCreatePollResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollCreatePollResponseApplicationJsonBuilder toBuilder() => + PollCreatePollResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollCreatePollResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollCreatePollResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class PollCreatePollResponseApplicationJsonBuilder + implements + Builder, + PollCreatePollResponseApplicationJsonInterfaceBuilder { + _$PollCreatePollResponseApplicationJson? _$v; + + PollCreatePollResponseApplicationJson_OcsBuilder? _ocs; + PollCreatePollResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= PollCreatePollResponseApplicationJson_OcsBuilder(); + set ocs(covariant PollCreatePollResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + PollCreatePollResponseApplicationJsonBuilder(); + + PollCreatePollResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollCreatePollResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollCreatePollResponseApplicationJson; + } + + @override + void update(void Function(PollCreatePollResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollCreatePollResponseApplicationJson build() => _build(); + + _$PollCreatePollResponseApplicationJson _build() { + _$PollCreatePollResponseApplicationJson _$result; + try { + _$result = _$v ?? _$PollCreatePollResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollCreatePollResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollShowPollResponseApplicationJson_OcsInterfaceBuilder { + void replace(PollShowPollResponseApplicationJson_OcsInterface other); + void update(void Function(PollShowPollResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + PollBuilder get data; + set data(PollBuilder? data); +} + +class _$PollShowPollResponseApplicationJson_Ocs extends PollShowPollResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Poll data; + + factory _$PollShowPollResponseApplicationJson_Ocs( + [void Function(PollShowPollResponseApplicationJson_OcsBuilder)? updates]) => + (PollShowPollResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$PollShowPollResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'PollShowPollResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'PollShowPollResponseApplicationJson_Ocs', 'data'); + } + + @override + PollShowPollResponseApplicationJson_Ocs rebuild( + void Function(PollShowPollResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollShowPollResponseApplicationJson_OcsBuilder toBuilder() => + PollShowPollResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollShowPollResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollShowPollResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class PollShowPollResponseApplicationJson_OcsBuilder + implements + Builder, + PollShowPollResponseApplicationJson_OcsInterfaceBuilder { + _$PollShowPollResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + PollBuilder? _data; + PollBuilder get data => _$this._data ??= PollBuilder(); + set data(covariant PollBuilder? data) => _$this._data = data; + + PollShowPollResponseApplicationJson_OcsBuilder(); + + PollShowPollResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollShowPollResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollShowPollResponseApplicationJson_Ocs; + } + + @override + void update(void Function(PollShowPollResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollShowPollResponseApplicationJson_Ocs build() => _build(); + + _$PollShowPollResponseApplicationJson_Ocs _build() { + _$PollShowPollResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$PollShowPollResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollShowPollResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollShowPollResponseApplicationJsonInterfaceBuilder { + void replace(PollShowPollResponseApplicationJsonInterface other); + void update(void Function(PollShowPollResponseApplicationJsonInterfaceBuilder) updates); + PollShowPollResponseApplicationJson_OcsBuilder get ocs; + set ocs(PollShowPollResponseApplicationJson_OcsBuilder? ocs); +} + +class _$PollShowPollResponseApplicationJson extends PollShowPollResponseApplicationJson { + @override + final PollShowPollResponseApplicationJson_Ocs ocs; + + factory _$PollShowPollResponseApplicationJson([void Function(PollShowPollResponseApplicationJsonBuilder)? updates]) => + (PollShowPollResponseApplicationJsonBuilder()..update(updates))._build(); + + _$PollShowPollResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'PollShowPollResponseApplicationJson', 'ocs'); + } + + @override + PollShowPollResponseApplicationJson rebuild(void Function(PollShowPollResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollShowPollResponseApplicationJsonBuilder toBuilder() => PollShowPollResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollShowPollResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollShowPollResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class PollShowPollResponseApplicationJsonBuilder + implements + Builder, + PollShowPollResponseApplicationJsonInterfaceBuilder { + _$PollShowPollResponseApplicationJson? _$v; + + PollShowPollResponseApplicationJson_OcsBuilder? _ocs; + PollShowPollResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= PollShowPollResponseApplicationJson_OcsBuilder(); + set ocs(covariant PollShowPollResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + PollShowPollResponseApplicationJsonBuilder(); + + PollShowPollResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollShowPollResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollShowPollResponseApplicationJson; + } + + @override + void update(void Function(PollShowPollResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollShowPollResponseApplicationJson build() => _build(); + + _$PollShowPollResponseApplicationJson _build() { + _$PollShowPollResponseApplicationJson _$result; + try { + _$result = _$v ?? _$PollShowPollResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollShowPollResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollVotePollResponseApplicationJson_OcsInterfaceBuilder { + void replace(PollVotePollResponseApplicationJson_OcsInterface other); + void update(void Function(PollVotePollResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + PollBuilder get data; + set data(PollBuilder? data); +} + +class _$PollVotePollResponseApplicationJson_Ocs extends PollVotePollResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Poll data; + + factory _$PollVotePollResponseApplicationJson_Ocs( + [void Function(PollVotePollResponseApplicationJson_OcsBuilder)? updates]) => + (PollVotePollResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$PollVotePollResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'PollVotePollResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'PollVotePollResponseApplicationJson_Ocs', 'data'); + } + + @override + PollVotePollResponseApplicationJson_Ocs rebuild( + void Function(PollVotePollResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollVotePollResponseApplicationJson_OcsBuilder toBuilder() => + PollVotePollResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollVotePollResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollVotePollResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class PollVotePollResponseApplicationJson_OcsBuilder + implements + Builder, + PollVotePollResponseApplicationJson_OcsInterfaceBuilder { + _$PollVotePollResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + PollBuilder? _data; + PollBuilder get data => _$this._data ??= PollBuilder(); + set data(covariant PollBuilder? data) => _$this._data = data; + + PollVotePollResponseApplicationJson_OcsBuilder(); + + PollVotePollResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollVotePollResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollVotePollResponseApplicationJson_Ocs; + } + + @override + void update(void Function(PollVotePollResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollVotePollResponseApplicationJson_Ocs build() => _build(); + + _$PollVotePollResponseApplicationJson_Ocs _build() { + _$PollVotePollResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$PollVotePollResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollVotePollResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollVotePollResponseApplicationJsonInterfaceBuilder { + void replace(PollVotePollResponseApplicationJsonInterface other); + void update(void Function(PollVotePollResponseApplicationJsonInterfaceBuilder) updates); + PollVotePollResponseApplicationJson_OcsBuilder get ocs; + set ocs(PollVotePollResponseApplicationJson_OcsBuilder? ocs); +} + +class _$PollVotePollResponseApplicationJson extends PollVotePollResponseApplicationJson { + @override + final PollVotePollResponseApplicationJson_Ocs ocs; + + factory _$PollVotePollResponseApplicationJson([void Function(PollVotePollResponseApplicationJsonBuilder)? updates]) => + (PollVotePollResponseApplicationJsonBuilder()..update(updates))._build(); + + _$PollVotePollResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'PollVotePollResponseApplicationJson', 'ocs'); + } + + @override + PollVotePollResponseApplicationJson rebuild(void Function(PollVotePollResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollVotePollResponseApplicationJsonBuilder toBuilder() => PollVotePollResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollVotePollResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollVotePollResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class PollVotePollResponseApplicationJsonBuilder + implements + Builder, + PollVotePollResponseApplicationJsonInterfaceBuilder { + _$PollVotePollResponseApplicationJson? _$v; + + PollVotePollResponseApplicationJson_OcsBuilder? _ocs; + PollVotePollResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= PollVotePollResponseApplicationJson_OcsBuilder(); + set ocs(covariant PollVotePollResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + PollVotePollResponseApplicationJsonBuilder(); + + PollVotePollResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollVotePollResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollVotePollResponseApplicationJson; + } + + @override + void update(void Function(PollVotePollResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollVotePollResponseApplicationJson build() => _build(); + + _$PollVotePollResponseApplicationJson _build() { + _$PollVotePollResponseApplicationJson _$result; + try { + _$result = _$v ?? _$PollVotePollResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollVotePollResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollClosePollResponseApplicationJson_OcsInterfaceBuilder { + void replace(PollClosePollResponseApplicationJson_OcsInterface other); + void update(void Function(PollClosePollResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + PollBuilder get data; + set data(PollBuilder? data); +} + +class _$PollClosePollResponseApplicationJson_Ocs extends PollClosePollResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Poll data; + + factory _$PollClosePollResponseApplicationJson_Ocs( + [void Function(PollClosePollResponseApplicationJson_OcsBuilder)? updates]) => + (PollClosePollResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$PollClosePollResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'PollClosePollResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'PollClosePollResponseApplicationJson_Ocs', 'data'); + } + + @override + PollClosePollResponseApplicationJson_Ocs rebuild( + void Function(PollClosePollResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollClosePollResponseApplicationJson_OcsBuilder toBuilder() => + PollClosePollResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollClosePollResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollClosePollResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class PollClosePollResponseApplicationJson_OcsBuilder + implements + Builder, + PollClosePollResponseApplicationJson_OcsInterfaceBuilder { + _$PollClosePollResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + PollBuilder? _data; + PollBuilder get data => _$this._data ??= PollBuilder(); + set data(covariant PollBuilder? data) => _$this._data = data; + + PollClosePollResponseApplicationJson_OcsBuilder(); + + PollClosePollResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollClosePollResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollClosePollResponseApplicationJson_Ocs; + } + + @override + void update(void Function(PollClosePollResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollClosePollResponseApplicationJson_Ocs build() => _build(); + + _$PollClosePollResponseApplicationJson_Ocs _build() { + _$PollClosePollResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$PollClosePollResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollClosePollResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PollClosePollResponseApplicationJsonInterfaceBuilder { + void replace(PollClosePollResponseApplicationJsonInterface other); + void update(void Function(PollClosePollResponseApplicationJsonInterfaceBuilder) updates); + PollClosePollResponseApplicationJson_OcsBuilder get ocs; + set ocs(PollClosePollResponseApplicationJson_OcsBuilder? ocs); +} + +class _$PollClosePollResponseApplicationJson extends PollClosePollResponseApplicationJson { + @override + final PollClosePollResponseApplicationJson_Ocs ocs; + + factory _$PollClosePollResponseApplicationJson( + [void Function(PollClosePollResponseApplicationJsonBuilder)? updates]) => + (PollClosePollResponseApplicationJsonBuilder()..update(updates))._build(); + + _$PollClosePollResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'PollClosePollResponseApplicationJson', 'ocs'); + } + + @override + PollClosePollResponseApplicationJson rebuild(void Function(PollClosePollResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PollClosePollResponseApplicationJsonBuilder toBuilder() => + PollClosePollResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PollClosePollResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PollClosePollResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class PollClosePollResponseApplicationJsonBuilder + implements + Builder, + PollClosePollResponseApplicationJsonInterfaceBuilder { + _$PollClosePollResponseApplicationJson? _$v; + + PollClosePollResponseApplicationJson_OcsBuilder? _ocs; + PollClosePollResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= PollClosePollResponseApplicationJson_OcsBuilder(); + set ocs(covariant PollClosePollResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + PollClosePollResponseApplicationJsonBuilder(); + + PollClosePollResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PollClosePollResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PollClosePollResponseApplicationJson; + } + + @override + void update(void Function(PollClosePollResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PollClosePollResponseApplicationJson build() => _build(); + + _$PollClosePollResponseApplicationJson _build() { + _$PollClosePollResponseApplicationJson _$result; + try { + _$result = _$v ?? _$PollClosePollResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PollClosePollResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get token; + set token(String? token); + + String? get name; + set name(String? name); + + String? get displayName; + set displayName(String? displayName); +} + +class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data + extends PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data { + @override + final String token; + @override + final String name; + @override + final String displayName; + + factory _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data( + [void Function(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data._( + {required this.token, required this.name, required this.displayName}) + : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'token'); + BuiltValueNullFieldError.checkNotNull(name, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'name'); + BuiltValueNullFieldError.checkNotNull( + displayName, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'displayName'); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data rebuild( + void Function(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder toBuilder() => + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data && + token == other.token && + name == other.name && + displayName == other.displayName; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data') + ..add('token', token) + ..add('name', name) + ..add('displayName', displayName)) + .toString(); + } +} + +class PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data? _$v; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; + + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder(); + + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _name = $v.name; + _displayName = $v.displayName; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data build() => _build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data._( + token: BuiltValueNullFieldError.checkNotNull( + token, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'token'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'name'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data', 'displayName')); + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicShareAuthCreateRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(PublicShareAuthCreateRoomResponseApplicationJson_OcsInterface other); + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder get data; + set data(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs + extends PublicShareAuthCreateRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data data; + + factory _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs( + [void Function(PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder)? updates]) => + (PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs rebuild( + void Function(PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder toBuilder() => + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicShareAuthCreateRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder + implements + Builder, + PublicShareAuthCreateRoomResponseApplicationJson_OcsInterfaceBuilder { + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder? _data; + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder(); + + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicShareAuthCreateRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson_Ocs build() => _build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs _build() { + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'PublicShareAuthCreateRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicShareAuthCreateRoomResponseApplicationJsonInterfaceBuilder { + void replace(PublicShareAuthCreateRoomResponseApplicationJsonInterface other); + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJsonInterfaceBuilder) updates); + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$PublicShareAuthCreateRoomResponseApplicationJson extends PublicShareAuthCreateRoomResponseApplicationJson { + @override + final PublicShareAuthCreateRoomResponseApplicationJson_Ocs ocs; + + factory _$PublicShareAuthCreateRoomResponseApplicationJson( + [void Function(PublicShareAuthCreateRoomResponseApplicationJsonBuilder)? updates]) => + (PublicShareAuthCreateRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'PublicShareAuthCreateRoomResponseApplicationJson', 'ocs'); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson rebuild( + void Function(PublicShareAuthCreateRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicShareAuthCreateRoomResponseApplicationJsonBuilder toBuilder() => + PublicShareAuthCreateRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicShareAuthCreateRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicShareAuthCreateRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class PublicShareAuthCreateRoomResponseApplicationJsonBuilder + implements + Builder, + PublicShareAuthCreateRoomResponseApplicationJsonInterfaceBuilder { + _$PublicShareAuthCreateRoomResponseApplicationJson? _$v; + + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder? _ocs; + PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + PublicShareAuthCreateRoomResponseApplicationJsonBuilder(); + + PublicShareAuthCreateRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicShareAuthCreateRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicShareAuthCreateRoomResponseApplicationJson; + } + + @override + void update(void Function(PublicShareAuthCreateRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicShareAuthCreateRoomResponseApplicationJson build() => _build(); + + _$PublicShareAuthCreateRoomResponseApplicationJson _build() { + _$PublicShareAuthCreateRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$PublicShareAuthCreateRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'PublicShareAuthCreateRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionInterfaceBuilder { + void replace(ReactionInterface other); + void update(void Function(ReactionInterfaceBuilder) updates); + String? get actorDisplayName; + set actorDisplayName(String? actorDisplayName); + + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + int? get timestamp; + set timestamp(int? timestamp); +} + +class _$Reaction extends Reaction { + @override + final String actorDisplayName; + @override + final String actorId; + @override + final String actorType; + @override + final int timestamp; + + factory _$Reaction([void Function(ReactionBuilder)? updates]) => (ReactionBuilder()..update(updates))._build(); + + _$Reaction._( + {required this.actorDisplayName, required this.actorId, required this.actorType, required this.timestamp}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'Reaction', 'actorDisplayName'); + BuiltValueNullFieldError.checkNotNull(actorId, r'Reaction', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'Reaction', 'actorType'); + BuiltValueNullFieldError.checkNotNull(timestamp, r'Reaction', 'timestamp'); + } + + @override + Reaction rebuild(void Function(ReactionBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ReactionBuilder toBuilder() => ReactionBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Reaction && + actorDisplayName == other.actorDisplayName && + actorId == other.actorId && + actorType == other.actorType && + timestamp == other.timestamp; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorDisplayName.hashCode); + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, timestamp.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Reaction') + ..add('actorDisplayName', actorDisplayName) + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('timestamp', timestamp)) + .toString(); + } +} + +class ReactionBuilder implements Builder, ReactionInterfaceBuilder { + _$Reaction? _$v; + + String? _actorDisplayName; + String? get actorDisplayName => _$this._actorDisplayName; + set actorDisplayName(covariant String? actorDisplayName) => _$this._actorDisplayName = actorDisplayName; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(covariant int? timestamp) => _$this._timestamp = timestamp; + + ReactionBuilder(); + + ReactionBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorDisplayName = $v.actorDisplayName; + _actorId = $v.actorId; + _actorType = $v.actorType; + _timestamp = $v.timestamp; + _$v = null; + } + return this; + } + + @override + void replace(covariant Reaction other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Reaction; + } + + @override + void update(void Function(ReactionBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Reaction build() => _build(); + + _$Reaction _build() { + final _$result = _$v ?? + _$Reaction._( + actorDisplayName: BuiltValueNullFieldError.checkNotNull(actorDisplayName, r'Reaction', 'actorDisplayName'), + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'Reaction', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'Reaction', 'actorType'), + timestamp: BuiltValueNullFieldError.checkNotNull(timestamp, r'Reaction', 'timestamp')); + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionGetReactionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReactionGetReactionsResponseApplicationJson_OcsInterface other); + void update(void Function(ReactionGetReactionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder> get data; + set data(MapBuilder>? data); +} + +class _$ReactionGetReactionsResponseApplicationJson_Ocs extends ReactionGetReactionsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap> data; + + factory _$ReactionGetReactionsResponseApplicationJson_Ocs( + [void Function(ReactionGetReactionsResponseApplicationJson_OcsBuilder)? updates]) => + (ReactionGetReactionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ReactionGetReactionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReactionGetReactionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReactionGetReactionsResponseApplicationJson_Ocs', 'data'); + } + + @override + ReactionGetReactionsResponseApplicationJson_Ocs rebuild( + void Function(ReactionGetReactionsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionGetReactionsResponseApplicationJson_OcsBuilder toBuilder() => + ReactionGetReactionsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionGetReactionsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionGetReactionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ReactionGetReactionsResponseApplicationJson_OcsBuilder + implements + Builder, + ReactionGetReactionsResponseApplicationJson_OcsInterfaceBuilder { + _$ReactionGetReactionsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder>? _data; + MapBuilder> get data => _$this._data ??= MapBuilder>(); + set data(covariant MapBuilder>? data) => _$this._data = data; + + ReactionGetReactionsResponseApplicationJson_OcsBuilder(); + + ReactionGetReactionsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionGetReactionsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionGetReactionsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ReactionGetReactionsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionGetReactionsResponseApplicationJson_Ocs build() => _build(); + + _$ReactionGetReactionsResponseApplicationJson_Ocs _build() { + _$ReactionGetReactionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ReactionGetReactionsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ReactionGetReactionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionGetReactionsResponseApplicationJsonInterfaceBuilder { + void replace(ReactionGetReactionsResponseApplicationJsonInterface other); + void update(void Function(ReactionGetReactionsResponseApplicationJsonInterfaceBuilder) updates); + ReactionGetReactionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReactionGetReactionsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ReactionGetReactionsResponseApplicationJson extends ReactionGetReactionsResponseApplicationJson { + @override + final ReactionGetReactionsResponseApplicationJson_Ocs ocs; + + factory _$ReactionGetReactionsResponseApplicationJson( + [void Function(ReactionGetReactionsResponseApplicationJsonBuilder)? updates]) => + (ReactionGetReactionsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ReactionGetReactionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReactionGetReactionsResponseApplicationJson', 'ocs'); + } + + @override + ReactionGetReactionsResponseApplicationJson rebuild( + void Function(ReactionGetReactionsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionGetReactionsResponseApplicationJsonBuilder toBuilder() => + ReactionGetReactionsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionGetReactionsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionGetReactionsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ReactionGetReactionsResponseApplicationJsonBuilder + implements + Builder, + ReactionGetReactionsResponseApplicationJsonInterfaceBuilder { + _$ReactionGetReactionsResponseApplicationJson? _$v; + + ReactionGetReactionsResponseApplicationJson_OcsBuilder? _ocs; + ReactionGetReactionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReactionGetReactionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReactionGetReactionsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ReactionGetReactionsResponseApplicationJsonBuilder(); + + ReactionGetReactionsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionGetReactionsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionGetReactionsResponseApplicationJson; + } + + @override + void update(void Function(ReactionGetReactionsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionGetReactionsResponseApplicationJson build() => _build(); + + _$ReactionGetReactionsResponseApplicationJson _build() { + _$ReactionGetReactionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ReactionGetReactionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReactionGetReactionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionReactResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReactionReactResponseApplicationJson_OcsInterface other); + void update(void Function(ReactionReactResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder> get data; + set data(MapBuilder>? data); +} + +class _$ReactionReactResponseApplicationJson_Ocs extends ReactionReactResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap> data; + + factory _$ReactionReactResponseApplicationJson_Ocs( + [void Function(ReactionReactResponseApplicationJson_OcsBuilder)? updates]) => + (ReactionReactResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ReactionReactResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReactionReactResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReactionReactResponseApplicationJson_Ocs', 'data'); + } + + @override + ReactionReactResponseApplicationJson_Ocs rebuild( + void Function(ReactionReactResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionReactResponseApplicationJson_OcsBuilder toBuilder() => + ReactionReactResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionReactResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionReactResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ReactionReactResponseApplicationJson_OcsBuilder + implements + Builder, + ReactionReactResponseApplicationJson_OcsInterfaceBuilder { + _$ReactionReactResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder>? _data; + MapBuilder> get data => _$this._data ??= MapBuilder>(); + set data(covariant MapBuilder>? data) => _$this._data = data; + + ReactionReactResponseApplicationJson_OcsBuilder(); + + ReactionReactResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionReactResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionReactResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ReactionReactResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionReactResponseApplicationJson_Ocs build() => _build(); + + _$ReactionReactResponseApplicationJson_Ocs _build() { + _$ReactionReactResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ReactionReactResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReactionReactResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionReactResponseApplicationJsonInterfaceBuilder { + void replace(ReactionReactResponseApplicationJsonInterface other); + void update(void Function(ReactionReactResponseApplicationJsonInterfaceBuilder) updates); + ReactionReactResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReactionReactResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ReactionReactResponseApplicationJson extends ReactionReactResponseApplicationJson { + @override + final ReactionReactResponseApplicationJson_Ocs ocs; + + factory _$ReactionReactResponseApplicationJson( + [void Function(ReactionReactResponseApplicationJsonBuilder)? updates]) => + (ReactionReactResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ReactionReactResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReactionReactResponseApplicationJson', 'ocs'); + } + + @override + ReactionReactResponseApplicationJson rebuild(void Function(ReactionReactResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionReactResponseApplicationJsonBuilder toBuilder() => + ReactionReactResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionReactResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionReactResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ReactionReactResponseApplicationJsonBuilder + implements + Builder, + ReactionReactResponseApplicationJsonInterfaceBuilder { + _$ReactionReactResponseApplicationJson? _$v; + + ReactionReactResponseApplicationJson_OcsBuilder? _ocs; + ReactionReactResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReactionReactResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReactionReactResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ReactionReactResponseApplicationJsonBuilder(); + + ReactionReactResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionReactResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionReactResponseApplicationJson; + } + + @override + void update(void Function(ReactionReactResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionReactResponseApplicationJson build() => _build(); + + _$ReactionReactResponseApplicationJson _build() { + _$ReactionReactResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ReactionReactResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReactionReactResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionDeleteResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReactionDeleteResponseApplicationJson_OcsInterface other); + void update(void Function(ReactionDeleteResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder> get data; + set data(MapBuilder>? data); +} + +class _$ReactionDeleteResponseApplicationJson_Ocs extends ReactionDeleteResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap> data; + + factory _$ReactionDeleteResponseApplicationJson_Ocs( + [void Function(ReactionDeleteResponseApplicationJson_OcsBuilder)? updates]) => + (ReactionDeleteResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ReactionDeleteResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ReactionDeleteResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ReactionDeleteResponseApplicationJson_Ocs', 'data'); + } + + @override + ReactionDeleteResponseApplicationJson_Ocs rebuild( + void Function(ReactionDeleteResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionDeleteResponseApplicationJson_OcsBuilder toBuilder() => + ReactionDeleteResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionDeleteResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionDeleteResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ReactionDeleteResponseApplicationJson_OcsBuilder + implements + Builder, + ReactionDeleteResponseApplicationJson_OcsInterfaceBuilder { + _$ReactionDeleteResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder>? _data; + MapBuilder> get data => _$this._data ??= MapBuilder>(); + set data(covariant MapBuilder>? data) => _$this._data = data; + + ReactionDeleteResponseApplicationJson_OcsBuilder(); + + ReactionDeleteResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionDeleteResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionDeleteResponseApplicationJson_Ocs; + } + + @override + void update(void Function(ReactionDeleteResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionDeleteResponseApplicationJson_Ocs build() => _build(); + + _$ReactionDeleteResponseApplicationJson_Ocs _build() { + _$ReactionDeleteResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$ReactionDeleteResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReactionDeleteResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReactionDeleteResponseApplicationJsonInterfaceBuilder { + void replace(ReactionDeleteResponseApplicationJsonInterface other); + void update(void Function(ReactionDeleteResponseApplicationJsonInterfaceBuilder) updates); + ReactionDeleteResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReactionDeleteResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ReactionDeleteResponseApplicationJson extends ReactionDeleteResponseApplicationJson { + @override + final ReactionDeleteResponseApplicationJson_Ocs ocs; + + factory _$ReactionDeleteResponseApplicationJson( + [void Function(ReactionDeleteResponseApplicationJsonBuilder)? updates]) => + (ReactionDeleteResponseApplicationJsonBuilder()..update(updates))._build(); + + _$ReactionDeleteResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ReactionDeleteResponseApplicationJson', 'ocs'); + } + + @override + ReactionDeleteResponseApplicationJson rebuild(void Function(ReactionDeleteResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ReactionDeleteResponseApplicationJsonBuilder toBuilder() => + ReactionDeleteResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReactionDeleteResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ReactionDeleteResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class ReactionDeleteResponseApplicationJsonBuilder + implements + Builder, + ReactionDeleteResponseApplicationJsonInterfaceBuilder { + _$ReactionDeleteResponseApplicationJson? _$v; + + ReactionDeleteResponseApplicationJson_OcsBuilder? _ocs; + ReactionDeleteResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ReactionDeleteResponseApplicationJson_OcsBuilder(); + set ocs(covariant ReactionDeleteResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ReactionDeleteResponseApplicationJsonBuilder(); + + ReactionDeleteResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReactionDeleteResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReactionDeleteResponseApplicationJson; + } + + @override + void update(void Function(ReactionDeleteResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ReactionDeleteResponseApplicationJson build() => _build(); + + _$ReactionDeleteResponseApplicationJson _build() { + _$ReactionDeleteResponseApplicationJson _$result; + try { + _$result = _$v ?? _$ReactionDeleteResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ReactionDeleteResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + num? get version; + set version(num? version); +} + +class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data + extends RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data { + @override + final num version; + + factory _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data( + [void Function(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data._({required this.version}) : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data', 'version'); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data rebuild( + void Function(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder toBuilder() => + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data && version == other.version; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data') + ..add('version', version)) + .toString(); + } +} + +class RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data? _$v; + + num? _version; + num? get version => _$this._version; + set version(covariant num? version) => _$this._version = version; + + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder(); + + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _version = $v.version; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data build() => _build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data._( + version: BuiltValueNullFieldError.checkNotNull( + version, r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data', 'version')); + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingGetWelcomeMessageResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder get data; + set data(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs + extends RecordingGetWelcomeMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data data; + + factory _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs( + [void Function(RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs rebuild( + void Function(RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder toBuilder() => + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingGetWelcomeMessageResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder? _data; + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingGetWelcomeMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson_Ocs build() => _build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs _build() { + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RecordingGetWelcomeMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder { + void replace(RecordingGetWelcomeMessageResponseApplicationJsonInterface other); + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder) updates); + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingGetWelcomeMessageResponseApplicationJson extends RecordingGetWelcomeMessageResponseApplicationJson { + @override + final RecordingGetWelcomeMessageResponseApplicationJson_Ocs ocs; + + factory _$RecordingGetWelcomeMessageResponseApplicationJson( + [void Function(RecordingGetWelcomeMessageResponseApplicationJsonBuilder)? updates]) => + (RecordingGetWelcomeMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingGetWelcomeMessageResponseApplicationJson', 'ocs'); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson rebuild( + void Function(RecordingGetWelcomeMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingGetWelcomeMessageResponseApplicationJsonBuilder toBuilder() => + RecordingGetWelcomeMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingGetWelcomeMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingGetWelcomeMessageResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RecordingGetWelcomeMessageResponseApplicationJsonBuilder + implements + Builder, + RecordingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder { + _$RecordingGetWelcomeMessageResponseApplicationJson? _$v; + + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder? _ocs; + RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingGetWelcomeMessageResponseApplicationJsonBuilder(); + + RecordingGetWelcomeMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingGetWelcomeMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingGetWelcomeMessageResponseApplicationJson; + } + + @override + void update(void Function(RecordingGetWelcomeMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingGetWelcomeMessageResponseApplicationJson build() => _build(); + + _$RecordingGetWelcomeMessageResponseApplicationJson _build() { + _$RecordingGetWelcomeMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingGetWelcomeMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RecordingGetWelcomeMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStartResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingStartResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingStartResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RecordingStartResponseApplicationJson_Ocs extends RecordingStartResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RecordingStartResponseApplicationJson_Ocs( + [void Function(RecordingStartResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingStartResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingStartResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingStartResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingStartResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingStartResponseApplicationJson_Ocs rebuild( + void Function(RecordingStartResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStartResponseApplicationJson_OcsBuilder toBuilder() => + RecordingStartResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStartResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStartResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingStartResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingStartResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingStartResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RecordingStartResponseApplicationJson_OcsBuilder(); + + RecordingStartResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStartResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStartResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingStartResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStartResponseApplicationJson_Ocs build() => _build(); + + _$RecordingStartResponseApplicationJson_Ocs _build() { + _$RecordingStartResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RecordingStartResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RecordingStartResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStartResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStartResponseApplicationJsonInterfaceBuilder { + void replace(RecordingStartResponseApplicationJsonInterface other); + void update(void Function(RecordingStartResponseApplicationJsonInterfaceBuilder) updates); + RecordingStartResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingStartResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingStartResponseApplicationJson extends RecordingStartResponseApplicationJson { + @override + final RecordingStartResponseApplicationJson_Ocs ocs; + + factory _$RecordingStartResponseApplicationJson( + [void Function(RecordingStartResponseApplicationJsonBuilder)? updates]) => + (RecordingStartResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingStartResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingStartResponseApplicationJson', 'ocs'); + } + + @override + RecordingStartResponseApplicationJson rebuild(void Function(RecordingStartResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStartResponseApplicationJsonBuilder toBuilder() => + RecordingStartResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStartResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStartResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RecordingStartResponseApplicationJsonBuilder + implements + Builder, + RecordingStartResponseApplicationJsonInterfaceBuilder { + _$RecordingStartResponseApplicationJson? _$v; + + RecordingStartResponseApplicationJson_OcsBuilder? _ocs; + RecordingStartResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingStartResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingStartResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingStartResponseApplicationJsonBuilder(); + + RecordingStartResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStartResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStartResponseApplicationJson; + } + + @override + void update(void Function(RecordingStartResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStartResponseApplicationJson build() => _build(); + + _$RecordingStartResponseApplicationJson _build() { + _$RecordingStartResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingStartResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStartResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStopResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingStopResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingStopResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RecordingStopResponseApplicationJson_Ocs extends RecordingStopResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RecordingStopResponseApplicationJson_Ocs( + [void Function(RecordingStopResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingStopResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingStopResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingStopResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingStopResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingStopResponseApplicationJson_Ocs rebuild( + void Function(RecordingStopResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStopResponseApplicationJson_OcsBuilder toBuilder() => + RecordingStopResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStopResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStopResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingStopResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingStopResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingStopResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RecordingStopResponseApplicationJson_OcsBuilder(); + + RecordingStopResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStopResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStopResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingStopResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStopResponseApplicationJson_Ocs build() => _build(); + + _$RecordingStopResponseApplicationJson_Ocs _build() { + _$RecordingStopResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RecordingStopResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RecordingStopResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStopResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStopResponseApplicationJsonInterfaceBuilder { + void replace(RecordingStopResponseApplicationJsonInterface other); + void update(void Function(RecordingStopResponseApplicationJsonInterfaceBuilder) updates); + RecordingStopResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingStopResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingStopResponseApplicationJson extends RecordingStopResponseApplicationJson { + @override + final RecordingStopResponseApplicationJson_Ocs ocs; + + factory _$RecordingStopResponseApplicationJson( + [void Function(RecordingStopResponseApplicationJsonBuilder)? updates]) => + (RecordingStopResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingStopResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingStopResponseApplicationJson', 'ocs'); + } + + @override + RecordingStopResponseApplicationJson rebuild(void Function(RecordingStopResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStopResponseApplicationJsonBuilder toBuilder() => + RecordingStopResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStopResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStopResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RecordingStopResponseApplicationJsonBuilder + implements + Builder, + RecordingStopResponseApplicationJsonInterfaceBuilder { + _$RecordingStopResponseApplicationJson? _$v; + + RecordingStopResponseApplicationJson_OcsBuilder? _ocs; + RecordingStopResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingStopResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingStopResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingStopResponseApplicationJsonBuilder(); + + RecordingStopResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStopResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStopResponseApplicationJson; + } + + @override + void update(void Function(RecordingStopResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStopResponseApplicationJson build() => _build(); + + _$RecordingStopResponseApplicationJson _build() { + _$RecordingStopResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingStopResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStopResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStoreResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingStoreResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingStoreResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RecordingStoreResponseApplicationJson_Ocs extends RecordingStoreResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RecordingStoreResponseApplicationJson_Ocs( + [void Function(RecordingStoreResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingStoreResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingStoreResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingStoreResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingStoreResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingStoreResponseApplicationJson_Ocs rebuild( + void Function(RecordingStoreResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStoreResponseApplicationJson_OcsBuilder toBuilder() => + RecordingStoreResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStoreResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStoreResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingStoreResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingStoreResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingStoreResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RecordingStoreResponseApplicationJson_OcsBuilder(); + + RecordingStoreResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStoreResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStoreResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingStoreResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStoreResponseApplicationJson_Ocs build() => _build(); + + _$RecordingStoreResponseApplicationJson_Ocs _build() { + _$RecordingStoreResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RecordingStoreResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RecordingStoreResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStoreResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingStoreResponseApplicationJsonInterfaceBuilder { + void replace(RecordingStoreResponseApplicationJsonInterface other); + void update(void Function(RecordingStoreResponseApplicationJsonInterfaceBuilder) updates); + RecordingStoreResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingStoreResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingStoreResponseApplicationJson extends RecordingStoreResponseApplicationJson { + @override + final RecordingStoreResponseApplicationJson_Ocs ocs; + + factory _$RecordingStoreResponseApplicationJson( + [void Function(RecordingStoreResponseApplicationJsonBuilder)? updates]) => + (RecordingStoreResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingStoreResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingStoreResponseApplicationJson', 'ocs'); + } + + @override + RecordingStoreResponseApplicationJson rebuild(void Function(RecordingStoreResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingStoreResponseApplicationJsonBuilder toBuilder() => + RecordingStoreResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingStoreResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingStoreResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RecordingStoreResponseApplicationJsonBuilder + implements + Builder, + RecordingStoreResponseApplicationJsonInterfaceBuilder { + _$RecordingStoreResponseApplicationJson? _$v; + + RecordingStoreResponseApplicationJson_OcsBuilder? _ocs; + RecordingStoreResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingStoreResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingStoreResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingStoreResponseApplicationJsonBuilder(); + + RecordingStoreResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingStoreResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingStoreResponseApplicationJson; + } + + @override + void update(void Function(RecordingStoreResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingStoreResponseApplicationJson build() => _build(); + + _$RecordingStoreResponseApplicationJson _build() { + _$RecordingStoreResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingStoreResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingStoreResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingNotificationDismissResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingNotificationDismissResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingNotificationDismissResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RecordingNotificationDismissResponseApplicationJson_Ocs + extends RecordingNotificationDismissResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RecordingNotificationDismissResponseApplicationJson_Ocs( + [void Function(RecordingNotificationDismissResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingNotificationDismissResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingNotificationDismissResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingNotificationDismissResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingNotificationDismissResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingNotificationDismissResponseApplicationJson_Ocs rebuild( + void Function(RecordingNotificationDismissResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingNotificationDismissResponseApplicationJson_OcsBuilder toBuilder() => + RecordingNotificationDismissResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingNotificationDismissResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingNotificationDismissResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingNotificationDismissResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingNotificationDismissResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingNotificationDismissResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RecordingNotificationDismissResponseApplicationJson_OcsBuilder(); + + RecordingNotificationDismissResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingNotificationDismissResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingNotificationDismissResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingNotificationDismissResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingNotificationDismissResponseApplicationJson_Ocs build() => _build(); + + _$RecordingNotificationDismissResponseApplicationJson_Ocs _build() { + _$RecordingNotificationDismissResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RecordingNotificationDismissResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RecordingNotificationDismissResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RecordingNotificationDismissResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingNotificationDismissResponseApplicationJsonInterfaceBuilder { + void replace(RecordingNotificationDismissResponseApplicationJsonInterface other); + void update(void Function(RecordingNotificationDismissResponseApplicationJsonInterfaceBuilder) updates); + RecordingNotificationDismissResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingNotificationDismissResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingNotificationDismissResponseApplicationJson + extends RecordingNotificationDismissResponseApplicationJson { + @override + final RecordingNotificationDismissResponseApplicationJson_Ocs ocs; + + factory _$RecordingNotificationDismissResponseApplicationJson( + [void Function(RecordingNotificationDismissResponseApplicationJsonBuilder)? updates]) => + (RecordingNotificationDismissResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingNotificationDismissResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingNotificationDismissResponseApplicationJson', 'ocs'); + } + + @override + RecordingNotificationDismissResponseApplicationJson rebuild( + void Function(RecordingNotificationDismissResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingNotificationDismissResponseApplicationJsonBuilder toBuilder() => + RecordingNotificationDismissResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingNotificationDismissResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingNotificationDismissResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RecordingNotificationDismissResponseApplicationJsonBuilder + implements + Builder, + RecordingNotificationDismissResponseApplicationJsonInterfaceBuilder { + _$RecordingNotificationDismissResponseApplicationJson? _$v; + + RecordingNotificationDismissResponseApplicationJson_OcsBuilder? _ocs; + RecordingNotificationDismissResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingNotificationDismissResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingNotificationDismissResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingNotificationDismissResponseApplicationJsonBuilder(); + + RecordingNotificationDismissResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingNotificationDismissResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingNotificationDismissResponseApplicationJson; + } + + @override + void update(void Function(RecordingNotificationDismissResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingNotificationDismissResponseApplicationJson build() => _build(); + + _$RecordingNotificationDismissResponseApplicationJson _build() { + _$RecordingNotificationDismissResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingNotificationDismissResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RecordingNotificationDismissResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingShareToChatResponseApplicationJson_OcsInterfaceBuilder { + void replace(RecordingShareToChatResponseApplicationJson_OcsInterface other); + void update(void Function(RecordingShareToChatResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RecordingShareToChatResponseApplicationJson_Ocs extends RecordingShareToChatResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RecordingShareToChatResponseApplicationJson_Ocs( + [void Function(RecordingShareToChatResponseApplicationJson_OcsBuilder)? updates]) => + (RecordingShareToChatResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RecordingShareToChatResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RecordingShareToChatResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RecordingShareToChatResponseApplicationJson_Ocs', 'data'); + } + + @override + RecordingShareToChatResponseApplicationJson_Ocs rebuild( + void Function(RecordingShareToChatResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingShareToChatResponseApplicationJson_OcsBuilder toBuilder() => + RecordingShareToChatResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingShareToChatResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingShareToChatResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RecordingShareToChatResponseApplicationJson_OcsBuilder + implements + Builder, + RecordingShareToChatResponseApplicationJson_OcsInterfaceBuilder { + _$RecordingShareToChatResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RecordingShareToChatResponseApplicationJson_OcsBuilder(); + + RecordingShareToChatResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingShareToChatResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingShareToChatResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RecordingShareToChatResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingShareToChatResponseApplicationJson_Ocs build() => _build(); + + _$RecordingShareToChatResponseApplicationJson_Ocs _build() { + _$RecordingShareToChatResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RecordingShareToChatResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RecordingShareToChatResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RecordingShareToChatResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RecordingShareToChatResponseApplicationJsonInterfaceBuilder { + void replace(RecordingShareToChatResponseApplicationJsonInterface other); + void update(void Function(RecordingShareToChatResponseApplicationJsonInterfaceBuilder) updates); + RecordingShareToChatResponseApplicationJson_OcsBuilder get ocs; + set ocs(RecordingShareToChatResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RecordingShareToChatResponseApplicationJson extends RecordingShareToChatResponseApplicationJson { + @override + final RecordingShareToChatResponseApplicationJson_Ocs ocs; + + factory _$RecordingShareToChatResponseApplicationJson( + [void Function(RecordingShareToChatResponseApplicationJsonBuilder)? updates]) => + (RecordingShareToChatResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RecordingShareToChatResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RecordingShareToChatResponseApplicationJson', 'ocs'); + } + + @override + RecordingShareToChatResponseApplicationJson rebuild( + void Function(RecordingShareToChatResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RecordingShareToChatResponseApplicationJsonBuilder toBuilder() => + RecordingShareToChatResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RecordingShareToChatResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RecordingShareToChatResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RecordingShareToChatResponseApplicationJsonBuilder + implements + Builder, + RecordingShareToChatResponseApplicationJsonInterfaceBuilder { + _$RecordingShareToChatResponseApplicationJson? _$v; + + RecordingShareToChatResponseApplicationJson_OcsBuilder? _ocs; + RecordingShareToChatResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RecordingShareToChatResponseApplicationJson_OcsBuilder(); + set ocs(covariant RecordingShareToChatResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RecordingShareToChatResponseApplicationJsonBuilder(); + + RecordingShareToChatResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RecordingShareToChatResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RecordingShareToChatResponseApplicationJson; + } + + @override + void update(void Function(RecordingShareToChatResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RecordingShareToChatResponseApplicationJson build() => _build(); + + _$RecordingShareToChatResponseApplicationJson _build() { + _$RecordingShareToChatResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RecordingShareToChatResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RecordingShareToChatResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRoomGetRoomsHeadersInterfaceBuilder { + void replace(RoomRoomGetRoomsHeadersInterface other); + void update(void Function(RoomRoomGetRoomsHeadersInterfaceBuilder) updates); + String? get xNextcloudTalkHash; + set xNextcloudTalkHash(String? xNextcloudTalkHash); + + String? get xNextcloudTalkModifiedBefore; + set xNextcloudTalkModifiedBefore(String? xNextcloudTalkModifiedBefore); +} + +class _$RoomRoomGetRoomsHeaders extends RoomRoomGetRoomsHeaders { + @override + final String? xNextcloudTalkHash; + @override + final String? xNextcloudTalkModifiedBefore; + + factory _$RoomRoomGetRoomsHeaders([void Function(RoomRoomGetRoomsHeadersBuilder)? updates]) => + (RoomRoomGetRoomsHeadersBuilder()..update(updates))._build(); + + _$RoomRoomGetRoomsHeaders._({this.xNextcloudTalkHash, this.xNextcloudTalkModifiedBefore}) : super._(); + + @override + RoomRoomGetRoomsHeaders rebuild(void Function(RoomRoomGetRoomsHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRoomGetRoomsHeadersBuilder toBuilder() => RoomRoomGetRoomsHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRoomGetRoomsHeaders && + xNextcloudTalkHash == other.xNextcloudTalkHash && + xNextcloudTalkModifiedBefore == other.xNextcloudTalkModifiedBefore; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudTalkHash.hashCode); + _$hash = $jc(_$hash, xNextcloudTalkModifiedBefore.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRoomGetRoomsHeaders') + ..add('xNextcloudTalkHash', xNextcloudTalkHash) + ..add('xNextcloudTalkModifiedBefore', xNextcloudTalkModifiedBefore)) + .toString(); + } +} + +class RoomRoomGetRoomsHeadersBuilder + implements + Builder, + RoomRoomGetRoomsHeadersInterfaceBuilder { + _$RoomRoomGetRoomsHeaders? _$v; + + String? _xNextcloudTalkHash; + String? get xNextcloudTalkHash => _$this._xNextcloudTalkHash; + set xNextcloudTalkHash(covariant String? xNextcloudTalkHash) => _$this._xNextcloudTalkHash = xNextcloudTalkHash; + + String? _xNextcloudTalkModifiedBefore; + String? get xNextcloudTalkModifiedBefore => _$this._xNextcloudTalkModifiedBefore; + set xNextcloudTalkModifiedBefore(covariant String? xNextcloudTalkModifiedBefore) => + _$this._xNextcloudTalkModifiedBefore = xNextcloudTalkModifiedBefore; + + RoomRoomGetRoomsHeadersBuilder(); + + RoomRoomGetRoomsHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNextcloudTalkHash = $v.xNextcloudTalkHash; + _xNextcloudTalkModifiedBefore = $v.xNextcloudTalkModifiedBefore; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRoomGetRoomsHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRoomGetRoomsHeaders; + } + + @override + void update(void Function(RoomRoomGetRoomsHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRoomGetRoomsHeaders build() => _build(); + + _$RoomRoomGetRoomsHeaders _build() { + final _$result = _$v ?? + _$RoomRoomGetRoomsHeaders._( + xNextcloudTalkHash: xNextcloudTalkHash, xNextcloudTalkModifiedBefore: xNextcloudTalkModifiedBefore); + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$RoomGetRoomsResponseApplicationJson_Ocs extends RoomGetRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$RoomGetRoomsResponseApplicationJson_Ocs( + [void Function(RoomGetRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetRoomsResponseApplicationJson_Ocs rebuild( + void Function(RoomGetRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetRoomsResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetRoomsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + RoomGetRoomsResponseApplicationJson_OcsBuilder(); + + RoomGetRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetRoomsResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetRoomsResponseApplicationJson_Ocs _build() { + _$RoomGetRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomGetRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetRoomsResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetRoomsResponseApplicationJsonInterface other); + void update(void Function(RoomGetRoomsResponseApplicationJsonInterfaceBuilder) updates); + RoomGetRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetRoomsResponseApplicationJson extends RoomGetRoomsResponseApplicationJson { + @override + final RoomGetRoomsResponseApplicationJson_Ocs ocs; + + factory _$RoomGetRoomsResponseApplicationJson([void Function(RoomGetRoomsResponseApplicationJsonBuilder)? updates]) => + (RoomGetRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetRoomsResponseApplicationJson', 'ocs'); + } + + @override + RoomGetRoomsResponseApplicationJson rebuild(void Function(RoomGetRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetRoomsResponseApplicationJsonBuilder toBuilder() => RoomGetRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetRoomsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomGetRoomsResponseApplicationJsonBuilder + implements + Builder, + RoomGetRoomsResponseApplicationJsonInterfaceBuilder { + _$RoomGetRoomsResponseApplicationJson? _$v; + + RoomGetRoomsResponseApplicationJson_OcsBuilder? _ocs; + RoomGetRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetRoomsResponseApplicationJsonBuilder(); + + RoomGetRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetRoomsResponseApplicationJson; + } + + @override + void update(void Function(RoomGetRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetRoomsResponseApplicationJson build() => _build(); + + _$RoomGetRoomsResponseApplicationJson _build() { + _$RoomGetRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomCreateRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomCreateRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomCreateRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomCreateRoomResponseApplicationJson_Ocs extends RoomCreateRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomCreateRoomResponseApplicationJson_Ocs( + [void Function(RoomCreateRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomCreateRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomCreateRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomCreateRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomCreateRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomCreateRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomCreateRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomCreateRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomCreateRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomCreateRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomCreateRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomCreateRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomCreateRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomCreateRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomCreateRoomResponseApplicationJson_OcsBuilder(); + + RoomCreateRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomCreateRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomCreateRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomCreateRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomCreateRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomCreateRoomResponseApplicationJson_Ocs _build() { + _$RoomCreateRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomCreateRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomCreateRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomCreateRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomCreateRoomResponseApplicationJsonInterface other); + void update(void Function(RoomCreateRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomCreateRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomCreateRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomCreateRoomResponseApplicationJson extends RoomCreateRoomResponseApplicationJson { + @override + final RoomCreateRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomCreateRoomResponseApplicationJson( + [void Function(RoomCreateRoomResponseApplicationJsonBuilder)? updates]) => + (RoomCreateRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomCreateRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomCreateRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomCreateRoomResponseApplicationJson rebuild(void Function(RoomCreateRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomCreateRoomResponseApplicationJsonBuilder toBuilder() => + RoomCreateRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomCreateRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomCreateRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomCreateRoomResponseApplicationJsonBuilder + implements + Builder, + RoomCreateRoomResponseApplicationJsonInterfaceBuilder { + _$RoomCreateRoomResponseApplicationJson? _$v; + + RoomCreateRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomCreateRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomCreateRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomCreateRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomCreateRoomResponseApplicationJsonBuilder(); + + RoomCreateRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomCreateRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomCreateRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomCreateRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomCreateRoomResponseApplicationJson build() => _build(); + + _$RoomCreateRoomResponseApplicationJson _build() { + _$RoomCreateRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomCreateRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomCreateRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetListedRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetListedRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetListedRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$RoomGetListedRoomsResponseApplicationJson_Ocs extends RoomGetListedRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$RoomGetListedRoomsResponseApplicationJson_Ocs( + [void Function(RoomGetListedRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetListedRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetListedRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetListedRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetListedRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetListedRoomsResponseApplicationJson_Ocs rebuild( + void Function(RoomGetListedRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetListedRoomsResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetListedRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetListedRoomsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetListedRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetListedRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetListedRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetListedRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + RoomGetListedRoomsResponseApplicationJson_OcsBuilder(); + + RoomGetListedRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetListedRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetListedRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetListedRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetListedRoomsResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetListedRoomsResponseApplicationJson_Ocs _build() { + _$RoomGetListedRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomGetListedRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetListedRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetListedRoomsResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetListedRoomsResponseApplicationJsonInterface other); + void update(void Function(RoomGetListedRoomsResponseApplicationJsonInterfaceBuilder) updates); + RoomGetListedRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetListedRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetListedRoomsResponseApplicationJson extends RoomGetListedRoomsResponseApplicationJson { + @override + final RoomGetListedRoomsResponseApplicationJson_Ocs ocs; + + factory _$RoomGetListedRoomsResponseApplicationJson( + [void Function(RoomGetListedRoomsResponseApplicationJsonBuilder)? updates]) => + (RoomGetListedRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetListedRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetListedRoomsResponseApplicationJson', 'ocs'); + } + + @override + RoomGetListedRoomsResponseApplicationJson rebuild( + void Function(RoomGetListedRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetListedRoomsResponseApplicationJsonBuilder toBuilder() => + RoomGetListedRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetListedRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetListedRoomsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomGetListedRoomsResponseApplicationJsonBuilder + implements + Builder, + RoomGetListedRoomsResponseApplicationJsonInterfaceBuilder { + _$RoomGetListedRoomsResponseApplicationJson? _$v; + + RoomGetListedRoomsResponseApplicationJson_OcsBuilder? _ocs; + RoomGetListedRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetListedRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetListedRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetListedRoomsResponseApplicationJsonBuilder(); + + RoomGetListedRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetListedRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetListedRoomsResponseApplicationJson; + } + + @override + void update(void Function(RoomGetListedRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetListedRoomsResponseApplicationJson build() => _build(); + + _$RoomGetListedRoomsResponseApplicationJson _build() { + _$RoomGetListedRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetListedRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetListedRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRoomGetNoteToSelfConversationHeadersInterfaceBuilder { + void replace(RoomRoomGetNoteToSelfConversationHeadersInterface other); + void update(void Function(RoomRoomGetNoteToSelfConversationHeadersInterfaceBuilder) updates); + String? get xNextcloudTalkHash; + set xNextcloudTalkHash(String? xNextcloudTalkHash); +} + +class _$RoomRoomGetNoteToSelfConversationHeaders extends RoomRoomGetNoteToSelfConversationHeaders { + @override + final String? xNextcloudTalkHash; + + factory _$RoomRoomGetNoteToSelfConversationHeaders( + [void Function(RoomRoomGetNoteToSelfConversationHeadersBuilder)? updates]) => + (RoomRoomGetNoteToSelfConversationHeadersBuilder()..update(updates))._build(); + + _$RoomRoomGetNoteToSelfConversationHeaders._({this.xNextcloudTalkHash}) : super._(); + + @override + RoomRoomGetNoteToSelfConversationHeaders rebuild( + void Function(RoomRoomGetNoteToSelfConversationHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRoomGetNoteToSelfConversationHeadersBuilder toBuilder() => + RoomRoomGetNoteToSelfConversationHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRoomGetNoteToSelfConversationHeaders && xNextcloudTalkHash == other.xNextcloudTalkHash; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudTalkHash.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRoomGetNoteToSelfConversationHeaders') + ..add('xNextcloudTalkHash', xNextcloudTalkHash)) + .toString(); + } +} + +class RoomRoomGetNoteToSelfConversationHeadersBuilder + implements + Builder, + RoomRoomGetNoteToSelfConversationHeadersInterfaceBuilder { + _$RoomRoomGetNoteToSelfConversationHeaders? _$v; + + String? _xNextcloudTalkHash; + String? get xNextcloudTalkHash => _$this._xNextcloudTalkHash; + set xNextcloudTalkHash(covariant String? xNextcloudTalkHash) => _$this._xNextcloudTalkHash = xNextcloudTalkHash; + + RoomRoomGetNoteToSelfConversationHeadersBuilder(); + + RoomRoomGetNoteToSelfConversationHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNextcloudTalkHash = $v.xNextcloudTalkHash; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRoomGetNoteToSelfConversationHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRoomGetNoteToSelfConversationHeaders; + } + + @override + void update(void Function(RoomRoomGetNoteToSelfConversationHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRoomGetNoteToSelfConversationHeaders build() => _build(); + + _$RoomRoomGetNoteToSelfConversationHeaders _build() { + final _$result = _$v ?? _$RoomRoomGetNoteToSelfConversationHeaders._(xNextcloudTalkHash: xNextcloudTalkHash); + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs + extends RoomGetNoteToSelfConversationResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs( + [void Function(RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs rebuild( + void Function(RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetNoteToSelfConversationResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetNoteToSelfConversationResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder(); + + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetNoteToSelfConversationResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs _build() { + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetNoteToSelfConversationResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetNoteToSelfConversationResponseApplicationJsonInterface other); + void update(void Function(RoomGetNoteToSelfConversationResponseApplicationJsonInterfaceBuilder) updates); + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetNoteToSelfConversationResponseApplicationJson + extends RoomGetNoteToSelfConversationResponseApplicationJson { + @override + final RoomGetNoteToSelfConversationResponseApplicationJson_Ocs ocs; + + factory _$RoomGetNoteToSelfConversationResponseApplicationJson( + [void Function(RoomGetNoteToSelfConversationResponseApplicationJsonBuilder)? updates]) => + (RoomGetNoteToSelfConversationResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetNoteToSelfConversationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetNoteToSelfConversationResponseApplicationJson', 'ocs'); + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson rebuild( + void Function(RoomGetNoteToSelfConversationResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetNoteToSelfConversationResponseApplicationJsonBuilder toBuilder() => + RoomGetNoteToSelfConversationResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetNoteToSelfConversationResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetNoteToSelfConversationResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomGetNoteToSelfConversationResponseApplicationJsonBuilder + implements + Builder, + RoomGetNoteToSelfConversationResponseApplicationJsonInterfaceBuilder { + _$RoomGetNoteToSelfConversationResponseApplicationJson? _$v; + + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder? _ocs; + RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetNoteToSelfConversationResponseApplicationJsonBuilder(); + + RoomGetNoteToSelfConversationResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetNoteToSelfConversationResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetNoteToSelfConversationResponseApplicationJson; + } + + @override + void update(void Function(RoomGetNoteToSelfConversationResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetNoteToSelfConversationResponseApplicationJson build() => _build(); + + _$RoomGetNoteToSelfConversationResponseApplicationJson _build() { + _$RoomGetNoteToSelfConversationResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetNoteToSelfConversationResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetNoteToSelfConversationResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRoomGetSingleRoomHeadersInterfaceBuilder { + void replace(RoomRoomGetSingleRoomHeadersInterface other); + void update(void Function(RoomRoomGetSingleRoomHeadersInterfaceBuilder) updates); + String? get xNextcloudTalkHash; + set xNextcloudTalkHash(String? xNextcloudTalkHash); +} + +class _$RoomRoomGetSingleRoomHeaders extends RoomRoomGetSingleRoomHeaders { + @override + final String? xNextcloudTalkHash; + + factory _$RoomRoomGetSingleRoomHeaders([void Function(RoomRoomGetSingleRoomHeadersBuilder)? updates]) => + (RoomRoomGetSingleRoomHeadersBuilder()..update(updates))._build(); + + _$RoomRoomGetSingleRoomHeaders._({this.xNextcloudTalkHash}) : super._(); + + @override + RoomRoomGetSingleRoomHeaders rebuild(void Function(RoomRoomGetSingleRoomHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRoomGetSingleRoomHeadersBuilder toBuilder() => RoomRoomGetSingleRoomHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRoomGetSingleRoomHeaders && xNextcloudTalkHash == other.xNextcloudTalkHash; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudTalkHash.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRoomGetSingleRoomHeaders')..add('xNextcloudTalkHash', xNextcloudTalkHash)) + .toString(); + } +} + +class RoomRoomGetSingleRoomHeadersBuilder + implements + Builder, + RoomRoomGetSingleRoomHeadersInterfaceBuilder { + _$RoomRoomGetSingleRoomHeaders? _$v; + + String? _xNextcloudTalkHash; + String? get xNextcloudTalkHash => _$this._xNextcloudTalkHash; + set xNextcloudTalkHash(covariant String? xNextcloudTalkHash) => _$this._xNextcloudTalkHash = xNextcloudTalkHash; + + RoomRoomGetSingleRoomHeadersBuilder(); + + RoomRoomGetSingleRoomHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNextcloudTalkHash = $v.xNextcloudTalkHash; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRoomGetSingleRoomHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRoomGetSingleRoomHeaders; + } + + @override + void update(void Function(RoomRoomGetSingleRoomHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRoomGetSingleRoomHeaders build() => _build(); + + _$RoomRoomGetSingleRoomHeaders _build() { + final _$result = _$v ?? _$RoomRoomGetSingleRoomHeaders._(xNextcloudTalkHash: xNextcloudTalkHash); + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetSingleRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetSingleRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetSingleRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomGetSingleRoomResponseApplicationJson_Ocs extends RoomGetSingleRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomGetSingleRoomResponseApplicationJson_Ocs( + [void Function(RoomGetSingleRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetSingleRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetSingleRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetSingleRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetSingleRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetSingleRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomGetSingleRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetSingleRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetSingleRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetSingleRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetSingleRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetSingleRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetSingleRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetSingleRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomGetSingleRoomResponseApplicationJson_OcsBuilder(); + + RoomGetSingleRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetSingleRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetSingleRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetSingleRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetSingleRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetSingleRoomResponseApplicationJson_Ocs _build() { + _$RoomGetSingleRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomGetSingleRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetSingleRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetSingleRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetSingleRoomResponseApplicationJsonInterface other); + void update(void Function(RoomGetSingleRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomGetSingleRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetSingleRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetSingleRoomResponseApplicationJson extends RoomGetSingleRoomResponseApplicationJson { + @override + final RoomGetSingleRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomGetSingleRoomResponseApplicationJson( + [void Function(RoomGetSingleRoomResponseApplicationJsonBuilder)? updates]) => + (RoomGetSingleRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetSingleRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetSingleRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomGetSingleRoomResponseApplicationJson rebuild( + void Function(RoomGetSingleRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetSingleRoomResponseApplicationJsonBuilder toBuilder() => + RoomGetSingleRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetSingleRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetSingleRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomGetSingleRoomResponseApplicationJsonBuilder + implements + Builder, + RoomGetSingleRoomResponseApplicationJsonInterfaceBuilder { + _$RoomGetSingleRoomResponseApplicationJson? _$v; + + RoomGetSingleRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomGetSingleRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetSingleRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetSingleRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetSingleRoomResponseApplicationJsonBuilder(); + + RoomGetSingleRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetSingleRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetSingleRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomGetSingleRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetSingleRoomResponseApplicationJson build() => _build(); + + _$RoomGetSingleRoomResponseApplicationJson _build() { + _$RoomGetSingleRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetSingleRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetSingleRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRenameRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomRenameRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomRenameRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomRenameRoomResponseApplicationJson_Ocs extends RoomRenameRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomRenameRoomResponseApplicationJson_Ocs( + [void Function(RoomRenameRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomRenameRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomRenameRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomRenameRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomRenameRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomRenameRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomRenameRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRenameRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomRenameRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRenameRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRenameRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomRenameRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomRenameRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomRenameRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomRenameRoomResponseApplicationJson_OcsBuilder(); + + RoomRenameRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRenameRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRenameRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomRenameRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRenameRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomRenameRoomResponseApplicationJson_Ocs _build() { + _$RoomRenameRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomRenameRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomRenameRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomRenameRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRenameRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomRenameRoomResponseApplicationJsonInterface other); + void update(void Function(RoomRenameRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomRenameRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomRenameRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomRenameRoomResponseApplicationJson extends RoomRenameRoomResponseApplicationJson { + @override + final RoomRenameRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomRenameRoomResponseApplicationJson( + [void Function(RoomRenameRoomResponseApplicationJsonBuilder)? updates]) => + (RoomRenameRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomRenameRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomRenameRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomRenameRoomResponseApplicationJson rebuild(void Function(RoomRenameRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRenameRoomResponseApplicationJsonBuilder toBuilder() => + RoomRenameRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRenameRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRenameRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomRenameRoomResponseApplicationJsonBuilder + implements + Builder, + RoomRenameRoomResponseApplicationJsonInterfaceBuilder { + _$RoomRenameRoomResponseApplicationJson? _$v; + + RoomRenameRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomRenameRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomRenameRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomRenameRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomRenameRoomResponseApplicationJsonBuilder(); + + RoomRenameRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRenameRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRenameRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomRenameRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRenameRoomResponseApplicationJson build() => _build(); + + _$RoomRenameRoomResponseApplicationJson _build() { + _$RoomRenameRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomRenameRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomRenameRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomDeleteRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomDeleteRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomDeleteRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomDeleteRoomResponseApplicationJson_Ocs extends RoomDeleteRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomDeleteRoomResponseApplicationJson_Ocs( + [void Function(RoomDeleteRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomDeleteRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomDeleteRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomDeleteRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomDeleteRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomDeleteRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomDeleteRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomDeleteRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomDeleteRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomDeleteRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomDeleteRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomDeleteRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomDeleteRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomDeleteRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomDeleteRoomResponseApplicationJson_OcsBuilder(); + + RoomDeleteRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomDeleteRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomDeleteRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomDeleteRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomDeleteRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomDeleteRoomResponseApplicationJson_Ocs _build() { + _$RoomDeleteRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomDeleteRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomDeleteRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomDeleteRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomDeleteRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomDeleteRoomResponseApplicationJsonInterface other); + void update(void Function(RoomDeleteRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomDeleteRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomDeleteRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomDeleteRoomResponseApplicationJson extends RoomDeleteRoomResponseApplicationJson { + @override + final RoomDeleteRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomDeleteRoomResponseApplicationJson( + [void Function(RoomDeleteRoomResponseApplicationJsonBuilder)? updates]) => + (RoomDeleteRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomDeleteRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomDeleteRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomDeleteRoomResponseApplicationJson rebuild(void Function(RoomDeleteRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomDeleteRoomResponseApplicationJsonBuilder toBuilder() => + RoomDeleteRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomDeleteRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomDeleteRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomDeleteRoomResponseApplicationJsonBuilder + implements + Builder, + RoomDeleteRoomResponseApplicationJsonInterfaceBuilder { + _$RoomDeleteRoomResponseApplicationJson? _$v; + + RoomDeleteRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomDeleteRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomDeleteRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomDeleteRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomDeleteRoomResponseApplicationJsonBuilder(); + + RoomDeleteRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomDeleteRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomDeleteRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomDeleteRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomDeleteRoomResponseApplicationJson build() => _build(); + + _$RoomDeleteRoomResponseApplicationJson _build() { + _$RoomDeleteRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomDeleteRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomDeleteRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetBreakoutRoomsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs extends RoomGetBreakoutRoomsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs( + [void Function(RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetBreakoutRoomsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetBreakoutRoomsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson_Ocs rebuild( + void Function(RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetBreakoutRoomsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetBreakoutRoomsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetBreakoutRoomsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetBreakoutRoomsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs _build() { + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetBreakoutRoomsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetBreakoutRoomsResponseApplicationJsonInterface other); + void update(void Function(RoomGetBreakoutRoomsResponseApplicationJsonInterfaceBuilder) updates); + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetBreakoutRoomsResponseApplicationJson extends RoomGetBreakoutRoomsResponseApplicationJson { + @override + final RoomGetBreakoutRoomsResponseApplicationJson_Ocs ocs; + + factory _$RoomGetBreakoutRoomsResponseApplicationJson( + [void Function(RoomGetBreakoutRoomsResponseApplicationJsonBuilder)? updates]) => + (RoomGetBreakoutRoomsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetBreakoutRoomsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetBreakoutRoomsResponseApplicationJson', 'ocs'); + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson rebuild( + void Function(RoomGetBreakoutRoomsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetBreakoutRoomsResponseApplicationJsonBuilder toBuilder() => + RoomGetBreakoutRoomsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetBreakoutRoomsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetBreakoutRoomsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomGetBreakoutRoomsResponseApplicationJsonBuilder + implements + Builder, + RoomGetBreakoutRoomsResponseApplicationJsonInterfaceBuilder { + _$RoomGetBreakoutRoomsResponseApplicationJson? _$v; + + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder? _ocs; + RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetBreakoutRoomsResponseApplicationJsonBuilder(); + + RoomGetBreakoutRoomsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetBreakoutRoomsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetBreakoutRoomsResponseApplicationJson; + } + + @override + void update(void Function(RoomGetBreakoutRoomsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetBreakoutRoomsResponseApplicationJson build() => _build(); + + _$RoomGetBreakoutRoomsResponseApplicationJson _build() { + _$RoomGetBreakoutRoomsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetBreakoutRoomsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetBreakoutRoomsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomMakePublicResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomMakePublicResponseApplicationJson_OcsInterface other); + void update(void Function(RoomMakePublicResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomMakePublicResponseApplicationJson_Ocs extends RoomMakePublicResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomMakePublicResponseApplicationJson_Ocs( + [void Function(RoomMakePublicResponseApplicationJson_OcsBuilder)? updates]) => + (RoomMakePublicResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomMakePublicResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomMakePublicResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomMakePublicResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomMakePublicResponseApplicationJson_Ocs rebuild( + void Function(RoomMakePublicResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomMakePublicResponseApplicationJson_OcsBuilder toBuilder() => + RoomMakePublicResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomMakePublicResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomMakePublicResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomMakePublicResponseApplicationJson_OcsBuilder + implements + Builder, + RoomMakePublicResponseApplicationJson_OcsInterfaceBuilder { + _$RoomMakePublicResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomMakePublicResponseApplicationJson_OcsBuilder(); + + RoomMakePublicResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomMakePublicResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomMakePublicResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomMakePublicResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomMakePublicResponseApplicationJson_Ocs build() => _build(); + + _$RoomMakePublicResponseApplicationJson_Ocs _build() { + _$RoomMakePublicResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomMakePublicResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomMakePublicResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomMakePublicResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomMakePublicResponseApplicationJsonInterfaceBuilder { + void replace(RoomMakePublicResponseApplicationJsonInterface other); + void update(void Function(RoomMakePublicResponseApplicationJsonInterfaceBuilder) updates); + RoomMakePublicResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomMakePublicResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomMakePublicResponseApplicationJson extends RoomMakePublicResponseApplicationJson { + @override + final RoomMakePublicResponseApplicationJson_Ocs ocs; + + factory _$RoomMakePublicResponseApplicationJson( + [void Function(RoomMakePublicResponseApplicationJsonBuilder)? updates]) => + (RoomMakePublicResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomMakePublicResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomMakePublicResponseApplicationJson', 'ocs'); + } + + @override + RoomMakePublicResponseApplicationJson rebuild(void Function(RoomMakePublicResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomMakePublicResponseApplicationJsonBuilder toBuilder() => + RoomMakePublicResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomMakePublicResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomMakePublicResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomMakePublicResponseApplicationJsonBuilder + implements + Builder, + RoomMakePublicResponseApplicationJsonInterfaceBuilder { + _$RoomMakePublicResponseApplicationJson? _$v; + + RoomMakePublicResponseApplicationJson_OcsBuilder? _ocs; + RoomMakePublicResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomMakePublicResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomMakePublicResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomMakePublicResponseApplicationJsonBuilder(); + + RoomMakePublicResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomMakePublicResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomMakePublicResponseApplicationJson; + } + + @override + void update(void Function(RoomMakePublicResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomMakePublicResponseApplicationJson build() => _build(); + + _$RoomMakePublicResponseApplicationJson _build() { + _$RoomMakePublicResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomMakePublicResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomMakePublicResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomMakePrivateResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomMakePrivateResponseApplicationJson_OcsInterface other); + void update(void Function(RoomMakePrivateResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomMakePrivateResponseApplicationJson_Ocs extends RoomMakePrivateResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomMakePrivateResponseApplicationJson_Ocs( + [void Function(RoomMakePrivateResponseApplicationJson_OcsBuilder)? updates]) => + (RoomMakePrivateResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomMakePrivateResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomMakePrivateResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomMakePrivateResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomMakePrivateResponseApplicationJson_Ocs rebuild( + void Function(RoomMakePrivateResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomMakePrivateResponseApplicationJson_OcsBuilder toBuilder() => + RoomMakePrivateResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomMakePrivateResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomMakePrivateResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomMakePrivateResponseApplicationJson_OcsBuilder + implements + Builder, + RoomMakePrivateResponseApplicationJson_OcsInterfaceBuilder { + _$RoomMakePrivateResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomMakePrivateResponseApplicationJson_OcsBuilder(); + + RoomMakePrivateResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomMakePrivateResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomMakePrivateResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomMakePrivateResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomMakePrivateResponseApplicationJson_Ocs build() => _build(); + + _$RoomMakePrivateResponseApplicationJson_Ocs _build() { + _$RoomMakePrivateResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomMakePrivateResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomMakePrivateResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomMakePrivateResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomMakePrivateResponseApplicationJsonInterfaceBuilder { + void replace(RoomMakePrivateResponseApplicationJsonInterface other); + void update(void Function(RoomMakePrivateResponseApplicationJsonInterfaceBuilder) updates); + RoomMakePrivateResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomMakePrivateResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomMakePrivateResponseApplicationJson extends RoomMakePrivateResponseApplicationJson { + @override + final RoomMakePrivateResponseApplicationJson_Ocs ocs; + + factory _$RoomMakePrivateResponseApplicationJson( + [void Function(RoomMakePrivateResponseApplicationJsonBuilder)? updates]) => + (RoomMakePrivateResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomMakePrivateResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomMakePrivateResponseApplicationJson', 'ocs'); + } + + @override + RoomMakePrivateResponseApplicationJson rebuild( + void Function(RoomMakePrivateResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomMakePrivateResponseApplicationJsonBuilder toBuilder() => + RoomMakePrivateResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomMakePrivateResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomMakePrivateResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomMakePrivateResponseApplicationJsonBuilder + implements + Builder, + RoomMakePrivateResponseApplicationJsonInterfaceBuilder { + _$RoomMakePrivateResponseApplicationJson? _$v; + + RoomMakePrivateResponseApplicationJson_OcsBuilder? _ocs; + RoomMakePrivateResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomMakePrivateResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomMakePrivateResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomMakePrivateResponseApplicationJsonBuilder(); + + RoomMakePrivateResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomMakePrivateResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomMakePrivateResponseApplicationJson; + } + + @override + void update(void Function(RoomMakePrivateResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomMakePrivateResponseApplicationJson build() => _build(); + + _$RoomMakePrivateResponseApplicationJson _build() { + _$RoomMakePrivateResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomMakePrivateResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomMakePrivateResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetDescriptionResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetDescriptionResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetDescriptionResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetDescriptionResponseApplicationJson_Ocs extends RoomSetDescriptionResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetDescriptionResponseApplicationJson_Ocs( + [void Function(RoomSetDescriptionResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetDescriptionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetDescriptionResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetDescriptionResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetDescriptionResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetDescriptionResponseApplicationJson_Ocs rebuild( + void Function(RoomSetDescriptionResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetDescriptionResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetDescriptionResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetDescriptionResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetDescriptionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetDescriptionResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetDescriptionResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetDescriptionResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetDescriptionResponseApplicationJson_OcsBuilder(); + + RoomSetDescriptionResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetDescriptionResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetDescriptionResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetDescriptionResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetDescriptionResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetDescriptionResponseApplicationJson_Ocs _build() { + _$RoomSetDescriptionResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetDescriptionResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomSetDescriptionResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetDescriptionResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetDescriptionResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetDescriptionResponseApplicationJsonInterface other); + void update(void Function(RoomSetDescriptionResponseApplicationJsonInterfaceBuilder) updates); + RoomSetDescriptionResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetDescriptionResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetDescriptionResponseApplicationJson extends RoomSetDescriptionResponseApplicationJson { + @override + final RoomSetDescriptionResponseApplicationJson_Ocs ocs; + + factory _$RoomSetDescriptionResponseApplicationJson( + [void Function(RoomSetDescriptionResponseApplicationJsonBuilder)? updates]) => + (RoomSetDescriptionResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetDescriptionResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetDescriptionResponseApplicationJson', 'ocs'); + } + + @override + RoomSetDescriptionResponseApplicationJson rebuild( + void Function(RoomSetDescriptionResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetDescriptionResponseApplicationJsonBuilder toBuilder() => + RoomSetDescriptionResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetDescriptionResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetDescriptionResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetDescriptionResponseApplicationJsonBuilder + implements + Builder, + RoomSetDescriptionResponseApplicationJsonInterfaceBuilder { + _$RoomSetDescriptionResponseApplicationJson? _$v; + + RoomSetDescriptionResponseApplicationJson_OcsBuilder? _ocs; + RoomSetDescriptionResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetDescriptionResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetDescriptionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetDescriptionResponseApplicationJsonBuilder(); + + RoomSetDescriptionResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetDescriptionResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetDescriptionResponseApplicationJson; + } + + @override + void update(void Function(RoomSetDescriptionResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetDescriptionResponseApplicationJson build() => _build(); + + _$RoomSetDescriptionResponseApplicationJson _build() { + _$RoomSetDescriptionResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetDescriptionResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetDescriptionResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetReadOnlyResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetReadOnlyResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetReadOnlyResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetReadOnlyResponseApplicationJson_Ocs extends RoomSetReadOnlyResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetReadOnlyResponseApplicationJson_Ocs( + [void Function(RoomSetReadOnlyResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetReadOnlyResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetReadOnlyResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetReadOnlyResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetReadOnlyResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetReadOnlyResponseApplicationJson_Ocs rebuild( + void Function(RoomSetReadOnlyResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetReadOnlyResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetReadOnlyResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetReadOnlyResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetReadOnlyResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetReadOnlyResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetReadOnlyResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetReadOnlyResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetReadOnlyResponseApplicationJson_OcsBuilder(); + + RoomSetReadOnlyResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetReadOnlyResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetReadOnlyResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetReadOnlyResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetReadOnlyResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetReadOnlyResponseApplicationJson_Ocs _build() { + _$RoomSetReadOnlyResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetReadOnlyResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomSetReadOnlyResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetReadOnlyResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetReadOnlyResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetReadOnlyResponseApplicationJsonInterface other); + void update(void Function(RoomSetReadOnlyResponseApplicationJsonInterfaceBuilder) updates); + RoomSetReadOnlyResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetReadOnlyResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetReadOnlyResponseApplicationJson extends RoomSetReadOnlyResponseApplicationJson { + @override + final RoomSetReadOnlyResponseApplicationJson_Ocs ocs; + + factory _$RoomSetReadOnlyResponseApplicationJson( + [void Function(RoomSetReadOnlyResponseApplicationJsonBuilder)? updates]) => + (RoomSetReadOnlyResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetReadOnlyResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetReadOnlyResponseApplicationJson', 'ocs'); + } + + @override + RoomSetReadOnlyResponseApplicationJson rebuild( + void Function(RoomSetReadOnlyResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetReadOnlyResponseApplicationJsonBuilder toBuilder() => + RoomSetReadOnlyResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetReadOnlyResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetReadOnlyResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetReadOnlyResponseApplicationJsonBuilder + implements + Builder, + RoomSetReadOnlyResponseApplicationJsonInterfaceBuilder { + _$RoomSetReadOnlyResponseApplicationJson? _$v; + + RoomSetReadOnlyResponseApplicationJson_OcsBuilder? _ocs; + RoomSetReadOnlyResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetReadOnlyResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetReadOnlyResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetReadOnlyResponseApplicationJsonBuilder(); + + RoomSetReadOnlyResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetReadOnlyResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetReadOnlyResponseApplicationJson; + } + + @override + void update(void Function(RoomSetReadOnlyResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetReadOnlyResponseApplicationJson build() => _build(); + + _$RoomSetReadOnlyResponseApplicationJson _build() { + _$RoomSetReadOnlyResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetReadOnlyResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetReadOnlyResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetListableResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetListableResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetListableResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetListableResponseApplicationJson_Ocs extends RoomSetListableResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetListableResponseApplicationJson_Ocs( + [void Function(RoomSetListableResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetListableResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetListableResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetListableResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetListableResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetListableResponseApplicationJson_Ocs rebuild( + void Function(RoomSetListableResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetListableResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetListableResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetListableResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetListableResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetListableResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetListableResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetListableResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetListableResponseApplicationJson_OcsBuilder(); + + RoomSetListableResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetListableResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetListableResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetListableResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetListableResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetListableResponseApplicationJson_Ocs _build() { + _$RoomSetListableResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetListableResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomSetListableResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetListableResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetListableResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetListableResponseApplicationJsonInterface other); + void update(void Function(RoomSetListableResponseApplicationJsonInterfaceBuilder) updates); + RoomSetListableResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetListableResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetListableResponseApplicationJson extends RoomSetListableResponseApplicationJson { + @override + final RoomSetListableResponseApplicationJson_Ocs ocs; + + factory _$RoomSetListableResponseApplicationJson( + [void Function(RoomSetListableResponseApplicationJsonBuilder)? updates]) => + (RoomSetListableResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetListableResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetListableResponseApplicationJson', 'ocs'); + } + + @override + RoomSetListableResponseApplicationJson rebuild( + void Function(RoomSetListableResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetListableResponseApplicationJsonBuilder toBuilder() => + RoomSetListableResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetListableResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetListableResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetListableResponseApplicationJsonBuilder + implements + Builder, + RoomSetListableResponseApplicationJsonInterfaceBuilder { + _$RoomSetListableResponseApplicationJson? _$v; + + RoomSetListableResponseApplicationJson_OcsBuilder? _ocs; + RoomSetListableResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetListableResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetListableResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetListableResponseApplicationJsonBuilder(); + + RoomSetListableResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetListableResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetListableResponseApplicationJson; + } + + @override + void update(void Function(RoomSetListableResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetListableResponseApplicationJson build() => _build(); + + _$RoomSetListableResponseApplicationJson _build() { + _$RoomSetListableResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetListableResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetListableResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetPasswordResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetPasswordResponseApplicationJson_Ocs extends RoomSetPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetPasswordResponseApplicationJson_Ocs( + [void Function(RoomSetPasswordResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetPasswordResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetPasswordResponseApplicationJson_Ocs rebuild( + void Function(RoomSetPasswordResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetPasswordResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetPasswordResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetPasswordResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetPasswordResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetPasswordResponseApplicationJson_OcsBuilder(); + + RoomSetPasswordResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetPasswordResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetPasswordResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetPasswordResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetPasswordResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetPasswordResponseApplicationJson_Ocs _build() { + _$RoomSetPasswordResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomSetPasswordResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetPasswordResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetPasswordResponseApplicationJsonInterface other); + void update(void Function(RoomSetPasswordResponseApplicationJsonInterfaceBuilder) updates); + RoomSetPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetPasswordResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetPasswordResponseApplicationJson extends RoomSetPasswordResponseApplicationJson { + @override + final RoomSetPasswordResponseApplicationJson_Ocs ocs; + + factory _$RoomSetPasswordResponseApplicationJson( + [void Function(RoomSetPasswordResponseApplicationJsonBuilder)? updates]) => + (RoomSetPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetPasswordResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetPasswordResponseApplicationJson', 'ocs'); + } + + @override + RoomSetPasswordResponseApplicationJson rebuild( + void Function(RoomSetPasswordResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetPasswordResponseApplicationJsonBuilder toBuilder() => + RoomSetPasswordResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetPasswordResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetPasswordResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetPasswordResponseApplicationJsonBuilder + implements + Builder, + RoomSetPasswordResponseApplicationJsonInterfaceBuilder { + _$RoomSetPasswordResponseApplicationJson? _$v; + + RoomSetPasswordResponseApplicationJson_OcsBuilder? _ocs; + RoomSetPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetPasswordResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetPasswordResponseApplicationJsonBuilder(); + + RoomSetPasswordResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetPasswordResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetPasswordResponseApplicationJson; + } + + @override + void update(void Function(RoomSetPasswordResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetPasswordResponseApplicationJson build() => _build(); + + _$RoomSetPasswordResponseApplicationJson _build() { + _$RoomSetPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetPasswordResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetPasswordResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetPermissionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetPermissionsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetPermissionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetPermissionsResponseApplicationJson_Ocs extends RoomSetPermissionsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetPermissionsResponseApplicationJson_Ocs( + [void Function(RoomSetPermissionsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetPermissionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetPermissionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetPermissionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetPermissionsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetPermissionsResponseApplicationJson_Ocs rebuild( + void Function(RoomSetPermissionsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetPermissionsResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetPermissionsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetPermissionsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetPermissionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetPermissionsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetPermissionsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetPermissionsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetPermissionsResponseApplicationJson_OcsBuilder(); + + RoomSetPermissionsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetPermissionsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetPermissionsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetPermissionsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetPermissionsResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetPermissionsResponseApplicationJson_Ocs _build() { + _$RoomSetPermissionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomSetPermissionsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetPermissionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetPermissionsResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetPermissionsResponseApplicationJsonInterface other); + void update(void Function(RoomSetPermissionsResponseApplicationJsonInterfaceBuilder) updates); + RoomSetPermissionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetPermissionsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetPermissionsResponseApplicationJson extends RoomSetPermissionsResponseApplicationJson { + @override + final RoomSetPermissionsResponseApplicationJson_Ocs ocs; + + factory _$RoomSetPermissionsResponseApplicationJson( + [void Function(RoomSetPermissionsResponseApplicationJsonBuilder)? updates]) => + (RoomSetPermissionsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetPermissionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetPermissionsResponseApplicationJson', 'ocs'); + } + + @override + RoomSetPermissionsResponseApplicationJson rebuild( + void Function(RoomSetPermissionsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetPermissionsResponseApplicationJsonBuilder toBuilder() => + RoomSetPermissionsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetPermissionsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetPermissionsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetPermissionsResponseApplicationJsonBuilder + implements + Builder, + RoomSetPermissionsResponseApplicationJsonInterfaceBuilder { + _$RoomSetPermissionsResponseApplicationJson? _$v; + + RoomSetPermissionsResponseApplicationJson_OcsBuilder? _ocs; + RoomSetPermissionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetPermissionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetPermissionsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetPermissionsResponseApplicationJsonBuilder(); + + RoomSetPermissionsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetPermissionsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetPermissionsResponseApplicationJson; + } + + @override + void update(void Function(RoomSetPermissionsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetPermissionsResponseApplicationJson build() => _build(); + + _$RoomSetPermissionsResponseApplicationJson _build() { + _$RoomSetPermissionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetPermissionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetPermissionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRoomGetParticipantsHeadersInterfaceBuilder { + void replace(RoomRoomGetParticipantsHeadersInterface other); + void update(void Function(RoomRoomGetParticipantsHeadersInterfaceBuilder) updates); + bool? get xNextcloudHasUserStatuses; + set xNextcloudHasUserStatuses(bool? xNextcloudHasUserStatuses); +} + +class _$RoomRoomGetParticipantsHeaders extends RoomRoomGetParticipantsHeaders { + @override + final bool? xNextcloudHasUserStatuses; + + factory _$RoomRoomGetParticipantsHeaders([void Function(RoomRoomGetParticipantsHeadersBuilder)? updates]) => + (RoomRoomGetParticipantsHeadersBuilder()..update(updates))._build(); + + _$RoomRoomGetParticipantsHeaders._({this.xNextcloudHasUserStatuses}) : super._(); + + @override + RoomRoomGetParticipantsHeaders rebuild(void Function(RoomRoomGetParticipantsHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRoomGetParticipantsHeadersBuilder toBuilder() => RoomRoomGetParticipantsHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRoomGetParticipantsHeaders && xNextcloudHasUserStatuses == other.xNextcloudHasUserStatuses; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudHasUserStatuses.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRoomGetParticipantsHeaders') + ..add('xNextcloudHasUserStatuses', xNextcloudHasUserStatuses)) + .toString(); + } +} + +class RoomRoomGetParticipantsHeadersBuilder + implements + Builder, + RoomRoomGetParticipantsHeadersInterfaceBuilder { + _$RoomRoomGetParticipantsHeaders? _$v; + + bool? _xNextcloudHasUserStatuses; + bool? get xNextcloudHasUserStatuses => _$this._xNextcloudHasUserStatuses; + set xNextcloudHasUserStatuses(covariant bool? xNextcloudHasUserStatuses) => + _$this._xNextcloudHasUserStatuses = xNextcloudHasUserStatuses; + + RoomRoomGetParticipantsHeadersBuilder(); + + RoomRoomGetParticipantsHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNextcloudHasUserStatuses = $v.xNextcloudHasUserStatuses; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRoomGetParticipantsHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRoomGetParticipantsHeaders; + } + + @override + void update(void Function(RoomRoomGetParticipantsHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRoomGetParticipantsHeaders build() => _build(); + + _$RoomRoomGetParticipantsHeaders _build() { + final _$result = _$v ?? _$RoomRoomGetParticipantsHeaders._(xNextcloudHasUserStatuses: xNextcloudHasUserStatuses); + replace(_$result); + return _$result; + } +} + +abstract mixin class ParticipantInterfaceBuilder { + void replace(ParticipantInterface other); + void update(void Function(ParticipantInterfaceBuilder) updates); + String? get actorId; + set actorId(String? actorId); + + String? get actorType; + set actorType(String? actorType); + + int? get attendeeId; + set attendeeId(int? attendeeId); + + int? get attendeePermissions; + set attendeePermissions(int? attendeePermissions); + + String? get attendeePin; + set attendeePin(String? attendeePin); + + String? get displayName; + set displayName(String? displayName); + + int? get inCall; + set inCall(int? inCall); + + int? get lastPing; + set lastPing(int? lastPing); + + int? get participantType; + set participantType(int? participantType); + + int? get permissions; + set permissions(int? permissions); + + String? get roomToken; + set roomToken(String? roomToken); + + ListBuilder get sessionIds; + set sessionIds(ListBuilder? sessionIds); + + String? get status; + set status(String? status); + + int? get statusClearAt; + set statusClearAt(int? statusClearAt); + + String? get statusIcon; + set statusIcon(String? statusIcon); + + String? get statusMessage; + set statusMessage(String? statusMessage); +} + +class _$Participant extends Participant { + @override + final String actorId; + @override + final String actorType; + @override + final int attendeeId; + @override + final int attendeePermissions; + @override + final String attendeePin; + @override + final String displayName; + @override + final int inCall; + @override + final int lastPing; + @override + final int participantType; + @override + final int permissions; + @override + final String roomToken; + @override + final BuiltList sessionIds; + @override + final String? status; + @override + final int? statusClearAt; + @override + final String? statusIcon; + @override + final String? statusMessage; + + factory _$Participant([void Function(ParticipantBuilder)? updates]) => + (ParticipantBuilder()..update(updates))._build(); + + _$Participant._( + {required this.actorId, + required this.actorType, + required this.attendeeId, + required this.attendeePermissions, + required this.attendeePin, + required this.displayName, + required this.inCall, + required this.lastPing, + required this.participantType, + required this.permissions, + required this.roomToken, + required this.sessionIds, + this.status, + this.statusClearAt, + this.statusIcon, + this.statusMessage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(actorId, r'Participant', 'actorId'); + BuiltValueNullFieldError.checkNotNull(actorType, r'Participant', 'actorType'); + BuiltValueNullFieldError.checkNotNull(attendeeId, r'Participant', 'attendeeId'); + BuiltValueNullFieldError.checkNotNull(attendeePermissions, r'Participant', 'attendeePermissions'); + BuiltValueNullFieldError.checkNotNull(attendeePin, r'Participant', 'attendeePin'); + BuiltValueNullFieldError.checkNotNull(displayName, r'Participant', 'displayName'); + BuiltValueNullFieldError.checkNotNull(inCall, r'Participant', 'inCall'); + BuiltValueNullFieldError.checkNotNull(lastPing, r'Participant', 'lastPing'); + BuiltValueNullFieldError.checkNotNull(participantType, r'Participant', 'participantType'); + BuiltValueNullFieldError.checkNotNull(permissions, r'Participant', 'permissions'); + BuiltValueNullFieldError.checkNotNull(roomToken, r'Participant', 'roomToken'); + BuiltValueNullFieldError.checkNotNull(sessionIds, r'Participant', 'sessionIds'); + } + + @override + Participant rebuild(void Function(ParticipantBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ParticipantBuilder toBuilder() => ParticipantBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Participant && + actorId == other.actorId && + actorType == other.actorType && + attendeeId == other.attendeeId && + attendeePermissions == other.attendeePermissions && + attendeePin == other.attendeePin && + displayName == other.displayName && + inCall == other.inCall && + lastPing == other.lastPing && + participantType == other.participantType && + permissions == other.permissions && + roomToken == other.roomToken && + sessionIds == other.sessionIds && + status == other.status && + statusClearAt == other.statusClearAt && + statusIcon == other.statusIcon && + statusMessage == other.statusMessage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, actorId.hashCode); + _$hash = $jc(_$hash, actorType.hashCode); + _$hash = $jc(_$hash, attendeeId.hashCode); + _$hash = $jc(_$hash, attendeePermissions.hashCode); + _$hash = $jc(_$hash, attendeePin.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, inCall.hashCode); + _$hash = $jc(_$hash, lastPing.hashCode); + _$hash = $jc(_$hash, participantType.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, roomToken.hashCode); + _$hash = $jc(_$hash, sessionIds.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statusClearAt.hashCode); + _$hash = $jc(_$hash, statusIcon.hashCode); + _$hash = $jc(_$hash, statusMessage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'Participant') + ..add('actorId', actorId) + ..add('actorType', actorType) + ..add('attendeeId', attendeeId) + ..add('attendeePermissions', attendeePermissions) + ..add('attendeePin', attendeePin) + ..add('displayName', displayName) + ..add('inCall', inCall) + ..add('lastPing', lastPing) + ..add('participantType', participantType) + ..add('permissions', permissions) + ..add('roomToken', roomToken) + ..add('sessionIds', sessionIds) + ..add('status', status) + ..add('statusClearAt', statusClearAt) + ..add('statusIcon', statusIcon) + ..add('statusMessage', statusMessage)) + .toString(); + } +} + +class ParticipantBuilder implements Builder, ParticipantInterfaceBuilder { + _$Participant? _$v; + + String? _actorId; + String? get actorId => _$this._actorId; + set actorId(covariant String? actorId) => _$this._actorId = actorId; + + String? _actorType; + String? get actorType => _$this._actorType; + set actorType(covariant String? actorType) => _$this._actorType = actorType; + + int? _attendeeId; + int? get attendeeId => _$this._attendeeId; + set attendeeId(covariant int? attendeeId) => _$this._attendeeId = attendeeId; + + int? _attendeePermissions; + int? get attendeePermissions => _$this._attendeePermissions; + set attendeePermissions(covariant int? attendeePermissions) => _$this._attendeePermissions = attendeePermissions; + + String? _attendeePin; + String? get attendeePin => _$this._attendeePin; + set attendeePin(covariant String? attendeePin) => _$this._attendeePin = attendeePin; + + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => _$this._displayName = displayName; + + int? _inCall; + int? get inCall => _$this._inCall; + set inCall(covariant int? inCall) => _$this._inCall = inCall; + + int? _lastPing; + int? get lastPing => _$this._lastPing; + set lastPing(covariant int? lastPing) => _$this._lastPing = lastPing; + + int? _participantType; + int? get participantType => _$this._participantType; + set participantType(covariant int? participantType) => _$this._participantType = participantType; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(covariant int? permissions) => _$this._permissions = permissions; + + String? _roomToken; + String? get roomToken => _$this._roomToken; + set roomToken(covariant String? roomToken) => _$this._roomToken = roomToken; + + ListBuilder? _sessionIds; + ListBuilder get sessionIds => _$this._sessionIds ??= ListBuilder(); + set sessionIds(covariant ListBuilder? sessionIds) => _$this._sessionIds = sessionIds; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statusClearAt; + int? get statusClearAt => _$this._statusClearAt; + set statusClearAt(covariant int? statusClearAt) => _$this._statusClearAt = statusClearAt; + + String? _statusIcon; + String? get statusIcon => _$this._statusIcon; + set statusIcon(covariant String? statusIcon) => _$this._statusIcon = statusIcon; + + String? _statusMessage; + String? get statusMessage => _$this._statusMessage; + set statusMessage(covariant String? statusMessage) => _$this._statusMessage = statusMessage; + + ParticipantBuilder(); + + ParticipantBuilder get _$this { + final $v = _$v; + if ($v != null) { + _actorId = $v.actorId; + _actorType = $v.actorType; + _attendeeId = $v.attendeeId; + _attendeePermissions = $v.attendeePermissions; + _attendeePin = $v.attendeePin; + _displayName = $v.displayName; + _inCall = $v.inCall; + _lastPing = $v.lastPing; + _participantType = $v.participantType; + _permissions = $v.permissions; + _roomToken = $v.roomToken; + _sessionIds = $v.sessionIds.toBuilder(); + _status = $v.status; + _statusClearAt = $v.statusClearAt; + _statusIcon = $v.statusIcon; + _statusMessage = $v.statusMessage; + _$v = null; + } + return this; + } + + @override + void replace(covariant Participant other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Participant; + } + + @override + void update(void Function(ParticipantBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Participant build() => _build(); + + _$Participant _build() { + _$Participant _$result; + try { + _$result = _$v ?? + _$Participant._( + actorId: BuiltValueNullFieldError.checkNotNull(actorId, r'Participant', 'actorId'), + actorType: BuiltValueNullFieldError.checkNotNull(actorType, r'Participant', 'actorType'), + attendeeId: BuiltValueNullFieldError.checkNotNull(attendeeId, r'Participant', 'attendeeId'), + attendeePermissions: + BuiltValueNullFieldError.checkNotNull(attendeePermissions, r'Participant', 'attendeePermissions'), + attendeePin: BuiltValueNullFieldError.checkNotNull(attendeePin, r'Participant', 'attendeePin'), + displayName: BuiltValueNullFieldError.checkNotNull(displayName, r'Participant', 'displayName'), + inCall: BuiltValueNullFieldError.checkNotNull(inCall, r'Participant', 'inCall'), + lastPing: BuiltValueNullFieldError.checkNotNull(lastPing, r'Participant', 'lastPing'), + participantType: + BuiltValueNullFieldError.checkNotNull(participantType, r'Participant', 'participantType'), + permissions: BuiltValueNullFieldError.checkNotNull(permissions, r'Participant', 'permissions'), + roomToken: BuiltValueNullFieldError.checkNotNull(roomToken, r'Participant', 'roomToken'), + sessionIds: sessionIds.build(), + status: status, + statusClearAt: statusClearAt, + statusIcon: statusIcon, + statusMessage: statusMessage); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sessionIds'; + sessionIds.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'Participant', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetParticipantsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetParticipantsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetParticipantsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$RoomGetParticipantsResponseApplicationJson_Ocs extends RoomGetParticipantsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$RoomGetParticipantsResponseApplicationJson_Ocs( + [void Function(RoomGetParticipantsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetParticipantsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetParticipantsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetParticipantsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetParticipantsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetParticipantsResponseApplicationJson_Ocs rebuild( + void Function(RoomGetParticipantsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetParticipantsResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetParticipantsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetParticipantsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetParticipantsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetParticipantsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetParticipantsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetParticipantsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + RoomGetParticipantsResponseApplicationJson_OcsBuilder(); + + RoomGetParticipantsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetParticipantsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetParticipantsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetParticipantsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetParticipantsResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetParticipantsResponseApplicationJson_Ocs _build() { + _$RoomGetParticipantsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomGetParticipantsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetParticipantsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetParticipantsResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetParticipantsResponseApplicationJsonInterface other); + void update(void Function(RoomGetParticipantsResponseApplicationJsonInterfaceBuilder) updates); + RoomGetParticipantsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetParticipantsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetParticipantsResponseApplicationJson extends RoomGetParticipantsResponseApplicationJson { + @override + final RoomGetParticipantsResponseApplicationJson_Ocs ocs; + + factory _$RoomGetParticipantsResponseApplicationJson( + [void Function(RoomGetParticipantsResponseApplicationJsonBuilder)? updates]) => + (RoomGetParticipantsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetParticipantsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetParticipantsResponseApplicationJson', 'ocs'); + } + + @override + RoomGetParticipantsResponseApplicationJson rebuild( + void Function(RoomGetParticipantsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetParticipantsResponseApplicationJsonBuilder toBuilder() => + RoomGetParticipantsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetParticipantsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetParticipantsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomGetParticipantsResponseApplicationJsonBuilder + implements + Builder, + RoomGetParticipantsResponseApplicationJsonInterfaceBuilder { + _$RoomGetParticipantsResponseApplicationJson? _$v; + + RoomGetParticipantsResponseApplicationJson_OcsBuilder? _ocs; + RoomGetParticipantsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetParticipantsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetParticipantsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetParticipantsResponseApplicationJsonBuilder(); + + RoomGetParticipantsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetParticipantsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetParticipantsResponseApplicationJson; + } + + @override + void update(void Function(RoomGetParticipantsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetParticipantsResponseApplicationJson build() => _build(); + + _$RoomGetParticipantsResponseApplicationJson _build() { + _$RoomGetParticipantsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetParticipantsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomGetParticipantsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0InterfaceBuilder { + void replace(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Interface other); + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0InterfaceBuilder) updates); + int? get type; + set type(int? type); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 + extends RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 { + @override + final int type; + + factory _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0( + [void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder)? updates]) => + (RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder()..update(updates))._build(); + + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0._({required this.type}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0', 'type'); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 rebuild( + void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder toBuilder() => + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 && type == other.type; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0') + ..add('type', type)) + .toString(); + } +} + +class RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder + implements + Builder, + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0InterfaceBuilder { + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0? _$v; + + int? _type; + int? get type => _$this._type; + set type(covariant int? type) => _$this._type = type; + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder(); + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0; + } + + @override + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 build() => _build(); + + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 _build() { + final _$result = _$v ?? + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0._( + type: BuiltValueNullFieldError.checkNotNull( + type, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0', 'type')); + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + JsonObject? get data; + set data(JsonObject? data); + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder + get roomAddParticipantToRoomResponseApplicationJsonOcsData0; + set roomAddParticipantToRoomResponseApplicationJsonOcsData0( + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder? + roomAddParticipantToRoomResponseApplicationJsonOcsData0); + + JsonObject? get jsonObject; + set jsonObject(JsonObject? jsonObject); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data + extends RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data { + @override + final JsonObject data; + @override + final RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0? + roomAddParticipantToRoomResponseApplicationJsonOcsData0; + @override + final JsonObject? jsonObject; + + 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}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', 'data'); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data rebuild( + void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder toBuilder() => + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data && + data == other.data && + roomAddParticipantToRoomResponseApplicationJsonOcsData0 == + other.roomAddParticipantToRoomResponseApplicationJsonOcsData0 && + jsonObject == other.jsonObject; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, roomAddParticipantToRoomResponseApplicationJsonOcsData0.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data') + ..add('data', data) + ..add('roomAddParticipantToRoomResponseApplicationJsonOcsData0', + roomAddParticipantToRoomResponseApplicationJsonOcsData0) + ..add('jsonObject', jsonObject)) + .toString(); + } +} + +class RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder? + _roomAddParticipantToRoomResponseApplicationJsonOcsData0; + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder + get roomAddParticipantToRoomResponseApplicationJsonOcsData0 => + _$this._roomAddParticipantToRoomResponseApplicationJsonOcsData0 ??= + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder(); + set roomAddParticipantToRoomResponseApplicationJsonOcsData0( + covariant RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder? + roomAddParticipantToRoomResponseApplicationJsonOcsData0) => + _$this._roomAddParticipantToRoomResponseApplicationJsonOcsData0 = + roomAddParticipantToRoomResponseApplicationJsonOcsData0; + + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(covariant JsonObject? jsonObject) => _$this._jsonObject = jsonObject; + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder(); + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _roomAddParticipantToRoomResponseApplicationJsonOcsData0 = + $v.roomAddParticipantToRoomResponseApplicationJsonOcsData0?.toBuilder(); + _jsonObject = $v.jsonObject; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data build() => _build(); + + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data _build() { + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', 'data'), + roomAddParticipantToRoomResponseApplicationJsonOcsData0: + _roomAddParticipantToRoomResponseApplicationJsonOcsData0?.build(), + jsonObject: jsonObject); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'roomAddParticipantToRoomResponseApplicationJsonOcsData0'; + _roomAddParticipantToRoomResponseApplicationJsonOcsData0?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddParticipantToRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomAddParticipantToRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder get data; + set data(RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder? data); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs + extends RoomAddParticipantToRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data data; + + factory _$RoomAddParticipantToRoomResponseApplicationJson_Ocs( + [void Function(RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomAddParticipantToRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddParticipantToRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddParticipantToRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomAddParticipantToRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder? _data; + RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder(); + set data(covariant RoomAddParticipantToRoomResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder(); + + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddParticipantToRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddParticipantToRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs _build() { + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomAddParticipantToRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomAddParticipantToRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddParticipantToRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomAddParticipantToRoomResponseApplicationJsonInterface other); + void update(void Function(RoomAddParticipantToRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomAddParticipantToRoomResponseApplicationJson extends RoomAddParticipantToRoomResponseApplicationJson { + @override + final RoomAddParticipantToRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomAddParticipantToRoomResponseApplicationJson( + [void Function(RoomAddParticipantToRoomResponseApplicationJsonBuilder)? updates]) => + (RoomAddParticipantToRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomAddParticipantToRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomAddParticipantToRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson rebuild( + void Function(RoomAddParticipantToRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddParticipantToRoomResponseApplicationJsonBuilder toBuilder() => + RoomAddParticipantToRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddParticipantToRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddParticipantToRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomAddParticipantToRoomResponseApplicationJsonBuilder + implements + Builder, + RoomAddParticipantToRoomResponseApplicationJsonInterfaceBuilder { + _$RoomAddParticipantToRoomResponseApplicationJson? _$v; + + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomAddParticipantToRoomResponseApplicationJsonBuilder(); + + RoomAddParticipantToRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddParticipantToRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddParticipantToRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomAddParticipantToRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddParticipantToRoomResponseApplicationJson build() => _build(); + + _$RoomAddParticipantToRoomResponseApplicationJson _build() { + _$RoomAddParticipantToRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomAddParticipantToRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomAddParticipantToRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRoomGetBreakoutRoomParticipantsHeadersInterfaceBuilder { + void replace(RoomRoomGetBreakoutRoomParticipantsHeadersInterface other); + void update(void Function(RoomRoomGetBreakoutRoomParticipantsHeadersInterfaceBuilder) updates); + bool? get xNextcloudHasUserStatuses; + set xNextcloudHasUserStatuses(bool? xNextcloudHasUserStatuses); +} + +class _$RoomRoomGetBreakoutRoomParticipantsHeaders extends RoomRoomGetBreakoutRoomParticipantsHeaders { + @override + final bool? xNextcloudHasUserStatuses; + + factory _$RoomRoomGetBreakoutRoomParticipantsHeaders( + [void Function(RoomRoomGetBreakoutRoomParticipantsHeadersBuilder)? updates]) => + (RoomRoomGetBreakoutRoomParticipantsHeadersBuilder()..update(updates))._build(); + + _$RoomRoomGetBreakoutRoomParticipantsHeaders._({this.xNextcloudHasUserStatuses}) : super._(); + + @override + RoomRoomGetBreakoutRoomParticipantsHeaders rebuild( + void Function(RoomRoomGetBreakoutRoomParticipantsHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRoomGetBreakoutRoomParticipantsHeadersBuilder toBuilder() => + RoomRoomGetBreakoutRoomParticipantsHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRoomGetBreakoutRoomParticipantsHeaders && + xNextcloudHasUserStatuses == other.xNextcloudHasUserStatuses; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNextcloudHasUserStatuses.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRoomGetBreakoutRoomParticipantsHeaders') + ..add('xNextcloudHasUserStatuses', xNextcloudHasUserStatuses)) + .toString(); + } +} + +class RoomRoomGetBreakoutRoomParticipantsHeadersBuilder + implements + Builder, + RoomRoomGetBreakoutRoomParticipantsHeadersInterfaceBuilder { + _$RoomRoomGetBreakoutRoomParticipantsHeaders? _$v; + + bool? _xNextcloudHasUserStatuses; + bool? get xNextcloudHasUserStatuses => _$this._xNextcloudHasUserStatuses; + set xNextcloudHasUserStatuses(covariant bool? xNextcloudHasUserStatuses) => + _$this._xNextcloudHasUserStatuses = xNextcloudHasUserStatuses; + + RoomRoomGetBreakoutRoomParticipantsHeadersBuilder(); + + RoomRoomGetBreakoutRoomParticipantsHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNextcloudHasUserStatuses = $v.xNextcloudHasUserStatuses; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRoomGetBreakoutRoomParticipantsHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRoomGetBreakoutRoomParticipantsHeaders; + } + + @override + void update(void Function(RoomRoomGetBreakoutRoomParticipantsHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRoomGetBreakoutRoomParticipantsHeaders build() => _build(); + + _$RoomRoomGetBreakoutRoomParticipantsHeaders _build() { + final _$result = + _$v ?? _$RoomRoomGetBreakoutRoomParticipantsHeaders._(xNextcloudHasUserStatuses: xNextcloudHasUserStatuses); + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs + extends RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs( + [void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs rebuild( + void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder toBuilder() => + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder(); + + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs build() => _build(); + + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs _build() { + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterfaceBuilder { + void replace(RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterface other); + void update(void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterfaceBuilder) updates); + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson + extends RoomGetBreakoutRoomParticipantsResponseApplicationJson { + @override + final RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs ocs; + + factory _$RoomGetBreakoutRoomParticipantsResponseApplicationJson( + [void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder)? updates]) => + (RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomGetBreakoutRoomParticipantsResponseApplicationJson', 'ocs'); + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson rebuild( + void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder toBuilder() => + RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomGetBreakoutRoomParticipantsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomGetBreakoutRoomParticipantsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder + implements + Builder, + RoomGetBreakoutRoomParticipantsResponseApplicationJsonInterfaceBuilder { + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson? _$v; + + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder? _ocs; + RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder(); + + RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomGetBreakoutRoomParticipantsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomGetBreakoutRoomParticipantsResponseApplicationJson; + } + + @override + void update(void Function(RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomGetBreakoutRoomParticipantsResponseApplicationJson build() => _build(); + + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson _build() { + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomGetBreakoutRoomParticipantsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomGetBreakoutRoomParticipantsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs extends RoomRemoveSelfFromRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs( + [void Function(RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveSelfFromRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomRemoveSelfFromRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder(); + + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveSelfFromRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs _build() { + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveSelfFromRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomRemoveSelfFromRoomResponseApplicationJsonInterface other); + void update(void Function(RoomRemoveSelfFromRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomRemoveSelfFromRoomResponseApplicationJson extends RoomRemoveSelfFromRoomResponseApplicationJson { + @override + final RoomRemoveSelfFromRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomRemoveSelfFromRoomResponseApplicationJson( + [void Function(RoomRemoveSelfFromRoomResponseApplicationJsonBuilder)? updates]) => + (RoomRemoveSelfFromRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomRemoveSelfFromRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomRemoveSelfFromRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson rebuild( + void Function(RoomRemoveSelfFromRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveSelfFromRoomResponseApplicationJsonBuilder toBuilder() => + RoomRemoveSelfFromRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveSelfFromRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveSelfFromRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomRemoveSelfFromRoomResponseApplicationJsonBuilder + implements + Builder, + RoomRemoveSelfFromRoomResponseApplicationJsonInterfaceBuilder { + _$RoomRemoveSelfFromRoomResponseApplicationJson? _$v; + + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomRemoveSelfFromRoomResponseApplicationJsonBuilder(); + + RoomRemoveSelfFromRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveSelfFromRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveSelfFromRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomRemoveSelfFromRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveSelfFromRoomResponseApplicationJson build() => _build(); + + _$RoomRemoveSelfFromRoomResponseApplicationJson _build() { + _$RoomRemoveSelfFromRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomRemoveSelfFromRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomRemoveSelfFromRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs + extends RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs( + [void Function(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder(); + + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs _build() { + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveAttendeeFromRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomRemoveAttendeeFromRoomResponseApplicationJsonInterface other); + void update(void Function(RoomRemoveAttendeeFromRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomRemoveAttendeeFromRoomResponseApplicationJson extends RoomRemoveAttendeeFromRoomResponseApplicationJson { + @override + final RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomRemoveAttendeeFromRoomResponseApplicationJson( + [void Function(RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder)? updates]) => + (RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomRemoveAttendeeFromRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomRemoveAttendeeFromRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson rebuild( + void Function(RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder toBuilder() => + RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveAttendeeFromRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveAttendeeFromRoomResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder + implements + Builder, + RoomRemoveAttendeeFromRoomResponseApplicationJsonInterfaceBuilder { + _$RoomRemoveAttendeeFromRoomResponseApplicationJson? _$v; + + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder(); + + RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveAttendeeFromRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveAttendeeFromRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveAttendeeFromRoomResponseApplicationJson build() => _build(); + + _$RoomRemoveAttendeeFromRoomResponseApplicationJson _build() { + _$RoomRemoveAttendeeFromRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomRemoveAttendeeFromRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomRemoveAttendeeFromRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetAttendeePermissionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetAttendeePermissionsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetAttendeePermissionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs + extends RoomSetAttendeePermissionsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs( + [void Function(RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetAttendeePermissionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetAttendeePermissionsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson_Ocs rebuild( + void Function(RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetAttendeePermissionsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetAttendeePermissionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetAttendeePermissionsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder(); + + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetAttendeePermissionsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs _build() { + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomSetAttendeePermissionsResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetAttendeePermissionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetAttendeePermissionsResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetAttendeePermissionsResponseApplicationJsonInterface other); + void update(void Function(RoomSetAttendeePermissionsResponseApplicationJsonInterfaceBuilder) updates); + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetAttendeePermissionsResponseApplicationJson extends RoomSetAttendeePermissionsResponseApplicationJson { + @override + final RoomSetAttendeePermissionsResponseApplicationJson_Ocs ocs; + + factory _$RoomSetAttendeePermissionsResponseApplicationJson( + [void Function(RoomSetAttendeePermissionsResponseApplicationJsonBuilder)? updates]) => + (RoomSetAttendeePermissionsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetAttendeePermissionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetAttendeePermissionsResponseApplicationJson', 'ocs'); + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson rebuild( + void Function(RoomSetAttendeePermissionsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetAttendeePermissionsResponseApplicationJsonBuilder toBuilder() => + RoomSetAttendeePermissionsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetAttendeePermissionsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetAttendeePermissionsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomSetAttendeePermissionsResponseApplicationJsonBuilder + implements + Builder, + RoomSetAttendeePermissionsResponseApplicationJsonInterfaceBuilder { + _$RoomSetAttendeePermissionsResponseApplicationJson? _$v; + + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder? _ocs; + RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetAttendeePermissionsResponseApplicationJsonBuilder(); + + RoomSetAttendeePermissionsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetAttendeePermissionsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetAttendeePermissionsResponseApplicationJson; + } + + @override + void update(void Function(RoomSetAttendeePermissionsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetAttendeePermissionsResponseApplicationJson build() => _build(); + + _$RoomSetAttendeePermissionsResponseApplicationJson _build() { + _$RoomSetAttendeePermissionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetAttendeePermissionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetAttendeePermissionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs + extends RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs( + [void Function(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs rebuild( + void Function(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder(); + + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs _build() { + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetAllAttendeesPermissionsResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetAllAttendeesPermissionsResponseApplicationJsonInterface other); + void update(void Function(RoomSetAllAttendeesPermissionsResponseApplicationJsonInterfaceBuilder) updates); + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetAllAttendeesPermissionsResponseApplicationJson + extends RoomSetAllAttendeesPermissionsResponseApplicationJson { + @override + final RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs ocs; + + factory _$RoomSetAllAttendeesPermissionsResponseApplicationJson( + [void Function(RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder)? updates]) => + (RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetAllAttendeesPermissionsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetAllAttendeesPermissionsResponseApplicationJson', 'ocs'); + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson rebuild( + void Function(RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder toBuilder() => + RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetAllAttendeesPermissionsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetAllAttendeesPermissionsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder + implements + Builder, + RoomSetAllAttendeesPermissionsResponseApplicationJsonInterfaceBuilder { + _$RoomSetAllAttendeesPermissionsResponseApplicationJson? _$v; + + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder? _ocs; + RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder(); + + RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetAllAttendeesPermissionsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetAllAttendeesPermissionsResponseApplicationJson; + } + + @override + void update(void Function(RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetAllAttendeesPermissionsResponseApplicationJson build() => _build(); + + _$RoomSetAllAttendeesPermissionsResponseApplicationJson _build() { + _$RoomSetAllAttendeesPermissionsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetAllAttendeesPermissionsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetAllAttendeesPermissionsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomJoinRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomJoinRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomJoinRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomJoinRoomResponseApplicationJson_Ocs extends RoomJoinRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomJoinRoomResponseApplicationJson_Ocs( + [void Function(RoomJoinRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomJoinRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomJoinRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomJoinRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomJoinRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomJoinRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomJoinRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomJoinRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomJoinRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomJoinRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomJoinRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomJoinRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomJoinRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomJoinRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomJoinRoomResponseApplicationJson_OcsBuilder(); + + RoomJoinRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomJoinRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomJoinRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomJoinRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomJoinRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomJoinRoomResponseApplicationJson_Ocs _build() { + _$RoomJoinRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomJoinRoomResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomJoinRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomJoinRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomJoinRoomResponseApplicationJsonInterface other); + void update(void Function(RoomJoinRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomJoinRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomJoinRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomJoinRoomResponseApplicationJson extends RoomJoinRoomResponseApplicationJson { + @override + final RoomJoinRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomJoinRoomResponseApplicationJson([void Function(RoomJoinRoomResponseApplicationJsonBuilder)? updates]) => + (RoomJoinRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomJoinRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomJoinRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomJoinRoomResponseApplicationJson rebuild(void Function(RoomJoinRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomJoinRoomResponseApplicationJsonBuilder toBuilder() => RoomJoinRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomJoinRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomJoinRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomJoinRoomResponseApplicationJsonBuilder + implements + Builder, + RoomJoinRoomResponseApplicationJsonInterfaceBuilder { + _$RoomJoinRoomResponseApplicationJson? _$v; + + RoomJoinRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomJoinRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomJoinRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomJoinRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomJoinRoomResponseApplicationJsonBuilder(); + + RoomJoinRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomJoinRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomJoinRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomJoinRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomJoinRoomResponseApplicationJson build() => _build(); + + _$RoomJoinRoomResponseApplicationJson _build() { + _$RoomJoinRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomJoinRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomJoinRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomLeaveRoomResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomLeaveRoomResponseApplicationJson_OcsInterface other); + void update(void Function(RoomLeaveRoomResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomLeaveRoomResponseApplicationJson_Ocs extends RoomLeaveRoomResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomLeaveRoomResponseApplicationJson_Ocs( + [void Function(RoomLeaveRoomResponseApplicationJson_OcsBuilder)? updates]) => + (RoomLeaveRoomResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomLeaveRoomResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomLeaveRoomResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomLeaveRoomResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomLeaveRoomResponseApplicationJson_Ocs rebuild( + void Function(RoomLeaveRoomResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomLeaveRoomResponseApplicationJson_OcsBuilder toBuilder() => + RoomLeaveRoomResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomLeaveRoomResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomLeaveRoomResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomLeaveRoomResponseApplicationJson_OcsBuilder + implements + Builder, + RoomLeaveRoomResponseApplicationJson_OcsInterfaceBuilder { + _$RoomLeaveRoomResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomLeaveRoomResponseApplicationJson_OcsBuilder(); + + RoomLeaveRoomResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomLeaveRoomResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomLeaveRoomResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomLeaveRoomResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomLeaveRoomResponseApplicationJson_Ocs build() => _build(); + + _$RoomLeaveRoomResponseApplicationJson_Ocs _build() { + _$RoomLeaveRoomResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomLeaveRoomResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull(data, r'RoomLeaveRoomResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomLeaveRoomResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomLeaveRoomResponseApplicationJsonInterfaceBuilder { + void replace(RoomLeaveRoomResponseApplicationJsonInterface other); + void update(void Function(RoomLeaveRoomResponseApplicationJsonInterfaceBuilder) updates); + RoomLeaveRoomResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomLeaveRoomResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomLeaveRoomResponseApplicationJson extends RoomLeaveRoomResponseApplicationJson { + @override + final RoomLeaveRoomResponseApplicationJson_Ocs ocs; + + factory _$RoomLeaveRoomResponseApplicationJson( + [void Function(RoomLeaveRoomResponseApplicationJsonBuilder)? updates]) => + (RoomLeaveRoomResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomLeaveRoomResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomLeaveRoomResponseApplicationJson', 'ocs'); + } + + @override + RoomLeaveRoomResponseApplicationJson rebuild(void Function(RoomLeaveRoomResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomLeaveRoomResponseApplicationJsonBuilder toBuilder() => + RoomLeaveRoomResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomLeaveRoomResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomLeaveRoomResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomLeaveRoomResponseApplicationJsonBuilder + implements + Builder, + RoomLeaveRoomResponseApplicationJsonInterfaceBuilder { + _$RoomLeaveRoomResponseApplicationJson? _$v; + + RoomLeaveRoomResponseApplicationJson_OcsBuilder? _ocs; + RoomLeaveRoomResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomLeaveRoomResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomLeaveRoomResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomLeaveRoomResponseApplicationJsonBuilder(); + + RoomLeaveRoomResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomLeaveRoomResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomLeaveRoomResponseApplicationJson; + } + + @override + void update(void Function(RoomLeaveRoomResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomLeaveRoomResponseApplicationJson build() => _build(); + + _$RoomLeaveRoomResponseApplicationJson _build() { + _$RoomLeaveRoomResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomLeaveRoomResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomLeaveRoomResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomResendInvitationsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomResendInvitationsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomResendInvitationsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomResendInvitationsResponseApplicationJson_Ocs extends RoomResendInvitationsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomResendInvitationsResponseApplicationJson_Ocs( + [void Function(RoomResendInvitationsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomResendInvitationsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomResendInvitationsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomResendInvitationsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomResendInvitationsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomResendInvitationsResponseApplicationJson_Ocs rebuild( + void Function(RoomResendInvitationsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomResendInvitationsResponseApplicationJson_OcsBuilder toBuilder() => + RoomResendInvitationsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomResendInvitationsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomResendInvitationsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomResendInvitationsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomResendInvitationsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomResendInvitationsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomResendInvitationsResponseApplicationJson_OcsBuilder(); + + RoomResendInvitationsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomResendInvitationsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomResendInvitationsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomResendInvitationsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomResendInvitationsResponseApplicationJson_Ocs build() => _build(); + + _$RoomResendInvitationsResponseApplicationJson_Ocs _build() { + _$RoomResendInvitationsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomResendInvitationsResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomResendInvitationsResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomResendInvitationsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomResendInvitationsResponseApplicationJsonInterfaceBuilder { + void replace(RoomResendInvitationsResponseApplicationJsonInterface other); + void update(void Function(RoomResendInvitationsResponseApplicationJsonInterfaceBuilder) updates); + RoomResendInvitationsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomResendInvitationsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomResendInvitationsResponseApplicationJson extends RoomResendInvitationsResponseApplicationJson { + @override + final RoomResendInvitationsResponseApplicationJson_Ocs ocs; + + factory _$RoomResendInvitationsResponseApplicationJson( + [void Function(RoomResendInvitationsResponseApplicationJsonBuilder)? updates]) => + (RoomResendInvitationsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomResendInvitationsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomResendInvitationsResponseApplicationJson', 'ocs'); + } + + @override + RoomResendInvitationsResponseApplicationJson rebuild( + void Function(RoomResendInvitationsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomResendInvitationsResponseApplicationJsonBuilder toBuilder() => + RoomResendInvitationsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomResendInvitationsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomResendInvitationsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomResendInvitationsResponseApplicationJsonBuilder + implements + Builder, + RoomResendInvitationsResponseApplicationJsonInterfaceBuilder { + _$RoomResendInvitationsResponseApplicationJson? _$v; + + RoomResendInvitationsResponseApplicationJson_OcsBuilder? _ocs; + RoomResendInvitationsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomResendInvitationsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomResendInvitationsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomResendInvitationsResponseApplicationJsonBuilder(); + + RoomResendInvitationsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomResendInvitationsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomResendInvitationsResponseApplicationJson; + } + + @override + void update(void Function(RoomResendInvitationsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomResendInvitationsResponseApplicationJson build() => _build(); + + _$RoomResendInvitationsResponseApplicationJson _build() { + _$RoomResendInvitationsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomResendInvitationsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomResendInvitationsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetSessionStateResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetSessionStateResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetSessionStateResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetSessionStateResponseApplicationJson_Ocs extends RoomSetSessionStateResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetSessionStateResponseApplicationJson_Ocs( + [void Function(RoomSetSessionStateResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetSessionStateResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetSessionStateResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetSessionStateResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetSessionStateResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetSessionStateResponseApplicationJson_Ocs rebuild( + void Function(RoomSetSessionStateResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetSessionStateResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetSessionStateResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetSessionStateResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetSessionStateResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetSessionStateResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetSessionStateResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetSessionStateResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetSessionStateResponseApplicationJson_OcsBuilder(); + + RoomSetSessionStateResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetSessionStateResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetSessionStateResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetSessionStateResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetSessionStateResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetSessionStateResponseApplicationJson_Ocs _build() { + _$RoomSetSessionStateResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomSetSessionStateResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetSessionStateResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetSessionStateResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetSessionStateResponseApplicationJsonInterface other); + void update(void Function(RoomSetSessionStateResponseApplicationJsonInterfaceBuilder) updates); + RoomSetSessionStateResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetSessionStateResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetSessionStateResponseApplicationJson extends RoomSetSessionStateResponseApplicationJson { + @override + final RoomSetSessionStateResponseApplicationJson_Ocs ocs; + + factory _$RoomSetSessionStateResponseApplicationJson( + [void Function(RoomSetSessionStateResponseApplicationJsonBuilder)? updates]) => + (RoomSetSessionStateResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetSessionStateResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetSessionStateResponseApplicationJson', 'ocs'); + } + + @override + RoomSetSessionStateResponseApplicationJson rebuild( + void Function(RoomSetSessionStateResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetSessionStateResponseApplicationJsonBuilder toBuilder() => + RoomSetSessionStateResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetSessionStateResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetSessionStateResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetSessionStateResponseApplicationJsonBuilder + implements + Builder, + RoomSetSessionStateResponseApplicationJsonInterfaceBuilder { + _$RoomSetSessionStateResponseApplicationJson? _$v; + + RoomSetSessionStateResponseApplicationJson_OcsBuilder? _ocs; + RoomSetSessionStateResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetSessionStateResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetSessionStateResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetSessionStateResponseApplicationJsonBuilder(); + + RoomSetSessionStateResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetSessionStateResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetSessionStateResponseApplicationJson; + } + + @override + void update(void Function(RoomSetSessionStateResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetSessionStateResponseApplicationJson build() => _build(); + + _$RoomSetSessionStateResponseApplicationJson _build() { + _$RoomSetSessionStateResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetSessionStateResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetSessionStateResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomPromoteModeratorResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomPromoteModeratorResponseApplicationJson_OcsInterface other); + void update(void Function(RoomPromoteModeratorResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomPromoteModeratorResponseApplicationJson_Ocs extends RoomPromoteModeratorResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomPromoteModeratorResponseApplicationJson_Ocs( + [void Function(RoomPromoteModeratorResponseApplicationJson_OcsBuilder)? updates]) => + (RoomPromoteModeratorResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomPromoteModeratorResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomPromoteModeratorResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomPromoteModeratorResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomPromoteModeratorResponseApplicationJson_Ocs rebuild( + void Function(RoomPromoteModeratorResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomPromoteModeratorResponseApplicationJson_OcsBuilder toBuilder() => + RoomPromoteModeratorResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomPromoteModeratorResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomPromoteModeratorResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomPromoteModeratorResponseApplicationJson_OcsBuilder + implements + Builder, + RoomPromoteModeratorResponseApplicationJson_OcsInterfaceBuilder { + _$RoomPromoteModeratorResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomPromoteModeratorResponseApplicationJson_OcsBuilder(); + + RoomPromoteModeratorResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomPromoteModeratorResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomPromoteModeratorResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomPromoteModeratorResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomPromoteModeratorResponseApplicationJson_Ocs build() => _build(); + + _$RoomPromoteModeratorResponseApplicationJson_Ocs _build() { + _$RoomPromoteModeratorResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomPromoteModeratorResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomPromoteModeratorResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomPromoteModeratorResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomPromoteModeratorResponseApplicationJsonInterfaceBuilder { + void replace(RoomPromoteModeratorResponseApplicationJsonInterface other); + void update(void Function(RoomPromoteModeratorResponseApplicationJsonInterfaceBuilder) updates); + RoomPromoteModeratorResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomPromoteModeratorResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomPromoteModeratorResponseApplicationJson extends RoomPromoteModeratorResponseApplicationJson { + @override + final RoomPromoteModeratorResponseApplicationJson_Ocs ocs; + + factory _$RoomPromoteModeratorResponseApplicationJson( + [void Function(RoomPromoteModeratorResponseApplicationJsonBuilder)? updates]) => + (RoomPromoteModeratorResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomPromoteModeratorResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomPromoteModeratorResponseApplicationJson', 'ocs'); + } + + @override + RoomPromoteModeratorResponseApplicationJson rebuild( + void Function(RoomPromoteModeratorResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomPromoteModeratorResponseApplicationJsonBuilder toBuilder() => + RoomPromoteModeratorResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomPromoteModeratorResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomPromoteModeratorResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomPromoteModeratorResponseApplicationJsonBuilder + implements + Builder, + RoomPromoteModeratorResponseApplicationJsonInterfaceBuilder { + _$RoomPromoteModeratorResponseApplicationJson? _$v; + + RoomPromoteModeratorResponseApplicationJson_OcsBuilder? _ocs; + RoomPromoteModeratorResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomPromoteModeratorResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomPromoteModeratorResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomPromoteModeratorResponseApplicationJsonBuilder(); + + RoomPromoteModeratorResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomPromoteModeratorResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomPromoteModeratorResponseApplicationJson; + } + + @override + void update(void Function(RoomPromoteModeratorResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomPromoteModeratorResponseApplicationJson build() => _build(); + + _$RoomPromoteModeratorResponseApplicationJson _build() { + _$RoomPromoteModeratorResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomPromoteModeratorResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomPromoteModeratorResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomDemoteModeratorResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomDemoteModeratorResponseApplicationJson_OcsInterface other); + void update(void Function(RoomDemoteModeratorResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomDemoteModeratorResponseApplicationJson_Ocs extends RoomDemoteModeratorResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomDemoteModeratorResponseApplicationJson_Ocs( + [void Function(RoomDemoteModeratorResponseApplicationJson_OcsBuilder)? updates]) => + (RoomDemoteModeratorResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomDemoteModeratorResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomDemoteModeratorResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomDemoteModeratorResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomDemoteModeratorResponseApplicationJson_Ocs rebuild( + void Function(RoomDemoteModeratorResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomDemoteModeratorResponseApplicationJson_OcsBuilder toBuilder() => + RoomDemoteModeratorResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomDemoteModeratorResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomDemoteModeratorResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomDemoteModeratorResponseApplicationJson_OcsBuilder + implements + Builder, + RoomDemoteModeratorResponseApplicationJson_OcsInterfaceBuilder { + _$RoomDemoteModeratorResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomDemoteModeratorResponseApplicationJson_OcsBuilder(); + + RoomDemoteModeratorResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomDemoteModeratorResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomDemoteModeratorResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomDemoteModeratorResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomDemoteModeratorResponseApplicationJson_Ocs build() => _build(); + + _$RoomDemoteModeratorResponseApplicationJson_Ocs _build() { + _$RoomDemoteModeratorResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomDemoteModeratorResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomDemoteModeratorResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomDemoteModeratorResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomDemoteModeratorResponseApplicationJsonInterfaceBuilder { + void replace(RoomDemoteModeratorResponseApplicationJsonInterface other); + void update(void Function(RoomDemoteModeratorResponseApplicationJsonInterfaceBuilder) updates); + RoomDemoteModeratorResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomDemoteModeratorResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomDemoteModeratorResponseApplicationJson extends RoomDemoteModeratorResponseApplicationJson { + @override + final RoomDemoteModeratorResponseApplicationJson_Ocs ocs; + + factory _$RoomDemoteModeratorResponseApplicationJson( + [void Function(RoomDemoteModeratorResponseApplicationJsonBuilder)? updates]) => + (RoomDemoteModeratorResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomDemoteModeratorResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomDemoteModeratorResponseApplicationJson', 'ocs'); + } + + @override + RoomDemoteModeratorResponseApplicationJson rebuild( + void Function(RoomDemoteModeratorResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomDemoteModeratorResponseApplicationJsonBuilder toBuilder() => + RoomDemoteModeratorResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomDemoteModeratorResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomDemoteModeratorResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomDemoteModeratorResponseApplicationJsonBuilder + implements + Builder, + RoomDemoteModeratorResponseApplicationJsonInterfaceBuilder { + _$RoomDemoteModeratorResponseApplicationJson? _$v; + + RoomDemoteModeratorResponseApplicationJson_OcsBuilder? _ocs; + RoomDemoteModeratorResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomDemoteModeratorResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomDemoteModeratorResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomDemoteModeratorResponseApplicationJsonBuilder(); + + RoomDemoteModeratorResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomDemoteModeratorResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomDemoteModeratorResponseApplicationJson; + } + + @override + void update(void Function(RoomDemoteModeratorResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomDemoteModeratorResponseApplicationJson build() => _build(); + + _$RoomDemoteModeratorResponseApplicationJson _build() { + _$RoomDemoteModeratorResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomDemoteModeratorResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomDemoteModeratorResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddToFavoritesResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomAddToFavoritesResponseApplicationJson_OcsInterface other); + void update(void Function(RoomAddToFavoritesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomAddToFavoritesResponseApplicationJson_Ocs extends RoomAddToFavoritesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomAddToFavoritesResponseApplicationJson_Ocs( + [void Function(RoomAddToFavoritesResponseApplicationJson_OcsBuilder)? updates]) => + (RoomAddToFavoritesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomAddToFavoritesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomAddToFavoritesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomAddToFavoritesResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomAddToFavoritesResponseApplicationJson_Ocs rebuild( + void Function(RoomAddToFavoritesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddToFavoritesResponseApplicationJson_OcsBuilder toBuilder() => + RoomAddToFavoritesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddToFavoritesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddToFavoritesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomAddToFavoritesResponseApplicationJson_OcsBuilder + implements + Builder, + RoomAddToFavoritesResponseApplicationJson_OcsInterfaceBuilder { + _$RoomAddToFavoritesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomAddToFavoritesResponseApplicationJson_OcsBuilder(); + + RoomAddToFavoritesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddToFavoritesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddToFavoritesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomAddToFavoritesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddToFavoritesResponseApplicationJson_Ocs build() => _build(); + + _$RoomAddToFavoritesResponseApplicationJson_Ocs _build() { + _$RoomAddToFavoritesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomAddToFavoritesResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomAddToFavoritesResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomAddToFavoritesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomAddToFavoritesResponseApplicationJsonInterfaceBuilder { + void replace(RoomAddToFavoritesResponseApplicationJsonInterface other); + void update(void Function(RoomAddToFavoritesResponseApplicationJsonInterfaceBuilder) updates); + RoomAddToFavoritesResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomAddToFavoritesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomAddToFavoritesResponseApplicationJson extends RoomAddToFavoritesResponseApplicationJson { + @override + final RoomAddToFavoritesResponseApplicationJson_Ocs ocs; + + factory _$RoomAddToFavoritesResponseApplicationJson( + [void Function(RoomAddToFavoritesResponseApplicationJsonBuilder)? updates]) => + (RoomAddToFavoritesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomAddToFavoritesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomAddToFavoritesResponseApplicationJson', 'ocs'); + } + + @override + RoomAddToFavoritesResponseApplicationJson rebuild( + void Function(RoomAddToFavoritesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomAddToFavoritesResponseApplicationJsonBuilder toBuilder() => + RoomAddToFavoritesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomAddToFavoritesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomAddToFavoritesResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomAddToFavoritesResponseApplicationJsonBuilder + implements + Builder, + RoomAddToFavoritesResponseApplicationJsonInterfaceBuilder { + _$RoomAddToFavoritesResponseApplicationJson? _$v; + + RoomAddToFavoritesResponseApplicationJson_OcsBuilder? _ocs; + RoomAddToFavoritesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomAddToFavoritesResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomAddToFavoritesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomAddToFavoritesResponseApplicationJsonBuilder(); + + RoomAddToFavoritesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomAddToFavoritesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomAddToFavoritesResponseApplicationJson; + } + + @override + void update(void Function(RoomAddToFavoritesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomAddToFavoritesResponseApplicationJson build() => _build(); + + _$RoomAddToFavoritesResponseApplicationJson _build() { + _$RoomAddToFavoritesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomAddToFavoritesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomAddToFavoritesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveFromFavoritesResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomRemoveFromFavoritesResponseApplicationJson_OcsInterface other); + void update(void Function(RoomRemoveFromFavoritesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs extends RoomRemoveFromFavoritesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs( + [void Function(RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder)? updates]) => + (RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomRemoveFromFavoritesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomRemoveFromFavoritesResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson_Ocs rebuild( + void Function(RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder toBuilder() => + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveFromFavoritesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveFromFavoritesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder + implements + Builder, + RoomRemoveFromFavoritesResponseApplicationJson_OcsInterfaceBuilder { + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder(); + + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveFromFavoritesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson_Ocs build() => _build(); + + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs _build() { + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomRemoveFromFavoritesResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomRemoveFromFavoritesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomRemoveFromFavoritesResponseApplicationJsonInterfaceBuilder { + void replace(RoomRemoveFromFavoritesResponseApplicationJsonInterface other); + void update(void Function(RoomRemoveFromFavoritesResponseApplicationJsonInterfaceBuilder) updates); + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomRemoveFromFavoritesResponseApplicationJson extends RoomRemoveFromFavoritesResponseApplicationJson { + @override + final RoomRemoveFromFavoritesResponseApplicationJson_Ocs ocs; + + factory _$RoomRemoveFromFavoritesResponseApplicationJson( + [void Function(RoomRemoveFromFavoritesResponseApplicationJsonBuilder)? updates]) => + (RoomRemoveFromFavoritesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomRemoveFromFavoritesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomRemoveFromFavoritesResponseApplicationJson', 'ocs'); + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson rebuild( + void Function(RoomRemoveFromFavoritesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomRemoveFromFavoritesResponseApplicationJsonBuilder toBuilder() => + RoomRemoveFromFavoritesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomRemoveFromFavoritesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomRemoveFromFavoritesResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomRemoveFromFavoritesResponseApplicationJsonBuilder + implements + Builder, + RoomRemoveFromFavoritesResponseApplicationJsonInterfaceBuilder { + _$RoomRemoveFromFavoritesResponseApplicationJson? _$v; + + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder? _ocs; + RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomRemoveFromFavoritesResponseApplicationJsonBuilder(); + + RoomRemoveFromFavoritesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomRemoveFromFavoritesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomRemoveFromFavoritesResponseApplicationJson; + } + + @override + void update(void Function(RoomRemoveFromFavoritesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomRemoveFromFavoritesResponseApplicationJson build() => _build(); + + _$RoomRemoveFromFavoritesResponseApplicationJson _build() { + _$RoomRemoveFromFavoritesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomRemoveFromFavoritesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomRemoveFromFavoritesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetNotificationLevelResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetNotificationLevelResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetNotificationLevelResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetNotificationLevelResponseApplicationJson_Ocs + extends RoomSetNotificationLevelResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetNotificationLevelResponseApplicationJson_Ocs( + [void Function(RoomSetNotificationLevelResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetNotificationLevelResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetNotificationLevelResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetNotificationLevelResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetNotificationLevelResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetNotificationLevelResponseApplicationJson_Ocs rebuild( + void Function(RoomSetNotificationLevelResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetNotificationLevelResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetNotificationLevelResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetNotificationLevelResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetNotificationLevelResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetNotificationLevelResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder(); + + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetNotificationLevelResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetNotificationLevelResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetNotificationLevelResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetNotificationLevelResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetNotificationLevelResponseApplicationJson_Ocs _build() { + _$RoomSetNotificationLevelResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetNotificationLevelResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomSetNotificationLevelResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetNotificationLevelResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetNotificationLevelResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetNotificationLevelResponseApplicationJsonInterface other); + void update(void Function(RoomSetNotificationLevelResponseApplicationJsonInterfaceBuilder) updates); + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetNotificationLevelResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetNotificationLevelResponseApplicationJson extends RoomSetNotificationLevelResponseApplicationJson { + @override + final RoomSetNotificationLevelResponseApplicationJson_Ocs ocs; + + factory _$RoomSetNotificationLevelResponseApplicationJson( + [void Function(RoomSetNotificationLevelResponseApplicationJsonBuilder)? updates]) => + (RoomSetNotificationLevelResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetNotificationLevelResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetNotificationLevelResponseApplicationJson', 'ocs'); + } + + @override + RoomSetNotificationLevelResponseApplicationJson rebuild( + void Function(RoomSetNotificationLevelResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetNotificationLevelResponseApplicationJsonBuilder toBuilder() => + RoomSetNotificationLevelResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetNotificationLevelResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetNotificationLevelResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomSetNotificationLevelResponseApplicationJsonBuilder + implements + Builder, + RoomSetNotificationLevelResponseApplicationJsonInterfaceBuilder { + _$RoomSetNotificationLevelResponseApplicationJson? _$v; + + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder? _ocs; + RoomSetNotificationLevelResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetNotificationLevelResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetNotificationLevelResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetNotificationLevelResponseApplicationJsonBuilder(); + + RoomSetNotificationLevelResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetNotificationLevelResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetNotificationLevelResponseApplicationJson; + } + + @override + void update(void Function(RoomSetNotificationLevelResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetNotificationLevelResponseApplicationJson build() => _build(); + + _$RoomSetNotificationLevelResponseApplicationJson _build() { + _$RoomSetNotificationLevelResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetNotificationLevelResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetNotificationLevelResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetNotificationCallsResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetNotificationCallsResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetNotificationCallsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetNotificationCallsResponseApplicationJson_Ocs + extends RoomSetNotificationCallsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetNotificationCallsResponseApplicationJson_Ocs( + [void Function(RoomSetNotificationCallsResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetNotificationCallsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetNotificationCallsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetNotificationCallsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetNotificationCallsResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetNotificationCallsResponseApplicationJson_Ocs rebuild( + void Function(RoomSetNotificationCallsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetNotificationCallsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetNotificationCallsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetNotificationCallsResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetNotificationCallsResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetNotificationCallsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder(); + + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetNotificationCallsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetNotificationCallsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetNotificationCallsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetNotificationCallsResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetNotificationCallsResponseApplicationJson_Ocs _build() { + _$RoomSetNotificationCallsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetNotificationCallsResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomSetNotificationCallsResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetNotificationCallsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetNotificationCallsResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetNotificationCallsResponseApplicationJsonInterface other); + void update(void Function(RoomSetNotificationCallsResponseApplicationJsonInterfaceBuilder) updates); + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetNotificationCallsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetNotificationCallsResponseApplicationJson extends RoomSetNotificationCallsResponseApplicationJson { + @override + final RoomSetNotificationCallsResponseApplicationJson_Ocs ocs; + + factory _$RoomSetNotificationCallsResponseApplicationJson( + [void Function(RoomSetNotificationCallsResponseApplicationJsonBuilder)? updates]) => + (RoomSetNotificationCallsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetNotificationCallsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetNotificationCallsResponseApplicationJson', 'ocs'); + } + + @override + RoomSetNotificationCallsResponseApplicationJson rebuild( + void Function(RoomSetNotificationCallsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetNotificationCallsResponseApplicationJsonBuilder toBuilder() => + RoomSetNotificationCallsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetNotificationCallsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetNotificationCallsResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomSetNotificationCallsResponseApplicationJsonBuilder + implements + Builder, + RoomSetNotificationCallsResponseApplicationJsonInterfaceBuilder { + _$RoomSetNotificationCallsResponseApplicationJson? _$v; + + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder? _ocs; + RoomSetNotificationCallsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetNotificationCallsResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetNotificationCallsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetNotificationCallsResponseApplicationJsonBuilder(); + + RoomSetNotificationCallsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetNotificationCallsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetNotificationCallsResponseApplicationJson; + } + + @override + void update(void Function(RoomSetNotificationCallsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetNotificationCallsResponseApplicationJson build() => _build(); + + _$RoomSetNotificationCallsResponseApplicationJson _build() { + _$RoomSetNotificationCallsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetNotificationCallsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetNotificationCallsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetLobbyResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetLobbyResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetLobbyResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetLobbyResponseApplicationJson_Ocs extends RoomSetLobbyResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetLobbyResponseApplicationJson_Ocs( + [void Function(RoomSetLobbyResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetLobbyResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetLobbyResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetLobbyResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetLobbyResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetLobbyResponseApplicationJson_Ocs rebuild( + void Function(RoomSetLobbyResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetLobbyResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetLobbyResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetLobbyResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetLobbyResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetLobbyResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetLobbyResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetLobbyResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetLobbyResponseApplicationJson_OcsBuilder(); + + RoomSetLobbyResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetLobbyResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetLobbyResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetLobbyResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetLobbyResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetLobbyResponseApplicationJson_Ocs _build() { + _$RoomSetLobbyResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomSetLobbyResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetLobbyResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetLobbyResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetLobbyResponseApplicationJsonInterface other); + void update(void Function(RoomSetLobbyResponseApplicationJsonInterfaceBuilder) updates); + RoomSetLobbyResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetLobbyResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetLobbyResponseApplicationJson extends RoomSetLobbyResponseApplicationJson { + @override + final RoomSetLobbyResponseApplicationJson_Ocs ocs; + + factory _$RoomSetLobbyResponseApplicationJson([void Function(RoomSetLobbyResponseApplicationJsonBuilder)? updates]) => + (RoomSetLobbyResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetLobbyResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetLobbyResponseApplicationJson', 'ocs'); + } + + @override + RoomSetLobbyResponseApplicationJson rebuild(void Function(RoomSetLobbyResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetLobbyResponseApplicationJsonBuilder toBuilder() => RoomSetLobbyResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetLobbyResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetLobbyResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetLobbyResponseApplicationJsonBuilder + implements + Builder, + RoomSetLobbyResponseApplicationJsonInterfaceBuilder { + _$RoomSetLobbyResponseApplicationJson? _$v; + + RoomSetLobbyResponseApplicationJson_OcsBuilder? _ocs; + RoomSetLobbyResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetLobbyResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetLobbyResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetLobbyResponseApplicationJsonBuilder(); + + RoomSetLobbyResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetLobbyResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetLobbyResponseApplicationJson; + } + + @override + void update(void Function(RoomSetLobbyResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetLobbyResponseApplicationJson build() => _build(); + + _$RoomSetLobbyResponseApplicationJson _build() { + _$RoomSetLobbyResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetLobbyResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetLobbyResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetsipEnabledResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetsipEnabledResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetsipEnabledResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetsipEnabledResponseApplicationJson_Ocs extends RoomSetsipEnabledResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetsipEnabledResponseApplicationJson_Ocs( + [void Function(RoomSetsipEnabledResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetsipEnabledResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetsipEnabledResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetsipEnabledResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetsipEnabledResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetsipEnabledResponseApplicationJson_Ocs rebuild( + void Function(RoomSetsipEnabledResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetsipEnabledResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetsipEnabledResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetsipEnabledResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetsipEnabledResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetsipEnabledResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetsipEnabledResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetsipEnabledResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetsipEnabledResponseApplicationJson_OcsBuilder(); + + RoomSetsipEnabledResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetsipEnabledResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetsipEnabledResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetsipEnabledResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetsipEnabledResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetsipEnabledResponseApplicationJson_Ocs _build() { + _$RoomSetsipEnabledResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomSetsipEnabledResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetsipEnabledResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetsipEnabledResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetsipEnabledResponseApplicationJsonInterface other); + void update(void Function(RoomSetsipEnabledResponseApplicationJsonInterfaceBuilder) updates); + RoomSetsipEnabledResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetsipEnabledResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetsipEnabledResponseApplicationJson extends RoomSetsipEnabledResponseApplicationJson { + @override + final RoomSetsipEnabledResponseApplicationJson_Ocs ocs; + + factory _$RoomSetsipEnabledResponseApplicationJson( + [void Function(RoomSetsipEnabledResponseApplicationJsonBuilder)? updates]) => + (RoomSetsipEnabledResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetsipEnabledResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetsipEnabledResponseApplicationJson', 'ocs'); + } + + @override + RoomSetsipEnabledResponseApplicationJson rebuild( + void Function(RoomSetsipEnabledResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetsipEnabledResponseApplicationJsonBuilder toBuilder() => + RoomSetsipEnabledResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetsipEnabledResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetsipEnabledResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetsipEnabledResponseApplicationJsonBuilder + implements + Builder, + RoomSetsipEnabledResponseApplicationJsonInterfaceBuilder { + _$RoomSetsipEnabledResponseApplicationJson? _$v; + + RoomSetsipEnabledResponseApplicationJson_OcsBuilder? _ocs; + RoomSetsipEnabledResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetsipEnabledResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetsipEnabledResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetsipEnabledResponseApplicationJsonBuilder(); + + RoomSetsipEnabledResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetsipEnabledResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetsipEnabledResponseApplicationJson; + } + + @override + void update(void Function(RoomSetsipEnabledResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetsipEnabledResponseApplicationJson build() => _build(); + + _$RoomSetsipEnabledResponseApplicationJson _build() { + _$RoomSetsipEnabledResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetsipEnabledResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'RoomSetsipEnabledResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetRecordingConsentResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetRecordingConsentResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetRecordingConsentResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + RoomBuilder get data; + set data(RoomBuilder? data); +} + +class _$RoomSetRecordingConsentResponseApplicationJson_Ocs extends RoomSetRecordingConsentResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Room data; + + factory _$RoomSetRecordingConsentResponseApplicationJson_Ocs( + [void Function(RoomSetRecordingConsentResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetRecordingConsentResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetRecordingConsentResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetRecordingConsentResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetRecordingConsentResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetRecordingConsentResponseApplicationJson_Ocs rebuild( + void Function(RoomSetRecordingConsentResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetRecordingConsentResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetRecordingConsentResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetRecordingConsentResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetRecordingConsentResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetRecordingConsentResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + RoomBuilder? _data; + RoomBuilder get data => _$this._data ??= RoomBuilder(); + set data(covariant RoomBuilder? data) => _$this._data = data; + + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder(); + + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetRecordingConsentResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetRecordingConsentResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetRecordingConsentResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetRecordingConsentResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetRecordingConsentResponseApplicationJson_Ocs _build() { + _$RoomSetRecordingConsentResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$RoomSetRecordingConsentResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetRecordingConsentResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetRecordingConsentResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetRecordingConsentResponseApplicationJsonInterface other); + void update(void Function(RoomSetRecordingConsentResponseApplicationJsonInterfaceBuilder) updates); + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetRecordingConsentResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetRecordingConsentResponseApplicationJson extends RoomSetRecordingConsentResponseApplicationJson { + @override + final RoomSetRecordingConsentResponseApplicationJson_Ocs ocs; + + factory _$RoomSetRecordingConsentResponseApplicationJson( + [void Function(RoomSetRecordingConsentResponseApplicationJsonBuilder)? updates]) => + (RoomSetRecordingConsentResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetRecordingConsentResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetRecordingConsentResponseApplicationJson', 'ocs'); + } + + @override + RoomSetRecordingConsentResponseApplicationJson rebuild( + void Function(RoomSetRecordingConsentResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetRecordingConsentResponseApplicationJsonBuilder toBuilder() => + RoomSetRecordingConsentResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetRecordingConsentResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetRecordingConsentResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class RoomSetRecordingConsentResponseApplicationJsonBuilder + implements + Builder, + RoomSetRecordingConsentResponseApplicationJsonInterfaceBuilder { + _$RoomSetRecordingConsentResponseApplicationJson? _$v; + + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder? _ocs; + RoomSetRecordingConsentResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetRecordingConsentResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetRecordingConsentResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetRecordingConsentResponseApplicationJsonBuilder(); + + RoomSetRecordingConsentResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetRecordingConsentResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetRecordingConsentResponseApplicationJson; + } + + @override + void update(void Function(RoomSetRecordingConsentResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetRecordingConsentResponseApplicationJson build() => _build(); + + _$RoomSetRecordingConsentResponseApplicationJson _build() { + _$RoomSetRecordingConsentResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetRecordingConsentResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetRecordingConsentResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetMessageExpirationResponseApplicationJson_OcsInterfaceBuilder { + void replace(RoomSetMessageExpirationResponseApplicationJson_OcsInterface other); + void update(void Function(RoomSetMessageExpirationResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$RoomSetMessageExpirationResponseApplicationJson_Ocs + extends RoomSetMessageExpirationResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$RoomSetMessageExpirationResponseApplicationJson_Ocs( + [void Function(RoomSetMessageExpirationResponseApplicationJson_OcsBuilder)? updates]) => + (RoomSetMessageExpirationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$RoomSetMessageExpirationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'RoomSetMessageExpirationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'RoomSetMessageExpirationResponseApplicationJson_Ocs', 'data'); + } + + @override + RoomSetMessageExpirationResponseApplicationJson_Ocs rebuild( + void Function(RoomSetMessageExpirationResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder toBuilder() => + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetMessageExpirationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetMessageExpirationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class RoomSetMessageExpirationResponseApplicationJson_OcsBuilder + implements + Builder, + RoomSetMessageExpirationResponseApplicationJson_OcsInterfaceBuilder { + _$RoomSetMessageExpirationResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder(); + + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetMessageExpirationResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetMessageExpirationResponseApplicationJson_Ocs; + } + + @override + void update(void Function(RoomSetMessageExpirationResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetMessageExpirationResponseApplicationJson_Ocs build() => _build(); + + _$RoomSetMessageExpirationResponseApplicationJson_Ocs _build() { + _$RoomSetMessageExpirationResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$RoomSetMessageExpirationResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'RoomSetMessageExpirationResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetMessageExpirationResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class RoomSetMessageExpirationResponseApplicationJsonInterfaceBuilder { + void replace(RoomSetMessageExpirationResponseApplicationJsonInterface other); + void update(void Function(RoomSetMessageExpirationResponseApplicationJsonInterfaceBuilder) updates); + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder get ocs; + set ocs(RoomSetMessageExpirationResponseApplicationJson_OcsBuilder? ocs); +} + +class _$RoomSetMessageExpirationResponseApplicationJson extends RoomSetMessageExpirationResponseApplicationJson { + @override + final RoomSetMessageExpirationResponseApplicationJson_Ocs ocs; + + factory _$RoomSetMessageExpirationResponseApplicationJson( + [void Function(RoomSetMessageExpirationResponseApplicationJsonBuilder)? updates]) => + (RoomSetMessageExpirationResponseApplicationJsonBuilder()..update(updates))._build(); + + _$RoomSetMessageExpirationResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'RoomSetMessageExpirationResponseApplicationJson', 'ocs'); + } + + @override + RoomSetMessageExpirationResponseApplicationJson rebuild( + void Function(RoomSetMessageExpirationResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + RoomSetMessageExpirationResponseApplicationJsonBuilder toBuilder() => + RoomSetMessageExpirationResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RoomSetMessageExpirationResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'RoomSetMessageExpirationResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class RoomSetMessageExpirationResponseApplicationJsonBuilder + implements + Builder, + RoomSetMessageExpirationResponseApplicationJsonInterfaceBuilder { + _$RoomSetMessageExpirationResponseApplicationJson? _$v; + + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder? _ocs; + RoomSetMessageExpirationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= RoomSetMessageExpirationResponseApplicationJson_OcsBuilder(); + set ocs(covariant RoomSetMessageExpirationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + RoomSetMessageExpirationResponseApplicationJsonBuilder(); + + RoomSetMessageExpirationResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant RoomSetMessageExpirationResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RoomSetMessageExpirationResponseApplicationJson; + } + + @override + void update(void Function(RoomSetMessageExpirationResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + RoomSetMessageExpirationResponseApplicationJson build() => _build(); + + _$RoomSetMessageExpirationResponseApplicationJson _build() { + _$RoomSetMessageExpirationResponseApplicationJson _$result; + try { + _$result = _$v ?? _$RoomSetMessageExpirationResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'RoomSetMessageExpirationResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SettingsSetsipSettingsResponseApplicationJson_OcsInterfaceBuilder { + void replace(SettingsSetsipSettingsResponseApplicationJson_OcsInterface other); + void update(void Function(SettingsSetsipSettingsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$SettingsSetsipSettingsResponseApplicationJson_Ocs extends SettingsSetsipSettingsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$SettingsSetsipSettingsResponseApplicationJson_Ocs( + [void Function(SettingsSetsipSettingsResponseApplicationJson_OcsBuilder)? updates]) => + (SettingsSetsipSettingsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SettingsSetsipSettingsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SettingsSetsipSettingsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SettingsSetsipSettingsResponseApplicationJson_Ocs', 'data'); + } + + @override + SettingsSetsipSettingsResponseApplicationJson_Ocs rebuild( + void Function(SettingsSetsipSettingsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder toBuilder() => + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsSetsipSettingsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsSetsipSettingsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SettingsSetsipSettingsResponseApplicationJson_OcsBuilder + implements + Builder, + SettingsSetsipSettingsResponseApplicationJson_OcsInterfaceBuilder { + _$SettingsSetsipSettingsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder(); + + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant SettingsSetsipSettingsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsSetsipSettingsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SettingsSetsipSettingsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsSetsipSettingsResponseApplicationJson_Ocs build() => _build(); + + _$SettingsSetsipSettingsResponseApplicationJson_Ocs _build() { + _$SettingsSetsipSettingsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$SettingsSetsipSettingsResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'SettingsSetsipSettingsResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SettingsSetsipSettingsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SettingsSetsipSettingsResponseApplicationJsonInterfaceBuilder { + void replace(SettingsSetsipSettingsResponseApplicationJsonInterface other); + void update(void Function(SettingsSetsipSettingsResponseApplicationJsonInterfaceBuilder) updates); + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder get ocs; + set ocs(SettingsSetsipSettingsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SettingsSetsipSettingsResponseApplicationJson extends SettingsSetsipSettingsResponseApplicationJson { + @override + final SettingsSetsipSettingsResponseApplicationJson_Ocs ocs; + + factory _$SettingsSetsipSettingsResponseApplicationJson( + [void Function(SettingsSetsipSettingsResponseApplicationJsonBuilder)? updates]) => + (SettingsSetsipSettingsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SettingsSetsipSettingsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SettingsSetsipSettingsResponseApplicationJson', 'ocs'); + } + + @override + SettingsSetsipSettingsResponseApplicationJson rebuild( + void Function(SettingsSetsipSettingsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsSetsipSettingsResponseApplicationJsonBuilder toBuilder() => + SettingsSetsipSettingsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsSetsipSettingsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsSetsipSettingsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class SettingsSetsipSettingsResponseApplicationJsonBuilder + implements + Builder, + SettingsSetsipSettingsResponseApplicationJsonInterfaceBuilder { + _$SettingsSetsipSettingsResponseApplicationJson? _$v; + + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder? _ocs; + SettingsSetsipSettingsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SettingsSetsipSettingsResponseApplicationJson_OcsBuilder(); + set ocs(covariant SettingsSetsipSettingsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SettingsSetsipSettingsResponseApplicationJsonBuilder(); + + SettingsSetsipSettingsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SettingsSetsipSettingsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsSetsipSettingsResponseApplicationJson; + } + + @override + void update(void Function(SettingsSetsipSettingsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsSetsipSettingsResponseApplicationJson build() => _build(); + + _$SettingsSetsipSettingsResponseApplicationJson _build() { + _$SettingsSetsipSettingsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SettingsSetsipSettingsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SettingsSetsipSettingsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SettingsSetUserSettingValueInterfaceBuilder { + void replace(SettingsSetUserSettingValueInterface other); + void update(void Function(SettingsSetUserSettingValueInterfaceBuilder) updates); + JsonObject? get data; + set data(JsonObject? data); + + String? get string; + set string(String? string); + + int? get $int; + set $int(int? $int); +} + +class _$SettingsSetUserSettingValue extends SettingsSetUserSettingValue { + @override + final JsonObject data; + @override + final String? string; + @override + final int? $int; + + factory _$SettingsSetUserSettingValue([void Function(SettingsSetUserSettingValueBuilder)? updates]) => + (SettingsSetUserSettingValueBuilder()..update(updates))._build(); + + _$SettingsSetUserSettingValue._({required this.data, this.string, this.$int}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'SettingsSetUserSettingValue', 'data'); + } + + @override + SettingsSetUserSettingValue rebuild(void Function(SettingsSetUserSettingValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsSetUserSettingValueBuilder toBuilder() => SettingsSetUserSettingValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsSetUserSettingValue && data == other.data && string == other.string && $int == other.$int; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsSetUserSettingValue') + ..add('data', data) + ..add('string', string) + ..add('\$int', $int)) + .toString(); + } +} + +class SettingsSetUserSettingValueBuilder + implements + Builder, + SettingsSetUserSettingValueInterfaceBuilder { + _$SettingsSetUserSettingValue? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; + + int? _$int; + int? get $int => _$this._$int; + set $int(covariant int? $int) => _$this._$int = $int; + + SettingsSetUserSettingValueBuilder(); + + SettingsSetUserSettingValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _string = $v.string; + _$int = $v.$int; + _$v = null; + } + return this; + } + + @override + void replace(covariant SettingsSetUserSettingValue other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsSetUserSettingValue; + } + + @override + void update(void Function(SettingsSetUserSettingValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsSetUserSettingValue build() => _build(); + + _$SettingsSetUserSettingValue _build() { + final _$result = _$v ?? + _$SettingsSetUserSettingValue._( + data: BuiltValueNullFieldError.checkNotNull(data, r'SettingsSetUserSettingValue', 'data'), + string: string, + $int: $int); + replace(_$result); + return _$result; + } +} + +abstract mixin class SettingsSetUserSettingResponseApplicationJson_OcsInterfaceBuilder { + void replace(SettingsSetUserSettingResponseApplicationJson_OcsInterface other); + void update(void Function(SettingsSetUserSettingResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$SettingsSetUserSettingResponseApplicationJson_Ocs extends SettingsSetUserSettingResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$SettingsSetUserSettingResponseApplicationJson_Ocs( + [void Function(SettingsSetUserSettingResponseApplicationJson_OcsBuilder)? updates]) => + (SettingsSetUserSettingResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SettingsSetUserSettingResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SettingsSetUserSettingResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SettingsSetUserSettingResponseApplicationJson_Ocs', 'data'); + } + + @override + SettingsSetUserSettingResponseApplicationJson_Ocs rebuild( + void Function(SettingsSetUserSettingResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsSetUserSettingResponseApplicationJson_OcsBuilder toBuilder() => + SettingsSetUserSettingResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsSetUserSettingResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsSetUserSettingResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SettingsSetUserSettingResponseApplicationJson_OcsBuilder + implements + Builder, + SettingsSetUserSettingResponseApplicationJson_OcsInterfaceBuilder { + _$SettingsSetUserSettingResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + SettingsSetUserSettingResponseApplicationJson_OcsBuilder(); + + SettingsSetUserSettingResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant SettingsSetUserSettingResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsSetUserSettingResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SettingsSetUserSettingResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsSetUserSettingResponseApplicationJson_Ocs build() => _build(); + + _$SettingsSetUserSettingResponseApplicationJson_Ocs _build() { + _$SettingsSetUserSettingResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$SettingsSetUserSettingResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'SettingsSetUserSettingResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SettingsSetUserSettingResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SettingsSetUserSettingResponseApplicationJsonInterfaceBuilder { + void replace(SettingsSetUserSettingResponseApplicationJsonInterface other); + void update(void Function(SettingsSetUserSettingResponseApplicationJsonInterfaceBuilder) updates); + SettingsSetUserSettingResponseApplicationJson_OcsBuilder get ocs; + set ocs(SettingsSetUserSettingResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SettingsSetUserSettingResponseApplicationJson extends SettingsSetUserSettingResponseApplicationJson { + @override + final SettingsSetUserSettingResponseApplicationJson_Ocs ocs; + + factory _$SettingsSetUserSettingResponseApplicationJson( + [void Function(SettingsSetUserSettingResponseApplicationJsonBuilder)? updates]) => + (SettingsSetUserSettingResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SettingsSetUserSettingResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SettingsSetUserSettingResponseApplicationJson', 'ocs'); + } + + @override + SettingsSetUserSettingResponseApplicationJson rebuild( + void Function(SettingsSetUserSettingResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsSetUserSettingResponseApplicationJsonBuilder toBuilder() => + SettingsSetUserSettingResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsSetUserSettingResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsSetUserSettingResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class SettingsSetUserSettingResponseApplicationJsonBuilder + implements + Builder, + SettingsSetUserSettingResponseApplicationJsonInterfaceBuilder { + _$SettingsSetUserSettingResponseApplicationJson? _$v; + + SettingsSetUserSettingResponseApplicationJson_OcsBuilder? _ocs; + SettingsSetUserSettingResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SettingsSetUserSettingResponseApplicationJson_OcsBuilder(); + set ocs(covariant SettingsSetUserSettingResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SettingsSetUserSettingResponseApplicationJsonBuilder(); + + SettingsSetUserSettingResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SettingsSetUserSettingResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsSetUserSettingResponseApplicationJson; + } + + @override + void update(void Function(SettingsSetUserSettingResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsSetUserSettingResponseApplicationJson build() => _build(); + + _$SettingsSetUserSettingResponseApplicationJson _build() { + _$SettingsSetUserSettingResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SettingsSetUserSettingResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SettingsSetUserSettingResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettings_HelloAuthParams_$10InterfaceBuilder { + void replace(SignalingSettings_HelloAuthParams_$10Interface other); + void update(void Function(SignalingSettings_HelloAuthParams_$10InterfaceBuilder) updates); + String? get userid; + set userid(String? userid); + + String? get ticket; + set ticket(String? ticket); +} + +class _$SignalingSettings_HelloAuthParams_$10 extends SignalingSettings_HelloAuthParams_$10 { + @override + final String? userid; + @override + final String ticket; + + factory _$SignalingSettings_HelloAuthParams_$10( + [void Function(SignalingSettings_HelloAuthParams_$10Builder)? updates]) => + (SignalingSettings_HelloAuthParams_$10Builder()..update(updates))._build(); + + _$SignalingSettings_HelloAuthParams_$10._({this.userid, required this.ticket}) : super._() { + BuiltValueNullFieldError.checkNotNull(ticket, r'SignalingSettings_HelloAuthParams_$10', 'ticket'); + } + + @override + SignalingSettings_HelloAuthParams_$10 rebuild(void Function(SignalingSettings_HelloAuthParams_$10Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSettings_HelloAuthParams_$10Builder toBuilder() => + SignalingSettings_HelloAuthParams_$10Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings_HelloAuthParams_$10 && userid == other.userid && ticket == other.ticket; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, userid.hashCode); + _$hash = $jc(_$hash, ticket.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings_HelloAuthParams_$10') + ..add('userid', userid) + ..add('ticket', ticket)) + .toString(); + } +} + +class SignalingSettings_HelloAuthParams_$10Builder + implements + Builder, + SignalingSettings_HelloAuthParams_$10InterfaceBuilder { + _$SignalingSettings_HelloAuthParams_$10? _$v; + + String? _userid; + String? get userid => _$this._userid; + set userid(covariant String? userid) => _$this._userid = userid; + + String? _ticket; + String? get ticket => _$this._ticket; + set ticket(covariant String? ticket) => _$this._ticket = ticket; + + SignalingSettings_HelloAuthParams_$10Builder(); + + SignalingSettings_HelloAuthParams_$10Builder get _$this { + final $v = _$v; + if ($v != null) { + _userid = $v.userid; + _ticket = $v.ticket; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings_HelloAuthParams_$10 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings_HelloAuthParams_$10; + } + + @override + void update(void Function(SignalingSettings_HelloAuthParams_$10Builder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings_HelloAuthParams_$10 build() => _build(); + + _$SignalingSettings_HelloAuthParams_$10 _build() { + final _$result = _$v ?? + _$SignalingSettings_HelloAuthParams_$10._( + userid: userid, + ticket: BuiltValueNullFieldError.checkNotNull(ticket, r'SignalingSettings_HelloAuthParams_$10', 'ticket')); + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettings_HelloAuthParams_$20InterfaceBuilder { + void replace(SignalingSettings_HelloAuthParams_$20Interface other); + void update(void Function(SignalingSettings_HelloAuthParams_$20InterfaceBuilder) updates); + String? get token; + set token(String? token); +} + +class _$SignalingSettings_HelloAuthParams_$20 extends SignalingSettings_HelloAuthParams_$20 { + @override + final String token; + + factory _$SignalingSettings_HelloAuthParams_$20( + [void Function(SignalingSettings_HelloAuthParams_$20Builder)? updates]) => + (SignalingSettings_HelloAuthParams_$20Builder()..update(updates))._build(); + + _$SignalingSettings_HelloAuthParams_$20._({required this.token}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'SignalingSettings_HelloAuthParams_$20', 'token'); + } + + @override + SignalingSettings_HelloAuthParams_$20 rebuild(void Function(SignalingSettings_HelloAuthParams_$20Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSettings_HelloAuthParams_$20Builder toBuilder() => + SignalingSettings_HelloAuthParams_$20Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings_HelloAuthParams_$20 && token == other.token; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings_HelloAuthParams_$20')..add('token', token)).toString(); + } +} + +class SignalingSettings_HelloAuthParams_$20Builder + implements + Builder, + SignalingSettings_HelloAuthParams_$20InterfaceBuilder { + _$SignalingSettings_HelloAuthParams_$20? _$v; + + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; + + SignalingSettings_HelloAuthParams_$20Builder(); + + SignalingSettings_HelloAuthParams_$20Builder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings_HelloAuthParams_$20 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings_HelloAuthParams_$20; + } + + @override + void update(void Function(SignalingSettings_HelloAuthParams_$20Builder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings_HelloAuthParams_$20 build() => _build(); + + _$SignalingSettings_HelloAuthParams_$20 _build() { + final _$result = _$v ?? + _$SignalingSettings_HelloAuthParams_$20._( + token: BuiltValueNullFieldError.checkNotNull(token, r'SignalingSettings_HelloAuthParams_$20', 'token')); + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettings_HelloAuthParamsInterfaceBuilder { + void replace(SignalingSettings_HelloAuthParamsInterface other); + void update(void Function(SignalingSettings_HelloAuthParamsInterfaceBuilder) updates); + SignalingSettings_HelloAuthParams_$10Builder get $10; + set $10(SignalingSettings_HelloAuthParams_$10Builder? $10); + + SignalingSettings_HelloAuthParams_$20Builder get $20; + set $20(SignalingSettings_HelloAuthParams_$20Builder? $20); +} + +class _$SignalingSettings_HelloAuthParams extends SignalingSettings_HelloAuthParams { + @override + final SignalingSettings_HelloAuthParams_$10 $10; + @override + final SignalingSettings_HelloAuthParams_$20 $20; + + factory _$SignalingSettings_HelloAuthParams([void Function(SignalingSettings_HelloAuthParamsBuilder)? updates]) => + (SignalingSettings_HelloAuthParamsBuilder()..update(updates))._build(); + + _$SignalingSettings_HelloAuthParams._({required this.$10, required this.$20}) : super._() { + BuiltValueNullFieldError.checkNotNull($10, r'SignalingSettings_HelloAuthParams', '\$10'); + BuiltValueNullFieldError.checkNotNull($20, r'SignalingSettings_HelloAuthParams', '\$20'); + } + + @override + SignalingSettings_HelloAuthParams rebuild(void Function(SignalingSettings_HelloAuthParamsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSettings_HelloAuthParamsBuilder toBuilder() => SignalingSettings_HelloAuthParamsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings_HelloAuthParams && $10 == other.$10 && $20 == other.$20; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, $10.hashCode); + _$hash = $jc(_$hash, $20.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings_HelloAuthParams') + ..add('\$10', $10) + ..add('\$20', $20)) + .toString(); + } +} + +class SignalingSettings_HelloAuthParamsBuilder + implements + Builder, + SignalingSettings_HelloAuthParamsInterfaceBuilder { + _$SignalingSettings_HelloAuthParams? _$v; + + SignalingSettings_HelloAuthParams_$10Builder? _$10; + SignalingSettings_HelloAuthParams_$10Builder get $10 => + _$this._$10 ??= SignalingSettings_HelloAuthParams_$10Builder(); + set $10(covariant SignalingSettings_HelloAuthParams_$10Builder? $10) => _$this._$10 = $10; + + SignalingSettings_HelloAuthParams_$20Builder? _$20; + SignalingSettings_HelloAuthParams_$20Builder get $20 => + _$this._$20 ??= SignalingSettings_HelloAuthParams_$20Builder(); + set $20(covariant SignalingSettings_HelloAuthParams_$20Builder? $20) => _$this._$20 = $20; + + SignalingSettings_HelloAuthParamsBuilder(); + + SignalingSettings_HelloAuthParamsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _$10 = $v.$10.toBuilder(); + _$20 = $v.$20.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings_HelloAuthParams other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings_HelloAuthParams; + } + + @override + void update(void Function(SignalingSettings_HelloAuthParamsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings_HelloAuthParams build() => _build(); + + _$SignalingSettings_HelloAuthParams _build() { + _$SignalingSettings_HelloAuthParams _$result; + try { + _$result = _$v ?? _$SignalingSettings_HelloAuthParams._($10: $10.build(), $20: $20.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = '\$10'; + $10.build(); + _$failedField = '\$20'; + $20.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSettings_HelloAuthParams', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettings_StunserversInterfaceBuilder { + void replace(SignalingSettings_StunserversInterface other); + void update(void Function(SignalingSettings_StunserversInterfaceBuilder) updates); + ListBuilder get urls; + set urls(ListBuilder? urls); +} + +class _$SignalingSettings_Stunservers extends SignalingSettings_Stunservers { + @override + final BuiltList urls; + + factory _$SignalingSettings_Stunservers([void Function(SignalingSettings_StunserversBuilder)? updates]) => + (SignalingSettings_StunserversBuilder()..update(updates))._build(); + + _$SignalingSettings_Stunservers._({required this.urls}) : super._() { + BuiltValueNullFieldError.checkNotNull(urls, r'SignalingSettings_Stunservers', 'urls'); + } + + @override + SignalingSettings_Stunservers rebuild(void Function(SignalingSettings_StunserversBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSettings_StunserversBuilder toBuilder() => SignalingSettings_StunserversBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings_Stunservers && urls == other.urls; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, urls.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings_Stunservers')..add('urls', urls)).toString(); + } +} + +class SignalingSettings_StunserversBuilder + implements + Builder, + SignalingSettings_StunserversInterfaceBuilder { + _$SignalingSettings_Stunservers? _$v; + + ListBuilder? _urls; + ListBuilder get urls => _$this._urls ??= ListBuilder(); + set urls(covariant ListBuilder? urls) => _$this._urls = urls; + + SignalingSettings_StunserversBuilder(); + + SignalingSettings_StunserversBuilder get _$this { + final $v = _$v; + if ($v != null) { + _urls = $v.urls.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings_Stunservers other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings_Stunservers; + } + + @override + void update(void Function(SignalingSettings_StunserversBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings_Stunservers build() => _build(); + + _$SignalingSettings_Stunservers _build() { + _$SignalingSettings_Stunservers _$result; + try { + _$result = _$v ?? _$SignalingSettings_Stunservers._(urls: urls.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'urls'; + urls.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSettings_Stunservers', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettings_TurnserversInterfaceBuilder { + void replace(SignalingSettings_TurnserversInterface other); + void update(void Function(SignalingSettings_TurnserversInterfaceBuilder) updates); + ListBuilder get urls; + set urls(ListBuilder? urls); + + String? get username; + set username(String? username); + + JsonObject? get credential; + set credential(JsonObject? credential); +} + +class _$SignalingSettings_Turnservers extends SignalingSettings_Turnservers { + @override + final BuiltList urls; + @override + final String username; + @override + final JsonObject credential; + + factory _$SignalingSettings_Turnservers([void Function(SignalingSettings_TurnserversBuilder)? updates]) => + (SignalingSettings_TurnserversBuilder()..update(updates))._build(); + + _$SignalingSettings_Turnservers._({required this.urls, required this.username, required this.credential}) + : super._() { + BuiltValueNullFieldError.checkNotNull(urls, r'SignalingSettings_Turnservers', 'urls'); + BuiltValueNullFieldError.checkNotNull(username, r'SignalingSettings_Turnservers', 'username'); + BuiltValueNullFieldError.checkNotNull(credential, r'SignalingSettings_Turnservers', 'credential'); + } + + @override + SignalingSettings_Turnservers rebuild(void Function(SignalingSettings_TurnserversBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSettings_TurnserversBuilder toBuilder() => SignalingSettings_TurnserversBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings_Turnservers && + urls == other.urls && + username == other.username && + credential == other.credential; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, urls.hashCode); + _$hash = $jc(_$hash, username.hashCode); + _$hash = $jc(_$hash, credential.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings_Turnservers') + ..add('urls', urls) + ..add('username', username) + ..add('credential', credential)) + .toString(); + } +} + +class SignalingSettings_TurnserversBuilder + implements + Builder, + SignalingSettings_TurnserversInterfaceBuilder { + _$SignalingSettings_Turnservers? _$v; + + ListBuilder? _urls; + ListBuilder get urls => _$this._urls ??= ListBuilder(); + set urls(covariant ListBuilder? urls) => _$this._urls = urls; + + String? _username; + String? get username => _$this._username; + set username(covariant String? username) => _$this._username = username; + + JsonObject? _credential; + JsonObject? get credential => _$this._credential; + set credential(covariant JsonObject? credential) => _$this._credential = credential; + + SignalingSettings_TurnserversBuilder(); + + SignalingSettings_TurnserversBuilder get _$this { + final $v = _$v; + if ($v != null) { + _urls = $v.urls.toBuilder(); + _username = $v.username; + _credential = $v.credential; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings_Turnservers other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings_Turnservers; + } + + @override + void update(void Function(SignalingSettings_TurnserversBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings_Turnservers build() => _build(); + + _$SignalingSettings_Turnservers _build() { + _$SignalingSettings_Turnservers _$result; + try { + _$result = _$v ?? + _$SignalingSettings_Turnservers._( + urls: urls.build(), + username: BuiltValueNullFieldError.checkNotNull(username, r'SignalingSettings_Turnservers', 'username'), + credential: + BuiltValueNullFieldError.checkNotNull(credential, r'SignalingSettings_Turnservers', 'credential')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'urls'; + urls.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSettings_Turnservers', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSettingsInterfaceBuilder { + void replace(SignalingSettingsInterface other); + void update(void Function(SignalingSettingsInterfaceBuilder) updates); + SignalingSettings_HelloAuthParamsBuilder get helloAuthParams; + set helloAuthParams(SignalingSettings_HelloAuthParamsBuilder? helloAuthParams); + + bool? get hideWarning; + set hideWarning(bool? hideWarning); + + String? get server; + set server(String? server); + + String? get signalingMode; + set signalingMode(String? signalingMode); + + String? get sipDialinInfo; + set sipDialinInfo(String? sipDialinInfo); + + ListBuilder get stunservers; + set stunservers(ListBuilder? stunservers); + + String? get ticket; + set ticket(String? ticket); + + ListBuilder get turnservers; + set turnservers(ListBuilder? turnservers); + + String? get userId; + set userId(String? userId); +} + +class _$SignalingSettings extends SignalingSettings { + @override + final SignalingSettings_HelloAuthParams helloAuthParams; + @override + final bool hideWarning; + @override + final String server; + @override + final String signalingMode; + @override + final String sipDialinInfo; + @override + final BuiltList stunservers; + @override + final String ticket; + @override + final BuiltList turnservers; + @override + final String? userId; + + factory _$SignalingSettings([void Function(SignalingSettingsBuilder)? updates]) => + (SignalingSettingsBuilder()..update(updates))._build(); + + _$SignalingSettings._( + {required this.helloAuthParams, + required this.hideWarning, + required this.server, + required this.signalingMode, + required this.sipDialinInfo, + required this.stunservers, + required this.ticket, + required this.turnservers, + this.userId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(helloAuthParams, r'SignalingSettings', 'helloAuthParams'); + BuiltValueNullFieldError.checkNotNull(hideWarning, r'SignalingSettings', 'hideWarning'); + BuiltValueNullFieldError.checkNotNull(server, r'SignalingSettings', 'server'); + BuiltValueNullFieldError.checkNotNull(signalingMode, r'SignalingSettings', 'signalingMode'); + BuiltValueNullFieldError.checkNotNull(sipDialinInfo, r'SignalingSettings', 'sipDialinInfo'); + BuiltValueNullFieldError.checkNotNull(stunservers, r'SignalingSettings', 'stunservers'); + BuiltValueNullFieldError.checkNotNull(ticket, r'SignalingSettings', 'ticket'); + BuiltValueNullFieldError.checkNotNull(turnservers, r'SignalingSettings', 'turnservers'); + } + + @override + SignalingSettings rebuild(void Function(SignalingSettingsBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + SignalingSettingsBuilder toBuilder() => SignalingSettingsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSettings && + helloAuthParams == other.helloAuthParams && + hideWarning == other.hideWarning && + server == other.server && + signalingMode == other.signalingMode && + sipDialinInfo == other.sipDialinInfo && + stunservers == other.stunservers && + ticket == other.ticket && + turnservers == other.turnservers && + userId == other.userId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, helloAuthParams.hashCode); + _$hash = $jc(_$hash, hideWarning.hashCode); + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jc(_$hash, signalingMode.hashCode); + _$hash = $jc(_$hash, sipDialinInfo.hashCode); + _$hash = $jc(_$hash, stunservers.hashCode); + _$hash = $jc(_$hash, ticket.hashCode); + _$hash = $jc(_$hash, turnservers.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSettings') + ..add('helloAuthParams', helloAuthParams) + ..add('hideWarning', hideWarning) + ..add('server', server) + ..add('signalingMode', signalingMode) + ..add('sipDialinInfo', sipDialinInfo) + ..add('stunservers', stunservers) + ..add('ticket', ticket) + ..add('turnservers', turnservers) + ..add('userId', userId)) + .toString(); + } +} + +class SignalingSettingsBuilder + implements Builder, SignalingSettingsInterfaceBuilder { + _$SignalingSettings? _$v; + + SignalingSettings_HelloAuthParamsBuilder? _helloAuthParams; + SignalingSettings_HelloAuthParamsBuilder get helloAuthParams => + _$this._helloAuthParams ??= SignalingSettings_HelloAuthParamsBuilder(); + set helloAuthParams(covariant SignalingSettings_HelloAuthParamsBuilder? helloAuthParams) => + _$this._helloAuthParams = helloAuthParams; + + bool? _hideWarning; + bool? get hideWarning => _$this._hideWarning; + set hideWarning(covariant bool? hideWarning) => _$this._hideWarning = hideWarning; + + String? _server; + String? get server => _$this._server; + set server(covariant String? server) => _$this._server = server; + + String? _signalingMode; + String? get signalingMode => _$this._signalingMode; + set signalingMode(covariant String? signalingMode) => _$this._signalingMode = signalingMode; + + String? _sipDialinInfo; + String? get sipDialinInfo => _$this._sipDialinInfo; + set sipDialinInfo(covariant String? sipDialinInfo) => _$this._sipDialinInfo = sipDialinInfo; + + ListBuilder? _stunservers; + ListBuilder get stunservers => + _$this._stunservers ??= ListBuilder(); + set stunservers(covariant ListBuilder? stunservers) => + _$this._stunservers = stunservers; + + String? _ticket; + String? get ticket => _$this._ticket; + set ticket(covariant String? ticket) => _$this._ticket = ticket; + + ListBuilder? _turnservers; + ListBuilder get turnservers => + _$this._turnservers ??= ListBuilder(); + set turnservers(covariant ListBuilder? turnservers) => + _$this._turnservers = turnservers; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + SignalingSettingsBuilder(); + + SignalingSettingsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _helloAuthParams = $v.helloAuthParams.toBuilder(); + _hideWarning = $v.hideWarning; + _server = $v.server; + _signalingMode = $v.signalingMode; + _sipDialinInfo = $v.sipDialinInfo; + _stunservers = $v.stunservers.toBuilder(); + _ticket = $v.ticket; + _turnservers = $v.turnservers.toBuilder(); + _userId = $v.userId; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSettings other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSettings; + } + + @override + void update(void Function(SignalingSettingsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSettings build() => _build(); + + _$SignalingSettings _build() { + _$SignalingSettings _$result; + try { + _$result = _$v ?? + _$SignalingSettings._( + helloAuthParams: helloAuthParams.build(), + hideWarning: BuiltValueNullFieldError.checkNotNull(hideWarning, r'SignalingSettings', 'hideWarning'), + server: BuiltValueNullFieldError.checkNotNull(server, r'SignalingSettings', 'server'), + signalingMode: + BuiltValueNullFieldError.checkNotNull(signalingMode, r'SignalingSettings', 'signalingMode'), + sipDialinInfo: + BuiltValueNullFieldError.checkNotNull(sipDialinInfo, r'SignalingSettings', 'sipDialinInfo'), + stunservers: stunservers.build(), + ticket: BuiltValueNullFieldError.checkNotNull(ticket, r'SignalingSettings', 'ticket'), + turnservers: turnservers.build(), + userId: userId); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'helloAuthParams'; + helloAuthParams.build(); + + _$failedField = 'stunservers'; + stunservers.build(); + + _$failedField = 'turnservers'; + turnservers.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSettings', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingGetSettingsResponseApplicationJson_OcsInterfaceBuilder { + void replace(SignalingGetSettingsResponseApplicationJson_OcsInterface other); + void update(void Function(SignalingGetSettingsResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + SignalingSettingsBuilder get data; + set data(SignalingSettingsBuilder? data); +} + +class _$SignalingGetSettingsResponseApplicationJson_Ocs extends SignalingGetSettingsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final SignalingSettings data; + + factory _$SignalingGetSettingsResponseApplicationJson_Ocs( + [void Function(SignalingGetSettingsResponseApplicationJson_OcsBuilder)? updates]) => + (SignalingGetSettingsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SignalingGetSettingsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SignalingGetSettingsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SignalingGetSettingsResponseApplicationJson_Ocs', 'data'); + } + + @override + SignalingGetSettingsResponseApplicationJson_Ocs rebuild( + void Function(SignalingGetSettingsResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingGetSettingsResponseApplicationJson_OcsBuilder toBuilder() => + SignalingGetSettingsResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingGetSettingsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingGetSettingsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SignalingGetSettingsResponseApplicationJson_OcsBuilder + implements + Builder, + SignalingGetSettingsResponseApplicationJson_OcsInterfaceBuilder { + _$SignalingGetSettingsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + SignalingSettingsBuilder? _data; + SignalingSettingsBuilder get data => _$this._data ??= SignalingSettingsBuilder(); + set data(covariant SignalingSettingsBuilder? data) => _$this._data = data; + + SignalingGetSettingsResponseApplicationJson_OcsBuilder(); + + SignalingGetSettingsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingGetSettingsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingGetSettingsResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SignalingGetSettingsResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingGetSettingsResponseApplicationJson_Ocs build() => _build(); + + _$SignalingGetSettingsResponseApplicationJson_Ocs _build() { + _$SignalingGetSettingsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$SignalingGetSettingsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SignalingGetSettingsResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingGetSettingsResponseApplicationJsonInterfaceBuilder { + void replace(SignalingGetSettingsResponseApplicationJsonInterface other); + void update(void Function(SignalingGetSettingsResponseApplicationJsonInterfaceBuilder) updates); + SignalingGetSettingsResponseApplicationJson_OcsBuilder get ocs; + set ocs(SignalingGetSettingsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SignalingGetSettingsResponseApplicationJson extends SignalingGetSettingsResponseApplicationJson { + @override + final SignalingGetSettingsResponseApplicationJson_Ocs ocs; + + factory _$SignalingGetSettingsResponseApplicationJson( + [void Function(SignalingGetSettingsResponseApplicationJsonBuilder)? updates]) => + (SignalingGetSettingsResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SignalingGetSettingsResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SignalingGetSettingsResponseApplicationJson', 'ocs'); + } + + @override + SignalingGetSettingsResponseApplicationJson rebuild( + void Function(SignalingGetSettingsResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingGetSettingsResponseApplicationJsonBuilder toBuilder() => + SignalingGetSettingsResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingGetSettingsResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingGetSettingsResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class SignalingGetSettingsResponseApplicationJsonBuilder + implements + Builder, + SignalingGetSettingsResponseApplicationJsonInterfaceBuilder { + _$SignalingGetSettingsResponseApplicationJson? _$v; + + SignalingGetSettingsResponseApplicationJson_OcsBuilder? _ocs; + SignalingGetSettingsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SignalingGetSettingsResponseApplicationJson_OcsBuilder(); + set ocs(covariant SignalingGetSettingsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SignalingGetSettingsResponseApplicationJsonBuilder(); + + SignalingGetSettingsResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingGetSettingsResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingGetSettingsResponseApplicationJson; + } + + @override + void update(void Function(SignalingGetSettingsResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingGetSettingsResponseApplicationJson build() => _build(); + + _$SignalingGetSettingsResponseApplicationJson _build() { + _$SignalingGetSettingsResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SignalingGetSettingsResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingGetSettingsResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder { + void replace(SignalingGetWelcomeMessageResponseApplicationJson_OcsInterface other); + void update(void Function(SignalingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + MapBuilder get data; + set data(MapBuilder? data); +} + +class _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs + extends SignalingGetWelcomeMessageResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap data; + + factory _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs( + [void Function(SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? updates]) => + (SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SignalingGetWelcomeMessageResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SignalingGetWelcomeMessageResponseApplicationJson_Ocs', 'data'); + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson_Ocs rebuild( + void Function(SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder toBuilder() => + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingGetWelcomeMessageResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingGetWelcomeMessageResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder + implements + Builder, + SignalingGetWelcomeMessageResponseApplicationJson_OcsInterfaceBuilder { + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder? _data; + MapBuilder get data => _$this._data ??= MapBuilder(); + set data(covariant MapBuilder? data) => _$this._data = data; + + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingGetWelcomeMessageResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson_Ocs build() => _build(); + + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs _build() { + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SignalingGetWelcomeMessageResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder { + void replace(SignalingGetWelcomeMessageResponseApplicationJsonInterface other); + void update(void Function(SignalingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder) updates); + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder get ocs; + set ocs(SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SignalingGetWelcomeMessageResponseApplicationJson extends SignalingGetWelcomeMessageResponseApplicationJson { + @override + final SignalingGetWelcomeMessageResponseApplicationJson_Ocs ocs; + + factory _$SignalingGetWelcomeMessageResponseApplicationJson( + [void Function(SignalingGetWelcomeMessageResponseApplicationJsonBuilder)? updates]) => + (SignalingGetWelcomeMessageResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SignalingGetWelcomeMessageResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SignalingGetWelcomeMessageResponseApplicationJson', 'ocs'); + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson rebuild( + void Function(SignalingGetWelcomeMessageResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingGetWelcomeMessageResponseApplicationJsonBuilder toBuilder() => + SignalingGetWelcomeMessageResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingGetWelcomeMessageResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingGetWelcomeMessageResponseApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class SignalingGetWelcomeMessageResponseApplicationJsonBuilder + implements + Builder, + SignalingGetWelcomeMessageResponseApplicationJsonInterfaceBuilder { + _$SignalingGetWelcomeMessageResponseApplicationJson? _$v; + + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder? _ocs; + SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + set ocs(covariant SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SignalingGetWelcomeMessageResponseApplicationJsonBuilder(); + + SignalingGetWelcomeMessageResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingGetWelcomeMessageResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingGetWelcomeMessageResponseApplicationJson; + } + + @override + void update(void Function(SignalingGetWelcomeMessageResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingGetWelcomeMessageResponseApplicationJson build() => _build(); + + _$SignalingGetWelcomeMessageResponseApplicationJson _build() { + _$SignalingGetWelcomeMessageResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SignalingGetWelcomeMessageResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SignalingGetWelcomeMessageResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSessionInterfaceBuilder { + void replace(SignalingSessionInterface other); + void update(void Function(SignalingSessionInterfaceBuilder) updates); + int? get inCall; + set inCall(int? inCall); + + int? get lastPing; + set lastPing(int? lastPing); + + int? get participantPermissions; + set participantPermissions(int? participantPermissions); + + int? get roomId; + set roomId(int? roomId); + + String? get sessionId; + set sessionId(String? sessionId); + + String? get userId; + set userId(String? userId); +} + +class _$SignalingSession extends SignalingSession { + @override + final int inCall; + @override + final int lastPing; + @override + final int participantPermissions; + @override + final int roomId; + @override + final String sessionId; + @override + final String userId; + + factory _$SignalingSession([void Function(SignalingSessionBuilder)? updates]) => + (SignalingSessionBuilder()..update(updates))._build(); + + _$SignalingSession._( + {required this.inCall, + required this.lastPing, + required this.participantPermissions, + required this.roomId, + required this.sessionId, + required this.userId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(inCall, r'SignalingSession', 'inCall'); + BuiltValueNullFieldError.checkNotNull(lastPing, r'SignalingSession', 'lastPing'); + BuiltValueNullFieldError.checkNotNull(participantPermissions, r'SignalingSession', 'participantPermissions'); + BuiltValueNullFieldError.checkNotNull(roomId, r'SignalingSession', 'roomId'); + BuiltValueNullFieldError.checkNotNull(sessionId, r'SignalingSession', 'sessionId'); + BuiltValueNullFieldError.checkNotNull(userId, r'SignalingSession', 'userId'); + } + + @override + SignalingSession rebuild(void Function(SignalingSessionBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + SignalingSessionBuilder toBuilder() => SignalingSessionBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSession && + inCall == other.inCall && + lastPing == other.lastPing && + participantPermissions == other.participantPermissions && + roomId == other.roomId && + sessionId == other.sessionId && + userId == other.userId; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, inCall.hashCode); + _$hash = $jc(_$hash, lastPing.hashCode); + _$hash = $jc(_$hash, participantPermissions.hashCode); + _$hash = $jc(_$hash, roomId.hashCode); + _$hash = $jc(_$hash, sessionId.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSession') + ..add('inCall', inCall) + ..add('lastPing', lastPing) + ..add('participantPermissions', participantPermissions) + ..add('roomId', roomId) + ..add('sessionId', sessionId) + ..add('userId', userId)) + .toString(); + } +} + +class SignalingSessionBuilder + implements Builder, SignalingSessionInterfaceBuilder { + _$SignalingSession? _$v; + + int? _inCall; + int? get inCall => _$this._inCall; + set inCall(covariant int? inCall) => _$this._inCall = inCall; + + int? _lastPing; + int? get lastPing => _$this._lastPing; + set lastPing(covariant int? lastPing) => _$this._lastPing = lastPing; + + int? _participantPermissions; + int? get participantPermissions => _$this._participantPermissions; + set participantPermissions(covariant int? participantPermissions) => + _$this._participantPermissions = participantPermissions; + + int? _roomId; + int? get roomId => _$this._roomId; + set roomId(covariant int? roomId) => _$this._roomId = roomId; + + String? _sessionId; + String? get sessionId => _$this._sessionId; + set sessionId(covariant String? sessionId) => _$this._sessionId = sessionId; + + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; + + SignalingSessionBuilder(); + + SignalingSessionBuilder get _$this { + final $v = _$v; + if ($v != null) { + _inCall = $v.inCall; + _lastPing = $v.lastPing; + _participantPermissions = $v.participantPermissions; + _roomId = $v.roomId; + _sessionId = $v.sessionId; + _userId = $v.userId; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSession other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSession; + } + + @override + void update(void Function(SignalingSessionBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSession build() => _build(); + + _$SignalingSession _build() { + final _$result = _$v ?? + _$SignalingSession._( + inCall: BuiltValueNullFieldError.checkNotNull(inCall, r'SignalingSession', 'inCall'), + lastPing: BuiltValueNullFieldError.checkNotNull(lastPing, r'SignalingSession', 'lastPing'), + participantPermissions: BuiltValueNullFieldError.checkNotNull( + participantPermissions, r'SignalingSession', 'participantPermissions'), + roomId: BuiltValueNullFieldError.checkNotNull(roomId, r'SignalingSession', 'roomId'), + sessionId: BuiltValueNullFieldError.checkNotNull(sessionId, r'SignalingSession', 'sessionId'), + userId: BuiltValueNullFieldError.checkNotNull(userId, r'SignalingSession', 'userId')); + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingPullMessagesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(SignalingPullMessagesResponseApplicationJson_Ocs_DataInterface other); + void update(void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + String? get type; + set type(String? type); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$SignalingPullMessagesResponseApplicationJson_Ocs_Data + extends SignalingPullMessagesResponseApplicationJson_Ocs_Data { + @override + final String type; + @override + final BuiltList data; + + factory _$SignalingPullMessagesResponseApplicationJson_Ocs_Data( + [void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder)? updates]) => + (SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data._({required this.type, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'SignalingPullMessagesResponseApplicationJson_Ocs_Data', 'type'); + BuiltValueNullFieldError.checkNotNull(data, r'SignalingPullMessagesResponseApplicationJson_Ocs_Data', 'data'); + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs_Data rebuild( + void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder toBuilder() => + SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingPullMessagesResponseApplicationJson_Ocs_Data && type == other.type && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingPullMessagesResponseApplicationJson_Ocs_Data') + ..add('type', type) + ..add('data', data)) + .toString(); + } +} + +class SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + SignalingPullMessagesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder(); + + SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingPullMessagesResponseApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingPullMessagesResponseApplicationJson_Ocs_Data; + } + + @override + void update(void Function(SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs_Data build() => _build(); + + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data _build() { + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data._( + type: BuiltValueNullFieldError.checkNotNull( + type, r'SignalingPullMessagesResponseApplicationJson_Ocs_Data', 'type'), + data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SignalingPullMessagesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingPullMessagesResponseApplicationJson_OcsInterfaceBuilder { + void replace(SignalingPullMessagesResponseApplicationJson_OcsInterface other); + void update(void Function(SignalingPullMessagesResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); +} + +class _$SignalingPullMessagesResponseApplicationJson_Ocs extends SignalingPullMessagesResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltList data; + + factory _$SignalingPullMessagesResponseApplicationJson_Ocs( + [void Function(SignalingPullMessagesResponseApplicationJson_OcsBuilder)? updates]) => + (SignalingPullMessagesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SignalingPullMessagesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SignalingPullMessagesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SignalingPullMessagesResponseApplicationJson_Ocs', 'data'); + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs rebuild( + void Function(SignalingPullMessagesResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingPullMessagesResponseApplicationJson_OcsBuilder toBuilder() => + SignalingPullMessagesResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingPullMessagesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingPullMessagesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SignalingPullMessagesResponseApplicationJson_OcsBuilder + implements + Builder, + SignalingPullMessagesResponseApplicationJson_OcsInterfaceBuilder { + _$SignalingPullMessagesResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; + + SignalingPullMessagesResponseApplicationJson_OcsBuilder(); + + SignalingPullMessagesResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingPullMessagesResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingPullMessagesResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SignalingPullMessagesResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingPullMessagesResponseApplicationJson_Ocs build() => _build(); + + _$SignalingPullMessagesResponseApplicationJson_Ocs _build() { + _$SignalingPullMessagesResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$SignalingPullMessagesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'SignalingPullMessagesResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingPullMessagesResponseApplicationJsonInterfaceBuilder { + void replace(SignalingPullMessagesResponseApplicationJsonInterface other); + void update(void Function(SignalingPullMessagesResponseApplicationJsonInterfaceBuilder) updates); + SignalingPullMessagesResponseApplicationJson_OcsBuilder get ocs; + set ocs(SignalingPullMessagesResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SignalingPullMessagesResponseApplicationJson extends SignalingPullMessagesResponseApplicationJson { + @override + final SignalingPullMessagesResponseApplicationJson_Ocs ocs; + + factory _$SignalingPullMessagesResponseApplicationJson( + [void Function(SignalingPullMessagesResponseApplicationJsonBuilder)? updates]) => + (SignalingPullMessagesResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SignalingPullMessagesResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SignalingPullMessagesResponseApplicationJson', 'ocs'); + } + + @override + SignalingPullMessagesResponseApplicationJson rebuild( + void Function(SignalingPullMessagesResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingPullMessagesResponseApplicationJsonBuilder toBuilder() => + SignalingPullMessagesResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingPullMessagesResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingPullMessagesResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class SignalingPullMessagesResponseApplicationJsonBuilder + implements + Builder, + SignalingPullMessagesResponseApplicationJsonInterfaceBuilder { + _$SignalingPullMessagesResponseApplicationJson? _$v; + + SignalingPullMessagesResponseApplicationJson_OcsBuilder? _ocs; + SignalingPullMessagesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SignalingPullMessagesResponseApplicationJson_OcsBuilder(); + set ocs(covariant SignalingPullMessagesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SignalingPullMessagesResponseApplicationJsonBuilder(); + + SignalingPullMessagesResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingPullMessagesResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingPullMessagesResponseApplicationJson; + } + + @override + void update(void Function(SignalingPullMessagesResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingPullMessagesResponseApplicationJson build() => _build(); + + _$SignalingPullMessagesResponseApplicationJson _build() { + _$SignalingPullMessagesResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SignalingPullMessagesResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingPullMessagesResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSignalingResponseApplicationJson_OcsInterfaceBuilder { + void replace(SignalingSignalingResponseApplicationJson_OcsInterface other); + void update(void Function(SignalingSignalingResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$SignalingSignalingResponseApplicationJson_Ocs extends SignalingSignalingResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$SignalingSignalingResponseApplicationJson_Ocs( + [void Function(SignalingSignalingResponseApplicationJson_OcsBuilder)? updates]) => + (SignalingSignalingResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$SignalingSignalingResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'SignalingSignalingResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'SignalingSignalingResponseApplicationJson_Ocs', 'data'); + } + + @override + SignalingSignalingResponseApplicationJson_Ocs rebuild( + void Function(SignalingSignalingResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSignalingResponseApplicationJson_OcsBuilder toBuilder() => + SignalingSignalingResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSignalingResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSignalingResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class SignalingSignalingResponseApplicationJson_OcsBuilder + implements + Builder, + SignalingSignalingResponseApplicationJson_OcsInterfaceBuilder { + _$SignalingSignalingResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + SignalingSignalingResponseApplicationJson_OcsBuilder(); + + SignalingSignalingResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSignalingResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSignalingResponseApplicationJson_Ocs; + } + + @override + void update(void Function(SignalingSignalingResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSignalingResponseApplicationJson_Ocs build() => _build(); + + _$SignalingSignalingResponseApplicationJson_Ocs _build() { + _$SignalingSignalingResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$SignalingSignalingResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'SignalingSignalingResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSignalingResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class SignalingSignalingResponseApplicationJsonInterfaceBuilder { + void replace(SignalingSignalingResponseApplicationJsonInterface other); + void update(void Function(SignalingSignalingResponseApplicationJsonInterfaceBuilder) updates); + SignalingSignalingResponseApplicationJson_OcsBuilder get ocs; + set ocs(SignalingSignalingResponseApplicationJson_OcsBuilder? ocs); +} + +class _$SignalingSignalingResponseApplicationJson extends SignalingSignalingResponseApplicationJson { + @override + final SignalingSignalingResponseApplicationJson_Ocs ocs; + + factory _$SignalingSignalingResponseApplicationJson( + [void Function(SignalingSignalingResponseApplicationJsonBuilder)? updates]) => + (SignalingSignalingResponseApplicationJsonBuilder()..update(updates))._build(); + + _$SignalingSignalingResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'SignalingSignalingResponseApplicationJson', 'ocs'); + } + + @override + SignalingSignalingResponseApplicationJson rebuild( + void Function(SignalingSignalingResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SignalingSignalingResponseApplicationJsonBuilder toBuilder() => + SignalingSignalingResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SignalingSignalingResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SignalingSignalingResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class SignalingSignalingResponseApplicationJsonBuilder + implements + Builder, + SignalingSignalingResponseApplicationJsonInterfaceBuilder { + _$SignalingSignalingResponseApplicationJson? _$v; + + SignalingSignalingResponseApplicationJson_OcsBuilder? _ocs; + SignalingSignalingResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= SignalingSignalingResponseApplicationJson_OcsBuilder(); + set ocs(covariant SignalingSignalingResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + SignalingSignalingResponseApplicationJsonBuilder(); + + SignalingSignalingResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant SignalingSignalingResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SignalingSignalingResponseApplicationJson; + } + + @override + void update(void Function(SignalingSignalingResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SignalingSignalingResponseApplicationJson build() => _build(); + + _$SignalingSignalingResponseApplicationJson _build() { + _$SignalingSignalingResponseApplicationJson _$result; + try { + _$result = _$v ?? _$SignalingSignalingResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'SignalingSignalingResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class TempAvatarPostAvatarResponseApplicationJson_OcsInterfaceBuilder { + void replace(TempAvatarPostAvatarResponseApplicationJson_OcsInterface other); + void update(void Function(TempAvatarPostAvatarResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$TempAvatarPostAvatarResponseApplicationJson_Ocs extends TempAvatarPostAvatarResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$TempAvatarPostAvatarResponseApplicationJson_Ocs( + [void Function(TempAvatarPostAvatarResponseApplicationJson_OcsBuilder)? updates]) => + (TempAvatarPostAvatarResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$TempAvatarPostAvatarResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TempAvatarPostAvatarResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TempAvatarPostAvatarResponseApplicationJson_Ocs', 'data'); + } + + @override + TempAvatarPostAvatarResponseApplicationJson_Ocs rebuild( + void Function(TempAvatarPostAvatarResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder toBuilder() => + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is TempAvatarPostAvatarResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'TempAvatarPostAvatarResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class TempAvatarPostAvatarResponseApplicationJson_OcsBuilder + implements + Builder, + TempAvatarPostAvatarResponseApplicationJson_OcsInterfaceBuilder { + _$TempAvatarPostAvatarResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder(); + + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant TempAvatarPostAvatarResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$TempAvatarPostAvatarResponseApplicationJson_Ocs; + } + + @override + void update(void Function(TempAvatarPostAvatarResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + TempAvatarPostAvatarResponseApplicationJson_Ocs build() => _build(); + + _$TempAvatarPostAvatarResponseApplicationJson_Ocs _build() { + _$TempAvatarPostAvatarResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$TempAvatarPostAvatarResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'TempAvatarPostAvatarResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'TempAvatarPostAvatarResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class TempAvatarPostAvatarResponseApplicationJsonInterfaceBuilder { + void replace(TempAvatarPostAvatarResponseApplicationJsonInterface other); + void update(void Function(TempAvatarPostAvatarResponseApplicationJsonInterfaceBuilder) updates); + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder get ocs; + set ocs(TempAvatarPostAvatarResponseApplicationJson_OcsBuilder? ocs); +} + +class _$TempAvatarPostAvatarResponseApplicationJson extends TempAvatarPostAvatarResponseApplicationJson { + @override + final TempAvatarPostAvatarResponseApplicationJson_Ocs ocs; + + factory _$TempAvatarPostAvatarResponseApplicationJson( + [void Function(TempAvatarPostAvatarResponseApplicationJsonBuilder)? updates]) => + (TempAvatarPostAvatarResponseApplicationJsonBuilder()..update(updates))._build(); + + _$TempAvatarPostAvatarResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TempAvatarPostAvatarResponseApplicationJson', 'ocs'); + } + + @override + TempAvatarPostAvatarResponseApplicationJson rebuild( + void Function(TempAvatarPostAvatarResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + TempAvatarPostAvatarResponseApplicationJsonBuilder toBuilder() => + TempAvatarPostAvatarResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is TempAvatarPostAvatarResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'TempAvatarPostAvatarResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class TempAvatarPostAvatarResponseApplicationJsonBuilder + implements + Builder, + TempAvatarPostAvatarResponseApplicationJsonInterfaceBuilder { + _$TempAvatarPostAvatarResponseApplicationJson? _$v; + + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder? _ocs; + TempAvatarPostAvatarResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TempAvatarPostAvatarResponseApplicationJson_OcsBuilder(); + set ocs(covariant TempAvatarPostAvatarResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + TempAvatarPostAvatarResponseApplicationJsonBuilder(); + + TempAvatarPostAvatarResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant TempAvatarPostAvatarResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$TempAvatarPostAvatarResponseApplicationJson; + } + + @override + void update(void Function(TempAvatarPostAvatarResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + TempAvatarPostAvatarResponseApplicationJson build() => _build(); + + _$TempAvatarPostAvatarResponseApplicationJson _build() { + _$TempAvatarPostAvatarResponseApplicationJson _$result; + try { + _$result = _$v ?? _$TempAvatarPostAvatarResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'TempAvatarPostAvatarResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class TempAvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder { + void replace(TempAvatarDeleteAvatarResponseApplicationJson_OcsInterface other); + void update(void Function(TempAvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder) updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + JsonObject? get data; + set data(JsonObject? data); +} + +class _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs extends TempAvatarDeleteAvatarResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; + + factory _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs( + [void Function(TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? updates]) => + (TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder()..update(updates))._build(); + + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'TempAvatarDeleteAvatarResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'TempAvatarDeleteAvatarResponseApplicationJson_Ocs', 'data'); + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson_Ocs rebuild( + void Function(TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder toBuilder() => + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is TempAvatarDeleteAvatarResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'TempAvatarDeleteAvatarResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder + implements + Builder, + TempAvatarDeleteAvatarResponseApplicationJson_OcsInterfaceBuilder { + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; + + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(covariant TempAvatarDeleteAvatarResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs; + } + + @override + void update(void Function(TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson_Ocs build() => _build(); + + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs _build() { + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'TempAvatarDeleteAvatarResponseApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'TempAvatarDeleteAvatarResponseApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class TempAvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder { + void replace(TempAvatarDeleteAvatarResponseApplicationJsonInterface other); + void update(void Function(TempAvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder) updates); + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder get ocs; + set ocs(TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder? ocs); +} + +class _$TempAvatarDeleteAvatarResponseApplicationJson extends TempAvatarDeleteAvatarResponseApplicationJson { + @override + final TempAvatarDeleteAvatarResponseApplicationJson_Ocs ocs; + + factory _$TempAvatarDeleteAvatarResponseApplicationJson( + [void Function(TempAvatarDeleteAvatarResponseApplicationJsonBuilder)? updates]) => + (TempAvatarDeleteAvatarResponseApplicationJsonBuilder()..update(updates))._build(); + + _$TempAvatarDeleteAvatarResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'TempAvatarDeleteAvatarResponseApplicationJson', 'ocs'); + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson rebuild( + void Function(TempAvatarDeleteAvatarResponseApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + TempAvatarDeleteAvatarResponseApplicationJsonBuilder toBuilder() => + TempAvatarDeleteAvatarResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is TempAvatarDeleteAvatarResponseApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'TempAvatarDeleteAvatarResponseApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class TempAvatarDeleteAvatarResponseApplicationJsonBuilder + implements + Builder, + TempAvatarDeleteAvatarResponseApplicationJsonInterfaceBuilder { + _$TempAvatarDeleteAvatarResponseApplicationJson? _$v; + + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder? _ocs; + TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + set ocs(covariant TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + TempAvatarDeleteAvatarResponseApplicationJsonBuilder(); + + TempAvatarDeleteAvatarResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant TempAvatarDeleteAvatarResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$TempAvatarDeleteAvatarResponseApplicationJson; + } + + @override + void update(void Function(TempAvatarDeleteAvatarResponseApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + TempAvatarDeleteAvatarResponseApplicationJson build() => _build(); + + _$TempAvatarDeleteAvatarResponseApplicationJson _build() { + _$TempAvatarDeleteAvatarResponseApplicationJson _$result; + try { + _$result = _$v ?? _$TempAvatarDeleteAvatarResponseApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'TempAvatarDeleteAvatarResponseApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class BotWithDetailsAndSecret_1InterfaceBuilder { + void replace(BotWithDetailsAndSecret_1Interface other); + void update(void Function(BotWithDetailsAndSecret_1InterfaceBuilder) updates); + String? get secret; + set secret(String? secret); +} + +abstract mixin class BotWithDetailsAndSecretInterfaceBuilder + implements BotWithDetailsInterfaceBuilder, BotWithDetailsAndSecret_1InterfaceBuilder { + void replace(covariant BotWithDetailsAndSecretInterface other); + void update(void Function(BotWithDetailsAndSecretInterfaceBuilder) updates); + String? get description; + set description(covariant String? description); + + int? get id; + set id(covariant int? id); + + String? get name; + set name(covariant String? name); + + int? get state; + set state(covariant int? state); + + int? get errorCount; + set errorCount(covariant int? errorCount); + + int? get features; + set features(covariant int? features); + + int? get lastErrorDate; + set lastErrorDate(covariant int? lastErrorDate); + + String? get lastErrorMessage; + set lastErrorMessage(covariant String? lastErrorMessage); + + String? get url; + set url(covariant String? url); + + String? get urlHash; + set urlHash(covariant String? urlHash); + + String? get secret; + set secret(covariant String? secret); +} + +class _$BotWithDetailsAndSecret extends BotWithDetailsAndSecret { + @override + final String? description; + @override + final int id; + @override + final String name; + @override + final int state; + @override + final int errorCount; + @override + final int features; + @override + final int lastErrorDate; + @override + final String lastErrorMessage; + @override + final String url; + @override + final String urlHash; + @override + final String secret; + + factory _$BotWithDetailsAndSecret([void Function(BotWithDetailsAndSecretBuilder)? updates]) => + (BotWithDetailsAndSecretBuilder()..update(updates))._build(); + + _$BotWithDetailsAndSecret._( + {this.description, + required this.id, + required this.name, + required this.state, + required this.errorCount, + required this.features, + required this.lastErrorDate, + required this.lastErrorMessage, + required this.url, + required this.urlHash, + required this.secret}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'BotWithDetailsAndSecret', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'BotWithDetailsAndSecret', 'name'); + BuiltValueNullFieldError.checkNotNull(state, r'BotWithDetailsAndSecret', 'state'); + BuiltValueNullFieldError.checkNotNull(errorCount, r'BotWithDetailsAndSecret', 'errorCount'); + BuiltValueNullFieldError.checkNotNull(features, r'BotWithDetailsAndSecret', 'features'); + BuiltValueNullFieldError.checkNotNull(lastErrorDate, r'BotWithDetailsAndSecret', 'lastErrorDate'); + BuiltValueNullFieldError.checkNotNull(lastErrorMessage, r'BotWithDetailsAndSecret', 'lastErrorMessage'); + BuiltValueNullFieldError.checkNotNull(url, r'BotWithDetailsAndSecret', 'url'); + BuiltValueNullFieldError.checkNotNull(urlHash, r'BotWithDetailsAndSecret', 'urlHash'); + BuiltValueNullFieldError.checkNotNull(secret, r'BotWithDetailsAndSecret', 'secret'); + } + + @override + BotWithDetailsAndSecret rebuild(void Function(BotWithDetailsAndSecretBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + BotWithDetailsAndSecretBuilder toBuilder() => BotWithDetailsAndSecretBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is BotWithDetailsAndSecret && + description == other.description && + id == other.id && + name == other.name && + state == other.state && + errorCount == other.errorCount && + features == other.features && + lastErrorDate == other.lastErrorDate && + lastErrorMessage == other.lastErrorMessage && + url == other.url && + urlHash == other.urlHash && + secret == other.secret; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, state.hashCode); + _$hash = $jc(_$hash, errorCount.hashCode); + _$hash = $jc(_$hash, features.hashCode); + _$hash = $jc(_$hash, lastErrorDate.hashCode); + _$hash = $jc(_$hash, lastErrorMessage.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, urlHash.hashCode); + _$hash = $jc(_$hash, secret.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'BotWithDetailsAndSecret') + ..add('description', description) + ..add('id', id) + ..add('name', name) + ..add('state', state) + ..add('errorCount', errorCount) + ..add('features', features) + ..add('lastErrorDate', lastErrorDate) + ..add('lastErrorMessage', lastErrorMessage) + ..add('url', url) + ..add('urlHash', urlHash) + ..add('secret', secret)) + .toString(); + } +} + +class BotWithDetailsAndSecretBuilder + implements + Builder, + BotWithDetailsAndSecretInterfaceBuilder { + _$BotWithDetailsAndSecret? _$v; + + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + int? _state; + int? get state => _$this._state; + set state(covariant int? state) => _$this._state = state; + + int? _errorCount; + int? get errorCount => _$this._errorCount; + set errorCount(covariant int? errorCount) => _$this._errorCount = errorCount; + + int? _features; + int? get features => _$this._features; + set features(covariant int? features) => _$this._features = features; + + int? _lastErrorDate; + int? get lastErrorDate => _$this._lastErrorDate; + set lastErrorDate(covariant int? lastErrorDate) => _$this._lastErrorDate = lastErrorDate; + + String? _lastErrorMessage; + String? get lastErrorMessage => _$this._lastErrorMessage; + set lastErrorMessage(covariant String? lastErrorMessage) => _$this._lastErrorMessage = lastErrorMessage; + + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; + + String? _urlHash; + String? get urlHash => _$this._urlHash; + set urlHash(covariant String? urlHash) => _$this._urlHash = urlHash; + + String? _secret; + String? get secret => _$this._secret; + set secret(covariant String? secret) => _$this._secret = secret; + + BotWithDetailsAndSecretBuilder(); + + BotWithDetailsAndSecretBuilder get _$this { + final $v = _$v; + if ($v != null) { + _description = $v.description; + _id = $v.id; + _name = $v.name; + _state = $v.state; + _errorCount = $v.errorCount; + _features = $v.features; + _lastErrorDate = $v.lastErrorDate; + _lastErrorMessage = $v.lastErrorMessage; + _url = $v.url; + _urlHash = $v.urlHash; + _secret = $v.secret; + _$v = null; + } + return this; + } + + @override + void replace(covariant BotWithDetailsAndSecret other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$BotWithDetailsAndSecret; + } + + @override + void update(void Function(BotWithDetailsAndSecretBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + BotWithDetailsAndSecret build() => _build(); + + _$BotWithDetailsAndSecret _build() { + final _$result = _$v ?? + _$BotWithDetailsAndSecret._( + description: description, + id: BuiltValueNullFieldError.checkNotNull(id, r'BotWithDetailsAndSecret', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'BotWithDetailsAndSecret', 'name'), + state: BuiltValueNullFieldError.checkNotNull(state, r'BotWithDetailsAndSecret', 'state'), + errorCount: BuiltValueNullFieldError.checkNotNull(errorCount, r'BotWithDetailsAndSecret', 'errorCount'), + features: BuiltValueNullFieldError.checkNotNull(features, r'BotWithDetailsAndSecret', 'features'), + lastErrorDate: + BuiltValueNullFieldError.checkNotNull(lastErrorDate, r'BotWithDetailsAndSecret', 'lastErrorDate'), + lastErrorMessage: + BuiltValueNullFieldError.checkNotNull(lastErrorMessage, r'BotWithDetailsAndSecret', 'lastErrorMessage'), + url: BuiltValueNullFieldError.checkNotNull(url, r'BotWithDetailsAndSecret', 'url'), + urlHash: BuiltValueNullFieldError.checkNotNull(urlHash, r'BotWithDetailsAndSecret', 'urlHash'), + secret: BuiltValueNullFieldError.checkNotNull(secret, r'BotWithDetailsAndSecret', 'secret')); + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { + void replace(PublicCapabilities_Spreed_Config_AttachmentsInterface other); + void update(void Function(PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder) updates); + bool? get allowed; + set allowed(bool? allowed); + + String? get folder; + set folder(String? folder); +} + +class _$PublicCapabilities_Spreed_Config_Attachments extends PublicCapabilities_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(); + + _$PublicCapabilities_Spreed_Config_Attachments._({required this.allowed, this.folder}) : super._() { + BuiltValueNullFieldError.checkNotNull(allowed, r'PublicCapabilities_Spreed_Config_Attachments', 'allowed'); + } + + @override + PublicCapabilities_Spreed_Config_Attachments rebuild( + void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_AttachmentsBuilder toBuilder() => + PublicCapabilities_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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, allowed.hashCode); + _$hash = $jc(_$hash, folder.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Attachments') + ..add('allowed', allowed) + ..add('folder', folder)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_AttachmentsBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_AttachmentsInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Attachments? _$v; + + bool? _allowed; + bool? get allowed => _$this._allowed; + set allowed(covariant bool? allowed) => _$this._allowed = allowed; + + String? _folder; + String? get folder => _$this._folder; + set folder(covariant String? folder) => _$this._folder = folder; + + PublicCapabilities_Spreed_Config_AttachmentsBuilder(); + + PublicCapabilities_Spreed_Config_AttachmentsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _allowed = $v.allowed; + _folder = $v.folder; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Attachments other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Attachments; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_AttachmentsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Attachments build() => _build(); + + _$PublicCapabilities_Spreed_Config_Attachments _build() { + final _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Attachments._( + allowed: BuiltValueNullFieldError.checkNotNull( + allowed, r'PublicCapabilities_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); + bool? get enabled; + set enabled(bool? enabled); + + bool? get breakoutRooms; + set breakoutRooms(bool? breakoutRooms); + + bool? get recording; + set recording(bool? recording); + + int? get recordingConsent; + set recordingConsent(int? recordingConsent); + + ListBuilder get supportedReactions; + set supportedReactions(ListBuilder? supportedReactions); + + ListBuilder get predefinedBackgrounds; + set predefinedBackgrounds(ListBuilder? predefinedBackgrounds); + + bool? get canUploadBackground; + set canUploadBackground(bool? canUploadBackground); +} + +class _$PublicCapabilities_Spreed_Config_Call extends PublicCapabilities_Spreed_Config_Call { + @override + final bool enabled; + @override + final bool breakoutRooms; + @override + final bool recording; + @override + final int recordingConsent; + @override + final BuiltList supportedReactions; + @override + final BuiltList predefinedBackgrounds; + @override + final bool canUploadBackground; + + factory _$PublicCapabilities_Spreed_Config_Call( + [void Function(PublicCapabilities_Spreed_Config_CallBuilder)? updates]) => + (PublicCapabilities_Spreed_Config_CallBuilder()..update(updates))._build(); + + _$PublicCapabilities_Spreed_Config_Call._( + {required this.enabled, + required this.breakoutRooms, + required this.recording, + required this.recordingConsent, + required this.supportedReactions, + required this.predefinedBackgrounds, + required this.canUploadBackground}) + : 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( + recordingConsent, r'PublicCapabilities_Spreed_Config_Call', 'recordingConsent'); + BuiltValueNullFieldError.checkNotNull( + supportedReactions, r'PublicCapabilities_Spreed_Config_Call', 'supportedReactions'); + BuiltValueNullFieldError.checkNotNull( + predefinedBackgrounds, r'PublicCapabilities_Spreed_Config_Call', 'predefinedBackgrounds'); + BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'PublicCapabilities_Spreed_Config_Call', 'canUploadBackground'); + } + + @override + PublicCapabilities_Spreed_Config_Call rebuild(void Function(PublicCapabilities_Spreed_Config_CallBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_CallBuilder toBuilder() => + PublicCapabilities_Spreed_Config_CallBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities_Spreed_Config_Call && + enabled == other.enabled && + breakoutRooms == other.breakoutRooms && + recording == other.recording && + recordingConsent == other.recordingConsent && + supportedReactions == other.supportedReactions && + predefinedBackgrounds == other.predefinedBackgrounds && + canUploadBackground == other.canUploadBackground; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, breakoutRooms.hashCode); + _$hash = $jc(_$hash, recording.hashCode); + _$hash = $jc(_$hash, recordingConsent.hashCode); + _$hash = $jc(_$hash, supportedReactions.hashCode); + _$hash = $jc(_$hash, predefinedBackgrounds.hashCode); + _$hash = $jc(_$hash, canUploadBackground.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Call') + ..add('enabled', enabled) + ..add('breakoutRooms', breakoutRooms) + ..add('recording', recording) + ..add('recordingConsent', recordingConsent) + ..add('supportedReactions', supportedReactions) + ..add('predefinedBackgrounds', predefinedBackgrounds) + ..add('canUploadBackground', canUploadBackground)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_CallBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_CallInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Call? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; + + bool? _breakoutRooms; + bool? get breakoutRooms => _$this._breakoutRooms; + set breakoutRooms(covariant bool? breakoutRooms) => _$this._breakoutRooms = breakoutRooms; + + bool? _recording; + bool? get recording => _$this._recording; + set recording(covariant bool? recording) => _$this._recording = recording; + + int? _recordingConsent; + int? get recordingConsent => _$this._recordingConsent; + set recordingConsent(covariant int? recordingConsent) => _$this._recordingConsent = recordingConsent; + + ListBuilder? _supportedReactions; + ListBuilder get supportedReactions => _$this._supportedReactions ??= ListBuilder(); + set supportedReactions(covariant ListBuilder? supportedReactions) => + _$this._supportedReactions = supportedReactions; + + ListBuilder? _predefinedBackgrounds; + ListBuilder get predefinedBackgrounds => _$this._predefinedBackgrounds ??= ListBuilder(); + set predefinedBackgrounds(covariant ListBuilder? predefinedBackgrounds) => + _$this._predefinedBackgrounds = predefinedBackgrounds; + + bool? _canUploadBackground; + bool? get canUploadBackground => _$this._canUploadBackground; + set canUploadBackground(covariant bool? canUploadBackground) => _$this._canUploadBackground = canUploadBackground; + + PublicCapabilities_Spreed_Config_CallBuilder(); + + PublicCapabilities_Spreed_Config_CallBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _breakoutRooms = $v.breakoutRooms; + _recording = $v.recording; + _recordingConsent = $v.recordingConsent; + _supportedReactions = $v.supportedReactions.toBuilder(); + _predefinedBackgrounds = $v.predefinedBackgrounds.toBuilder(); + _canUploadBackground = $v.canUploadBackground; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Call other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Call; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_CallBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Call build() => _build(); + + _$PublicCapabilities_Spreed_Config_Call _build() { + _$PublicCapabilities_Spreed_Config_Call _$result; + try { + _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Call._( + enabled: + BuiltValueNullFieldError.checkNotNull(enabled, r'PublicCapabilities_Spreed_Config_Call', 'enabled'), + breakoutRooms: BuiltValueNullFieldError.checkNotNull( + breakoutRooms, r'PublicCapabilities_Spreed_Config_Call', 'breakoutRooms'), + recording: BuiltValueNullFieldError.checkNotNull( + recording, r'PublicCapabilities_Spreed_Config_Call', 'recording'), + recordingConsent: BuiltValueNullFieldError.checkNotNull( + recordingConsent, r'PublicCapabilities_Spreed_Config_Call', 'recordingConsent'), + supportedReactions: supportedReactions.build(), + predefinedBackgrounds: predefinedBackgrounds.build(), + canUploadBackground: BuiltValueNullFieldError.checkNotNull( + canUploadBackground, r'PublicCapabilities_Spreed_Config_Call', 'canUploadBackground')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'supportedReactions'; + supportedReactions.build(); + _$failedField = 'predefinedBackgrounds'; + predefinedBackgrounds.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed_Config_Call', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilities_Spreed_Config_ChatInterfaceBuilder { + void replace(PublicCapabilities_Spreed_Config_ChatInterface other); + void update(void Function(PublicCapabilities_Spreed_Config_ChatInterfaceBuilder) updates); + int? get maxLength; + set maxLength(int? maxLength); + + int? get readPrivacy; + set readPrivacy(int? readPrivacy); + + bool? get hasTranslationProviders; + set hasTranslationProviders(bool? hasTranslationProviders); + + int? get typingPrivacy; + set typingPrivacy(int? typingPrivacy); +} + +class _$PublicCapabilities_Spreed_Config_Chat extends PublicCapabilities_Spreed_Config_Chat { + @override + final int maxLength; + @override + final int readPrivacy; + @override + final bool hasTranslationProviders; + @override + final int typingPrivacy; + + factory _$PublicCapabilities_Spreed_Config_Chat( + [void Function(PublicCapabilities_Spreed_Config_ChatBuilder)? updates]) => + (PublicCapabilities_Spreed_Config_ChatBuilder()..update(updates))._build(); + + _$PublicCapabilities_Spreed_Config_Chat._( + {required this.maxLength, + required this.readPrivacy, + required this.hasTranslationProviders, + required this.typingPrivacy}) + : super._() { + BuiltValueNullFieldError.checkNotNull(maxLength, r'PublicCapabilities_Spreed_Config_Chat', 'maxLength'); + BuiltValueNullFieldError.checkNotNull(readPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'readPrivacy'); + BuiltValueNullFieldError.checkNotNull( + hasTranslationProviders, r'PublicCapabilities_Spreed_Config_Chat', 'hasTranslationProviders'); + BuiltValueNullFieldError.checkNotNull(typingPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'typingPrivacy'); + } + + @override + PublicCapabilities_Spreed_Config_Chat rebuild(void Function(PublicCapabilities_Spreed_Config_ChatBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_ChatBuilder toBuilder() => + PublicCapabilities_Spreed_Config_ChatBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities_Spreed_Config_Chat && + maxLength == other.maxLength && + readPrivacy == other.readPrivacy && + hasTranslationProviders == other.hasTranslationProviders && + typingPrivacy == other.typingPrivacy; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, maxLength.hashCode); + _$hash = $jc(_$hash, readPrivacy.hashCode); + _$hash = $jc(_$hash, hasTranslationProviders.hashCode); + _$hash = $jc(_$hash, typingPrivacy.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Chat') + ..add('maxLength', maxLength) + ..add('readPrivacy', readPrivacy) + ..add('hasTranslationProviders', hasTranslationProviders) + ..add('typingPrivacy', typingPrivacy)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_ChatBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_ChatInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Chat? _$v; + + int? _maxLength; + int? get maxLength => _$this._maxLength; + set maxLength(covariant int? maxLength) => _$this._maxLength = maxLength; + + int? _readPrivacy; + int? get readPrivacy => _$this._readPrivacy; + set readPrivacy(covariant int? readPrivacy) => _$this._readPrivacy = readPrivacy; + + bool? _hasTranslationProviders; + bool? get hasTranslationProviders => _$this._hasTranslationProviders; + set hasTranslationProviders(covariant bool? hasTranslationProviders) => + _$this._hasTranslationProviders = hasTranslationProviders; + + int? _typingPrivacy; + int? get typingPrivacy => _$this._typingPrivacy; + set typingPrivacy(covariant int? typingPrivacy) => _$this._typingPrivacy = typingPrivacy; + + PublicCapabilities_Spreed_Config_ChatBuilder(); + + PublicCapabilities_Spreed_Config_ChatBuilder get _$this { + final $v = _$v; + if ($v != null) { + _maxLength = $v.maxLength; + _readPrivacy = $v.readPrivacy; + _hasTranslationProviders = $v.hasTranslationProviders; + _typingPrivacy = $v.typingPrivacy; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Chat other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Chat; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_ChatBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Chat build() => _build(); + + _$PublicCapabilities_Spreed_Config_Chat _build() { + final _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Chat._( + maxLength: + BuiltValueNullFieldError.checkNotNull(maxLength, r'PublicCapabilities_Spreed_Config_Chat', 'maxLength'), + readPrivacy: BuiltValueNullFieldError.checkNotNull( + readPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'readPrivacy'), + hasTranslationProviders: BuiltValueNullFieldError.checkNotNull( + hasTranslationProviders, r'PublicCapabilities_Spreed_Config_Chat', 'hasTranslationProviders'), + typingPrivacy: BuiltValueNullFieldError.checkNotNull( + typingPrivacy, r'PublicCapabilities_Spreed_Config_Chat', 'typingPrivacy')); + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { + void replace(PublicCapabilities_Spreed_Config_ConversationsInterface other); + void update(void Function(PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder) updates); + bool? get canCreate; + set canCreate(bool? canCreate); +} + +class _$PublicCapabilities_Spreed_Config_Conversations extends PublicCapabilities_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(); + + _$PublicCapabilities_Spreed_Config_Conversations._({required this.canCreate}) : super._() { + BuiltValueNullFieldError.checkNotNull(canCreate, r'PublicCapabilities_Spreed_Config_Conversations', 'canCreate'); + } + + @override + PublicCapabilities_Spreed_Config_Conversations rebuild( + void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_ConversationsBuilder toBuilder() => + PublicCapabilities_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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, canCreate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Conversations')..add('canCreate', canCreate)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_ConversationsBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_ConversationsInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Conversations? _$v; + + bool? _canCreate; + bool? get canCreate => _$this._canCreate; + set canCreate(covariant bool? canCreate) => _$this._canCreate = canCreate; + + PublicCapabilities_Spreed_Config_ConversationsBuilder(); + + PublicCapabilities_Spreed_Config_ConversationsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _canCreate = $v.canCreate; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Conversations other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Conversations; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_ConversationsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Conversations build() => _build(); + + _$PublicCapabilities_Spreed_Config_Conversations _build() { + final _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Conversations._( + canCreate: BuiltValueNullFieldError.checkNotNull( + canCreate, r'PublicCapabilities_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); + int? get maxGifSize; + set maxGifSize(int? maxGifSize); +} + +class _$PublicCapabilities_Spreed_Config_Previews extends PublicCapabilities_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(); + + _$PublicCapabilities_Spreed_Config_Previews._({required this.maxGifSize}) : super._() { + BuiltValueNullFieldError.checkNotNull(maxGifSize, r'PublicCapabilities_Spreed_Config_Previews', 'maxGifSize'); + } + + @override + PublicCapabilities_Spreed_Config_Previews rebuild( + void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_PreviewsBuilder toBuilder() => + PublicCapabilities_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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, maxGifSize.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Previews')..add('maxGifSize', maxGifSize)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_PreviewsBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_PreviewsInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Previews? _$v; + + int? _maxGifSize; + int? get maxGifSize => _$this._maxGifSize; + set maxGifSize(covariant int? maxGifSize) => _$this._maxGifSize = maxGifSize; + + PublicCapabilities_Spreed_Config_PreviewsBuilder(); + + PublicCapabilities_Spreed_Config_PreviewsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _maxGifSize = $v.maxGifSize; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Previews other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Previews; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_PreviewsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Previews build() => _build(); + + _$PublicCapabilities_Spreed_Config_Previews _build() { + final _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Previews._( + maxGifSize: BuiltValueNullFieldError.checkNotNull( + maxGifSize, r'PublicCapabilities_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); + int? get sessionPingLimit; + set sessionPingLimit(int? sessionPingLimit); + + String? get helloV2TokenKey; + set helloV2TokenKey(String? helloV2TokenKey); +} + +class _$PublicCapabilities_Spreed_Config_Signaling extends PublicCapabilities_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(); + + _$PublicCapabilities_Spreed_Config_Signaling._({required this.sessionPingLimit, this.helloV2TokenKey}) : super._() { + BuiltValueNullFieldError.checkNotNull( + sessionPingLimit, r'PublicCapabilities_Spreed_Config_Signaling', 'sessionPingLimit'); + } + + @override + PublicCapabilities_Spreed_Config_Signaling rebuild( + void Function(PublicCapabilities_Spreed_Config_SignalingBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_Config_SignalingBuilder toBuilder() => + PublicCapabilities_Spreed_Config_SignalingBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities_Spreed_Config_Signaling && + sessionPingLimit == other.sessionPingLimit && + helloV2TokenKey == other.helloV2TokenKey; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, sessionPingLimit.hashCode); + _$hash = $jc(_$hash, helloV2TokenKey.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config_Signaling') + ..add('sessionPingLimit', sessionPingLimit) + ..add('helloV2TokenKey', helloV2TokenKey)) + .toString(); + } +} + +class PublicCapabilities_Spreed_Config_SignalingBuilder + implements + Builder, + PublicCapabilities_Spreed_Config_SignalingInterfaceBuilder { + _$PublicCapabilities_Spreed_Config_Signaling? _$v; + + int? _sessionPingLimit; + int? get sessionPingLimit => _$this._sessionPingLimit; + set sessionPingLimit(covariant int? sessionPingLimit) => _$this._sessionPingLimit = sessionPingLimit; + + String? _helloV2TokenKey; + String? get helloV2TokenKey => _$this._helloV2TokenKey; + set helloV2TokenKey(covariant String? helloV2TokenKey) => _$this._helloV2TokenKey = helloV2TokenKey; + + PublicCapabilities_Spreed_Config_SignalingBuilder(); + + PublicCapabilities_Spreed_Config_SignalingBuilder get _$this { + final $v = _$v; + if ($v != null) { + _sessionPingLimit = $v.sessionPingLimit; + _helloV2TokenKey = $v.helloV2TokenKey; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config_Signaling other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config_Signaling; + } + + @override + void update(void Function(PublicCapabilities_Spreed_Config_SignalingBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config_Signaling build() => _build(); + + _$PublicCapabilities_Spreed_Config_Signaling _build() { + final _$result = _$v ?? + _$PublicCapabilities_Spreed_Config_Signaling._( + sessionPingLimit: BuiltValueNullFieldError.checkNotNull( + sessionPingLimit, r'PublicCapabilities_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); + + PublicCapabilities_Spreed_Config_CallBuilder get call; + set call(PublicCapabilities_Spreed_Config_CallBuilder? call); + + PublicCapabilities_Spreed_Config_ChatBuilder get chat; + set chat(PublicCapabilities_Spreed_Config_ChatBuilder? chat); + + PublicCapabilities_Spreed_Config_ConversationsBuilder get conversations; + set conversations(PublicCapabilities_Spreed_Config_ConversationsBuilder? conversations); + + PublicCapabilities_Spreed_Config_PreviewsBuilder get previews; + set previews(PublicCapabilities_Spreed_Config_PreviewsBuilder? previews); + + PublicCapabilities_Spreed_Config_SignalingBuilder get signaling; + set signaling(PublicCapabilities_Spreed_Config_SignalingBuilder? signaling); +} + +class _$PublicCapabilities_Spreed_Config extends PublicCapabilities_Spreed_Config { + @override + final PublicCapabilities_Spreed_Config_Attachments attachments; + @override + final PublicCapabilities_Spreed_Config_Call call; + @override + final PublicCapabilities_Spreed_Config_Chat chat; + @override + final PublicCapabilities_Spreed_Config_Conversations conversations; + @override + final PublicCapabilities_Spreed_Config_Previews previews; + @override + final PublicCapabilities_Spreed_Config_Signaling signaling; + + factory _$PublicCapabilities_Spreed_Config([void Function(PublicCapabilities_Spreed_ConfigBuilder)? updates]) => + (PublicCapabilities_Spreed_ConfigBuilder()..update(updates))._build(); + + _$PublicCapabilities_Spreed_Config._( + {required this.attachments, + required this.call, + required this.chat, + required this.conversations, + required this.previews, + required this.signaling}) + : super._() { + BuiltValueNullFieldError.checkNotNull(attachments, r'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'); + } + + @override + PublicCapabilities_Spreed_Config rebuild(void Function(PublicCapabilities_Spreed_ConfigBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_Spreed_ConfigBuilder toBuilder() => PublicCapabilities_Spreed_ConfigBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities_Spreed_Config && + attachments == other.attachments && + call == other.call && + chat == other.chat && + conversations == other.conversations && + previews == other.previews && + signaling == other.signaling; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, attachments.hashCode); + _$hash = $jc(_$hash, call.hashCode); + _$hash = $jc(_$hash, chat.hashCode); + _$hash = $jc(_$hash, conversations.hashCode); + _$hash = $jc(_$hash, previews.hashCode); + _$hash = $jc(_$hash, signaling.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed_Config') + ..add('attachments', attachments) + ..add('call', call) + ..add('chat', chat) + ..add('conversations', conversations) + ..add('previews', previews) + ..add('signaling', signaling)) + .toString(); + } +} + +class PublicCapabilities_Spreed_ConfigBuilder + implements + Builder, + PublicCapabilities_Spreed_ConfigInterfaceBuilder { + _$PublicCapabilities_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) => + _$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; + + 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; + + 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) => + _$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; + + 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) => + _$this._signaling = signaling; + + PublicCapabilities_Spreed_ConfigBuilder(); + + PublicCapabilities_Spreed_ConfigBuilder get _$this { + final $v = _$v; + if ($v != null) { + _attachments = $v.attachments.toBuilder(); + _call = $v.call.toBuilder(); + _chat = $v.chat.toBuilder(); + _conversations = $v.conversations.toBuilder(); + _previews = $v.previews.toBuilder(); + _signaling = $v.signaling.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed_Config other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed_Config; + } + + @override + void update(void Function(PublicCapabilities_Spreed_ConfigBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed_Config build() => _build(); + + _$PublicCapabilities_Spreed_Config _build() { + _$PublicCapabilities_Spreed_Config _$result; + try { + _$result = _$v ?? + _$PublicCapabilities_Spreed_Config._( + attachments: attachments.build(), + call: call.build(), + chat: chat.build(), + conversations: conversations.build(), + previews: previews.build(), + signaling: signaling.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'attachments'; + attachments.build(); + _$failedField = 'call'; + call.build(); + _$failedField = 'chat'; + chat.build(); + _$failedField = 'conversations'; + conversations.build(); + _$failedField = 'previews'; + previews.build(); + _$failedField = 'signaling'; + signaling.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed_Config', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilities_SpreedInterfaceBuilder { + void replace(PublicCapabilities_SpreedInterface other); + void update(void Function(PublicCapabilities_SpreedInterfaceBuilder) updates); + ListBuilder get features; + set features(ListBuilder? features); + + PublicCapabilities_Spreed_ConfigBuilder get config; + set config(PublicCapabilities_Spreed_ConfigBuilder? config); + + String? get version; + set version(String? version); +} + +class _$PublicCapabilities_Spreed extends PublicCapabilities_Spreed { + @override + final BuiltList features; + @override + final PublicCapabilities_Spreed_Config config; + @override + final String version; + + factory _$PublicCapabilities_Spreed([void Function(PublicCapabilities_SpreedBuilder)? updates]) => + (PublicCapabilities_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'); + } + + @override + PublicCapabilities_Spreed rebuild(void Function(PublicCapabilities_SpreedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilities_SpreedBuilder toBuilder() => PublicCapabilities_SpreedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities_Spreed && + features == other.features && + config == other.config && + version == other.version; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, features.hashCode); + _$hash = $jc(_$hash, config.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'PublicCapabilities_Spreed') + ..add('features', features) + ..add('config', config) + ..add('version', version)) + .toString(); + } +} + +class PublicCapabilities_SpreedBuilder + implements + Builder, + PublicCapabilities_SpreedInterfaceBuilder { + _$PublicCapabilities_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; + + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + PublicCapabilities_SpreedBuilder(); + + PublicCapabilities_SpreedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _features = $v.features.toBuilder(); + _config = $v.config.toBuilder(); + _version = $v.version; + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities_Spreed other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities_Spreed; + } + + @override + void update(void Function(PublicCapabilities_SpreedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities_Spreed build() => _build(); + + _$PublicCapabilities_Spreed _build() { + _$PublicCapabilities_Spreed _$result; + try { + _$result = _$v ?? + _$PublicCapabilities_Spreed._( + features: features.build(), + config: config.build(), + version: BuiltValueNullFieldError.checkNotNull(version, r'PublicCapabilities_Spreed', 'version')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'features'; + features.build(); + _$failedField = 'config'; + config.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PublicCapabilities_Spreed', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class PublicCapabilitiesInterfaceBuilder { + void replace(PublicCapabilitiesInterface other); + void update(void Function(PublicCapabilitiesInterfaceBuilder) updates); + PublicCapabilities_SpreedBuilder get spreed; + set spreed(PublicCapabilities_SpreedBuilder? spreed); +} + +class _$PublicCapabilities extends PublicCapabilities { + @override + final PublicCapabilities_Spreed spreed; + + factory _$PublicCapabilities([void Function(PublicCapabilitiesBuilder)? updates]) => + (PublicCapabilitiesBuilder()..update(updates))._build(); + + _$PublicCapabilities._({required this.spreed}) : super._() { + BuiltValueNullFieldError.checkNotNull(spreed, r'PublicCapabilities', 'spreed'); + } + + @override + PublicCapabilities rebuild(void Function(PublicCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + PublicCapabilitiesBuilder toBuilder() => PublicCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is PublicCapabilities && 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'PublicCapabilities')..add('spreed', spreed)).toString(); + } +} + +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; + + PublicCapabilitiesBuilder(); + + PublicCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _spreed = $v.spreed.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant PublicCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$PublicCapabilities; + } + + @override + void update(void Function(PublicCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + PublicCapabilities build() => _build(); + + _$PublicCapabilities _build() { + _$PublicCapabilities _$result; + try { + _$result = _$v ?? _$PublicCapabilities._(spreed: spreed.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'spreed'; + spreed.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'PublicCapabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.json b/packages/nextcloud/lib/src/api/spreed.openapi.json new file mode 100644 index 00000000000..7f37a080532 --- /dev/null +++ b/packages/nextcloud/lib/src/api/spreed.openapi.json @@ -0,0 +1,16517 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "spreed", + "version": "0.0.1", + "description": "Chat, video & audio-conferencing using WebRTC", + "license": { + "name": "agpl", + "identifier": "AGPL-3.0-only" + } + }, + "components": { + "securitySchemes": { + "basic_auth": { + "type": "http", + "scheme": "basic" + }, + "bearer_auth": { + "type": "http", + "scheme": "bearer" + } + }, + "schemas": { + "Bot": { + "type": "object", + "required": [ + "description", + "id", + "name", + "state" + ], + "properties": { + "description": { + "type": "string", + "nullable": true + }, + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "state": { + "type": "integer", + "format": "int64" + } + } + }, + "BotWithDetails": { + "allOf": [ + { + "$ref": "#/components/schemas/Bot" + }, + { + "type": "object", + "required": [ + "error_count", + "features", + "last_error_date", + "last_error_message", + "url", + "url_hash" + ], + "properties": { + "error_count": { + "type": "integer", + "format": "int64" + }, + "features": { + "type": "integer", + "format": "int64" + }, + "last_error_date": { + "type": "integer", + "format": "int64" + }, + "last_error_message": { + "type": "string" + }, + "url": { + "type": "string" + }, + "url_hash": { + "type": "string" + } + } + } + ] + }, + "BotWithDetailsAndSecret": { + "allOf": [ + { + "$ref": "#/components/schemas/BotWithDetails" + }, + { + "type": "object", + "required": [ + "secret" + ], + "properties": { + "secret": { + "type": "string" + } + } + } + ] + }, + "CallPeer": { + "type": "object", + "required": [ + "actorId", + "actorType", + "displayName", + "lastPing", + "sessionId", + "token" + ], + "properties": { + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "lastPing": { + "type": "integer", + "format": "int64" + }, + "sessionId": { + "type": "string" + }, + "token": { + "type": "string" + } + } + }, + "ChatMentionSuggestion": { + "type": "object", + "required": [ + "id", + "label", + "source", + "status", + "statusClearAt", + "statusIcon", + "statusMessage" + ], + "properties": { + "id": { + "type": "string" + }, + "label": { + "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "type": "string", + "nullable": true + }, + "statusClearAt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "statusIcon": { + "type": "string", + "nullable": true + }, + "statusMessage": { + "type": "string", + "nullable": true + } + } + }, + "ChatMessage": { + "type": "object", + "required": [ + "actorDisplayName", + "actorId", + "actorType", + "expirationTimestamp", + "id", + "isReplyable", + "markdown", + "message", + "messageParameters", + "messageType", + "reactions", + "referenceId", + "systemMessage", + "timestamp", + "token" + ], + "properties": { + "actorDisplayName": { + "type": "string" + }, + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "expirationTimestamp": { + "type": "integer", + "format": "int64" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "isReplyable": { + "type": "boolean" + }, + "markdown": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "messageParameters": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "messageType": { + "type": "string" + }, + "reactions": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + }, + "referenceId": { + "type": "string" + }, + "systemMessage": { + "type": "string" + }, + "timestamp": { + "type": "integer", + "format": "int64" + }, + "token": { + "type": "string" + } + } + }, + "ChatMessageWithParent": { + "allOf": [ + { + "$ref": "#/components/schemas/ChatMessage" + }, + { + "type": "object", + "properties": { + "parent": { + "$ref": "#/components/schemas/ChatMessage" + } + } + } + ] + }, + "ChatReminder": { + "type": "object", + "required": [ + "messageId", + "timestamp", + "token", + "userId" + ], + "properties": { + "messageId": { + "type": "integer", + "format": "int64" + }, + "timestamp": { + "type": "integer", + "format": "int64" + }, + "token": { + "type": "string" + }, + "userId": { + "type": "string" + } + } + }, + "FederationInvite": { + "type": "object", + "required": [ + "access_token", + "id", + "remote_id", + "remote_server", + "remote_token", + "room_id", + "user_id" + ], + "properties": { + "access_token": { + "type": "string" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "remote_id": { + "type": "string" + }, + "remote_server": { + "type": "string" + }, + "remote_token": { + "type": "string" + }, + "room_id": { + "type": "integer", + "format": "int64" + }, + "user_id": { + "type": "string" + } + } + }, + "Matterbridge": { + "type": "object", + "required": [ + "enabled", + "parts", + "pid" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "parts": { + "$ref": "#/components/schemas/MatterbridgeConfigFields" + }, + "pid": { + "type": "integer", + "format": "int64" + } + } + }, + "MatterbridgeConfigFields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "MatterbridgeProcessState": { + "type": "object", + "required": [ + "log", + "running" + ], + "properties": { + "log": { + "type": "string" + }, + "running": { + "type": "boolean" + } + } + }, + "MatterbridgeWithProcessState": { + "allOf": [ + { + "$ref": "#/components/schemas/Matterbridge" + }, + { + "$ref": "#/components/schemas/MatterbridgeProcessState" + } + ] + }, + "OCSMeta": { + "type": "object", + "required": [ + "status", + "statuscode" + ], + "properties": { + "status": { + "type": "string" + }, + "statuscode": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "totalitems": { + "type": "string" + }, + "itemsperpage": { + "type": "string" + } + } + }, + "Participant": { + "type": "object", + "required": [ + "actorId", + "actorType", + "attendeeId", + "attendeePermissions", + "attendeePin", + "displayName", + "inCall", + "lastPing", + "participantType", + "permissions", + "roomToken", + "sessionIds" + ], + "properties": { + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "attendeeId": { + "type": "integer", + "format": "int64" + }, + "attendeePermissions": { + "type": "integer", + "format": "int64" + }, + "attendeePin": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "inCall": { + "type": "integer", + "format": "int64" + }, + "lastPing": { + "type": "integer", + "format": "int64" + }, + "participantType": { + "type": "integer", + "format": "int64" + }, + "permissions": { + "type": "integer", + "format": "int64" + }, + "roomToken": { + "type": "string" + }, + "sessionIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "type": "string" + }, + "statusClearAt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "statusIcon": { + "type": "string", + "nullable": true + }, + "statusMessage": { + "type": "string", + "nullable": true + } + } + }, + "Poll": { + "type": "object", + "required": [ + "actorDisplayName", + "actorId", + "actorType", + "id", + "maxVotes", + "options", + "question", + "resultMode", + "status" + ], + "properties": { + "actorDisplayName": { + "type": "string" + }, + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PollVote" + } + }, + "id": { + "type": "integer", + "format": "int64" + }, + "maxVotes": { + "type": "integer", + "format": "int64" + }, + "numVoters": { + "type": "integer", + "format": "int64" + }, + "options": { + "type": "array", + "items": { + "type": "string" + } + }, + "question": { + "type": "string" + }, + "resultMode": { + "type": "integer", + "format": "int64" + }, + "status": { + "type": "integer", + "format": "int64" + }, + "votedSelf": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "votes": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + } + } + }, + "PollVote": { + "type": "object", + "required": [ + "actorDisplayName", + "actorId", + "actorType", + "optionId" + ], + "properties": { + "actorDisplayName": { + "type": "string" + }, + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "optionId": { + "type": "integer", + "format": "int64" + } + } + }, + "PublicCapabilities": { + "type": "object", + "required": [ + "spreed" + ], + "properties": { + "spreed": { + "type": "object", + "required": [ + "features", + "config", + "version" + ], + "properties": { + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "config": { + "type": "object", + "required": [ + "attachments", + "call", + "chat", + "conversations", + "previews", + "signaling" + ], + "properties": { + "attachments": { + "type": "object", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "type": "boolean" + }, + "folder": { + "type": "string" + } + } + }, + "call": { + "type": "object", + "required": [ + "enabled", + "breakout-rooms", + "recording", + "recording-consent", + "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" + } + } + }, + "chat": { + "type": "object", + "required": [ + "max-length", + "read-privacy", + "has-translation-providers", + "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" + } + } + }, + "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" + } + } + } + } + }, + "Reaction": { + "type": "object", + "required": [ + "actorDisplayName", + "actorId", + "actorType", + "timestamp" + ], + "properties": { + "actorDisplayName": { + "type": "string" + }, + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "timestamp": { + "type": "integer", + "format": "int64" + } + } + }, + "Room": { + "type": "object", + "required": [ + "actorId", + "actorType", + "attendeeId", + "attendeePermissions", + "attendeePin", + "avatarVersion", + "breakoutRoomMode", + "breakoutRoomStatus", + "callFlag", + "callPermissions", + "callRecording", + "callStartTime", + "canDeleteConversation", + "canEnableSIP", + "canLeaveConversation", + "canStartCall", + "defaultPermissions", + "description", + "displayName", + "hasCall", + "hasPassword", + "id", + "isCustomAvatar", + "isFavorite", + "lastActivity", + "lastCommonReadMessage", + "lastMessage", + "lastPing", + "lastReadMessage", + "listable", + "lobbyState", + "lobbyTimer", + "messageExpiration", + "name", + "notificationCalls", + "notificationLevel", + "objectId", + "objectType", + "participantFlags", + "participantType", + "permissions", + "readOnly", + "recordingConsent", + "sessionId", + "sipEnabled", + "token", + "type", + "unreadMention", + "unreadMentionDirect", + "unreadMessages" + ], + "properties": { + "actorId": { + "type": "string" + }, + "actorType": { + "type": "string" + }, + "attendeeId": { + "type": "integer", + "format": "int64" + }, + "attendeePermissions": { + "type": "integer", + "format": "int64" + }, + "attendeePin": { + "type": "string", + "nullable": true + }, + "avatarVersion": { + "type": "string" + }, + "breakoutRoomMode": { + "type": "integer", + "format": "int64" + }, + "breakoutRoomStatus": { + "type": "integer", + "format": "int64" + }, + "callFlag": { + "type": "integer", + "format": "int64" + }, + "callPermissions": { + "type": "integer", + "format": "int64" + }, + "callRecording": { + "type": "integer", + "format": "int64" + }, + "callStartTime": { + "type": "integer", + "format": "int64" + }, + "canDeleteConversation": { + "type": "boolean" + }, + "canEnableSIP": { + "type": "boolean" + }, + "canLeaveConversation": { + "type": "boolean" + }, + "canStartCall": { + "type": "boolean" + }, + "defaultPermissions": { + "type": "integer", + "format": "int64" + }, + "description": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "hasCall": { + "type": "boolean" + }, + "hasPassword": { + "type": "boolean" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "isCustomAvatar": { + "type": "boolean" + }, + "isFavorite": { + "type": "boolean" + }, + "lastActivity": { + "type": "integer", + "format": "int64" + }, + "lastCommonReadMessage": { + "type": "integer", + "format": "int64" + }, + "lastMessage": { + "oneOf": [ + { + "$ref": "#/components/schemas/ChatMessage" + }, + {} + ] + }, + "lastPing": { + "type": "integer", + "format": "int64" + }, + "lastReadMessage": { + "type": "integer", + "format": "int64" + }, + "listable": { + "type": "integer", + "format": "int64" + }, + "lobbyState": { + "type": "integer", + "format": "int64" + }, + "lobbyTimer": { + "type": "integer", + "format": "int64" + }, + "messageExpiration": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "notificationCalls": { + "type": "integer", + "format": "int64" + }, + "notificationLevel": { + "type": "integer", + "format": "int64" + }, + "objectId": { + "type": "string" + }, + "objectType": { + "type": "string" + }, + "participantFlags": { + "type": "integer", + "format": "int64" + }, + "participantType": { + "type": "integer", + "format": "int64" + }, + "permissions": { + "type": "integer", + "format": "int64" + }, + "readOnly": { + "type": "integer", + "format": "int64" + }, + "recordingConsent": { + "type": "integer", + "format": "int64" + }, + "sessionId": { + "type": "string" + }, + "sipEnabled": { + "type": "integer", + "format": "int64" + }, + "status": { + "type": "string" + }, + "statusClearAt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "statusIcon": { + "type": "string", + "nullable": true + }, + "statusMessage": { + "type": "string", + "nullable": true + }, + "token": { + "type": "string" + }, + "type": { + "type": "integer", + "format": "int64" + }, + "unreadMention": { + "type": "boolean" + }, + "unreadMentionDirect": { + "type": "boolean" + }, + "unreadMessages": { + "type": "integer", + "format": "int64" + } + } + }, + "SignalingSession": { + "type": "object", + "required": [ + "inCall", + "lastPing", + "participantPermissions", + "roomId", + "sessionId", + "userId" + ], + "properties": { + "inCall": { + "type": "integer", + "format": "int64" + }, + "lastPing": { + "type": "integer", + "format": "int64" + }, + "participantPermissions": { + "type": "integer", + "format": "int64" + }, + "roomId": { + "type": "integer", + "format": "int64" + }, + "sessionId": { + "type": "string" + }, + "userId": { + "type": "string" + } + } + }, + "SignalingSettings": { + "type": "object", + "required": [ + "helloAuthParams", + "hideWarning", + "server", + "signalingMode", + "sipDialinInfo", + "stunservers", + "ticket", + "turnservers", + "userId" + ], + "properties": { + "helloAuthParams": { + "type": "object", + "required": [ + "1.0", + "2.0" + ], + "properties": { + "1.0": { + "type": "object", + "required": [ + "userid", + "ticket" + ], + "properties": { + "userid": { + "type": "string", + "nullable": true + }, + "ticket": { + "type": "string" + } + } + }, + "2.0": { + "type": "object", + "required": [ + "token" + ], + "properties": { + "token": { + "type": "string" + } + } + } + } + }, + "hideWarning": { + "type": "boolean" + }, + "server": { + "type": "string" + }, + "signalingMode": { + "type": "string" + }, + "sipDialinInfo": { + "type": "string" + }, + "stunservers": { + "type": "array", + "items": { + "type": "object", + "required": [ + "urls" + ], + "properties": { + "urls": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "ticket": { + "type": "string" + }, + "turnservers": { + "type": "array", + "items": { + "type": "object", + "required": [ + "urls", + "username", + "credential" + ], + "properties": { + "urls": { + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "type": "string" + }, + "credential": { + "type": "object" + } + } + } + }, + "userId": { + "type": "string", + "nullable": true + } + } + } + } + }, + "paths": { + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar": { + "post": { + "operationId": "avatar-upload-avatar", + "summary": "Upload an avatar for a room", + "tags": [ + "avatar" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Avatar uploaded successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Avatar invalid", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "get": { + "operationId": "avatar-get-avatar", + "summary": "Get the avatar of a room", + "tags": [ + "avatar" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "darkTheme", + "in": "query", + "description": "Theme used for background", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room avatar returned", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + }, + "delete": { + "operationId": "avatar-delete-avatar", + "summary": "Delete the avatar of a room", + "tags": [ + "avatar" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Avatar removed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar/emoji": { + "post": { + "operationId": "avatar-emoji-avatar", + "summary": "Set an emoji as avatar", + "tags": [ + "avatar" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "emoji", + "in": "query", + "description": "Emoji", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "color", + "in": "query", + "description": "Color of the emoji", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Avatar set successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Setting emoji avatar is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/avatar/dark": { + "get": { + "operationId": "avatar-get-avatar-dark", + "summary": "Get the dark mode avatar of a room", + "tags": [ + "avatar" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room avatar returned", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/message": { + "post": { + "operationId": "bot-send-message", + "summary": "Sends a new chat message to the given room", + "description": "The author and timestamp are automatically set to the current user/guest and time.", + "tags": [ + "bot" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "message", + "in": "query", + "description": "The message to send", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "referenceId", + "in": "query", + "description": "For the message to be able to later identify it again", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "replyTo", + "in": "query", + "description": "Parent id which this message is a reply to", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "silent", + "in": "query", + "description": "If sent silent the chat message will not create any notifications", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "description": "Conversation token", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Message sent successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Sending message is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "401": { + "description": "Sending message is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "413": { + "description": "Message too long", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/reaction/{messageId}": { + "post": { + "operationId": "bot-react", + "summary": "Adds a reaction to a chat message", + "tags": [ + "bot" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "reaction", + "in": "query", + "description": "Reaction to add", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "description": "Conversation token", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reaction already exists", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "201": { + "description": "Reacted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Reacting is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "401": { + "description": "Reacting is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Reaction not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "bot-delete-reaction", + "summary": "Deletes a reaction from a chat message", + "tags": [ + "bot" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "reaction", + "in": "query", + "description": "Reaction to delete", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "description": "Conversation token", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reaction deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Reacting is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Reaction not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "401": { + "description": "Reacting is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/admin": { + "get": { + "operationId": "bot-admin-list-bots", + "summary": "List admin bots", + "description": "This endpoint requires admin access", + "tags": [ + "bot" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bot list returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BotWithDetails" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}": { + "get": { + "operationId": "bot-list-bots", + "summary": "List bots", + "tags": [ + "bot" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bot list returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Bot" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/{botId}": { + "post": { + "operationId": "bot-enable-bot", + "summary": "Enables a bot", + "tags": [ + "bot" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "botId", + "in": "path", + "description": "ID of the bot", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bot already enabled", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Bot", + "nullable": true + } + } + } + } + } + } + } + }, + "201": { + "description": "Bot enabled successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Bot", + "nullable": true + } + } + } + } + } + } + } + }, + "400": { + "description": "Enabling bot errored", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "bot-disable-bot", + "summary": "Disables a bot", + "tags": [ + "bot" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "botId", + "in": "path", + "description": "ID of the bot", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bot disabled successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Bot", + "nullable": true + } + } + } + } + } + } + } + }, + "400": { + "description": "Disabling bot errored", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}": { + "post": { + "operationId": "breakout_room-configure-breakout-rooms", + "summary": "Configure the breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "mode", + "in": "query", + "description": "Mode of the breakout rooms", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "amount", + "in": "query", + "description": "Number of breakout rooms", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "attendeeMap", + "in": "query", + "description": "Mapping of the attendees to breakout rooms", + "schema": { + "type": "string", + "default": "[]" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout rooms configured successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Configuring breakout rooms errored", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "breakout_room-remove-breakout-rooms", + "summary": "Remove the breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout rooms removed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/broadcast": { + "post": { + "operationId": "breakout_room-broadcast-chat-message", + "summary": "Broadcast a chat message to all breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "message", + "in": "query", + "description": "Message to broadcast", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Chat message broadcasted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Broadcasting chat message is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "413": { + "description": "Chat message too long", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/attendees": { + "post": { + "operationId": "breakout_room-apply-attendee-map", + "summary": "Apply an attendee map to the breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeMap", + "in": "query", + "description": "JSON encoded mapping of the attendees to breakout rooms `array`", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Attendee map applied successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Applying attendee map is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/request-assistance": { + "post": { + "operationId": "breakout_room-request-assistance", + "summary": "Request assistance", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Assistance requested successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Requesting assistance is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "breakout_room-reset-request-for-assistance", + "summary": "Reset the request for assistance", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Request for assistance reset successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Resetting the request for assistance is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/rooms": { + "post": { + "operationId": "breakout_room-start-breakout-rooms", + "summary": "Start the breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout rooms started successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Starting breakout rooms is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "breakout_room-stop-breakout-rooms", + "summary": "Stop the breakout rooms", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout rooms stopped successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Stopping breakout rooms is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/breakout-rooms/{token}/switch": { + "post": { + "operationId": "breakout_room-switch-breakout-room", + "summary": "Switch to another breakout room", + "tags": [ + "breakout_room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "target", + "in": "query", + "description": "Target breakout room", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Switched to breakout room successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Switching to breakout room is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}": { + "get": { + "operationId": "call-get-peers-for-call", + "summary": "Get the peers for a call", + "tags": [ + "call" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "List of peers in the call returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CallPeer" + } + } + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "call-join-call", + "summary": "Join a call", + "tags": [ + "call" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "flags", + "in": "query", + "description": "In-Call flags", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "forcePermissions", + "in": "query", + "description": "In-call permissions", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "silent", + "in": "query", + "description": "Join the call silently", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "recordingConsent", + "in": "query", + "description": "When the user ticked a checkbox and agreed with being recorded (Only needed when the `config => call => recording-consent` capability is set to {@see RecordingService::CONSENT_REQUIRED_YES} or the capability is {@see RecordingService::CONSENT_REQUIRED_OPTIONAL} and the conversation `recordingConsent` value is {@see RecordingService::CONSENT_REQUIRED_YES} )", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Call joined successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Call not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "No recording consent was given", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "put": { + "operationId": "call-update-call-flags", + "summary": "Update the in-call flags", + "tags": [ + "call" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "flags", + "in": "query", + "description": "New flags", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "In-call flags updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating in-call flags is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Call session not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "call-leave-call", + "summary": "Leave a call", + "tags": [ + "call" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "all", + "in": "query", + "description": "whether to also terminate the call for all participants", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Call left successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Call session not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/ring/{attendeeId}": { + "post": { + "operationId": "call-ring-attendee", + "summary": "Ring an attendee", + "tags": [ + "call" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "attendeeId", + "in": "path", + "description": "ID of the attendee to ring", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Attendee rang successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Ringing attendee is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/certificate/expiration": { + "get": { + "operationId": "certificate-get-certificate-expiration", + "summary": "Get the certificate expiration for a host", + "description": "This endpoint requires admin access", + "tags": [ + "certificate" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "host", + "in": "query", + "description": "Host to check", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Certificate expiration returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "expiration_in_days" + ], + "properties": { + "expiration_in_days": { + "type": "integer", + "format": "int64", + "nullable": true + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Getting certificate expiration is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}": { + "get": { + "operationId": "chat-receive-messages", + "summary": "Receives chat messages from the given room", + "description": "- Receiving the history ($lookIntoFuture=0): The next $limit messages after $lastKnownMessageId will be returned. The new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header.\n- Looking into the future ($lookIntoFuture=1): If there are currently no messages the response will not be sent immediately. Instead, HTTP connection will be kept open waiting for new messages to arrive and, when they do, then the response will be sent. The connection will not be kept open indefinitely, though; the number of seconds to wait for new messages to arrive can be set using the timeout parameter; the default timeout is 30 seconds, maximum timeout is 60 seconds. If the timeout ends a successful but empty response will be sent. If messages have been returned (status=200) the new $lastKnownMessageId for the follow up query is available as `X-Chat-Last-Given` header.\nThe limit specifies the maximum number of messages that will be returned, although the actual number of returned messages could be lower if some messages are not visible to the participant. Note that if none of the messages are visible to the participant the returned number of messages will be 0, yet the status will still be 200. Also note that `X-Chat-Last-Given` may reference a message not visible and thus not returned, but it should be used nevertheless as the $lastKnownMessageId for the follow-up query.", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "lookIntoFuture", + "in": "query", + "description": "Polling for new messages (1) or getting the history of the chat (0)", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "limit", + "in": "query", + "description": "Number of chat messages to receive (100 by default, 200 at most)", + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + } + }, + { + "name": "lastKnownMessageId", + "in": "query", + "description": "The last known message (serves as offset)", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "lastCommonReadId", + "in": "query", + "description": "The last known common read message (so the response is 200 instead of 304 when it changes even when there are no messages)", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "timeout", + "in": "query", + "description": "Number of seconds to wait for new messages (30 by default, 30 at most)", + "schema": { + "type": "integer", + "format": "int64", + "default": 30 + } + }, + { + "name": "setReadMarker", + "in": "query", + "description": "Automatically set the last read marker when 1, if your client does this itself via chat/{token}/read set to 0", + "schema": { + "type": "integer", + "format": "int64", + "default": 1 + } + }, + { + "name": "includeLastKnown", + "in": "query", + "description": "Include the $lastKnownMessageId in the messages when 1 (default 0)", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "noStatusUpdate", + "in": "query", + "description": "When the user status should not be automatically set to online set to 1 (default 0)", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "markNotificationsAsRead", + "in": "query", + "description": "Set to 0 when notifications should not be marked as read (default 1)", + "schema": { + "type": "integer", + "format": "int64", + "default": 1 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Messages returned", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + }, + "X-Chat-Last-Given": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + } + }, + "304": { + "description": "No messages", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + }, + "X-Chat-Last-Given": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "chat-send-message", + "summary": "Sends a new chat message to the given room", + "description": "The author and timestamp are automatically set to the current user/guest and time.", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "message", + "in": "query", + "description": "the message to send", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "actorDisplayName", + "in": "query", + "description": "for guests", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "referenceId", + "in": "query", + "description": "for the message to be able to later identify it again", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "replyTo", + "in": "query", + "description": "Parent id which this message is a reply to", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "silent", + "in": "query", + "description": "If sent silent the chat message will not create any notifications", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Message sent successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessageWithParent", + "nullable": true + } + } + } + } + } + } + } + }, + "400": { + "description": "Sending message is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Actor not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "413": { + "description": "Message too long", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "chat-clear-history", + "summary": "Clear the chat history", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "History cleared successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessage" + } + } + } + } + } + } + } + }, + "202": { + "description": "History cleared successfully, but Matterbridge is configured, so the information can be replicated elsewhere", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessage" + } + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to clear history", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}": { + "delete": { + "operationId": "chat-delete-message", + "summary": "Delete a chat message", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Message deleted successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + }, + "202": { + "description": "Message deleted successfully, but Matterbridge is configured, so the information can be replicated elsewhere", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + }, + "400": { + "description": "Deleting message is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to delete message", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "405": { + "description": "Deleting message is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/context": { + "get": { + "operationId": "chat-get-message-context", + "summary": "Get the context of a message", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "Number of chat messages to receive in both directions (50 by default, 100 at most, might return 201 messages)", + "schema": { + "type": "integer", + "format": "int64", + "default": 50 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "The focused message which should be in the \"middle\" of the returned context", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Message context returned", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + }, + "X-Chat-Last-Given": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + } + }, + "304": { + "description": "No messages", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + }, + "X-Chat-Last-Given": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessageWithParent" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}/reminder": { + "post": { + "operationId": "chat-set-reminder", + "summary": "Set a reminder for a chat message", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "timestamp", + "in": "query", + "description": "Timestamp of the reminder", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Reminder created successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatReminder" + } + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "get": { + "operationId": "chat-get-reminder", + "summary": "Get the reminder for a chat message", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reminder returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatReminder" + } + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "chat-delete-reminder", + "summary": "Delete a chat reminder", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reminder deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/read": { + "post": { + "operationId": "chat-set-read-marker", + "summary": "Set the read marker to a specific message", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "lastReadMessage", + "in": "query", + "description": "ID if the last read message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Read marker set successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "chat-mark-unread", + "summary": "Mark a chat as unread", + "tags": [ + "chat" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Read marker set successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/mentions": { + "get": { + "operationId": "chat-mentions", + "summary": "Search for mentions", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "search", + "in": "query", + "description": "Text to search for", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "limit", + "in": "query", + "description": "Maximum number of results", + "schema": { + "type": "integer", + "format": "int64", + "default": 20 + } + }, + { + "name": "includeStatus", + "in": "query", + "description": "Include the user statuses", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "List of mention suggestions returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMentionSuggestion" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share": { + "post": { + "operationId": "chat-share-object-to-chat", + "summary": "Sends a rich-object to the given room", + "description": "The author and timestamp are automatically set to the current user/guest and time.", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "objectType", + "in": "query", + "description": "Type of the object", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "objectId", + "in": "query", + "description": "ID of the object", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "metaData", + "in": "query", + "description": "Additional metadata", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "actorDisplayName", + "in": "query", + "description": "Guest name", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "referenceId", + "in": "query", + "description": "Reference ID", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Object shared successfully", + "headers": { + "X-Chat-Last-Common-Read": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ChatMessageWithParent", + "nullable": true + } + } + } + } + } + } + } + }, + "400": { + "description": "Sharing object is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Actor not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "413": { + "description": "Message too long", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "get": { + "operationId": "chat-get-objects-shared-in-room", + "summary": "Get objects that are shared in the room", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "objectType", + "in": "query", + "description": "Type of the objects", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "lastKnownMessageId", + "in": "query", + "description": "ID of the last known message", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "limit", + "in": "query", + "description": "Maximum number of objects", + "schema": { + "type": "integer", + "format": "int64", + "default": 100 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "List of shared objects messages returned", + "headers": { + "X-Chat-Last-Given": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessage" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share/overview": { + "get": { + "operationId": "chat-get-objects-shared-in-room-overview", + "summary": "Get objects that are shared in the room overview", + "tags": [ + "chat" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "Maximum number of objects", + "schema": { + "type": "integer", + "format": "int64", + "default": 7 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "List of shared objects messages of each type returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatMessage" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/federation/invitation/{id}": { + "post": { + "operationId": "federation-accept-share", + "summary": "Accept a federation invites", + "tags": [ + "federation" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Invite accepted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "delete": { + "operationId": "federation-reject-share", + "summary": "Decline a federation invites", + "tags": [ + "federation" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Invite declined successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/federation/invitation": { + "get": { + "operationId": "federation-get-shares", + "summary": "Get a list of federation invites", + "tags": [ + "federation" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Get list of received federation invites successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FederationInvite" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/file/{fileId}": { + "get": { + "operationId": "files_integration-get-room-by-file-id", + "summary": "Get the token of the room associated to the given file id", + "description": "This is the counterpart of self::getRoomByShareToken() for file ids instead of share tokens, although both return the same room token if the given file id and share token refer to the same file.\nIf there is no room associated to the given file id a new room is created; the new room is a public room associated with a \"file\" object with the given file id. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file).\nIn any case, to create or even get the token of the room, the file must be shared and the user must be the owner of a public share of the file (like a link share, for example) or have direct access to that file; an error is returned otherwise. A user has direct access to a file if she has access to it (or to an ancestor) through a user, group, circle or room share (but not through a link share, for example), or if she is the owner of such a file.", + "tags": [ + "files_integration" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "fileId", + "in": "path", + "description": "ID of the file", + "required": true, + "schema": { + "type": "string", + "pattern": "^.+$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room token returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "token" + ], + "properties": { + "token": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Rooms not allowed for shares", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Share not found", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/publicshare/{shareToken}": { + "get": { + "operationId": "files_integration-get-room-by-share-token", + "summary": "Returns the token of the room associated to the file id of the given share token", + "description": "This is the counterpart of self::getRoomByFileId() for share tokens instead of file ids, although both return the same room token if the given file id and share token refer to the same file.\nIf there is no room associated to the file id of the given share token a new room is created; the new room is a public room associated with a \"file\" object with the file id of the given share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms without owner (although self joined users with direct access to the file become persistent participants automatically when they join until they explicitly leave or no longer have access to the file).\nIn any case, to create or even get the token of the room, the file must be publicly shared (like a link share, for example); an error is returned otherwise.\nBesides the token of the room this also returns the current user ID and display name, if any; this is needed by the Talk sidebar to know the actual current user, as the public share page uses the incognito mode and thus logged-in users as seen as guests.", + "tags": [ + "files_integration" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "shareToken", + "in": "path", + "description": "Token of the file share", + "required": true, + "schema": { + "type": "string", + "pattern": "^.+$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room token and user info returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "token", + "userId", + "userDisplayName" + ], + "properties": { + "token": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "userDisplayName": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Rooms not allowed for shares", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Share not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/guest/{token}/name": { + "post": { + "operationId": "guest-set-display-name", + "summary": "Set the display name as a guest", + "tags": [ + "guest" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "displayName", + "in": "query", + "description": "New display name", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Display name updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Not a guest", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Not a participant", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/hostedsignalingserver/requesttrial": { + "post": { + "operationId": "hosted_signaling_server-request-trial", + "summary": "Request a trial account", + "description": "This endpoint requires admin access", + "tags": [ + "hosted_signaling_server" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "url", + "in": "query", + "description": "Server URL", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "query", + "description": "Display name of the user", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "email", + "in": "query", + "description": "Email of the user", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "language", + "in": "query", + "description": "Language of the user", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "country", + "in": "query", + "description": "Country of the user", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Trial requested successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Requesting trial is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/hostedsignalingserver/delete": { + "delete": { + "operationId": "hosted_signaling_server-delete-account", + "summary": "Delete the account", + "description": "This endpoint requires admin access", + "tags": [ + "hosted_signaling_server" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "204": { + "description": "Account deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Deleting account is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}": { + "get": { + "operationId": "matterbridge-get-bridge-of-room", + "summary": "Get bridge information of one room", + "tags": [ + "matterbridge" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Return list of configured bridges", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/MatterbridgeWithProcessState" + } + } + } + } + } + } + } + } + } + }, + "put": { + "operationId": "matterbridge-edit-bridge-of-room", + "summary": "Edit bridge information of one room", + "tags": [ + "matterbridge" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "enabled", + "in": "query", + "description": "If the bridge should be enabled", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "parts", + "in": "query", + "description": "New parts", + "schema": { + "type": "string", + "contentMediaType": "application/json", + "contentSchema": { + "$ref": "#/components/schemas/MatterbridgeConfigFields", + "default": [], + "description": "New parts" + } + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bridge edited successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/MatterbridgeProcessState" + } + } + } + } + } + } + } + }, + "406": { + "description": "Editing bridge is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "matterbridge-delete-bridge-of-room", + "summary": "Delete bridge of one room", + "tags": [ + "matterbridge" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bridge deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "406": { + "description": "Deleting bridge is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/{token}/process": { + "get": { + "operationId": "matterbridge-get-bridge-process-state", + "summary": "Get bridge process information", + "tags": [ + "matterbridge" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Return list of running processes", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/MatterbridgeProcessState" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge": { + "delete": { + "operationId": "matterbridge_settings-stop-all-bridges", + "summary": "Stop all bridges", + "description": "This endpoint requires admin access", + "tags": [ + "matterbridge_settings" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "All bridges stopped successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "406": { + "description": "Stopping all bridges is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/bridge/version": { + "get": { + "operationId": "matterbridge_settings-get-matterbridge-version", + "summary": "Get Matterbridge version", + "description": "This endpoint requires admin access", + "tags": [ + "matterbridge_settings" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Bridge version returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "version" + ], + "properties": { + "version": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Getting bridge version is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}": { + "post": { + "operationId": "poll-create-poll", + "summary": "Create a poll", + "tags": [ + "poll" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "question", + "in": "query", + "description": "Question of the poll", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "options[]", + "in": "query", + "description": "Options of the poll", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "resultMode", + "in": "query", + "description": "Mode how the results will be shown", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "maxVotes", + "in": "query", + "description": "Number of maximum votes per voter", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Poll created successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Poll" + } + } + } + } + } + } + } + }, + "400": { + "description": "Creating poll is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}": { + "get": { + "operationId": "poll-show-poll", + "summary": "Get a poll", + "tags": [ + "poll" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "pollId", + "in": "path", + "description": "ID of the poll", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Poll returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Poll" + } + } + } + } + } + } + } + }, + "404": { + "description": "Poll not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "poll-vote-poll", + "summary": "Vote on a poll", + "tags": [ + "poll" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "optionIds[]", + "in": "query", + "description": "IDs of the selected options", + "schema": { + "type": "array", + "default": [], + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "pollId", + "in": "path", + "description": "ID of the poll", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Voted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Poll" + } + } + } + } + } + } + } + }, + "400": { + "description": "Voting is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Poll not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "poll-close-poll", + "summary": "Close a poll", + "tags": [ + "poll" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "pollId", + "in": "path", + "description": "ID of the poll", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Poll closed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Poll" + } + } + } + } + } + } + } + }, + "400": { + "description": "Poll already closed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to close poll", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Poll not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/publicshareauth": { + "post": { + "operationId": "public_share_auth-create-room", + "summary": "Creates a new room for requesting the password of a share", + "description": "The new room is a public room associated with a \"share:password\" object with the ID of the share token. Unlike normal rooms in which the owner is the user that created the room these are special rooms always created by a guest or user on behalf of a registered user, the sharer, who will be the owner of the room.\nThe share must have \"send password by Talk\" enabled; an error is returned otherwise.", + "tags": [ + "public_share_auth" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "shareToken", + "in": "query", + "description": "Token of the file share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "201": { + "description": "Room created successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "token", + "name", + "displayName" + ], + "properties": { + "token": { + "type": "string" + }, + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Share not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/reaction/{token}/{messageId}": { + "post": { + "operationId": "reaction-react", + "summary": "Add a reaction to a message", + "tags": [ + "reaction" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "reaction", + "in": "query", + "description": "Emoji to add", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reaction already existed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Reaction" + } + } + } + } + } + } + } + } + } + }, + "201": { + "description": "Reaction added successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Reaction" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Adding reaction is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "reaction-delete", + "summary": "Delete a reaction from a message", + "tags": [ + "reaction" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "reaction", + "in": "query", + "description": "Emoji to remove", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reaction deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Reaction" + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Deleting reaction is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Message not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "get": { + "operationId": "reaction-get-reactions", + "summary": "Get a list of reactions for a message", + "tags": [ + "reaction" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "reaction", + "in": "query", + "description": "Emoji to filter", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "messageId", + "in": "path", + "description": "ID of the message", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Reactions returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Reaction" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Message or reaction not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/welcome/{serverId}": { + "get": { + "operationId": "recording-get-welcome-message", + "summary": "Get the welcome message of a recording server", + "description": "This endpoint requires admin access", + "tags": [ + "recording" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "serverId", + "in": "path", + "description": "ID of the server", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Welcome message returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "version" + ], + "properties": { + "version": { + "type": "number", + "format": "float" + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Recording server not found or not configured", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}": { + "post": { + "operationId": "recording-start", + "summary": "Start the recording", + "tags": [ + "recording" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "status", + "in": "query", + "description": "Type of the recording", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Recording started successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Starting recording is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "recording-stop", + "summary": "Stop the recording", + "tags": [ + "recording" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Recording stopped successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Stopping recording is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/store": { + "post": { + "operationId": "recording-store", + "summary": "Store the recording", + "tags": [ + "recording" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "owner", + "in": "query", + "description": "User that will own the recording file", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Recording stored successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Storing recording is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "401": { + "description": "Missing permissions to store recording", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "type", + "error" + ], + "properties": { + "type": { + "type": "string" + }, + "error": { + "type": "object", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/notification": { + "delete": { + "operationId": "recording-notification-dismiss", + "summary": "Dismiss the store call recording notification", + "tags": [ + "recording" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "timestamp", + "in": "query", + "description": "Timestamp of the notification to be dismissed", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Notification dismissed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Dismissing notification is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/recording/{token}/share-chat": { + "post": { + "operationId": "recording-share-to-chat", + "summary": "Share the recorded file to the chat", + "tags": [ + "recording" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "fileId", + "in": "query", + "description": "ID of the file", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "timestamp", + "in": "query", + "description": "Timestamp of the notification to be dismissed", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Recording shared to chat successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Sharing recording to chat is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room": { + "get": { + "operationId": "room-get-rooms", + "summary": "Get all currently existent rooms which the user has joined", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "noStatusUpdate", + "in": "query", + "description": "When the user status should not be automatically set to online set to 1 (default 0)", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "includeStatus", + "in": "query", + "description": "Include the user status", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "modifiedSince", + "in": "query", + "description": "Filter rooms modified after a timestamp", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Return list of rooms", + "headers": { + "X-Nextcloud-Talk-Hash": { + "schema": { + "type": "string" + } + }, + "X-Nextcloud-Talk-Modified-Before": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "room-create-room", + "summary": "Create a room with a user, a group or a circle", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "roomType", + "in": "query", + "description": "Type of the room", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "invite", + "in": "query", + "description": "User, group, … ID to invite", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "roomName", + "in": "query", + "description": "Name of the room", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "source", + "in": "query", + "description": "Source of the invite ID ('circles' to create a room with a circle, etc.)", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "objectType", + "in": "query", + "description": "Type of the object", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "objectId", + "in": "query", + "description": "ID of the object", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room already existed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "201": { + "description": "Room created successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Room type invalid", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to create room", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "User, group or other target to invite was not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/listed-room": { + "get": { + "operationId": "room-get-listed-rooms", + "summary": "Get listed rooms with optional search term", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "searchTerm", + "in": "query", + "description": "search term", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Return list of matching rooms", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/note-to-self": { + "get": { + "operationId": "room-get-note-to-self-conversation", + "summary": "Get the \"Note to self\" conversation for the user", + "description": "It will be automatically created when it is currently missing", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room returned successfully", + "headers": { + "X-Nextcloud-Talk-Hash": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}": { + "get": { + "operationId": "room-get-single-room", + "summary": "Get a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the room", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room returned", + "headers": { + "X-Nextcloud-Talk-Hash": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "401": { + "description": "SIP request invalid", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "nullable": true + } + } + } + } + } + } + } + }, + "404": { + "description": "Room not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "nullable": true + } + } + } + } + } + } + } + } + } + }, + "put": { + "operationId": "room-rename-room", + "summary": "Rename a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "roomName", + "in": "query", + "description": "New name", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room renamed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Renaming room is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "room-delete-room", + "summary": "Delete a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room successfully deleted", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Deleting room is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/breakout-rooms": { + "get": { + "operationId": "room-get-breakout-rooms", + "summary": "Get all (for moderators and in case of \"free selection\") or the assigned breakout room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout rooms returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Getting breakout rooms is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/public": { + "post": { + "operationId": "room-make-public", + "summary": "Allowed guests to join conversation", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Allowed guests successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Allowing guests is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "room-make-private", + "summary": "Disallowed guests to join conversation", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room unpublished Disallowing guests successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Disallowing guests is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/description": { + "put": { + "operationId": "room-set-description", + "summary": "Update the description of a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "description", + "in": "query", + "description": "New description", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Description updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating description is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/read-only": { + "put": { + "operationId": "room-set-read-only", + "summary": "Set read-only state of a room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "New read-only state", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Read-only state updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating read-only state is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/listable": { + "put": { + "operationId": "room-set-listable", + "summary": "Make a room listable", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "scope", + "in": "query", + "description": "Scope where the room is listable", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Made room listable successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Making room listable is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/password": { + "put": { + "operationId": "room-set-password", + "summary": "Set a password for a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "password", + "in": "query", + "description": "New password", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Password set successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Setting password is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Setting password is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/permissions/{mode}": { + "put": { + "operationId": "room-set-permissions", + "summary": "Update the permissions of a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "permissions", + "in": "query", + "description": "New permissions", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "mode", + "in": "path", + "description": "Level of the permissions ('call', 'default')", + "required": true, + "schema": { + "type": "string", + "pattern": "^(call|default)$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Permissions updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Updating permissions is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants": { + "get": { + "operationId": "room-get-participants", + "summary": "Get a list of participants for a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "includeStatus", + "in": "query", + "description": "Include the user statuses", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Participants returned", + "headers": { + "X-Nextcloud-Has-User-Statuses": { + "schema": { + "type": "boolean" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Participant" + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions for getting participants", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "room-add-participant-to-room", + "summary": "Add a participant to a room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "newParticipant", + "in": "query", + "description": "New participant", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "source", + "in": "query", + "description": "Source of the participant", + "schema": { + "type": "string", + "default": "users" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Participant successfully added", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "oneOf": [ + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "integer", + "format": "int64" + } + } + }, + {} + ] + } + } + } + } + } + } + } + }, + "404": { + "description": "User, group or other target to invite was not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "501": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Adding participant is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/breakout-rooms/participants": { + "get": { + "operationId": "room-get-breakout-room-participants", + "summary": "Get the breakout room participants for a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "includeStatus", + "in": "query", + "description": "Include the user statuses", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Breakout room participants returned", + "headers": { + "X-Nextcloud-Has-User-Statuses": { + "schema": { + "type": "boolean" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Participant" + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Getting breakout room participants is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to get breakout room participants", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/self": { + "delete": { + "operationId": "room-remove-self-from-room", + "summary": "Remove the current user from a room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Participant removed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Removing participant is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Participant not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees": { + "delete": { + "operationId": "room-remove-attendee-from-room", + "summary": "Remove an attendee from a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeId", + "in": "query", + "description": "ID of the attendee", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Attendee removed successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Removing attendee is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Removing attendee is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Attendee not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees/permissions": { + "put": { + "operationId": "room-set-attendee-permissions", + "summary": "Update the permissions of an attendee", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeId", + "in": "query", + "description": "ID of the attendee", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "method", + "in": "query", + "description": "Method of updating permissions ('set', 'remove', 'add')", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "permissions", + "in": "query", + "description": "New permissions", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Permissions updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating permissions is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to update permissions", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Attendee not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/attendees/permissions/all": { + "put": { + "operationId": "room-set-all-attendees-permissions", + "summary": "Update the permissions of all attendees", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "method", + "in": "query", + "description": "Method of updating permissions ('set', 'remove', 'add')", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "permissions", + "in": "query", + "description": "New permissions", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Permissions updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Updating permissions is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/active": { + "post": { + "operationId": "room-join-room", + "summary": "Join a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "password", + "in": "query", + "description": "Password of the room", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "force", + "in": "query", + "description": "Create a new session if necessary", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the room", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Room joined successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "403": { + "description": "Joining room is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Room not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "409": { + "description": "Session already exists", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "sessionId", + "inCall", + "lastPing" + ], + "properties": { + "sessionId": { + "type": "string" + }, + "inCall": { + "type": "integer", + "format": "int64" + }, + "lastPing": { + "type": "integer", + "format": "int64" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "room-leave-room", + "summary": "Leave a room", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the room", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Successfully left the room", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/resend-invitations": { + "post": { + "operationId": "room-resend-invitations", + "summary": "Resend invitations", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeId", + "in": "query", + "description": "ID of the attendee", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Invitation resent successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Attendee not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/participants/state": { + "put": { + "operationId": "room-set-session-state", + "summary": "Set active state for a session", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "of the room", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Session state set successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "The provided new state was invalid", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/moderators": { + "post": { + "operationId": "room-promote-moderator", + "summary": "Promote an attendee to moderator", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeId", + "in": "query", + "description": "ID of the attendee", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Attendee promoted to moderator successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Promoting attendee to moderator is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Promoting attendee to moderator is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Attendee not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "room-demote-moderator", + "summary": "Demote an attendee from moderator", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "attendeeId", + "in": "query", + "description": "ID of the attendee", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Attendee demoted from moderator successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Demoting attendee from moderator is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Demoting attendee from moderator is not allowed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Attendee not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/favorite": { + "post": { + "operationId": "room-add-to-favorites", + "summary": "Add a room to the favorites", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Successfully added room to favorites", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "room-remove-from-favorites", + "summary": "Remove a room from the favorites", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Successfully removed room from favorites", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/notify": { + "post": { + "operationId": "room-set-notification-level", + "summary": "Update the notification level for a room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "level", + "in": "query", + "description": "New level", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Notification level updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating notification level is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/notify-calls": { + "post": { + "operationId": "room-set-notification-calls", + "summary": "Update call notifications", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "level", + "in": "query", + "description": "New level", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Call notification level updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating call notification level is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/webinar/lobby": { + "put": { + "operationId": "room-set-lobby", + "summary": "Update the lobby state for a room", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "New state", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "timer", + "in": "query", + "description": "Timer when the lobby will be removed", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Lobby state updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Updating lobby state is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/webinar/sip": { + "put": { + "operationId": "room-setsip-enabled", + "summary": "Update SIP enabled state", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "state", + "in": "query", + "description": "New state", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "SIP enabled state updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Updating SIP enabled state is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "401": { + "description": "User not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "403": { + "description": "Missing permissions to update SIP enabled state", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "412": { + "description": "SIP not configured", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/recording-consent": { + "put": { + "operationId": "room-set-recording-consent", + "summary": "Set recording consent requirement for this conversation", + "tags": [ + "room" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "recordingConsent", + "in": "query", + "description": "New consent setting for the conversation (Only {@see RecordingService::CONSENT_REQUIRED_NO} and {@see RecordingService::CONSENT_REQUIRED_YES} are allowed here.)", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Recording consent requirement set successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Room" + } + } + } + } + } + } + } + }, + "400": { + "description": "Setting recording consent requirement is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "412": { + "description": "No recording server is configured", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/room/{token}/message-expiration": { + "post": { + "operationId": "room-set-message-expiration", + "summary": "Update message expiration time", + "tags": [ + "room" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "seconds", + "in": "query", + "description": "New time", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v4" + ], + "default": "v4" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Message expiration time updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating message expiration time is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "properties": { + "error": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/settings/sip": { + "post": { + "operationId": "settings-setsip-settings", + "summary": "Update SIP settings", + "description": "This endpoint requires admin access", + "tags": [ + "settings" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "sipGroups[]", + "in": "query", + "description": "New SIP groups", + "schema": { + "type": "array", + "default": [], + "items": { + "type": "string" + } + } + }, + { + "name": "dialInInfo", + "in": "query", + "description": "New dial info", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "sharedSecret", + "in": "query", + "description": "New shared secret", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Successfully set new SIP settings", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/settings/user": { + "post": { + "operationId": "settings-set-user-setting", + "summary": "Update user setting", + "tags": [ + "settings" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "key", + "in": "query", + "description": "Key to update", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "value", + "in": "query", + "description": "New value for the key", + "schema": { + "type": "string", + "nullable": true, + "contentMediaType": "application/json", + "contentSchema": { + "nullable": true, + "description": "New value for the key", + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "format": "int64" + } + ] + } + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v1" + ], + "default": "v1" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "User setting updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Updating user setting is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/settings": { + "get": { + "operationId": "signaling-get-settings", + "summary": "Get the signaling settings", + "tags": [ + "signaling" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "token", + "in": "query", + "description": "Token of the room", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v3" + ], + "default": "v3" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Signaling settings returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/SignalingSettings" + } + } + } + } + } + } + } + }, + "401": { + "description": "Recording request invalid", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "404": { + "description": "Room not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/welcome/{serverId}": { + "get": { + "operationId": "signaling-get-welcome-message", + "summary": "Get the welcome message from a signaling server", + "description": "Only available for logged-in users because guests can not use the apps right now.\nThis endpoint requires admin access", + "tags": [ + "signaling" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v3" + ], + "default": "v3" + } + }, + { + "name": "serverId", + "in": "path", + "description": "ID of the signaling server", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Welcome message returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Signaling server not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + }, + "version": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/api/{apiVersion}/signaling/{token}": { + "post": { + "operationId": "signaling-signaling", + "summary": "Send signaling messages", + "tags": [ + "signaling" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "messages", + "in": "query", + "description": "JSON encoded messages", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v3" + ], + "default": "v3" + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the room", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Signaling message sent successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Sending signaling message is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "get": { + "operationId": "signaling-pull-messages", + "summary": "Get signaling messages", + "tags": [ + "signaling" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "apiVersion", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "v3" + ], + "default": "v3" + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the room", + "required": true, + "schema": { + "type": "string", + "pattern": "^[a-z0-9]{4,30}$" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Signaling messages returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "data" + ], + "properties": { + "type": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignalingSession" + } + } + } + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Session, room or participant not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "data" + ], + "properties": { + "type": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignalingSession" + } + } + } + } + } + } + } + } + } + } + } + }, + "409": { + "description": "Session killed", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": [ + "type", + "data" + ], + "properties": { + "type": { + "type": "string" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignalingSession" + } + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Getting signaling messages is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/spreed/temp-user-avatar": { + "post": { + "operationId": "temp_avatar-post-avatar", + "summary": "Upload a temporary avatar", + "tags": [ + "temp_avatar" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Avatar uploaded successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Uploading avatar is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "temp_avatar-delete-avatar", + "summary": "Delete a temporary avatar", + "tags": [ + "temp_avatar" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "description": "Required to be true for the API request to pass", + "required": true, + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Avatar deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + }, + "400": { + "description": "Deleting avatar is not possible", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + } + }, + "tags": [] +} \ No newline at end of file