From d136b79b0799056a0af9383037458cbb4f9851b1 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 7 Dec 2023 08:26:40 +0100 Subject: [PATCH] fix(dynamite): Allow int enums feat(dynamite_end_to_end_test): Add test for int enums Co-authored-by: Nikolas Rimikis Signed-off-by: jld3103 Signed-off-by: Nikolas Rimikis --- .../lib/src/builder/resolve_enum.dart | 302 +- .../lib/src/builder/resolve_type.dart | 3 +- .../dynamite/lib/src/builder/state.dart | 2 +- .../dynamite/lib/src/helpers/type_result.dart | 7 +- .../dynamite/lib/src/models/openapi.dart | 1 + .../dynamite/lib/src/models/openapi.g.dart | 2 +- .../lib/src/models/openapi/schema.dart | 2 +- .../lib/src/models/openapi/schema.g.dart | 12 +- .../lib/enum.openapi.dart | 370 +- .../lib/enum.openapi.g.dart | 163 +- .../lib/enum.openapi.json | 43 +- .../lib/parameters.openapi.dart | 126 +- .../lib/parameters.openapi.g.dart | 98 - .../test/enum_test.dart | 97 +- .../dynamite_runtime/lib/built_value.dart | 1 + .../lib/src/built_value/enum.dart | 13 + .../lib/src/api/files_external.openapi.dart | 182 +- .../lib/src/api/files_external.openapi.g.dart | 104 - .../lib/src/api/files_sharing.openapi.dart | 63 +- .../lib/src/api/files_sharing.openapi.g.dart | 36 - .../nextcloud/lib/src/api/notes.openapi.dart | 70 +- .../lib/src/api/notes.openapi.g.dart | 41 - .../lib/src/api/notifications.openapi.dart | 627 +- .../lib/src/api/notifications.openapi.g.dart | 389 - .../nextcloud/lib/src/api/spreed.openapi.dart | 6549 ++++++++++++++--- .../lib/src/api/spreed.openapi.g.dart | 3961 ---------- .../src/api/updatenotification.openapi.dart | 57 +- .../src/api/updatenotification.openapi.g.dart | 34 - .../lib/src/api/user_status.openapi.dart | 127 +- .../lib/src/api/user_status.openapi.g.dart | 79 - 30 files changed, 7673 insertions(+), 5888 deletions(-) delete mode 100644 packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.g.dart create mode 100644 packages/dynamite/dynamite_runtime/lib/src/built_value/enum.dart diff --git a/packages/dynamite/dynamite/lib/src/builder/resolve_enum.dart b/packages/dynamite/dynamite/lib/src/builder/resolve_enum.dart index 14de57d434c..42fa875f7f9 100644 --- a/packages/dynamite/dynamite/lib/src/builder/resolve_enum.dart +++ b/packages/dynamite/dynamite/lib/src/builder/resolve_enum.dart @@ -1,9 +1,7 @@ import 'package:code_builder/code_builder.dart'; -import 'package:dynamite/src/builder/resolve_type.dart'; import 'package:dynamite/src/builder/state.dart'; import 'package:dynamite/src/helpers/built_value.dart'; import 'package:dynamite/src/helpers/dart_helpers.dart'; -import 'package:dynamite/src/helpers/type_result.dart'; import 'package:dynamite/src/models/openapi.dart' as openapi; import 'package:dynamite/src/models/type_result.dart'; @@ -16,92 +14,228 @@ TypeResult resolveEnum( final bool nullable = false, }) { if (state.resolvedTypes.add(TypeResultEnum(identifier, subResult))) { - state.output.add( - Class( - (final b) => b - ..name = identifier - ..extend = refer('EnumClass') - ..constructors.add( - Constructor( - (final b) => b - ..name = '_' - ..constant = true - ..requiredParameters.add( - Parameter( - (final b) => b - ..name = 'name' - ..toSuper = true, - ), - ), - ), - ) - ..fields.addAll( - schema.$enum!.map( - (final value) => Field( - (final b) { - final result = resolveType( - spec, - state, - '$identifier${toDartName(value, uppercaseFirstCharacter: true)}', - schema, - ignoreEnum: true, - ); - b - ..name = toDartName(value) - ..static = true - ..modifier = FieldModifier.constant - ..type = refer(identifier) - ..assignment = Code( - '_\$${toCamelCase(identifier)}${toDartName(value, uppercaseFirstCharacter: true)}', - ); + var enumType = subResult.className; + if (enumType == 'JsonObject') { + enumType = 'Object'; + } + + final values = {}; + for (final enumValue in schema.$enum!) { + final dartName = toDartName(enumValue.toString()); + var value = enumValue.value; + if (enumValue.isString) { + value = "r'$value'"; + } - if (toDartName(value) != value) { - if (result.name != 'String' && result.name != 'int') { - throw Exception( - 'Sorry enum values are a bit broken. ' - 'See https://github.com/google/json_serializable.dart/issues/616. ' - 'Please remove the enum values on $identifier.', - ); - } - b.annotations.add( - refer('BuiltValueEnumConst').call([], { - 'wireName': refer(valueToEscapedValue(result, value)), - }), - ); - } - }, + values[dartName] = value; + } + + final $class = Class( + (final b) => b + ..name = identifier + ..extend = refer('DynamiteEnum<$enumType>') + ..constructors.add( + Constructor( + (final b) => b + ..name = '_' + ..constant = true + ..requiredParameters.add( + Parameter( + (final b) => b + ..name = 'name' + ..toSuper = true, + ), ), + ), + ) + ..fields.addAll( + values.entries.map( + (final enumValue) => Field( + (final b) { + b + ..name = enumValue.key + ..static = true + ..modifier = FieldModifier.constant + ..type = refer(identifier) + ..assignment = Code('$identifier._(${enumValue.value})'); + }, ), - ) - ..methods.addAll([ - Method( - (final b) => b - ..name = 'values' - ..returns = refer('BuiltSet<$identifier>') - ..lambda = true - ..static = true - ..body = Code('_\$${toCamelCase(identifier)}Values') - ..type = MethodType.getter, - ), - Method( - (final b) => b - ..name = 'valueOf' - ..returns = refer(identifier) - ..lambda = true - ..static = true - ..requiredParameters.add( - Parameter( - (final b) => b - ..name = 'name' - ..type = refer(subResult.name), - ), - ) - ..body = Code('_\$valueOf$identifier(name)'), - ), - buildSerializer(identifier), - ]), - ), + ), + ) + ..methods.addAll([ + Method((final b) { + b + ..name = 'values' + ..returns = refer('BuiltSet<$identifier>') + ..lambda = true + ..static = true + ..type = MethodType.getter; + + final buffer = StringBuffer() + ..writeln('BuiltSet<$identifier>(const <$identifier>[') + ..writeAll(values.entries.map((final enumValue) => '$identifier.${enumValue.key}'), ',\n') + ..writeln(',') + ..write('])'); + + b.body = Code(buffer.toString()); + }), + Method((final b) { + b + ..name = 'valueOf' + ..returns = refer(identifier) + ..static = true + ..requiredParameters.add( + Parameter( + (final b) => b + ..name = 'name' + ..type = refer(enumType), + ), + ); + final buffer = StringBuffer()..writeln('switch (name) {'); + + for (final enumValue in values.entries) { + buffer + ..writeln('case ${enumValue.value}:') + ..writeln('return $identifier.${enumValue.key};'); + } + + buffer.writeln('default: throw ArgumentError(name); }'); + + b.body = Code(buffer.toString()); + }), + buildSerializer(identifier, isCustom: true), + ]), + ); + + final serializer = Class( + (final b) => b + ..name = '_\$${identifier}Serializer' + ..implements.add(refer('PrimitiveSerializer<$identifier>')) + ..constructors.add( + Constructor( + (final b) => b..constant = true, + ), + ) + ..fields.addAll([ + Field((final b) { + b + ..static = true + ..modifier = FieldModifier.constant + ..type = refer('Map<$identifier, $enumType>') + ..name = '_toWire'; + final buffer = StringBuffer() + ..writeln('<$identifier, $enumType>{') + ..writeAll( + values.entries.map((final enumValue) => '$identifier.${enumValue.key}:${enumValue.value}'), + ',\n', + ) + ..writeln(',') + ..write('}'); + + b.assignment = Code(buffer.toString()); + }), + Field((final b) { + b + ..static = true + ..modifier = FieldModifier.constant + ..type = refer('Map<$enumType, $identifier>') + ..name = '_fromWire'; + final buffer = StringBuffer() + ..writeln('<$enumType, $identifier>{') + ..writeAll( + values.entries.map((final enumValue) => '${enumValue.value}:$identifier.${enumValue.key}'), + ',\n', + ) + ..writeln(',') + ..write('}'); + + b.assignment = Code(buffer.toString()); + }), + ]) + ..methods.addAll([ + Method( + (final b) => b + ..name = 'types' + ..lambda = true + ..type = MethodType.getter + ..returns = refer('Iterable') + ..annotations.add(refer('override')) + ..body = Code('const [$identifier]'), + ), + Method( + (final b) => b + ..name = 'wireName' + ..lambda = true + ..type = MethodType.getter + ..returns = refer('String') + ..annotations.add(refer('override')) + ..body = Code("r'$identifier'"), + ), + Method((final b) { + b + ..name = 'serialize' + ..returns = refer('Object') + ..annotations.add(refer('override')) + ..lambda = true + ..requiredParameters.addAll([ + Parameter( + (final b) => b + ..name = 'serializers' + ..type = refer('Serializers'), + ), + Parameter( + (final b) => b + ..name = 'object' + ..type = refer(identifier), + ), + ]) + ..optionalParameters.add( + Parameter( + (final b) => b + ..name = 'specifiedType' + ..type = refer('FullType') + ..named = true + ..defaultTo = const Code('FullType.unspecified'), + ), + ) + ..body = const Code('_toWire[object]!'); + }), + Method((final b) { + b + ..name = 'deserialize' + ..returns = refer(identifier) + ..annotations.add(refer('override')) + ..lambda = true + ..requiredParameters.addAll([ + Parameter( + (final b) => b + ..name = 'serializers' + ..type = refer('Serializers'), + ), + Parameter( + (final b) => b + ..name = 'serialized' + ..type = refer('Object'), + ), + ]) + ..optionalParameters.add( + Parameter( + (final b) => b + ..name = 'specifiedType' + ..type = refer('FullType') + ..named = true + ..defaultTo = const Code('FullType.unspecified'), + ), + ) + ..body = const Code('_fromWire[serialized]!'); + }), + ]), ); + + state.output.addAll([ + $class, + serializer, + ]); } return TypeResultEnum( identifier, diff --git a/packages/dynamite/dynamite/lib/src/builder/resolve_type.dart b/packages/dynamite/dynamite/lib/src/builder/resolve_type.dart index b91d3b13d72..a9253efb36f 100644 --- a/packages/dynamite/dynamite/lib/src/builder/resolve_type.dart +++ b/packages/dynamite/dynamite/lib/src/builder/resolve_type.dart @@ -12,7 +12,6 @@ TypeResult resolveType( final State state, final String identifier, final openapi.Schema schema, { - final bool ignoreEnum = false, final bool nullable = false, }) { TypeResult? result; @@ -178,7 +177,7 @@ TypeResult resolveType( } if (result != null) { - if (!ignoreEnum && schema.$enum != null) { + if (schema.$enum != null) { result = resolveEnum( spec, state, diff --git a/packages/dynamite/dynamite/lib/src/builder/state.dart b/packages/dynamite/dynamite/lib/src/builder/state.dart index bac3fa79abe..a0ccdee21f2 100644 --- a/packages/dynamite/dynamite/lib/src/builder/state.dart +++ b/packages/dynamite/dynamite/lib/src/builder/state.dart @@ -25,7 +25,7 @@ class State { /// Wether the state contains resolved types that need the built_value generator. bool get hasResolvedBuiltTypes => resolvedTypes .where( - (final type) => type is TypeResultEnum || (type is TypeResultObject && type.className != 'ContentString'), + (final type) => type is TypeResultObject && type.className != 'ContentString', ) .isNotEmpty; } diff --git a/packages/dynamite/dynamite/lib/src/helpers/type_result.dart b/packages/dynamite/dynamite/lib/src/helpers/type_result.dart index 1a57a799144..1c12844cc9f 100644 --- a/packages/dynamite/dynamite/lib/src/helpers/type_result.dart +++ b/packages/dynamite/dynamite/lib/src/helpers/type_result.dart @@ -1,8 +1,11 @@ import 'package:dynamite/src/helpers/dart_helpers.dart'; import 'package:dynamite/src/models/type_result.dart'; -String valueToEscapedValue(final TypeResult result, final String value) { - if (result is TypeResultBase && result.name == 'String') { +/// Escapes a [value] using the type specific syntax from [result]. +/// +/// Use [forceString] to ensure the returned value is a `String`. +String valueToEscapedValue(final TypeResult result, final String value, {final bool forceString = false}) { + if ((result is TypeResultBase && result.name == 'String') || forceString) { return "'$value'"; } if (result is TypeResultList) { diff --git a/packages/dynamite/dynamite/lib/src/models/openapi.dart b/packages/dynamite/dynamite/lib/src/models/openapi.dart index f4fac433007..7535dc10894 100644 --- a/packages/dynamite/dynamite/lib/src/models/openapi.dart +++ b/packages/dynamite/dynamite/lib/src/models/openapi.dart @@ -1,4 +1,5 @@ import 'package:built_collection/built_collection.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'package:dynamite/src/models/openapi/components.dart'; diff --git a/packages/dynamite/dynamite/lib/src/models/openapi.g.dart b/packages/dynamite/dynamite/lib/src/models/openapi.g.dart index ea687cd41f3..1f036f319da 100644 --- a/packages/dynamite/dynamite/lib/src/models/openapi.g.dart +++ b/packages/dynamite/dynamite/lib/src/models/openapi.g.dart @@ -31,7 +31,7 @@ Serializers _$serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(BuiltList, [FullType(Schema)]), () => ListBuilder()) ..addBuilderFactory(const FullType(BuiltList, [FullType(Schema)]), () => ListBuilder()) ..addBuilderFactory(const FullType(BuiltList, [FullType(Schema)]), () => ListBuilder()) - ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), () => ListBuilder()) + ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), () => ListBuilder()) ..addBuilderFactory( const FullType(BuiltMap, [FullType(String), FullType(Schema)]), () => MapBuilder()) ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), () => ListBuilder()) diff --git a/packages/dynamite/dynamite/lib/src/models/openapi/schema.dart b/packages/dynamite/dynamite/lib/src/models/openapi/schema.dart index ce6f4016f8f..1f66b7ee196 100644 --- a/packages/dynamite/dynamite/lib/src/models/openapi/schema.dart +++ b/packages/dynamite/dynamite/lib/src/models/openapi/schema.dart @@ -39,7 +39,7 @@ abstract class Schema implements Built { JsonObject? get $default; @BuiltValueField(wireName: 'enum') - BuiltList? get $enum; + BuiltList? get $enum; BuiltMap? get properties; diff --git a/packages/dynamite/dynamite/lib/src/models/openapi/schema.g.dart b/packages/dynamite/dynamite/lib/src/models/openapi/schema.g.dart index 10e96e0c1d2..f8feb9d66bf 100644 --- a/packages/dynamite/dynamite/lib/src/models/openapi/schema.g.dart +++ b/packages/dynamite/dynamite/lib/src/models/openapi/schema.g.dart @@ -113,7 +113,7 @@ class _$SchemaSerializer implements StructuredSerializer { if (value != null) { result ..add('enum') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(JsonObject)]))); } value = object.properties; if (value != null) { @@ -216,7 +216,7 @@ class _$SchemaSerializer implements StructuredSerializer { break; case 'enum': result.$enum.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + specifiedType: const FullType(BuiltList, [FullType(JsonObject)]))! as BuiltList); break; case 'properties': result.properties.replace(serializers.deserialize(value, @@ -298,7 +298,7 @@ class _$Schema extends Schema { @override final JsonObject? $default; @override - final BuiltList? $enum; + final BuiltList? $enum; @override final BuiltMap? properties; @override @@ -478,9 +478,9 @@ class SchemaBuilder implements Builder { JsonObject? get $default => _$this._$default; set $default(JsonObject? $default) => _$this._$default = $default; - ListBuilder? _$enum; - ListBuilder get $enum => _$this._$enum ??= ListBuilder(); - set $enum(ListBuilder? $enum) => _$this._$enum = $enum; + ListBuilder? _$enum; + ListBuilder get $enum => _$this._$enum ??= ListBuilder(); + set $enum(ListBuilder? $enum) => _$this._$enum = $enum; MapBuilder? _properties; MapBuilder get properties => _$this._properties ??= MapBuilder(); diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.dart b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.dart index 00039fdd088..d54806a7de7 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.dart +++ b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.dart @@ -14,24 +14,378 @@ import 'package:meta/meta.dart'; part 'enum.openapi.g.dart'; -class EnumString extends EnumClass { +class EnumString extends DynamiteEnum { const EnumString._(super.name); - static const EnumString test = _$enumStringTest; + static const EnumString test = EnumString._('test'); - @BuiltValueEnumConst(wireName: 'default') - static const EnumString $default = _$enumStringDefault; + static const EnumString $default = EnumString._('default'); - static BuiltSet get values => _$enumStringValues; + static const EnumString dollar = EnumString._(r'$dollar$'); - static EnumString valueOf(String name) => _$valueOfEnumString(name); + static BuiltSet get values => BuiltSet(const [ + EnumString.test, + EnumString.$default, + EnumString.dollar, + ]); - static Serializer get serializer => _$enumStringSerializer; + static EnumString valueOf(String name) { + switch (name) { + case 'test': + return EnumString.test; + case 'default': + return EnumString.$default; + case r'$dollar$': + return EnumString.dollar; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$EnumStringSerializer(); +} + +class _$EnumStringSerializer implements PrimitiveSerializer { + const _$EnumStringSerializer(); + + static const Map _toWire = { + EnumString.test: 'test', + EnumString.$default: 'default', + EnumString.dollar: r'$dollar$', + }; + + static const Map _fromWire = { + 'test': EnumString.test, + 'default': EnumString.$default, + r'$dollar$': EnumString.dollar, + }; + + @override + Iterable get types => const [EnumString]; + + @override + String get wireName => 'EnumString'; + + @override + Object serialize( + Serializers serializers, + EnumString object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EnumString deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +class EnumInt extends DynamiteEnum { + const EnumInt._(super.name); + + static const EnumInt $0 = EnumInt._(0); + + static const EnumInt $1 = EnumInt._(1); + + static const EnumInt $2 = EnumInt._(2); + + static BuiltSet get values => BuiltSet(const [ + EnumInt.$0, + EnumInt.$1, + EnumInt.$2, + ]); + + static EnumInt valueOf(int name) { + switch (name) { + case 0: + return EnumInt.$0; + case 1: + return EnumInt.$1; + case 2: + return EnumInt.$2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$EnumIntSerializer(); +} + +class _$EnumIntSerializer implements PrimitiveSerializer { + const _$EnumIntSerializer(); + + static const Map _toWire = { + EnumInt.$0: 0, + EnumInt.$1: 1, + EnumInt.$2: 2, + }; + + static const Map _fromWire = { + 0: EnumInt.$0, + 1: EnumInt.$1, + 2: EnumInt.$2, + }; + + @override + Iterable get types => const [EnumInt]; + + @override + String get wireName => 'EnumInt'; + + @override + Object serialize( + Serializers serializers, + EnumInt object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EnumInt deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +class EnumDynamic extends DynamiteEnum { + const EnumDynamic._(super.name); + + static const EnumDynamic $0 = EnumDynamic._(0); + + static const EnumDynamic string = EnumDynamic._('string'); + + static const EnumDynamic $false = EnumDynamic._(false); + + static BuiltSet get values => BuiltSet(const [ + EnumDynamic.$0, + EnumDynamic.string, + EnumDynamic.$false, + ]); + + static EnumDynamic valueOf(Object name) { + switch (name) { + case 0: + return EnumDynamic.$0; + case 'string': + return EnumDynamic.string; + case false: + return EnumDynamic.$false; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$EnumDynamicSerializer(); +} + +class _$EnumDynamicSerializer implements PrimitiveSerializer { + const _$EnumDynamicSerializer(); + + static const Map _toWire = { + EnumDynamic.$0: 0, + EnumDynamic.string: 'string', + EnumDynamic.$false: false, + }; + + static const Map _fromWire = { + 0: EnumDynamic.$0, + 'string': EnumDynamic.string, + false: EnumDynamic.$false, + }; + + @override + Iterable get types => const [EnumDynamic]; + + @override + String get wireName => 'EnumDynamic'; + + @override + Object serialize( + Serializers serializers, + EnumDynamic object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EnumDynamic deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +class WrappedEnum_$String extends DynamiteEnum { + const WrappedEnum_$String._(super.name); + + static const WrappedEnum_$String test = WrappedEnum_$String._('test'); + + static const WrappedEnum_$String $default = WrappedEnum_$String._('default'); + + static BuiltSet get values => BuiltSet(const [ + WrappedEnum_$String.test, + WrappedEnum_$String.$default, + ]); + + static WrappedEnum_$String valueOf(String name) { + switch (name) { + case 'test': + return WrappedEnum_$String.test; + case 'default': + return WrappedEnum_$String.$default; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$WrappedEnum_$StringSerializer(); +} + +class _$WrappedEnum_$StringSerializer implements PrimitiveSerializer { + const _$WrappedEnum_$StringSerializer(); + + static const Map _toWire = { + WrappedEnum_$String.test: 'test', + WrappedEnum_$String.$default: 'default', + }; + + static const Map _fromWire = { + 'test': WrappedEnum_$String.test, + 'default': WrappedEnum_$String.$default, + }; + + @override + Iterable get types => const [WrappedEnum_$String]; + + @override + String get wireName => r'WrappedEnum_$String'; + + @override + Object serialize( + Serializers serializers, + WrappedEnum_$String object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + WrappedEnum_$String deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +class WrappedEnum_Integer extends DynamiteEnum { + const WrappedEnum_Integer._(super.name); + + static const WrappedEnum_Integer $0 = WrappedEnum_Integer._(0); + + static const WrappedEnum_Integer $1 = WrappedEnum_Integer._(1); + + static const WrappedEnum_Integer $2 = WrappedEnum_Integer._(2); + + static BuiltSet get values => BuiltSet(const [ + WrappedEnum_Integer.$0, + WrappedEnum_Integer.$1, + WrappedEnum_Integer.$2, + ]); + + static WrappedEnum_Integer valueOf(int name) { + switch (name) { + case 0: + return WrappedEnum_Integer.$0; + case 1: + return WrappedEnum_Integer.$1; + case 2: + return WrappedEnum_Integer.$2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$WrappedEnum_IntegerSerializer(); +} + +class _$WrappedEnum_IntegerSerializer implements PrimitiveSerializer { + const _$WrappedEnum_IntegerSerializer(); + + static const Map _toWire = { + WrappedEnum_Integer.$0: 0, + WrappedEnum_Integer.$1: 1, + WrappedEnum_Integer.$2: 2, + }; + + static const Map _fromWire = { + 0: WrappedEnum_Integer.$0, + 1: WrappedEnum_Integer.$1, + 2: WrappedEnum_Integer.$2, + }; + + @override + Iterable get types => const [WrappedEnum_Integer]; + + @override + String get wireName => 'WrappedEnum_Integer'; + + @override + Object serialize( + Serializers serializers, + WrappedEnum_Integer object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + WrappedEnum_Integer deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +@BuiltValue(instantiable: false) +abstract interface class $WrappedEnumInterface { + WrappedEnum_$String get string; + WrappedEnum_Integer get integer; +} + +abstract class WrappedEnum implements $WrappedEnumInterface, Built { + factory WrappedEnum([void Function(WrappedEnumBuilder)? b]) = _$WrappedEnum; + + const WrappedEnum._(); + + factory WrappedEnum.fromJson(Map json) => jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => jsonSerializers.serializeWith(serializer, this)! as Map; + + static Serializer get serializer => _$wrappedEnumSerializer; } // coverage:ignore-start @visibleForTesting -final Serializers serializers = (Serializers().toBuilder()..add(EnumString.serializer)).build(); +final Serializers serializers = (Serializers().toBuilder() + ..add(EnumString.serializer) + ..add(EnumInt.serializer) + ..add(EnumDynamic.serializer) + ..addBuilderFactory(const FullType(WrappedEnum), WrappedEnumBuilder.new) + ..add(WrappedEnum.serializer) + ..add(WrappedEnum_$String.serializer) + ..add(WrappedEnum_Integer.serializer)) + .build(); @visibleForTesting final Serializers jsonSerializers = (serializers.toBuilder() diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.g.dart b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.g.dart index b60b654467d..09d8491a171 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.g.dart +++ b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.g.dart @@ -6,47 +6,152 @@ part of 'enum.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const EnumString _$enumStringTest = EnumString._('test'); -const EnumString _$enumStringDefault = EnumString._('\$default'); - -EnumString _$valueOfEnumString(String name) { - switch (name) { - case 'test': - return _$enumStringTest; - case '\$default': - return _$enumStringDefault; - default: - throw ArgumentError(name); +Serializer _$wrappedEnumSerializer = _$WrappedEnumSerializer(); + +class _$WrappedEnumSerializer implements StructuredSerializer { + @override + final Iterable types = const [WrappedEnum, _$WrappedEnum]; + @override + final String wireName = 'WrappedEnum'; + + @override + Iterable serialize(Serializers serializers, WrappedEnum object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'string', + serializers.serialize(object.string, specifiedType: const FullType(WrappedEnum_$String)), + 'integer', + serializers.serialize(object.integer, specifiedType: const FullType(WrappedEnum_Integer)), + ]; + + return result; + } + + @override + WrappedEnum deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = WrappedEnumBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'string': + result.string = serializers.deserialize(value, specifiedType: const FullType(WrappedEnum_$String))! + as WrappedEnum_$String; + break; + case 'integer': + result.integer = serializers.deserialize(value, specifiedType: const FullType(WrappedEnum_Integer))! + as WrappedEnum_Integer; + break; + } + } + + return result.build(); } } -final BuiltSet _$enumStringValues = BuiltSet(const [ - _$enumStringTest, - _$enumStringDefault, -]); +abstract mixin class $WrappedEnumInterfaceBuilder { + void replace($WrappedEnumInterface other); + void update(void Function($WrappedEnumInterfaceBuilder) updates); + WrappedEnum_$String? get string; + set string(WrappedEnum_$String? string); + + WrappedEnum_Integer? get integer; + set integer(WrappedEnum_Integer? integer); +} + +class _$WrappedEnum extends WrappedEnum { + @override + final WrappedEnum_$String string; + @override + final WrappedEnum_Integer integer; + + factory _$WrappedEnum([void Function(WrappedEnumBuilder)? updates]) => + (WrappedEnumBuilder()..update(updates))._build(); + + _$WrappedEnum._({required this.string, required this.integer}) : super._() { + BuiltValueNullFieldError.checkNotNull(string, r'WrappedEnum', 'string'); + BuiltValueNullFieldError.checkNotNull(integer, r'WrappedEnum', 'integer'); + } + + @override + WrappedEnum rebuild(void Function(WrappedEnumBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + WrappedEnumBuilder toBuilder() => WrappedEnumBuilder()..replace(this); -Serializer _$enumStringSerializer = _$EnumStringSerializer(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is WrappedEnum && string == other.string && integer == other.integer; + } -class _$EnumStringSerializer implements PrimitiveSerializer { - static const Map _toWire = { - '\$default': 'default', - }; - static const Map _fromWire = { - 'default': '\$default', - }; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, integer.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } @override - final Iterable types = const [EnumString]; + String toString() { + return (newBuiltValueToStringHelper(r'WrappedEnum') + ..add('string', string) + ..add('integer', integer)) + .toString(); + } +} + +class WrappedEnumBuilder implements Builder, $WrappedEnumInterfaceBuilder { + _$WrappedEnum? _$v; + + WrappedEnum_$String? _string; + WrappedEnum_$String? get string => _$this._string; + set string(covariant WrappedEnum_$String? string) => _$this._string = string; + + WrappedEnum_Integer? _integer; + WrappedEnum_Integer? get integer => _$this._integer; + set integer(covariant WrappedEnum_Integer? integer) => _$this._integer = integer; + + WrappedEnumBuilder(); + + WrappedEnumBuilder get _$this { + final $v = _$v; + if ($v != null) { + _string = $v.string; + _integer = $v.integer; + _$v = null; + } + return this; + } + @override - final String wireName = 'EnumString'; + void replace(covariant WrappedEnum other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$WrappedEnum; + } @override - Object serialize(Serializers serializers, EnumString object, {FullType specifiedType = FullType.unspecified}) => - _toWire[object.name] ?? object.name; + void update(void Function(WrappedEnumBuilder)? updates) { + if (updates != null) updates(this); + } @override - EnumString deserialize(Serializers serializers, Object serialized, {FullType specifiedType = FullType.unspecified}) => - EnumString.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); + WrappedEnum build() => _build(); + + _$WrappedEnum _build() { + final _$result = _$v ?? + _$WrappedEnum._( + string: BuiltValueNullFieldError.checkNotNull(string, r'WrappedEnum', 'string'), + integer: BuiltValueNullFieldError.checkNotNull(integer, r'WrappedEnum', 'integer')); + replace(_$result); + return _$result; + } } // ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.json b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.json index 2aa02fe96d2..17bd5e377ef 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.json +++ b/packages/dynamite/dynamite_end_to_end_test/lib/enum.openapi.json @@ -10,8 +10,49 @@ "type": "string", "enum": [ "test", - "default" + "default", + "$dollar$" ] + }, + "enum-int": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ] + }, + "enum-dynamic": { + "type": "object", + "enum": [ + 0, + "string", + false + ] + }, + "wrapped-enum": { + "type": "object", + "required": [ + "string", + "integer" + ], + "properties": { + "string": { + "type": "string", + "enum": [ + "test", + "default" + ] + }, + "integer": { + "type": "integer", + "enum": [ + 0, + 1, + 2 + ] + } + } } } }, diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.dart b/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.dart index 727606e4bf9..169f9a3c8ef 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.dart +++ b/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.dart @@ -19,8 +19,6 @@ import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; import 'package:uri/uri.dart'; -part 'parameters.openapi.g.dart'; - class $Client extends DynamiteClient { $Client( super.baseURL, { @@ -474,34 +472,130 @@ class $Client extends DynamiteClient { } } -class GetEnumPattern extends EnumClass { +class GetEnumPattern extends DynamiteEnum { const GetEnumPattern._(super.name); - static const GetEnumPattern a = _$getEnumPatternA; + static const GetEnumPattern a = GetEnumPattern._('a'); + + static const GetEnumPattern $0 = GetEnumPattern._('0'); + + static BuiltSet get values => BuiltSet(const [ + GetEnumPattern.a, + GetEnumPattern.$0, + ]); + + static GetEnumPattern valueOf(String name) { + switch (name) { + case 'a': + return GetEnumPattern.a; + case '0': + return GetEnumPattern.$0; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$GetEnumPatternSerializer(); +} + +class _$GetEnumPatternSerializer implements PrimitiveSerializer { + const _$GetEnumPatternSerializer(); + + static const Map _toWire = { + GetEnumPattern.a: 'a', + GetEnumPattern.$0: '0', + }; - @BuiltValueEnumConst(wireName: '0') - static const GetEnumPattern $0 = _$getEnumPattern$0; + static const Map _fromWire = { + 'a': GetEnumPattern.a, + '0': GetEnumPattern.$0, + }; - static BuiltSet get values => _$getEnumPatternValues; + @override + Iterable get types => const [GetEnumPattern]; + + @override + String get wireName => 'GetEnumPattern'; - static GetEnumPattern valueOf(String name) => _$valueOfGetEnumPattern(name); + @override + Object serialize( + Serializers serializers, + GetEnumPattern object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$getEnumPatternSerializer; + @override + GetEnumPattern deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } -class GetHeadersEnumPattern extends EnumClass { +class GetHeadersEnumPattern extends DynamiteEnum { const GetHeadersEnumPattern._(super.name); - static const GetHeadersEnumPattern a = _$getHeadersEnumPatternA; + static const GetHeadersEnumPattern a = GetHeadersEnumPattern._('a'); - @BuiltValueEnumConst(wireName: '0') - static const GetHeadersEnumPattern $0 = _$getHeadersEnumPattern$0; + static const GetHeadersEnumPattern $0 = GetHeadersEnumPattern._('0'); - static BuiltSet get values => _$getHeadersEnumPatternValues; + static BuiltSet get values => BuiltSet(const [ + GetHeadersEnumPattern.a, + GetHeadersEnumPattern.$0, + ]); - static GetHeadersEnumPattern valueOf(String name) => _$valueOfGetHeadersEnumPattern(name); + static GetHeadersEnumPattern valueOf(String name) { + switch (name) { + case 'a': + return GetHeadersEnumPattern.a; + case '0': + return GetHeadersEnumPattern.$0; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$GetHeadersEnumPatternSerializer(); +} + +class _$GetHeadersEnumPatternSerializer implements PrimitiveSerializer { + const _$GetHeadersEnumPatternSerializer(); - static Serializer get serializer => _$getHeadersEnumPatternSerializer; + static const Map _toWire = { + GetHeadersEnumPattern.a: 'a', + GetHeadersEnumPattern.$0: '0', + }; + + static const Map _fromWire = { + 'a': GetHeadersEnumPattern.a, + '0': GetHeadersEnumPattern.$0, + }; + + @override + Iterable get types => const [GetHeadersEnumPattern]; + + @override + String get wireName => 'GetHeadersEnumPattern'; + + @override + Object serialize( + Serializers serializers, + GetHeadersEnumPattern object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + GetHeadersEnumPattern deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } typedef GetOneOf = ({bool? $bool, String? string}); diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.g.dart b/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.g.dart deleted file mode 100644 index bbcc63ceaa0..00000000000 --- a/packages/dynamite/dynamite_end_to_end_test/lib/parameters.openapi.g.dart +++ /dev/null @@ -1,98 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'parameters.openapi.dart'; - -// ************************************************************************** -// BuiltValueGenerator -// ************************************************************************** - -const GetEnumPattern _$getEnumPatternA = GetEnumPattern._('a'); -const GetEnumPattern _$getEnumPattern$0 = GetEnumPattern._('\$0'); - -GetEnumPattern _$valueOfGetEnumPattern(String name) { - switch (name) { - case 'a': - return _$getEnumPatternA; - case '\$0': - return _$getEnumPattern$0; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$getEnumPatternValues = BuiltSet(const [ - _$getEnumPatternA, - _$getEnumPattern$0, -]); - -const GetHeadersEnumPattern _$getHeadersEnumPatternA = GetHeadersEnumPattern._('a'); -const GetHeadersEnumPattern _$getHeadersEnumPattern$0 = GetHeadersEnumPattern._('\$0'); - -GetHeadersEnumPattern _$valueOfGetHeadersEnumPattern(String name) { - switch (name) { - case 'a': - return _$getHeadersEnumPatternA; - case '\$0': - return _$getHeadersEnumPattern$0; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$getHeadersEnumPatternValues = - BuiltSet(const [ - _$getHeadersEnumPatternA, - _$getHeadersEnumPattern$0, -]); - -Serializer _$getEnumPatternSerializer = _$GetEnumPatternSerializer(); -Serializer _$getHeadersEnumPatternSerializer = _$GetHeadersEnumPatternSerializer(); - -class _$GetEnumPatternSerializer implements PrimitiveSerializer { - static const Map _toWire = { - '\$0': '0', - }; - static const Map _fromWire = { - '0': '\$0', - }; - - @override - final Iterable types = const [GetEnumPattern]; - @override - final String wireName = 'GetEnumPattern'; - - @override - Object serialize(Serializers serializers, GetEnumPattern object, {FullType specifiedType = FullType.unspecified}) => - _toWire[object.name] ?? object.name; - - @override - GetEnumPattern deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - GetEnumPattern.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); -} - -class _$GetHeadersEnumPatternSerializer implements PrimitiveSerializer { - static const Map _toWire = { - '\$0': '0', - }; - static const Map _fromWire = { - '0': '\$0', - }; - - @override - final Iterable types = const [GetHeadersEnumPattern]; - @override - final String wireName = 'GetHeadersEnumPattern'; - - @override - Object serialize(Serializers serializers, GetHeadersEnumPattern object, - {FullType specifiedType = FullType.unspecified}) => - _toWire[object.name] ?? object.name; - - @override - GetHeadersEnumPattern deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - GetHeadersEnumPattern.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); -} - -// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/dynamite/dynamite_end_to_end_test/test/enum_test.dart b/packages/dynamite/dynamite_end_to_end_test/test/enum_test.dart index d985b693f49..e3b9c005670 100644 --- a/packages/dynamite/dynamite_end_to_end_test/test/enum_test.dart +++ b/packages/dynamite/dynamite_end_to_end_test/test/enum_test.dart @@ -3,23 +3,96 @@ import 'package:dynamite_end_to_end_test/enum.openapi.dart'; import 'package:test/test.dart'; void main() { - final serializers = (Serializers().toBuilder()..add(EnumString.serializer)).build(); - group('String', () { test('serialize', () { - final serialized = serializers.serialize( - EnumString.$default, - specifiedType: const FullType(EnumString), - ); - expect(serialized, 'default'); + const results = { + EnumString.test: 'test', + EnumString.$default: 'default', + EnumString.dollar: r'$dollar$', + }; + + for (final result in results.entries) { + final serialized = serializers.serialize( + result.key, + specifiedType: const FullType(EnumString), + ); + + expect(serialized, result.value); + + final deserialized = serializers.deserialize( + result.value, + specifiedType: const FullType(EnumString), + ); + expect(deserialized, result.key); + } + }); + }); + + group('int', () { + test('serialize', () { + const results = { + EnumInt.$0: 0, + EnumInt.$1: 1, + EnumInt.$2: 2, + }; + + for (final result in results.entries) { + final serialized = serializers.serialize( + result.key, + specifiedType: const FullType(EnumInt), + ); + + expect(serialized, result.value); + + final deserialized = serializers.deserialize( + result.value, + specifiedType: const FullType(EnumInt), + ); + expect(deserialized, result.key); + } }); + }); + + group('dynamic', () { + test('serialize', () { + const results = { + EnumDynamic.$0: 0, + EnumDynamic.string: 'string', + EnumDynamic.$false: false, + }; + + for (final result in results.entries) { + final serialized = serializers.serialize( + result.key, + specifiedType: const FullType(EnumDynamic), + ); + + expect(serialized, result.value); - test('deserialize', () { - final deserialized = serializers.deserialize( - 'default', - specifiedType: const FullType(EnumString), + final deserialized = serializers.deserialize( + result.value, + specifiedType: const FullType(EnumDynamic), + ); + expect(deserialized, result.key); + } + }); + }); + + group('wrapped', () { + test('serialize', () { + final wrap = WrappedEnum( + (b) => b + ..string = WrappedEnum_$String.$default + ..integer = WrappedEnum_Integer.$2, + ); + final serialized = jsonSerializers.serialize( + wrap, + specifiedType: const FullType(WrappedEnum), ); - expect(deserialized, EnumString.$default); + expect(serialized, { + 'string': 'default', + 'integer': 2, + }); }); }); } diff --git a/packages/dynamite/dynamite_runtime/lib/built_value.dart b/packages/dynamite/dynamite_runtime/lib/built_value.dart index 07d29e7dd66..2b95b4c3104 100644 --- a/packages/dynamite/dynamite_runtime/lib/built_value.dart +++ b/packages/dynamite/dynamite_runtime/lib/built_value.dart @@ -1,3 +1,4 @@ export 'src/built_value/content_string_serializer.dart'; export 'src/built_value/double_serializer.dart'; +export 'src/built_value/enum.dart'; export 'src/built_value/header_serializer.dart'; diff --git a/packages/dynamite/dynamite_runtime/lib/src/built_value/enum.dart b/packages/dynamite/dynamite_runtime/lib/src/built_value/enum.dart new file mode 100644 index 00000000000..79ee497ec71 --- /dev/null +++ b/packages/dynamite/dynamite_runtime/lib/src/built_value/enum.dart @@ -0,0 +1,13 @@ +/// Enum Class base class. +/// +/// Similar to a built_value `EnumClass` but allowing generic subtypes. +class DynamiteEnum { + /// Creates a new enum value with the given name. + const DynamiteEnum(this.name); + + /// The enum value. + final T name; + + @override + String toString() => name.toString(); +} diff --git a/packages/nextcloud/lib/src/api/files_external.openapi.dart b/packages/nextcloud/lib/src/api/files_external.openapi.dart index 7a679702cb8..28d87a7b029 100644 --- a/packages/nextcloud/lib/src/api/files_external.openapi.dart +++ b/packages/nextcloud/lib/src/api/files_external.openapi.dart @@ -152,50 +152,186 @@ abstract class OCSMeta implements $OCSMetaInterface, Built get serializer => _$oCSMetaSerializer; } -class Mount_Type extends EnumClass { +class Mount_Type extends DynamiteEnum { const Mount_Type._(super.name); - static const Mount_Type dir = _$mountTypeDir; + static const Mount_Type dir = Mount_Type._('dir'); - // coverage:ignore-start - static BuiltSet get values => _$mountTypeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + Mount_Type.dir, + ]); - static Mount_Type valueOf(String name) => _$valueOfMount_Type(name); + static Mount_Type valueOf(String name) { + switch (name) { + case 'dir': + return Mount_Type.dir; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$mountTypeSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$Mount_TypeSerializer(); } -class Mount_Scope extends EnumClass { +class _$Mount_TypeSerializer implements PrimitiveSerializer { + const _$Mount_TypeSerializer(); + + static const Map _toWire = { + Mount_Type.dir: 'dir', + }; + + static const Map _fromWire = { + 'dir': Mount_Type.dir, + }; + + @override + Iterable get types => const [Mount_Type]; + + @override + String get wireName => 'Mount_Type'; + + @override + Object serialize( + Serializers serializers, + Mount_Type object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + Mount_Type deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +class Mount_Scope extends DynamiteEnum { const Mount_Scope._(super.name); - static const Mount_Scope system = _$mountScopeSystem; + static const Mount_Scope system = Mount_Scope._('system'); - static const Mount_Scope personal = _$mountScopePersonal; + static const Mount_Scope personal = Mount_Scope._('personal'); - // coverage:ignore-start - static BuiltSet get values => _$mountScopeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + Mount_Scope.system, + Mount_Scope.personal, + ]); + + static Mount_Scope valueOf(String name) { + switch (name) { + case 'system': + return Mount_Scope.system; + case 'personal': + return Mount_Scope.personal; + default: + throw ArgumentError(name); + } + } - static Mount_Scope valueOf(String name) => _$valueOfMount_Scope(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$Mount_ScopeSerializer(); +} - static Serializer get serializer => _$mountScopeSerializer; +class _$Mount_ScopeSerializer implements PrimitiveSerializer { + const _$Mount_ScopeSerializer(); + + static const Map _toWire = { + Mount_Scope.system: 'system', + Mount_Scope.personal: 'personal', + }; + + static const Map _fromWire = { + 'system': Mount_Scope.system, + 'personal': Mount_Scope.personal, + }; + + @override + Iterable get types => const [Mount_Scope]; + + @override + String get wireName => 'Mount_Scope'; + + @override + Object serialize( + Serializers serializers, + Mount_Scope object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + Mount_Scope deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } -class StorageConfig_Type extends EnumClass { +class StorageConfig_Type extends DynamiteEnum { const StorageConfig_Type._(super.name); - static const StorageConfig_Type personal = _$storageConfigTypePersonal; + static const StorageConfig_Type personal = StorageConfig_Type._('personal'); - static const StorageConfig_Type system = _$storageConfigTypeSystem; + static const StorageConfig_Type system = StorageConfig_Type._('system'); - // coverage:ignore-start - static BuiltSet get values => _$storageConfigTypeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + StorageConfig_Type.personal, + StorageConfig_Type.system, + ]); - static StorageConfig_Type valueOf(String name) => _$valueOfStorageConfig_Type(name); + static StorageConfig_Type valueOf(String name) { + switch (name) { + case 'personal': + return StorageConfig_Type.personal; + case 'system': + return StorageConfig_Type.system; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$StorageConfig_TypeSerializer(); +} - static Serializer get serializer => _$storageConfigTypeSerializer; +class _$StorageConfig_TypeSerializer implements PrimitiveSerializer { + const _$StorageConfig_TypeSerializer(); + + static const Map _toWire = { + StorageConfig_Type.personal: 'personal', + StorageConfig_Type.system: 'system', + }; + + static const Map _fromWire = { + 'personal': StorageConfig_Type.personal, + 'system': StorageConfig_Type.system, + }; + + @override + Iterable get types => const [StorageConfig_Type]; + + @override + String get wireName => 'StorageConfig_Type'; + + @override + Object serialize( + Serializers serializers, + StorageConfig_Type object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + StorageConfig_Type deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/files_external.openapi.g.dart b/packages/nextcloud/lib/src/api/files_external.openapi.g.dart index c7a045bae7d..0ddd717961c 100644 --- a/packages/nextcloud/lib/src/api/files_external.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/files_external.openapi.g.dart @@ -6,63 +6,7 @@ part of 'files_external.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const Mount_Type _$mountTypeDir = Mount_Type._('dir'); - -Mount_Type _$valueOfMount_Type(String name) { - switch (name) { - case 'dir': - return _$mountTypeDir; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$mountTypeValues = BuiltSet(const [ - _$mountTypeDir, -]); - -const Mount_Scope _$mountScopeSystem = Mount_Scope._('system'); -const Mount_Scope _$mountScopePersonal = Mount_Scope._('personal'); - -Mount_Scope _$valueOfMount_Scope(String name) { - switch (name) { - case 'system': - return _$mountScopeSystem; - case 'personal': - return _$mountScopePersonal; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$mountScopeValues = BuiltSet(const [ - _$mountScopeSystem, - _$mountScopePersonal, -]); - -const StorageConfig_Type _$storageConfigTypePersonal = StorageConfig_Type._('personal'); -const StorageConfig_Type _$storageConfigTypeSystem = StorageConfig_Type._('system'); - -StorageConfig_Type _$valueOfStorageConfig_Type(String name) { - switch (name) { - case 'personal': - return _$storageConfigTypePersonal; - case 'system': - return _$storageConfigTypeSystem; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$storageConfigTypeValues = BuiltSet(const [ - _$storageConfigTypePersonal, - _$storageConfigTypeSystem, -]); - Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); -Serializer _$mountTypeSerializer = _$Mount_TypeSerializer(); -Serializer _$mountScopeSerializer = _$Mount_ScopeSerializer(); -Serializer _$storageConfigTypeSerializer = _$StorageConfig_TypeSerializer(); Serializer _$storageConfigSerializer = _$StorageConfigSerializer(); Serializer _$mountSerializer = _$MountSerializer(); Serializer _$apiGetUserMountsResponseApplicationJsonOcsSerializer = @@ -140,54 +84,6 @@ class _$OCSMetaSerializer implements StructuredSerializer { } } -class _$Mount_TypeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [Mount_Type]; - @override - final String wireName = 'Mount_Type'; - - @override - Object serialize(Serializers serializers, Mount_Type object, {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - Mount_Type deserialize(Serializers serializers, Object serialized, {FullType specifiedType = FullType.unspecified}) => - Mount_Type.valueOf(serialized as String); -} - -class _$Mount_ScopeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [Mount_Scope]; - @override - final String wireName = 'Mount_Scope'; - - @override - Object serialize(Serializers serializers, Mount_Scope object, {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - Mount_Scope deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - Mount_Scope.valueOf(serialized as String); -} - -class _$StorageConfig_TypeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [StorageConfig_Type]; - @override - final String wireName = 'StorageConfig_Type'; - - @override - Object serialize(Serializers serializers, StorageConfig_Type object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - StorageConfig_Type deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - StorageConfig_Type.valueOf(serialized as String); -} - class _$StorageConfigSerializer implements StructuredSerializer { @override final Iterable types = const [StorageConfig, _$StorageConfig]; diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart index 1009a33bba1..6bf6dd13997 100644 --- a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart @@ -2971,20 +2971,67 @@ abstract class ShareInfo implements $ShareInfoInterface, Built get serializer => _$shareInfoSerializer; } -class Share_ItemType extends EnumClass { +class Share_ItemType extends DynamiteEnum { const Share_ItemType._(super.name); - static const Share_ItemType file = _$shareItemTypeFile; + static const Share_ItemType file = Share_ItemType._('file'); - static const Share_ItemType folder = _$shareItemTypeFolder; + static const Share_ItemType folder = Share_ItemType._('folder'); - // coverage:ignore-start - static BuiltSet get values => _$shareItemTypeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + Share_ItemType.file, + Share_ItemType.folder, + ]); + + static Share_ItemType valueOf(String name) { + switch (name) { + case 'file': + return Share_ItemType.file; + case 'folder': + return Share_ItemType.folder; + default: + throw ArgumentError(name); + } + } - static Share_ItemType valueOf(String name) => _$valueOfShare_ItemType(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$Share_ItemTypeSerializer(); +} + +class _$Share_ItemTypeSerializer implements PrimitiveSerializer { + const _$Share_ItemTypeSerializer(); + + static const Map _toWire = { + Share_ItemType.file: 'file', + Share_ItemType.folder: 'folder', + }; + + static const Map _fromWire = { + 'file': Share_ItemType.file, + 'folder': Share_ItemType.folder, + }; + + @override + Iterable get types => const [Share_ItemType]; - static Serializer get serializer => _$shareItemTypeSerializer; + @override + String get wireName => 'Share_ItemType'; + + @override + Object serialize( + Serializers serializers, + Share_ItemType object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + Share_ItemType deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart index 00ab82965e7..54c24d3ddd6 100644 --- a/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart @@ -6,25 +6,6 @@ part of 'files_sharing.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const Share_ItemType _$shareItemTypeFile = Share_ItemType._('file'); -const Share_ItemType _$shareItemTypeFolder = Share_ItemType._('folder'); - -Share_ItemType _$valueOfShare_ItemType(String name) { - switch (name) { - case 'file': - return _$shareItemTypeFile; - case 'folder': - return _$shareItemTypeFolder; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$shareItemTypeValues = BuiltSet(const [ - _$shareItemTypeFile, - _$shareItemTypeFolder, -]); - Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); Serializer _$deletedShareSerializer = _$DeletedShareSerializer(); Serializer _$deletedShareapiListResponseApplicationJsonOcsSerializer = @@ -62,7 +43,6 @@ Serializer _$remoteUnshareResponseAppl Serializer _$remoteUnshareResponseApplicationJsonSerializer = _$RemoteUnshareResponseApplicationJsonSerializer(); Serializer _$shareInfoSerializer = _$ShareInfoSerializer(); -Serializer _$shareItemTypeSerializer = _$Share_ItemTypeSerializer(); Serializer _$shareStatusSerializer = _$Share_StatusSerializer(); Serializer _$shareSerializer = _$ShareSerializer(); Serializer _$shareapiGetSharesResponseApplicationJsonOcsSerializer = @@ -1339,22 +1319,6 @@ class _$ShareInfoSerializer implements StructuredSerializer { } } -class _$Share_ItemTypeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [Share_ItemType]; - @override - final String wireName = 'Share_ItemType'; - - @override - Object serialize(Serializers serializers, Share_ItemType object, {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - Share_ItemType deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - Share_ItemType.valueOf(serialized as String); -} - class _$Share_StatusSerializer implements StructuredSerializer { @override final Iterable types = const [Share_Status, _$Share_Status]; diff --git a/packages/nextcloud/lib/src/api/notes.openapi.dart b/packages/nextcloud/lib/src/api/notes.openapi.dart index ff764380567..fa6a1c0ed99 100644 --- a/packages/nextcloud/lib/src/api/notes.openapi.dart +++ b/packages/nextcloud/lib/src/api/notes.openapi.dart @@ -734,22 +734,74 @@ abstract class Note implements $NoteInterface, Built { static Serializer get serializer => _$noteSerializer; } -class Settings_NoteMode extends EnumClass { +class Settings_NoteMode extends DynamiteEnum { const Settings_NoteMode._(super.name); - static const Settings_NoteMode edit = _$settingsNoteModeEdit; + static const Settings_NoteMode edit = Settings_NoteMode._('edit'); - static const Settings_NoteMode preview = _$settingsNoteModePreview; + static const Settings_NoteMode preview = Settings_NoteMode._('preview'); - static const Settings_NoteMode rich = _$settingsNoteModeRich; + static const Settings_NoteMode rich = Settings_NoteMode._('rich'); - // coverage:ignore-start - static BuiltSet get values => _$settingsNoteModeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + Settings_NoteMode.edit, + Settings_NoteMode.preview, + Settings_NoteMode.rich, + ]); + + static Settings_NoteMode valueOf(String name) { + switch (name) { + case 'edit': + return Settings_NoteMode.edit; + case 'preview': + return Settings_NoteMode.preview; + case 'rich': + return Settings_NoteMode.rich; + default: + throw ArgumentError(name); + } + } - static Settings_NoteMode valueOf(String name) => _$valueOfSettings_NoteMode(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$Settings_NoteModeSerializer(); +} - static Serializer get serializer => _$settingsNoteModeSerializer; +class _$Settings_NoteModeSerializer implements PrimitiveSerializer { + const _$Settings_NoteModeSerializer(); + + static const Map _toWire = { + Settings_NoteMode.edit: 'edit', + Settings_NoteMode.preview: 'preview', + Settings_NoteMode.rich: 'rich', + }; + + static const Map _fromWire = { + 'edit': Settings_NoteMode.edit, + 'preview': Settings_NoteMode.preview, + 'rich': Settings_NoteMode.rich, + }; + + @override + Iterable get types => const [Settings_NoteMode]; + + @override + String get wireName => 'Settings_NoteMode'; + + @override + Object serialize( + Serializers serializers, + Settings_NoteMode object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + Settings_NoteMode deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/notes.openapi.g.dart b/packages/nextcloud/lib/src/api/notes.openapi.g.dart index 824f67ed5e0..fc061620714 100644 --- a/packages/nextcloud/lib/src/api/notes.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/notes.openapi.g.dart @@ -6,31 +6,7 @@ part of 'notes.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const Settings_NoteMode _$settingsNoteModeEdit = Settings_NoteMode._('edit'); -const Settings_NoteMode _$settingsNoteModePreview = Settings_NoteMode._('preview'); -const Settings_NoteMode _$settingsNoteModeRich = Settings_NoteMode._('rich'); - -Settings_NoteMode _$valueOfSettings_NoteMode(String name) { - switch (name) { - case 'edit': - return _$settingsNoteModeEdit; - case 'preview': - return _$settingsNoteModePreview; - case 'rich': - return _$settingsNoteModeRich; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$settingsNoteModeValues = BuiltSet(const [ - _$settingsNoteModeEdit, - _$settingsNoteModePreview, - _$settingsNoteModeRich, -]); - Serializer _$noteSerializer = _$NoteSerializer(); -Serializer _$settingsNoteModeSerializer = _$Settings_NoteModeSerializer(); Serializer _$settingsSerializer = _$SettingsSerializer(); Serializer _$capabilitiesNotesSerializer = _$Capabilities_NotesSerializer(); Serializer _$capabilitiesSerializer = _$CapabilitiesSerializer(); @@ -120,23 +96,6 @@ class _$NoteSerializer implements StructuredSerializer { } } -class _$Settings_NoteModeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [Settings_NoteMode]; - @override - final String wireName = 'Settings_NoteMode'; - - @override - Object serialize(Serializers serializers, Settings_NoteMode object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - Settings_NoteMode deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - Settings_NoteMode.valueOf(serialized as String); -} - class _$SettingsSerializer implements StructuredSerializer { @override final Iterable types = const [Settings, _$Settings]; diff --git a/packages/nextcloud/lib/src/api/notifications.openapi.dart b/packages/nextcloud/lib/src/api/notifications.openapi.dart index ec8e937cca7..03a28740d77 100644 --- a/packages/nextcloud/lib/src/api/notifications.openapi.dart +++ b/packages/nextcloud/lib/src/api/notifications.openapi.dart @@ -1170,20 +1170,69 @@ class $SettingsClient { } } -class ApiGenerateNotificationApiVersion extends EnumClass { +class ApiGenerateNotificationApiVersion extends DynamiteEnum { const ApiGenerateNotificationApiVersion._(super.name); - static const ApiGenerateNotificationApiVersion v1 = _$apiGenerateNotificationApiVersionV1; + static const ApiGenerateNotificationApiVersion v1 = ApiGenerateNotificationApiVersion._('v1'); - static const ApiGenerateNotificationApiVersion v2 = _$apiGenerateNotificationApiVersionV2; + static const ApiGenerateNotificationApiVersion v2 = ApiGenerateNotificationApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$apiGenerateNotificationApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ApiGenerateNotificationApiVersion.v1, + ApiGenerateNotificationApiVersion.v2, + ]); + + static ApiGenerateNotificationApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ApiGenerateNotificationApiVersion.v1; + case 'v2': + return ApiGenerateNotificationApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$ApiGenerateNotificationApiVersionSerializer(); +} + +class _$ApiGenerateNotificationApiVersionSerializer implements PrimitiveSerializer { + const _$ApiGenerateNotificationApiVersionSerializer(); - static ApiGenerateNotificationApiVersion valueOf(String name) => _$valueOfApiGenerateNotificationApiVersion(name); + static const Map _toWire = { + ApiGenerateNotificationApiVersion.v1: 'v1', + ApiGenerateNotificationApiVersion.v2: 'v2', + }; - static Serializer get serializer => _$apiGenerateNotificationApiVersionSerializer; + static const Map _fromWire = { + 'v1': ApiGenerateNotificationApiVersion.v1, + 'v2': ApiGenerateNotificationApiVersion.v2, + }; + + @override + Iterable get types => const [ApiGenerateNotificationApiVersion]; + + @override + String get wireName => 'ApiGenerateNotificationApiVersion'; + + @override + Object serialize( + Serializers serializers, + ApiGenerateNotificationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ApiGenerateNotificationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1275,21 +1324,71 @@ abstract class ApiGenerateNotificationResponseApplicationJson _$apiGenerateNotificationResponseApplicationJsonSerializer; } -class EndpointListNotificationsApiVersion extends EnumClass { +class EndpointListNotificationsApiVersion extends DynamiteEnum { const EndpointListNotificationsApiVersion._(super.name); - static const EndpointListNotificationsApiVersion v1 = _$endpointListNotificationsApiVersionV1; + static const EndpointListNotificationsApiVersion v1 = EndpointListNotificationsApiVersion._('v1'); - static const EndpointListNotificationsApiVersion v2 = _$endpointListNotificationsApiVersionV2; + static const EndpointListNotificationsApiVersion v2 = EndpointListNotificationsApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$endpointListNotificationsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + EndpointListNotificationsApiVersion.v1, + EndpointListNotificationsApiVersion.v2, + ]); - static EndpointListNotificationsApiVersion valueOf(String name) => _$valueOfEndpointListNotificationsApiVersion(name); + static EndpointListNotificationsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return EndpointListNotificationsApiVersion.v1; + case 'v2': + return EndpointListNotificationsApiVersion.v2; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$endpointListNotificationsApiVersionSerializer; + const _$EndpointListNotificationsApiVersionSerializer(); +} + +class _$EndpointListNotificationsApiVersionSerializer + implements PrimitiveSerializer { + const _$EndpointListNotificationsApiVersionSerializer(); + + static const Map _toWire = { + EndpointListNotificationsApiVersion.v1: 'v1', + EndpointListNotificationsApiVersion.v2: 'v2', + }; + + static const Map _fromWire = + { + 'v1': EndpointListNotificationsApiVersion.v1, + 'v2': EndpointListNotificationsApiVersion.v2, + }; + + @override + Iterable get types => const [EndpointListNotificationsApiVersion]; + + @override + String get wireName => 'EndpointListNotificationsApiVersion'; + + @override + Object serialize( + Serializers serializers, + EndpointListNotificationsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EndpointListNotificationsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1454,23 +1553,72 @@ abstract class EndpointListNotificationsResponseApplicationJson _$endpointListNotificationsResponseApplicationJsonSerializer; } -class EndpointDeleteAllNotificationsApiVersion extends EnumClass { +class EndpointDeleteAllNotificationsApiVersion extends DynamiteEnum { const EndpointDeleteAllNotificationsApiVersion._(super.name); - static const EndpointDeleteAllNotificationsApiVersion v1 = _$endpointDeleteAllNotificationsApiVersionV1; + static const EndpointDeleteAllNotificationsApiVersion v1 = EndpointDeleteAllNotificationsApiVersion._('v1'); - static const EndpointDeleteAllNotificationsApiVersion v2 = _$endpointDeleteAllNotificationsApiVersionV2; + static const EndpointDeleteAllNotificationsApiVersion v2 = EndpointDeleteAllNotificationsApiVersion._('v2'); - // coverage:ignore-start static BuiltSet get values => - _$endpointDeleteAllNotificationsApiVersionValues; - // coverage:ignore-end - - static EndpointDeleteAllNotificationsApiVersion valueOf(String name) => - _$valueOfEndpointDeleteAllNotificationsApiVersion(name); + BuiltSet(const [ + EndpointDeleteAllNotificationsApiVersion.v1, + EndpointDeleteAllNotificationsApiVersion.v2, + ]); + + static EndpointDeleteAllNotificationsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return EndpointDeleteAllNotificationsApiVersion.v1; + case 'v2': + return EndpointDeleteAllNotificationsApiVersion.v2; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$endpointDeleteAllNotificationsApiVersionSerializer; + const _$EndpointDeleteAllNotificationsApiVersionSerializer(); +} + +class _$EndpointDeleteAllNotificationsApiVersionSerializer + implements PrimitiveSerializer { + const _$EndpointDeleteAllNotificationsApiVersionSerializer(); + + static const Map _toWire = + { + EndpointDeleteAllNotificationsApiVersion.v1: 'v1', + EndpointDeleteAllNotificationsApiVersion.v2: 'v2', + }; + + static const Map _fromWire = + { + 'v1': EndpointDeleteAllNotificationsApiVersion.v1, + 'v2': EndpointDeleteAllNotificationsApiVersion.v2, + }; + + @override + Iterable get types => const [EndpointDeleteAllNotificationsApiVersion]; + + @override + String get wireName => 'EndpointDeleteAllNotificationsApiVersion'; + + @override + Object serialize( + Serializers serializers, + EndpointDeleteAllNotificationsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EndpointDeleteAllNotificationsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1536,20 +1684,69 @@ abstract class EndpointDeleteAllNotificationsResponseApplicationJson _$endpointDeleteAllNotificationsResponseApplicationJsonSerializer; } -class EndpointGetNotificationApiVersion extends EnumClass { +class EndpointGetNotificationApiVersion extends DynamiteEnum { const EndpointGetNotificationApiVersion._(super.name); - static const EndpointGetNotificationApiVersion v1 = _$endpointGetNotificationApiVersionV1; + static const EndpointGetNotificationApiVersion v1 = EndpointGetNotificationApiVersion._('v1'); - static const EndpointGetNotificationApiVersion v2 = _$endpointGetNotificationApiVersionV2; + static const EndpointGetNotificationApiVersion v2 = EndpointGetNotificationApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$endpointGetNotificationApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + EndpointGetNotificationApiVersion.v1, + EndpointGetNotificationApiVersion.v2, + ]); + + static EndpointGetNotificationApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return EndpointGetNotificationApiVersion.v1; + case 'v2': + return EndpointGetNotificationApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$EndpointGetNotificationApiVersionSerializer(); +} + +class _$EndpointGetNotificationApiVersionSerializer implements PrimitiveSerializer { + const _$EndpointGetNotificationApiVersionSerializer(); + + static const Map _toWire = { + EndpointGetNotificationApiVersion.v1: 'v1', + EndpointGetNotificationApiVersion.v2: 'v2', + }; - static EndpointGetNotificationApiVersion valueOf(String name) => _$valueOfEndpointGetNotificationApiVersion(name); + static const Map _fromWire = { + 'v1': EndpointGetNotificationApiVersion.v1, + 'v2': EndpointGetNotificationApiVersion.v2, + }; - static Serializer get serializer => _$endpointGetNotificationApiVersionSerializer; + @override + Iterable get types => const [EndpointGetNotificationApiVersion]; + + @override + String get wireName => 'EndpointGetNotificationApiVersion'; + + @override + Object serialize( + Serializers serializers, + EndpointGetNotificationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EndpointGetNotificationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1614,22 +1811,72 @@ abstract class EndpointGetNotificationResponseApplicationJson _$endpointGetNotificationResponseApplicationJsonSerializer; } -class EndpointDeleteNotificationApiVersion extends EnumClass { +class EndpointDeleteNotificationApiVersion extends DynamiteEnum { const EndpointDeleteNotificationApiVersion._(super.name); - static const EndpointDeleteNotificationApiVersion v1 = _$endpointDeleteNotificationApiVersionV1; + static const EndpointDeleteNotificationApiVersion v1 = EndpointDeleteNotificationApiVersion._('v1'); - static const EndpointDeleteNotificationApiVersion v2 = _$endpointDeleteNotificationApiVersionV2; + static const EndpointDeleteNotificationApiVersion v2 = EndpointDeleteNotificationApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$endpointDeleteNotificationApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + EndpointDeleteNotificationApiVersion.v1, + EndpointDeleteNotificationApiVersion.v2, + ]); - static EndpointDeleteNotificationApiVersion valueOf(String name) => - _$valueOfEndpointDeleteNotificationApiVersion(name); + static EndpointDeleteNotificationApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return EndpointDeleteNotificationApiVersion.v1; + case 'v2': + return EndpointDeleteNotificationApiVersion.v2; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$endpointDeleteNotificationApiVersionSerializer; + const _$EndpointDeleteNotificationApiVersionSerializer(); +} + +class _$EndpointDeleteNotificationApiVersionSerializer + implements PrimitiveSerializer { + const _$EndpointDeleteNotificationApiVersionSerializer(); + + static const Map _toWire = + { + EndpointDeleteNotificationApiVersion.v1: 'v1', + EndpointDeleteNotificationApiVersion.v2: 'v2', + }; + + static const Map _fromWire = + { + 'v1': EndpointDeleteNotificationApiVersion.v1, + 'v2': EndpointDeleteNotificationApiVersion.v2, + }; + + @override + Iterable get types => const [EndpointDeleteNotificationApiVersion]; + + @override + String get wireName => 'EndpointDeleteNotificationApiVersion'; + + @override + Object serialize( + Serializers serializers, + EndpointDeleteNotificationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EndpointDeleteNotificationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1695,21 +1942,71 @@ abstract class EndpointDeleteNotificationResponseApplicationJson _$endpointDeleteNotificationResponseApplicationJsonSerializer; } -class EndpointConfirmIdsForUserApiVersion extends EnumClass { +class EndpointConfirmIdsForUserApiVersion extends DynamiteEnum { const EndpointConfirmIdsForUserApiVersion._(super.name); - static const EndpointConfirmIdsForUserApiVersion v1 = _$endpointConfirmIdsForUserApiVersionV1; + static const EndpointConfirmIdsForUserApiVersion v1 = EndpointConfirmIdsForUserApiVersion._('v1'); - static const EndpointConfirmIdsForUserApiVersion v2 = _$endpointConfirmIdsForUserApiVersionV2; + static const EndpointConfirmIdsForUserApiVersion v2 = EndpointConfirmIdsForUserApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$endpointConfirmIdsForUserApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + EndpointConfirmIdsForUserApiVersion.v1, + EndpointConfirmIdsForUserApiVersion.v2, + ]); - static EndpointConfirmIdsForUserApiVersion valueOf(String name) => _$valueOfEndpointConfirmIdsForUserApiVersion(name); + static EndpointConfirmIdsForUserApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return EndpointConfirmIdsForUserApiVersion.v1; + case 'v2': + return EndpointConfirmIdsForUserApiVersion.v2; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$endpointConfirmIdsForUserApiVersionSerializer; + const _$EndpointConfirmIdsForUserApiVersionSerializer(); +} + +class _$EndpointConfirmIdsForUserApiVersionSerializer + implements PrimitiveSerializer { + const _$EndpointConfirmIdsForUserApiVersionSerializer(); + + static const Map _toWire = { + EndpointConfirmIdsForUserApiVersion.v1: 'v1', + EndpointConfirmIdsForUserApiVersion.v2: 'v2', + }; + + static const Map _fromWire = + { + 'v1': EndpointConfirmIdsForUserApiVersion.v1, + 'v2': EndpointConfirmIdsForUserApiVersion.v2, + }; + + @override + Iterable get types => const [EndpointConfirmIdsForUserApiVersion]; + + @override + String get wireName => 'EndpointConfirmIdsForUserApiVersion'; + + @override + Object serialize( + Serializers serializers, + EndpointConfirmIdsForUserApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + EndpointConfirmIdsForUserApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1775,18 +2072,61 @@ abstract class EndpointConfirmIdsForUserResponseApplicationJson _$endpointConfirmIdsForUserResponseApplicationJsonSerializer; } -class PushRegisterDeviceApiVersion extends EnumClass { +class PushRegisterDeviceApiVersion extends DynamiteEnum { const PushRegisterDeviceApiVersion._(super.name); - static const PushRegisterDeviceApiVersion v2 = _$pushRegisterDeviceApiVersionV2; + static const PushRegisterDeviceApiVersion v2 = PushRegisterDeviceApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$pushRegisterDeviceApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + PushRegisterDeviceApiVersion.v2, + ]); + + static PushRegisterDeviceApiVersion valueOf(String name) { + switch (name) { + case 'v2': + return PushRegisterDeviceApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PushRegisterDeviceApiVersionSerializer(); +} + +class _$PushRegisterDeviceApiVersionSerializer implements PrimitiveSerializer { + const _$PushRegisterDeviceApiVersionSerializer(); + + static const Map _toWire = { + PushRegisterDeviceApiVersion.v2: 'v2', + }; + + static const Map _fromWire = { + 'v2': PushRegisterDeviceApiVersion.v2, + }; + + @override + Iterable get types => const [PushRegisterDeviceApiVersion]; - static PushRegisterDeviceApiVersion valueOf(String name) => _$valueOfPushRegisterDeviceApiVersion(name); + @override + String get wireName => 'PushRegisterDeviceApiVersion'; - static Serializer get serializer => _$pushRegisterDeviceApiVersionSerializer; + @override + Object serialize( + Serializers serializers, + PushRegisterDeviceApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + PushRegisterDeviceApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1875,18 +2215,61 @@ abstract class PushRegisterDeviceResponseApplicationJson _$pushRegisterDeviceResponseApplicationJsonSerializer; } -class PushRemoveDeviceApiVersion extends EnumClass { +class PushRemoveDeviceApiVersion extends DynamiteEnum { const PushRemoveDeviceApiVersion._(super.name); - static const PushRemoveDeviceApiVersion v2 = _$pushRemoveDeviceApiVersionV2; + static const PushRemoveDeviceApiVersion v2 = PushRemoveDeviceApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$pushRemoveDeviceApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + PushRemoveDeviceApiVersion.v2, + ]); + + static PushRemoveDeviceApiVersion valueOf(String name) { + switch (name) { + case 'v2': + return PushRemoveDeviceApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PushRemoveDeviceApiVersionSerializer(); +} + +class _$PushRemoveDeviceApiVersionSerializer implements PrimitiveSerializer { + const _$PushRemoveDeviceApiVersionSerializer(); + + static const Map _toWire = { + PushRemoveDeviceApiVersion.v2: 'v2', + }; + + static const Map _fromWire = { + 'v2': PushRemoveDeviceApiVersion.v2, + }; - static PushRemoveDeviceApiVersion valueOf(String name) => _$valueOfPushRemoveDeviceApiVersion(name); + @override + Iterable get types => const [PushRemoveDeviceApiVersion]; - static Serializer get serializer => _$pushRemoveDeviceApiVersionSerializer; + @override + String get wireName => 'PushRemoveDeviceApiVersion'; + + @override + Object serialize( + Serializers serializers, + PushRemoveDeviceApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + PushRemoveDeviceApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -1949,18 +2332,61 @@ abstract class PushRemoveDeviceResponseApplicationJson _$pushRemoveDeviceResponseApplicationJsonSerializer; } -class SettingsPersonalApiVersion extends EnumClass { +class SettingsPersonalApiVersion extends DynamiteEnum { const SettingsPersonalApiVersion._(super.name); - static const SettingsPersonalApiVersion v2 = _$settingsPersonalApiVersionV2; + static const SettingsPersonalApiVersion v2 = SettingsPersonalApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$settingsPersonalApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SettingsPersonalApiVersion.v2, + ]); + + static SettingsPersonalApiVersion valueOf(String name) { + switch (name) { + case 'v2': + return SettingsPersonalApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$SettingsPersonalApiVersionSerializer(); +} + +class _$SettingsPersonalApiVersionSerializer implements PrimitiveSerializer { + const _$SettingsPersonalApiVersionSerializer(); + + static const Map _toWire = { + SettingsPersonalApiVersion.v2: 'v2', + }; - static SettingsPersonalApiVersion valueOf(String name) => _$valueOfSettingsPersonalApiVersion(name); + static const Map _fromWire = { + 'v2': SettingsPersonalApiVersion.v2, + }; - static Serializer get serializer => _$settingsPersonalApiVersionSerializer; + @override + Iterable get types => const [SettingsPersonalApiVersion]; + + @override + String get wireName => 'SettingsPersonalApiVersion'; + + @override + Object serialize( + Serializers serializers, + SettingsPersonalApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + SettingsPersonalApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -2023,18 +2449,61 @@ abstract class SettingsPersonalResponseApplicationJson _$settingsPersonalResponseApplicationJsonSerializer; } -class SettingsAdminApiVersion extends EnumClass { +class SettingsAdminApiVersion extends DynamiteEnum { const SettingsAdminApiVersion._(super.name); - static const SettingsAdminApiVersion v2 = _$settingsAdminApiVersionV2; + static const SettingsAdminApiVersion v2 = SettingsAdminApiVersion._('v2'); - // coverage:ignore-start - static BuiltSet get values => _$settingsAdminApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SettingsAdminApiVersion.v2, + ]); + + static SettingsAdminApiVersion valueOf(String name) { + switch (name) { + case 'v2': + return SettingsAdminApiVersion.v2; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$SettingsAdminApiVersionSerializer(); +} + +class _$SettingsAdminApiVersionSerializer implements PrimitiveSerializer { + const _$SettingsAdminApiVersionSerializer(); + + static const Map _toWire = { + SettingsAdminApiVersion.v2: 'v2', + }; + + static const Map _fromWire = { + 'v2': SettingsAdminApiVersion.v2, + }; + + @override + Iterable get types => const [SettingsAdminApiVersion]; + + @override + String get wireName => 'SettingsAdminApiVersion'; - static SettingsAdminApiVersion valueOf(String name) => _$valueOfSettingsAdminApiVersion(name); + @override + Object serialize( + Serializers serializers, + SettingsAdminApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$settingsAdminApiVersionSerializer; + @override + SettingsAdminApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/notifications.openapi.g.dart b/packages/nextcloud/lib/src/api/notifications.openapi.g.dart index 222212af0fd..232e6afdc44 100644 --- a/packages/nextcloud/lib/src/api/notifications.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/notifications.openapi.g.dart @@ -6,212 +6,12 @@ part of 'notifications.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const ApiGenerateNotificationApiVersion _$apiGenerateNotificationApiVersionV1 = - ApiGenerateNotificationApiVersion._('v1'); -const ApiGenerateNotificationApiVersion _$apiGenerateNotificationApiVersionV2 = - ApiGenerateNotificationApiVersion._('v2'); - -ApiGenerateNotificationApiVersion _$valueOfApiGenerateNotificationApiVersion(String name) { - switch (name) { - case 'v1': - return _$apiGenerateNotificationApiVersionV1; - case 'v2': - return _$apiGenerateNotificationApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$apiGenerateNotificationApiVersionValues = - BuiltSet(const [ - _$apiGenerateNotificationApiVersionV1, - _$apiGenerateNotificationApiVersionV2, -]); - -const EndpointListNotificationsApiVersion _$endpointListNotificationsApiVersionV1 = - EndpointListNotificationsApiVersion._('v1'); -const EndpointListNotificationsApiVersion _$endpointListNotificationsApiVersionV2 = - EndpointListNotificationsApiVersion._('v2'); - -EndpointListNotificationsApiVersion _$valueOfEndpointListNotificationsApiVersion(String name) { - switch (name) { - case 'v1': - return _$endpointListNotificationsApiVersionV1; - case 'v2': - return _$endpointListNotificationsApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$endpointListNotificationsApiVersionValues = - BuiltSet(const [ - _$endpointListNotificationsApiVersionV1, - _$endpointListNotificationsApiVersionV2, -]); - -const EndpointDeleteAllNotificationsApiVersion _$endpointDeleteAllNotificationsApiVersionV1 = - EndpointDeleteAllNotificationsApiVersion._('v1'); -const EndpointDeleteAllNotificationsApiVersion _$endpointDeleteAllNotificationsApiVersionV2 = - EndpointDeleteAllNotificationsApiVersion._('v2'); - -EndpointDeleteAllNotificationsApiVersion _$valueOfEndpointDeleteAllNotificationsApiVersion(String name) { - switch (name) { - case 'v1': - return _$endpointDeleteAllNotificationsApiVersionV1; - case 'v2': - return _$endpointDeleteAllNotificationsApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$endpointDeleteAllNotificationsApiVersionValues = - BuiltSet(const [ - _$endpointDeleteAllNotificationsApiVersionV1, - _$endpointDeleteAllNotificationsApiVersionV2, -]); - -const EndpointGetNotificationApiVersion _$endpointGetNotificationApiVersionV1 = - EndpointGetNotificationApiVersion._('v1'); -const EndpointGetNotificationApiVersion _$endpointGetNotificationApiVersionV2 = - EndpointGetNotificationApiVersion._('v2'); - -EndpointGetNotificationApiVersion _$valueOfEndpointGetNotificationApiVersion(String name) { - switch (name) { - case 'v1': - return _$endpointGetNotificationApiVersionV1; - case 'v2': - return _$endpointGetNotificationApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$endpointGetNotificationApiVersionValues = - BuiltSet(const [ - _$endpointGetNotificationApiVersionV1, - _$endpointGetNotificationApiVersionV2, -]); - -const EndpointDeleteNotificationApiVersion _$endpointDeleteNotificationApiVersionV1 = - EndpointDeleteNotificationApiVersion._('v1'); -const EndpointDeleteNotificationApiVersion _$endpointDeleteNotificationApiVersionV2 = - EndpointDeleteNotificationApiVersion._('v2'); - -EndpointDeleteNotificationApiVersion _$valueOfEndpointDeleteNotificationApiVersion(String name) { - switch (name) { - case 'v1': - return _$endpointDeleteNotificationApiVersionV1; - case 'v2': - return _$endpointDeleteNotificationApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$endpointDeleteNotificationApiVersionValues = - BuiltSet(const [ - _$endpointDeleteNotificationApiVersionV1, - _$endpointDeleteNotificationApiVersionV2, -]); - -const EndpointConfirmIdsForUserApiVersion _$endpointConfirmIdsForUserApiVersionV1 = - EndpointConfirmIdsForUserApiVersion._('v1'); -const EndpointConfirmIdsForUserApiVersion _$endpointConfirmIdsForUserApiVersionV2 = - EndpointConfirmIdsForUserApiVersion._('v2'); - -EndpointConfirmIdsForUserApiVersion _$valueOfEndpointConfirmIdsForUserApiVersion(String name) { - switch (name) { - case 'v1': - return _$endpointConfirmIdsForUserApiVersionV1; - case 'v2': - return _$endpointConfirmIdsForUserApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$endpointConfirmIdsForUserApiVersionValues = - BuiltSet(const [ - _$endpointConfirmIdsForUserApiVersionV1, - _$endpointConfirmIdsForUserApiVersionV2, -]); - -const PushRegisterDeviceApiVersion _$pushRegisterDeviceApiVersionV2 = PushRegisterDeviceApiVersion._('v2'); - -PushRegisterDeviceApiVersion _$valueOfPushRegisterDeviceApiVersion(String name) { - switch (name) { - case 'v2': - return _$pushRegisterDeviceApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$pushRegisterDeviceApiVersionValues = - BuiltSet(const [ - _$pushRegisterDeviceApiVersionV2, -]); - -const PushRemoveDeviceApiVersion _$pushRemoveDeviceApiVersionV2 = PushRemoveDeviceApiVersion._('v2'); - -PushRemoveDeviceApiVersion _$valueOfPushRemoveDeviceApiVersion(String name) { - switch (name) { - case 'v2': - return _$pushRemoveDeviceApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$pushRemoveDeviceApiVersionValues = - BuiltSet(const [ - _$pushRemoveDeviceApiVersionV2, -]); - -const SettingsPersonalApiVersion _$settingsPersonalApiVersionV2 = SettingsPersonalApiVersion._('v2'); - -SettingsPersonalApiVersion _$valueOfSettingsPersonalApiVersion(String name) { - switch (name) { - case 'v2': - return _$settingsPersonalApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$settingsPersonalApiVersionValues = - BuiltSet(const [ - _$settingsPersonalApiVersionV2, -]); - -const SettingsAdminApiVersion _$settingsAdminApiVersionV2 = SettingsAdminApiVersion._('v2'); - -SettingsAdminApiVersion _$valueOfSettingsAdminApiVersion(String name) { - switch (name) { - case 'v2': - return _$settingsAdminApiVersionV2; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$settingsAdminApiVersionValues = - BuiltSet(const [ - _$settingsAdminApiVersionV2, -]); - -Serializer _$apiGenerateNotificationApiVersionSerializer = - _$ApiGenerateNotificationApiVersionSerializer(); Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); Serializer _$apiGenerateNotificationResponseApplicationJsonOcsSerializer = _$ApiGenerateNotificationResponseApplicationJson_OcsSerializer(); Serializer _$apiGenerateNotificationResponseApplicationJsonSerializer = _$ApiGenerateNotificationResponseApplicationJsonSerializer(); -Serializer _$endpointListNotificationsApiVersionSerializer = - _$EndpointListNotificationsApiVersionSerializer(); Serializer _$endpointEndpointListNotificationsHeadersSerializer = _$EndpointEndpointListNotificationsHeadersSerializer(); Serializer _$notificationActionSerializer = _$NotificationActionSerializer(); @@ -222,57 +22,42 @@ Serializer Serializer _$endpointListNotificationsResponseApplicationJsonSerializer = _$EndpointListNotificationsResponseApplicationJsonSerializer(); -Serializer _$endpointDeleteAllNotificationsApiVersionSerializer = - _$EndpointDeleteAllNotificationsApiVersionSerializer(); Serializer _$endpointDeleteAllNotificationsResponseApplicationJsonOcsSerializer = _$EndpointDeleteAllNotificationsResponseApplicationJson_OcsSerializer(); Serializer _$endpointDeleteAllNotificationsResponseApplicationJsonSerializer = _$EndpointDeleteAllNotificationsResponseApplicationJsonSerializer(); -Serializer _$endpointGetNotificationApiVersionSerializer = - _$EndpointGetNotificationApiVersionSerializer(); Serializer _$endpointGetNotificationResponseApplicationJsonOcsSerializer = _$EndpointGetNotificationResponseApplicationJson_OcsSerializer(); Serializer _$endpointGetNotificationResponseApplicationJsonSerializer = _$EndpointGetNotificationResponseApplicationJsonSerializer(); -Serializer _$endpointDeleteNotificationApiVersionSerializer = - _$EndpointDeleteNotificationApiVersionSerializer(); Serializer _$endpointDeleteNotificationResponseApplicationJsonOcsSerializer = _$EndpointDeleteNotificationResponseApplicationJson_OcsSerializer(); Serializer _$endpointDeleteNotificationResponseApplicationJsonSerializer = _$EndpointDeleteNotificationResponseApplicationJsonSerializer(); -Serializer _$endpointConfirmIdsForUserApiVersionSerializer = - _$EndpointConfirmIdsForUserApiVersionSerializer(); Serializer _$endpointConfirmIdsForUserResponseApplicationJsonOcsSerializer = _$EndpointConfirmIdsForUserResponseApplicationJson_OcsSerializer(); Serializer _$endpointConfirmIdsForUserResponseApplicationJsonSerializer = _$EndpointConfirmIdsForUserResponseApplicationJsonSerializer(); -Serializer _$pushRegisterDeviceApiVersionSerializer = - _$PushRegisterDeviceApiVersionSerializer(); Serializer _$pushDeviceSerializer = _$PushDeviceSerializer(); Serializer _$pushRegisterDeviceResponseApplicationJsonOcsSerializer = _$PushRegisterDeviceResponseApplicationJson_OcsSerializer(); Serializer _$pushRegisterDeviceResponseApplicationJsonSerializer = _$PushRegisterDeviceResponseApplicationJsonSerializer(); -Serializer _$pushRemoveDeviceApiVersionSerializer = - _$PushRemoveDeviceApiVersionSerializer(); Serializer _$pushRemoveDeviceResponseApplicationJsonOcsSerializer = _$PushRemoveDeviceResponseApplicationJson_OcsSerializer(); Serializer _$pushRemoveDeviceResponseApplicationJsonSerializer = _$PushRemoveDeviceResponseApplicationJsonSerializer(); -Serializer _$settingsPersonalApiVersionSerializer = - _$SettingsPersonalApiVersionSerializer(); Serializer _$settingsPersonalResponseApplicationJsonOcsSerializer = _$SettingsPersonalResponseApplicationJson_OcsSerializer(); Serializer _$settingsPersonalResponseApplicationJsonSerializer = _$SettingsPersonalResponseApplicationJsonSerializer(); -Serializer _$settingsAdminApiVersionSerializer = _$SettingsAdminApiVersionSerializer(); Serializer _$settingsAdminResponseApplicationJsonOcsSerializer = _$SettingsAdminResponseApplicationJson_OcsSerializer(); Serializer _$settingsAdminResponseApplicationJsonSerializer = @@ -280,23 +65,6 @@ Serializer _$settingsAdminResponseApplicat Serializer _$capabilitiesNotificationsSerializer = _$Capabilities_NotificationsSerializer(); Serializer _$capabilitiesSerializer = _$CapabilitiesSerializer(); -class _$ApiGenerateNotificationApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [ApiGenerateNotificationApiVersion]; - @override - final String wireName = 'ApiGenerateNotificationApiVersion'; - - @override - Object serialize(Serializers serializers, ApiGenerateNotificationApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - ApiGenerateNotificationApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - ApiGenerateNotificationApiVersion.valueOf(serialized as String); -} - class _$OCSMetaSerializer implements StructuredSerializer { @override final Iterable types = const [OCSMeta, _$OCSMeta]; @@ -459,24 +227,6 @@ class _$ApiGenerateNotificationResponseApplicationJsonSerializer } } -class _$EndpointListNotificationsApiVersionSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [EndpointListNotificationsApiVersion]; - @override - final String wireName = 'EndpointListNotificationsApiVersion'; - - @override - Object serialize(Serializers serializers, EndpointListNotificationsApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - EndpointListNotificationsApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - EndpointListNotificationsApiVersion.valueOf(serialized as String); -} - class _$EndpointEndpointListNotificationsHeadersSerializer implements StructuredSerializer { @override @@ -812,24 +562,6 @@ class _$EndpointListNotificationsResponseApplicationJsonSerializer } } -class _$EndpointDeleteAllNotificationsApiVersionSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [EndpointDeleteAllNotificationsApiVersion]; - @override - final String wireName = 'EndpointDeleteAllNotificationsApiVersion'; - - @override - Object serialize(Serializers serializers, EndpointDeleteAllNotificationsApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - EndpointDeleteAllNotificationsApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - EndpointDeleteAllNotificationsApiVersion.valueOf(serialized as String); -} - class _$EndpointDeleteAllNotificationsResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -924,23 +656,6 @@ class _$EndpointDeleteAllNotificationsResponseApplicationJsonSerializer } } -class _$EndpointGetNotificationApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [EndpointGetNotificationApiVersion]; - @override - final String wireName = 'EndpointGetNotificationApiVersion'; - - @override - Object serialize(Serializers serializers, EndpointGetNotificationApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - EndpointGetNotificationApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - EndpointGetNotificationApiVersion.valueOf(serialized as String); -} - class _$EndpointGetNotificationResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -1034,24 +749,6 @@ class _$EndpointGetNotificationResponseApplicationJsonSerializer } } -class _$EndpointDeleteNotificationApiVersionSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [EndpointDeleteNotificationApiVersion]; - @override - final String wireName = 'EndpointDeleteNotificationApiVersion'; - - @override - Object serialize(Serializers serializers, EndpointDeleteNotificationApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - EndpointDeleteNotificationApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - EndpointDeleteNotificationApiVersion.valueOf(serialized as String); -} - class _$EndpointDeleteNotificationResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -1145,24 +842,6 @@ class _$EndpointDeleteNotificationResponseApplicationJsonSerializer } } -class _$EndpointConfirmIdsForUserApiVersionSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [EndpointConfirmIdsForUserApiVersion]; - @override - final String wireName = 'EndpointConfirmIdsForUserApiVersion'; - - @override - Object serialize(Serializers serializers, EndpointConfirmIdsForUserApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - EndpointConfirmIdsForUserApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - EndpointConfirmIdsForUserApiVersion.valueOf(serialized as String); -} - class _$EndpointConfirmIdsForUserResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -1257,23 +936,6 @@ class _$EndpointConfirmIdsForUserResponseApplicationJsonSerializer } } -class _$PushRegisterDeviceApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [PushRegisterDeviceApiVersion]; - @override - final String wireName = 'PushRegisterDeviceApiVersion'; - - @override - Object serialize(Serializers serializers, PushRegisterDeviceApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - PushRegisterDeviceApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - PushRegisterDeviceApiVersion.valueOf(serialized as String); -} - class _$PushDeviceSerializer implements StructuredSerializer { @override final Iterable types = const [PushDevice, _$PushDevice]; @@ -1413,23 +1075,6 @@ class _$PushRegisterDeviceResponseApplicationJsonSerializer } } -class _$PushRemoveDeviceApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [PushRemoveDeviceApiVersion]; - @override - final String wireName = 'PushRemoveDeviceApiVersion'; - - @override - Object serialize(Serializers serializers, PushRemoveDeviceApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - PushRemoveDeviceApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - PushRemoveDeviceApiVersion.valueOf(serialized as String); -} - class _$PushRemoveDeviceResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -1521,23 +1166,6 @@ class _$PushRemoveDeviceResponseApplicationJsonSerializer } } -class _$SettingsPersonalApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [SettingsPersonalApiVersion]; - @override - final String wireName = 'SettingsPersonalApiVersion'; - - @override - Object serialize(Serializers serializers, SettingsPersonalApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - SettingsPersonalApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - SettingsPersonalApiVersion.valueOf(serialized as String); -} - class _$SettingsPersonalResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override @@ -1629,23 +1257,6 @@ class _$SettingsPersonalResponseApplicationJsonSerializer } } -class _$SettingsAdminApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [SettingsAdminApiVersion]; - @override - final String wireName = 'SettingsAdminApiVersion'; - - @override - Object serialize(Serializers serializers, SettingsAdminApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - SettingsAdminApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - SettingsAdminApiVersion.valueOf(serialized as String); -} - class _$SettingsAdminResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.dart b/packages/nextcloud/lib/src/api/spreed.openapi.dart index 2ec07425565..b8403b85a72 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.dart @@ -13190,32 +13190,118 @@ class $TempAvatarClient { } } -class AvatarGetAvatarApiVersion extends EnumClass { +class AvatarGetAvatarApiVersion extends DynamiteEnum { const AvatarGetAvatarApiVersion._(super.name); - static const AvatarGetAvatarApiVersion v1 = _$avatarGetAvatarApiVersionV1; + static const AvatarGetAvatarApiVersion v1 = AvatarGetAvatarApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$avatarGetAvatarApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + AvatarGetAvatarApiVersion.v1, + ]); + + static AvatarGetAvatarApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return AvatarGetAvatarApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$AvatarGetAvatarApiVersionSerializer(); +} + +class _$AvatarGetAvatarApiVersionSerializer implements PrimitiveSerializer { + const _$AvatarGetAvatarApiVersionSerializer(); - static AvatarGetAvatarApiVersion valueOf(String name) => _$valueOfAvatarGetAvatarApiVersion(name); + static const Map _toWire = { + AvatarGetAvatarApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': AvatarGetAvatarApiVersion.v1, + }; + + @override + Iterable get types => const [AvatarGetAvatarApiVersion]; + + @override + String get wireName => 'AvatarGetAvatarApiVersion'; + + @override + Object serialize( + Serializers serializers, + AvatarGetAvatarApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$avatarGetAvatarApiVersionSerializer; + @override + AvatarGetAvatarApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } -class AvatarUploadAvatarApiVersion extends EnumClass { +class AvatarUploadAvatarApiVersion extends DynamiteEnum { const AvatarUploadAvatarApiVersion._(super.name); - static const AvatarUploadAvatarApiVersion v1 = _$avatarUploadAvatarApiVersionV1; + static const AvatarUploadAvatarApiVersion v1 = AvatarUploadAvatarApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$avatarUploadAvatarApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + AvatarUploadAvatarApiVersion.v1, + ]); + + static AvatarUploadAvatarApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return AvatarUploadAvatarApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$AvatarUploadAvatarApiVersionSerializer(); +} + +class _$AvatarUploadAvatarApiVersionSerializer implements PrimitiveSerializer { + const _$AvatarUploadAvatarApiVersionSerializer(); + + static const Map _toWire = { + AvatarUploadAvatarApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': AvatarUploadAvatarApiVersion.v1, + }; + + @override + Iterable get types => const [AvatarUploadAvatarApiVersion]; + + @override + String get wireName => 'AvatarUploadAvatarApiVersion'; - static AvatarUploadAvatarApiVersion valueOf(String name) => _$valueOfAvatarUploadAvatarApiVersion(name); + @override + Object serialize( + Serializers serializers, + AvatarUploadAvatarApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$avatarUploadAvatarApiVersionSerializer; + @override + AvatarUploadAvatarApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13425,18 +13511,61 @@ abstract class AvatarUploadAvatarResponseApplicationJson _$avatarUploadAvatarResponseApplicationJsonSerializer; } -class AvatarDeleteAvatarApiVersion extends EnumClass { +class AvatarDeleteAvatarApiVersion extends DynamiteEnum { const AvatarDeleteAvatarApiVersion._(super.name); - static const AvatarDeleteAvatarApiVersion v1 = _$avatarDeleteAvatarApiVersionV1; + static const AvatarDeleteAvatarApiVersion v1 = AvatarDeleteAvatarApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$avatarDeleteAvatarApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + AvatarDeleteAvatarApiVersion.v1, + ]); + + static AvatarDeleteAvatarApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return AvatarDeleteAvatarApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$AvatarDeleteAvatarApiVersionSerializer(); +} + +class _$AvatarDeleteAvatarApiVersionSerializer implements PrimitiveSerializer { + const _$AvatarDeleteAvatarApiVersionSerializer(); + + static const Map _toWire = { + AvatarDeleteAvatarApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': AvatarDeleteAvatarApiVersion.v1, + }; + + @override + Iterable get types => const [AvatarDeleteAvatarApiVersion]; + + @override + String get wireName => 'AvatarDeleteAvatarApiVersion'; - static AvatarDeleteAvatarApiVersion valueOf(String name) => _$valueOfAvatarDeleteAvatarApiVersion(name); + @override + Object serialize( + Serializers serializers, + AvatarDeleteAvatarApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$avatarDeleteAvatarApiVersionSerializer; + @override + AvatarDeleteAvatarApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13500,18 +13629,61 @@ abstract class AvatarDeleteAvatarResponseApplicationJson _$avatarDeleteAvatarResponseApplicationJsonSerializer; } -class AvatarEmojiAvatarApiVersion extends EnumClass { +class AvatarEmojiAvatarApiVersion extends DynamiteEnum { const AvatarEmojiAvatarApiVersion._(super.name); - static const AvatarEmojiAvatarApiVersion v1 = _$avatarEmojiAvatarApiVersionV1; + static const AvatarEmojiAvatarApiVersion v1 = AvatarEmojiAvatarApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$avatarEmojiAvatarApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + AvatarEmojiAvatarApiVersion.v1, + ]); + + static AvatarEmojiAvatarApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return AvatarEmojiAvatarApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$AvatarEmojiAvatarApiVersionSerializer(); +} + +class _$AvatarEmojiAvatarApiVersionSerializer implements PrimitiveSerializer { + const _$AvatarEmojiAvatarApiVersionSerializer(); + + static const Map _toWire = { + AvatarEmojiAvatarApiVersion.v1: 'v1', + }; - static AvatarEmojiAvatarApiVersion valueOf(String name) => _$valueOfAvatarEmojiAvatarApiVersion(name); + static const Map _fromWire = { + 'v1': AvatarEmojiAvatarApiVersion.v1, + }; + + @override + Iterable get types => const [AvatarEmojiAvatarApiVersion]; + + @override + String get wireName => 'AvatarEmojiAvatarApiVersion'; + + @override + Object serialize( + Serializers serializers, + AvatarEmojiAvatarApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$avatarEmojiAvatarApiVersionSerializer; + @override + AvatarEmojiAvatarApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13575,32 +13747,118 @@ abstract class AvatarEmojiAvatarResponseApplicationJson _$avatarEmojiAvatarResponseApplicationJsonSerializer; } -class AvatarGetAvatarDarkApiVersion extends EnumClass { +class AvatarGetAvatarDarkApiVersion extends DynamiteEnum { const AvatarGetAvatarDarkApiVersion._(super.name); - static const AvatarGetAvatarDarkApiVersion v1 = _$avatarGetAvatarDarkApiVersionV1; + static const AvatarGetAvatarDarkApiVersion v1 = AvatarGetAvatarDarkApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$avatarGetAvatarDarkApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + AvatarGetAvatarDarkApiVersion.v1, + ]); + + static AvatarGetAvatarDarkApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return AvatarGetAvatarDarkApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$AvatarGetAvatarDarkApiVersionSerializer(); +} + +class _$AvatarGetAvatarDarkApiVersionSerializer implements PrimitiveSerializer { + const _$AvatarGetAvatarDarkApiVersionSerializer(); + + static const Map _toWire = { + AvatarGetAvatarDarkApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': AvatarGetAvatarDarkApiVersion.v1, + }; + + @override + Iterable get types => const [AvatarGetAvatarDarkApiVersion]; - static AvatarGetAvatarDarkApiVersion valueOf(String name) => _$valueOfAvatarGetAvatarDarkApiVersion(name); + @override + String get wireName => 'AvatarGetAvatarDarkApiVersion'; + + @override + Object serialize( + Serializers serializers, + AvatarGetAvatarDarkApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$avatarGetAvatarDarkApiVersionSerializer; + @override + AvatarGetAvatarDarkApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } -class BotSendMessageApiVersion extends EnumClass { +class BotSendMessageApiVersion extends DynamiteEnum { const BotSendMessageApiVersion._(super.name); - static const BotSendMessageApiVersion v1 = _$botSendMessageApiVersionV1; + static const BotSendMessageApiVersion v1 = BotSendMessageApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botSendMessageApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + BotSendMessageApiVersion.v1, + ]); + + static BotSendMessageApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotSendMessageApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotSendMessageApiVersionSerializer(); +} - static BotSendMessageApiVersion valueOf(String name) => _$valueOfBotSendMessageApiVersion(name); +class _$BotSendMessageApiVersionSerializer implements PrimitiveSerializer { + const _$BotSendMessageApiVersionSerializer(); - static Serializer get serializer => _$botSendMessageApiVersionSerializer; + static const Map _toWire = { + BotSendMessageApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': BotSendMessageApiVersion.v1, + }; + + @override + Iterable get types => const [BotSendMessageApiVersion]; + + @override + String get wireName => 'BotSendMessageApiVersion'; + + @override + Object serialize( + Serializers serializers, + BotSendMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BotSendMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13663,18 +13921,60 @@ abstract class BotSendMessageResponseApplicationJson _$botSendMessageResponseApplicationJsonSerializer; } -class BotReactApiVersion extends EnumClass { +class BotReactApiVersion extends DynamiteEnum { const BotReactApiVersion._(super.name); - static const BotReactApiVersion v1 = _$botReactApiVersionV1; + static const BotReactApiVersion v1 = BotReactApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botReactApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + BotReactApiVersion.v1, + ]); - static BotReactApiVersion valueOf(String name) => _$valueOfBotReactApiVersion(name); + static BotReactApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotReactApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotReactApiVersionSerializer(); +} + +class _$BotReactApiVersionSerializer implements PrimitiveSerializer { + const _$BotReactApiVersionSerializer(); + + static const Map _toWire = { + BotReactApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': BotReactApiVersion.v1, + }; + + @override + Iterable get types => const [BotReactApiVersion]; + + @override + String get wireName => 'BotReactApiVersion'; + + @override + Object serialize( + Serializers serializers, + BotReactApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$botReactApiVersionSerializer; + @override + BotReactApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13735,18 +14035,61 @@ abstract class BotReactResponseApplicationJson static Serializer get serializer => _$botReactResponseApplicationJsonSerializer; } -class BotDeleteReactionApiVersion extends EnumClass { +class BotDeleteReactionApiVersion extends DynamiteEnum { const BotDeleteReactionApiVersion._(super.name); - static const BotDeleteReactionApiVersion v1 = _$botDeleteReactionApiVersionV1; + static const BotDeleteReactionApiVersion v1 = BotDeleteReactionApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botDeleteReactionApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + BotDeleteReactionApiVersion.v1, + ]); + + static BotDeleteReactionApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotDeleteReactionApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotDeleteReactionApiVersionSerializer(); +} + +class _$BotDeleteReactionApiVersionSerializer implements PrimitiveSerializer { + const _$BotDeleteReactionApiVersionSerializer(); + + static const Map _toWire = { + BotDeleteReactionApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': BotDeleteReactionApiVersion.v1, + }; + + @override + Iterable get types => const [BotDeleteReactionApiVersion]; + + @override + String get wireName => 'BotDeleteReactionApiVersion'; - static BotDeleteReactionApiVersion valueOf(String name) => _$valueOfBotDeleteReactionApiVersion(name); + @override + Object serialize( + Serializers serializers, + BotDeleteReactionApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$botDeleteReactionApiVersionSerializer; + @override + BotDeleteReactionApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13810,18 +14153,61 @@ abstract class BotDeleteReactionResponseApplicationJson _$botDeleteReactionResponseApplicationJsonSerializer; } -class BotAdminListBotsApiVersion extends EnumClass { +class BotAdminListBotsApiVersion extends DynamiteEnum { const BotAdminListBotsApiVersion._(super.name); - static const BotAdminListBotsApiVersion v1 = _$botAdminListBotsApiVersionV1; + static const BotAdminListBotsApiVersion v1 = BotAdminListBotsApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botAdminListBotsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + BotAdminListBotsApiVersion.v1, + ]); + + static BotAdminListBotsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotAdminListBotsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotAdminListBotsApiVersionSerializer(); +} + +class _$BotAdminListBotsApiVersionSerializer implements PrimitiveSerializer { + const _$BotAdminListBotsApiVersionSerializer(); - static BotAdminListBotsApiVersion valueOf(String name) => _$valueOfBotAdminListBotsApiVersion(name); + static const Map _toWire = { + BotAdminListBotsApiVersion.v1: 'v1', + }; - static Serializer get serializer => _$botAdminListBotsApiVersionSerializer; + static const Map _fromWire = { + 'v1': BotAdminListBotsApiVersion.v1, + }; + + @override + Iterable get types => const [BotAdminListBotsApiVersion]; + + @override + String get wireName => 'BotAdminListBotsApiVersion'; + + @override + Object serialize( + Serializers serializers, + BotAdminListBotsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BotAdminListBotsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -13945,18 +14331,60 @@ abstract class BotAdminListBotsResponseApplicationJson _$botAdminListBotsResponseApplicationJsonSerializer; } -class BotListBotsApiVersion extends EnumClass { +class BotListBotsApiVersion extends DynamiteEnum { const BotListBotsApiVersion._(super.name); - static const BotListBotsApiVersion v1 = _$botListBotsApiVersionV1; + static const BotListBotsApiVersion v1 = BotListBotsApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botListBotsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + BotListBotsApiVersion.v1, + ]); + + static BotListBotsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotListBotsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotListBotsApiVersionSerializer(); +} + +class _$BotListBotsApiVersionSerializer implements PrimitiveSerializer { + const _$BotListBotsApiVersionSerializer(); + + static const Map _toWire = { + BotListBotsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': BotListBotsApiVersion.v1, + }; + + @override + Iterable get types => const [BotListBotsApiVersion]; + + @override + String get wireName => 'BotListBotsApiVersion'; - static BotListBotsApiVersion valueOf(String name) => _$valueOfBotListBotsApiVersion(name); + @override + Object serialize( + Serializers serializers, + BotListBotsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$botListBotsApiVersionSerializer; + @override + BotListBotsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14018,18 +14446,60 @@ abstract class BotListBotsResponseApplicationJson _$botListBotsResponseApplicationJsonSerializer; } -class BotEnableBotApiVersion extends EnumClass { +class BotEnableBotApiVersion extends DynamiteEnum { const BotEnableBotApiVersion._(super.name); - static const BotEnableBotApiVersion v1 = _$botEnableBotApiVersionV1; + static const BotEnableBotApiVersion v1 = BotEnableBotApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botEnableBotApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + BotEnableBotApiVersion.v1, + ]); + + static BotEnableBotApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotEnableBotApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotEnableBotApiVersionSerializer(); +} + +class _$BotEnableBotApiVersionSerializer implements PrimitiveSerializer { + const _$BotEnableBotApiVersionSerializer(); + + static const Map _toWire = { + BotEnableBotApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': BotEnableBotApiVersion.v1, + }; + + @override + Iterable get types => const [BotEnableBotApiVersion]; + + @override + String get wireName => 'BotEnableBotApiVersion'; - static BotEnableBotApiVersion valueOf(String name) => _$valueOfBotEnableBotApiVersion(name); + @override + Object serialize( + Serializers serializers, + BotEnableBotApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$botEnableBotApiVersionSerializer; + @override + BotEnableBotApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14091,18 +14561,61 @@ abstract class BotEnableBotResponseApplicationJson _$botEnableBotResponseApplicationJsonSerializer; } -class BotDisableBotApiVersion extends EnumClass { +class BotDisableBotApiVersion extends DynamiteEnum { const BotDisableBotApiVersion._(super.name); - static const BotDisableBotApiVersion v1 = _$botDisableBotApiVersionV1; + static const BotDisableBotApiVersion v1 = BotDisableBotApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$botDisableBotApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + BotDisableBotApiVersion.v1, + ]); + + static BotDisableBotApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BotDisableBotApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$BotDisableBotApiVersionSerializer(); +} + +class _$BotDisableBotApiVersionSerializer implements PrimitiveSerializer { + const _$BotDisableBotApiVersionSerializer(); + + static const Map _toWire = { + BotDisableBotApiVersion.v1: 'v1', + }; - static BotDisableBotApiVersion valueOf(String name) => _$valueOfBotDisableBotApiVersion(name); + static const Map _fromWire = { + 'v1': BotDisableBotApiVersion.v1, + }; - static Serializer get serializer => _$botDisableBotApiVersionSerializer; + @override + Iterable get types => const [BotDisableBotApiVersion]; + + @override + String get wireName => 'BotDisableBotApiVersion'; + + @override + Object serialize( + Serializers serializers, + BotDisableBotApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BotDisableBotApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14165,21 +14678,65 @@ abstract class BotDisableBotResponseApplicationJson _$botDisableBotResponseApplicationJsonSerializer; } -class BreakoutRoomConfigureBreakoutRoomsApiVersion extends EnumClass { +class BreakoutRoomConfigureBreakoutRoomsApiVersion extends DynamiteEnum { const BreakoutRoomConfigureBreakoutRoomsApiVersion._(super.name); - static const BreakoutRoomConfigureBreakoutRoomsApiVersion v1 = _$breakoutRoomConfigureBreakoutRoomsApiVersionV1; + static const BreakoutRoomConfigureBreakoutRoomsApiVersion v1 = BreakoutRoomConfigureBreakoutRoomsApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomConfigureBreakoutRoomsApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomConfigureBreakoutRoomsApiVersion valueOf(String name) => - _$valueOfBreakoutRoomConfigureBreakoutRoomsApiVersion(name); + BuiltSet(const [ + BreakoutRoomConfigureBreakoutRoomsApiVersion.v1, + ]); + + static BreakoutRoomConfigureBreakoutRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomConfigureBreakoutRoomsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomConfigureBreakoutRoomsApiVersionSerializer; + const _$BreakoutRoomConfigureBreakoutRoomsApiVersionSerializer(); +} + +class _$BreakoutRoomConfigureBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomConfigureBreakoutRoomsApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomConfigureBreakoutRoomsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomConfigureBreakoutRoomsApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomConfigureBreakoutRoomsApiVersion]; + + @override + String get wireName => 'BreakoutRoomConfigureBreakoutRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomConfigureBreakoutRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomConfigureBreakoutRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14245,21 +14802,65 @@ abstract class BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson _$breakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer; } -class BreakoutRoomRemoveBreakoutRoomsApiVersion extends EnumClass { +class BreakoutRoomRemoveBreakoutRoomsApiVersion extends DynamiteEnum { const BreakoutRoomRemoveBreakoutRoomsApiVersion._(super.name); - static const BreakoutRoomRemoveBreakoutRoomsApiVersion v1 = _$breakoutRoomRemoveBreakoutRoomsApiVersionV1; + static const BreakoutRoomRemoveBreakoutRoomsApiVersion v1 = BreakoutRoomRemoveBreakoutRoomsApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomRemoveBreakoutRoomsApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomRemoveBreakoutRoomsApiVersion valueOf(String name) => - _$valueOfBreakoutRoomRemoveBreakoutRoomsApiVersion(name); + BuiltSet(const [ + BreakoutRoomRemoveBreakoutRoomsApiVersion.v1, + ]); + + static BreakoutRoomRemoveBreakoutRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomRemoveBreakoutRoomsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomRemoveBreakoutRoomsApiVersionSerializer; + const _$BreakoutRoomRemoveBreakoutRoomsApiVersionSerializer(); +} + +class _$BreakoutRoomRemoveBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomRemoveBreakoutRoomsApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomRemoveBreakoutRoomsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomRemoveBreakoutRoomsApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomRemoveBreakoutRoomsApiVersion]; + + @override + String get wireName => 'BreakoutRoomRemoveBreakoutRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomRemoveBreakoutRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomRemoveBreakoutRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14325,21 +14926,65 @@ abstract class BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson _$breakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer; } -class BreakoutRoomBroadcastChatMessageApiVersion extends EnumClass { +class BreakoutRoomBroadcastChatMessageApiVersion extends DynamiteEnum { const BreakoutRoomBroadcastChatMessageApiVersion._(super.name); - static const BreakoutRoomBroadcastChatMessageApiVersion v1 = _$breakoutRoomBroadcastChatMessageApiVersionV1; + static const BreakoutRoomBroadcastChatMessageApiVersion v1 = BreakoutRoomBroadcastChatMessageApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomBroadcastChatMessageApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomBroadcastChatMessageApiVersion valueOf(String name) => - _$valueOfBreakoutRoomBroadcastChatMessageApiVersion(name); + BuiltSet(const [ + BreakoutRoomBroadcastChatMessageApiVersion.v1, + ]); + + static BreakoutRoomBroadcastChatMessageApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomBroadcastChatMessageApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomBroadcastChatMessageApiVersionSerializer; + const _$BreakoutRoomBroadcastChatMessageApiVersionSerializer(); +} + +class _$BreakoutRoomBroadcastChatMessageApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomBroadcastChatMessageApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomBroadcastChatMessageApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomBroadcastChatMessageApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomBroadcastChatMessageApiVersion]; + + @override + String get wireName => 'BreakoutRoomBroadcastChatMessageApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomBroadcastChatMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomBroadcastChatMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14405,20 +15050,65 @@ abstract class BreakoutRoomBroadcastChatMessageResponseApplicationJson _$breakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer; } -class BreakoutRoomApplyAttendeeMapApiVersion extends EnumClass { +class BreakoutRoomApplyAttendeeMapApiVersion extends DynamiteEnum { const BreakoutRoomApplyAttendeeMapApiVersion._(super.name); - static const BreakoutRoomApplyAttendeeMapApiVersion v1 = _$breakoutRoomApplyAttendeeMapApiVersionV1; + static const BreakoutRoomApplyAttendeeMapApiVersion v1 = BreakoutRoomApplyAttendeeMapApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$breakoutRoomApplyAttendeeMapApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + BreakoutRoomApplyAttendeeMapApiVersion.v1, + ]); - static BreakoutRoomApplyAttendeeMapApiVersion valueOf(String name) => - _$valueOfBreakoutRoomApplyAttendeeMapApiVersion(name); + static BreakoutRoomApplyAttendeeMapApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomApplyAttendeeMapApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomApplyAttendeeMapApiVersionSerializer; + const _$BreakoutRoomApplyAttendeeMapApiVersionSerializer(); +} + +class _$BreakoutRoomApplyAttendeeMapApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomApplyAttendeeMapApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomApplyAttendeeMapApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomApplyAttendeeMapApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomApplyAttendeeMapApiVersion]; + + @override + String get wireName => 'BreakoutRoomApplyAttendeeMapApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomApplyAttendeeMapApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomApplyAttendeeMapApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14484,21 +15174,65 @@ abstract class BreakoutRoomApplyAttendeeMapResponseApplicationJson _$breakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer; } -class BreakoutRoomRequestAssistanceApiVersion extends EnumClass { +class BreakoutRoomRequestAssistanceApiVersion extends DynamiteEnum { const BreakoutRoomRequestAssistanceApiVersion._(super.name); - static const BreakoutRoomRequestAssistanceApiVersion v1 = _$breakoutRoomRequestAssistanceApiVersionV1; + static const BreakoutRoomRequestAssistanceApiVersion v1 = BreakoutRoomRequestAssistanceApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomRequestAssistanceApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomRequestAssistanceApiVersion valueOf(String name) => - _$valueOfBreakoutRoomRequestAssistanceApiVersion(name); + BuiltSet(const [ + BreakoutRoomRequestAssistanceApiVersion.v1, + ]); + + static BreakoutRoomRequestAssistanceApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomRequestAssistanceApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomRequestAssistanceApiVersionSerializer; + const _$BreakoutRoomRequestAssistanceApiVersionSerializer(); +} + +class _$BreakoutRoomRequestAssistanceApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomRequestAssistanceApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomRequestAssistanceApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomRequestAssistanceApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomRequestAssistanceApiVersion]; + + @override + String get wireName => 'BreakoutRoomRequestAssistanceApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomRequestAssistanceApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomRequestAssistanceApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14564,21 +15298,66 @@ abstract class BreakoutRoomRequestAssistanceResponseApplicationJson _$breakoutRoomRequestAssistanceResponseApplicationJsonSerializer; } -class BreakoutRoomResetRequestForAssistanceApiVersion extends EnumClass { +class BreakoutRoomResetRequestForAssistanceApiVersion extends DynamiteEnum { const BreakoutRoomResetRequestForAssistanceApiVersion._(super.name); - static const BreakoutRoomResetRequestForAssistanceApiVersion v1 = _$breakoutRoomResetRequestForAssistanceApiVersionV1; + static const BreakoutRoomResetRequestForAssistanceApiVersion v1 = + BreakoutRoomResetRequestForAssistanceApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomResetRequestForAssistanceApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomResetRequestForAssistanceApiVersion valueOf(String name) => - _$valueOfBreakoutRoomResetRequestForAssistanceApiVersion(name); + BuiltSet(const [ + BreakoutRoomResetRequestForAssistanceApiVersion.v1, + ]); + + static BreakoutRoomResetRequestForAssistanceApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomResetRequestForAssistanceApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomResetRequestForAssistanceApiVersionSerializer; + const _$BreakoutRoomResetRequestForAssistanceApiVersionSerializer(); +} + +class _$BreakoutRoomResetRequestForAssistanceApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomResetRequestForAssistanceApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomResetRequestForAssistanceApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomResetRequestForAssistanceApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomResetRequestForAssistanceApiVersion]; + + @override + String get wireName => 'BreakoutRoomResetRequestForAssistanceApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomResetRequestForAssistanceApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomResetRequestForAssistanceApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14644,21 +15423,65 @@ abstract class BreakoutRoomResetRequestForAssistanceResponseApplicationJson _$breakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer; } -class BreakoutRoomStartBreakoutRoomsApiVersion extends EnumClass { +class BreakoutRoomStartBreakoutRoomsApiVersion extends DynamiteEnum { const BreakoutRoomStartBreakoutRoomsApiVersion._(super.name); - static const BreakoutRoomStartBreakoutRoomsApiVersion v1 = _$breakoutRoomStartBreakoutRoomsApiVersionV1; + static const BreakoutRoomStartBreakoutRoomsApiVersion v1 = BreakoutRoomStartBreakoutRoomsApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomStartBreakoutRoomsApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomStartBreakoutRoomsApiVersion valueOf(String name) => - _$valueOfBreakoutRoomStartBreakoutRoomsApiVersion(name); + BuiltSet(const [ + BreakoutRoomStartBreakoutRoomsApiVersion.v1, + ]); + + static BreakoutRoomStartBreakoutRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomStartBreakoutRoomsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomStartBreakoutRoomsApiVersionSerializer; + const _$BreakoutRoomStartBreakoutRoomsApiVersionSerializer(); +} + +class _$BreakoutRoomStartBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomStartBreakoutRoomsApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomStartBreakoutRoomsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomStartBreakoutRoomsApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomStartBreakoutRoomsApiVersion]; + + @override + String get wireName => 'BreakoutRoomStartBreakoutRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomStartBreakoutRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomStartBreakoutRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14724,21 +15547,65 @@ abstract class BreakoutRoomStartBreakoutRoomsResponseApplicationJson _$breakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer; } -class BreakoutRoomStopBreakoutRoomsApiVersion extends EnumClass { +class BreakoutRoomStopBreakoutRoomsApiVersion extends DynamiteEnum { const BreakoutRoomStopBreakoutRoomsApiVersion._(super.name); - static const BreakoutRoomStopBreakoutRoomsApiVersion v1 = _$breakoutRoomStopBreakoutRoomsApiVersionV1; + static const BreakoutRoomStopBreakoutRoomsApiVersion v1 = BreakoutRoomStopBreakoutRoomsApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomStopBreakoutRoomsApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomStopBreakoutRoomsApiVersion valueOf(String name) => - _$valueOfBreakoutRoomStopBreakoutRoomsApiVersion(name); + BuiltSet(const [ + BreakoutRoomStopBreakoutRoomsApiVersion.v1, + ]); + + static BreakoutRoomStopBreakoutRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomStopBreakoutRoomsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomStopBreakoutRoomsApiVersionSerializer; + const _$BreakoutRoomStopBreakoutRoomsApiVersionSerializer(); +} + +class _$BreakoutRoomStopBreakoutRoomsApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomStopBreakoutRoomsApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomStopBreakoutRoomsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomStopBreakoutRoomsApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomStopBreakoutRoomsApiVersion]; + + @override + String get wireName => 'BreakoutRoomStopBreakoutRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomStopBreakoutRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomStopBreakoutRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14804,21 +15671,65 @@ abstract class BreakoutRoomStopBreakoutRoomsResponseApplicationJson _$breakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer; } -class BreakoutRoomSwitchBreakoutRoomApiVersion extends EnumClass { +class BreakoutRoomSwitchBreakoutRoomApiVersion extends DynamiteEnum { const BreakoutRoomSwitchBreakoutRoomApiVersion._(super.name); - static const BreakoutRoomSwitchBreakoutRoomApiVersion v1 = _$breakoutRoomSwitchBreakoutRoomApiVersionV1; + static const BreakoutRoomSwitchBreakoutRoomApiVersion v1 = BreakoutRoomSwitchBreakoutRoomApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$breakoutRoomSwitchBreakoutRoomApiVersionValues; - // coverage:ignore-end - - static BreakoutRoomSwitchBreakoutRoomApiVersion valueOf(String name) => - _$valueOfBreakoutRoomSwitchBreakoutRoomApiVersion(name); + BuiltSet(const [ + BreakoutRoomSwitchBreakoutRoomApiVersion.v1, + ]); + + static BreakoutRoomSwitchBreakoutRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return BreakoutRoomSwitchBreakoutRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$breakoutRoomSwitchBreakoutRoomApiVersionSerializer; + const _$BreakoutRoomSwitchBreakoutRoomApiVersionSerializer(); +} + +class _$BreakoutRoomSwitchBreakoutRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$BreakoutRoomSwitchBreakoutRoomApiVersionSerializer(); + + static const Map _toWire = + { + BreakoutRoomSwitchBreakoutRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': BreakoutRoomSwitchBreakoutRoomApiVersion.v1, + }; + + @override + Iterable get types => const [BreakoutRoomSwitchBreakoutRoomApiVersion]; + + @override + String get wireName => 'BreakoutRoomSwitchBreakoutRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + BreakoutRoomSwitchBreakoutRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + BreakoutRoomSwitchBreakoutRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14884,18 +15795,61 @@ abstract class BreakoutRoomSwitchBreakoutRoomResponseApplicationJson _$breakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer; } -class CallGetPeersForCallApiVersion extends EnumClass { +class CallGetPeersForCallApiVersion extends DynamiteEnum { const CallGetPeersForCallApiVersion._(super.name); - static const CallGetPeersForCallApiVersion v4 = _$callGetPeersForCallApiVersionV4; + static const CallGetPeersForCallApiVersion v4 = CallGetPeersForCallApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callGetPeersForCallApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + CallGetPeersForCallApiVersion.v4, + ]); + + static CallGetPeersForCallApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallGetPeersForCallApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallGetPeersForCallApiVersionSerializer(); +} - static CallGetPeersForCallApiVersion valueOf(String name) => _$valueOfCallGetPeersForCallApiVersion(name); +class _$CallGetPeersForCallApiVersionSerializer implements PrimitiveSerializer { + const _$CallGetPeersForCallApiVersionSerializer(); + + static const Map _toWire = { + CallGetPeersForCallApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallGetPeersForCallApiVersion.v4, + }; + + @override + Iterable get types => const [CallGetPeersForCallApiVersion]; + + @override + String get wireName => 'CallGetPeersForCallApiVersion'; + + @override + Object serialize( + Serializers serializers, + CallGetPeersForCallApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$callGetPeersForCallApiVersionSerializer; + @override + CallGetPeersForCallApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -14987,18 +15941,61 @@ abstract class CallGetPeersForCallResponseApplicationJson _$callGetPeersForCallResponseApplicationJsonSerializer; } -class CallUpdateCallFlagsApiVersion extends EnumClass { +class CallUpdateCallFlagsApiVersion extends DynamiteEnum { const CallUpdateCallFlagsApiVersion._(super.name); - static const CallUpdateCallFlagsApiVersion v4 = _$callUpdateCallFlagsApiVersionV4; + static const CallUpdateCallFlagsApiVersion v4 = CallUpdateCallFlagsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callUpdateCallFlagsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + CallUpdateCallFlagsApiVersion.v4, + ]); + + static CallUpdateCallFlagsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallUpdateCallFlagsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallUpdateCallFlagsApiVersionSerializer(); +} + +class _$CallUpdateCallFlagsApiVersionSerializer implements PrimitiveSerializer { + const _$CallUpdateCallFlagsApiVersionSerializer(); + + static const Map _toWire = { + CallUpdateCallFlagsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallUpdateCallFlagsApiVersion.v4, + }; - static CallUpdateCallFlagsApiVersion valueOf(String name) => _$valueOfCallUpdateCallFlagsApiVersion(name); + @override + Iterable get types => const [CallUpdateCallFlagsApiVersion]; + + @override + String get wireName => 'CallUpdateCallFlagsApiVersion'; + + @override + Object serialize( + Serializers serializers, + CallUpdateCallFlagsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$callUpdateCallFlagsApiVersionSerializer; + @override + CallUpdateCallFlagsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15062,18 +16059,60 @@ abstract class CallUpdateCallFlagsResponseApplicationJson _$callUpdateCallFlagsResponseApplicationJsonSerializer; } -class CallJoinCallApiVersion extends EnumClass { +class CallJoinCallApiVersion extends DynamiteEnum { const CallJoinCallApiVersion._(super.name); - static const CallJoinCallApiVersion v4 = _$callJoinCallApiVersionV4; + static const CallJoinCallApiVersion v4 = CallJoinCallApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callJoinCallApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + CallJoinCallApiVersion.v4, + ]); + + static CallJoinCallApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallJoinCallApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static CallJoinCallApiVersion valueOf(String name) => _$valueOfCallJoinCallApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallJoinCallApiVersionSerializer(); +} + +class _$CallJoinCallApiVersionSerializer implements PrimitiveSerializer { + const _$CallJoinCallApiVersionSerializer(); + + static const Map _toWire = { + CallJoinCallApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallJoinCallApiVersion.v4, + }; + + @override + Iterable get types => const [CallJoinCallApiVersion]; + + @override + String get wireName => 'CallJoinCallApiVersion'; - static Serializer get serializer => _$callJoinCallApiVersionSerializer; + @override + Object serialize( + Serializers serializers, + CallJoinCallApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + CallJoinCallApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15135,18 +16174,61 @@ abstract class CallJoinCallResponseApplicationJson _$callJoinCallResponseApplicationJsonSerializer; } -class CallLeaveCallApiVersion extends EnumClass { +class CallLeaveCallApiVersion extends DynamiteEnum { const CallLeaveCallApiVersion._(super.name); - static const CallLeaveCallApiVersion v4 = _$callLeaveCallApiVersionV4; + static const CallLeaveCallApiVersion v4 = CallLeaveCallApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callLeaveCallApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + CallLeaveCallApiVersion.v4, + ]); + + static CallLeaveCallApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallLeaveCallApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallLeaveCallApiVersionSerializer(); +} + +class _$CallLeaveCallApiVersionSerializer implements PrimitiveSerializer { + const _$CallLeaveCallApiVersionSerializer(); - static CallLeaveCallApiVersion valueOf(String name) => _$valueOfCallLeaveCallApiVersion(name); + static const Map _toWire = { + CallLeaveCallApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallLeaveCallApiVersion.v4, + }; + + @override + Iterable get types => const [CallLeaveCallApiVersion]; + + @override + String get wireName => 'CallLeaveCallApiVersion'; + + @override + Object serialize( + Serializers serializers, + CallLeaveCallApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$callLeaveCallApiVersionSerializer; + @override + CallLeaveCallApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15209,18 +16291,61 @@ abstract class CallLeaveCallResponseApplicationJson _$callLeaveCallResponseApplicationJsonSerializer; } -class CallRingAttendeeApiVersion extends EnumClass { +class CallRingAttendeeApiVersion extends DynamiteEnum { const CallRingAttendeeApiVersion._(super.name); - static const CallRingAttendeeApiVersion v4 = _$callRingAttendeeApiVersionV4; + static const CallRingAttendeeApiVersion v4 = CallRingAttendeeApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callRingAttendeeApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + CallRingAttendeeApiVersion.v4, + ]); + + static CallRingAttendeeApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallRingAttendeeApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallRingAttendeeApiVersionSerializer(); +} + +class _$CallRingAttendeeApiVersionSerializer implements PrimitiveSerializer { + const _$CallRingAttendeeApiVersionSerializer(); + + static const Map _toWire = { + CallRingAttendeeApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallRingAttendeeApiVersion.v4, + }; + + @override + Iterable get types => const [CallRingAttendeeApiVersion]; + + @override + String get wireName => 'CallRingAttendeeApiVersion'; - static CallRingAttendeeApiVersion valueOf(String name) => _$valueOfCallRingAttendeeApiVersion(name); + @override + Object serialize( + Serializers serializers, + CallRingAttendeeApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$callRingAttendeeApiVersionSerializer; + @override + CallRingAttendeeApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15283,18 +16408,61 @@ abstract class CallRingAttendeeResponseApplicationJson _$callRingAttendeeResponseApplicationJsonSerializer; } -class CallSipDialOutApiVersion extends EnumClass { +class CallSipDialOutApiVersion extends DynamiteEnum { const CallSipDialOutApiVersion._(super.name); - static const CallSipDialOutApiVersion v4 = _$callSipDialOutApiVersionV4; + static const CallSipDialOutApiVersion v4 = CallSipDialOutApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$callSipDialOutApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + CallSipDialOutApiVersion.v4, + ]); + + static CallSipDialOutApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return CallSipDialOutApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$CallSipDialOutApiVersionSerializer(); +} + +class _$CallSipDialOutApiVersionSerializer implements PrimitiveSerializer { + const _$CallSipDialOutApiVersionSerializer(); + + static const Map _toWire = { + CallSipDialOutApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': CallSipDialOutApiVersion.v4, + }; + + @override + Iterable get types => const [CallSipDialOutApiVersion]; + + @override + String get wireName => 'CallSipDialOutApiVersion'; - static CallSipDialOutApiVersion valueOf(String name) => _$valueOfCallSipDialOutApiVersion(name); + @override + Object serialize( + Serializers serializers, + CallSipDialOutApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$callSipDialOutApiVersionSerializer; + @override + CallSipDialOutApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15388,21 +16556,65 @@ abstract class CallSipDialOutResponseApplicationJson _$callSipDialOutResponseApplicationJsonSerializer; } -class CertificateGetCertificateExpirationApiVersion extends EnumClass { +class CertificateGetCertificateExpirationApiVersion extends DynamiteEnum { const CertificateGetCertificateExpirationApiVersion._(super.name); - static const CertificateGetCertificateExpirationApiVersion v1 = _$certificateGetCertificateExpirationApiVersionV1; + static const CertificateGetCertificateExpirationApiVersion v1 = CertificateGetCertificateExpirationApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$certificateGetCertificateExpirationApiVersionValues; - // coverage:ignore-end - - static CertificateGetCertificateExpirationApiVersion valueOf(String name) => - _$valueOfCertificateGetCertificateExpirationApiVersion(name); + BuiltSet(const [ + CertificateGetCertificateExpirationApiVersion.v1, + ]); + + static CertificateGetCertificateExpirationApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return CertificateGetCertificateExpirationApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$certificateGetCertificateExpirationApiVersionSerializer; + const _$CertificateGetCertificateExpirationApiVersionSerializer(); +} + +class _$CertificateGetCertificateExpirationApiVersionSerializer + implements PrimitiveSerializer { + const _$CertificateGetCertificateExpirationApiVersionSerializer(); + + static const Map _toWire = + { + CertificateGetCertificateExpirationApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': CertificateGetCertificateExpirationApiVersion.v1, + }; + + @override + Iterable get types => const [CertificateGetCertificateExpirationApiVersion]; + + @override + String get wireName => 'CertificateGetCertificateExpirationApiVersion'; + + @override + Object serialize( + Serializers serializers, + CertificateGetCertificateExpirationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + CertificateGetCertificateExpirationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15500,18 +16712,61 @@ abstract class CertificateGetCertificateExpirationResponseApplicationJson _$certificateGetCertificateExpirationResponseApplicationJsonSerializer; } -class ChatReceiveMessagesApiVersion extends EnumClass { +class ChatReceiveMessagesApiVersion extends DynamiteEnum { const ChatReceiveMessagesApiVersion._(super.name); - static const ChatReceiveMessagesApiVersion v1 = _$chatReceiveMessagesApiVersionV1; + static const ChatReceiveMessagesApiVersion v1 = ChatReceiveMessagesApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatReceiveMessagesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatReceiveMessagesApiVersion.v1, + ]); + + static ChatReceiveMessagesApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatReceiveMessagesApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatReceiveMessagesApiVersionSerializer(); +} + +class _$ChatReceiveMessagesApiVersionSerializer implements PrimitiveSerializer { + const _$ChatReceiveMessagesApiVersionSerializer(); + + static const Map _toWire = { + ChatReceiveMessagesApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatReceiveMessagesApiVersion.v1, + }; + + @override + Iterable get types => const [ChatReceiveMessagesApiVersion]; + + @override + String get wireName => 'ChatReceiveMessagesApiVersion'; - static ChatReceiveMessagesApiVersion valueOf(String name) => _$valueOfChatReceiveMessagesApiVersion(name); + @override + Object serialize( + Serializers serializers, + ChatReceiveMessagesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatReceiveMessagesApiVersionSerializer; + @override + ChatReceiveMessagesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15635,18 +16890,61 @@ abstract class ChatReceiveMessagesResponseApplicationJson _$chatReceiveMessagesResponseApplicationJsonSerializer; } -class ChatSendMessageApiVersion extends EnumClass { +class ChatSendMessageApiVersion extends DynamiteEnum { const ChatSendMessageApiVersion._(super.name); - static const ChatSendMessageApiVersion v1 = _$chatSendMessageApiVersionV1; + static const ChatSendMessageApiVersion v1 = ChatSendMessageApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatSendMessageApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatSendMessageApiVersion.v1, + ]); + + static ChatSendMessageApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatSendMessageApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatSendMessageApiVersionSerializer(); +} + +class _$ChatSendMessageApiVersionSerializer implements PrimitiveSerializer { + const _$ChatSendMessageApiVersionSerializer(); + + static const Map _toWire = { + ChatSendMessageApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatSendMessageApiVersion.v1, + }; + + @override + Iterable get types => const [ChatSendMessageApiVersion]; + + @override + String get wireName => 'ChatSendMessageApiVersion'; - static ChatSendMessageApiVersion valueOf(String name) => _$valueOfChatSendMessageApiVersion(name); + @override + Object serialize( + Serializers serializers, + ChatSendMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatSendMessageApiVersionSerializer; + @override + ChatSendMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15738,18 +17036,61 @@ abstract class ChatSendMessageResponseApplicationJson _$chatSendMessageResponseApplicationJsonSerializer; } -class ChatClearHistoryApiVersion extends EnumClass { +class ChatClearHistoryApiVersion extends DynamiteEnum { const ChatClearHistoryApiVersion._(super.name); - static const ChatClearHistoryApiVersion v1 = _$chatClearHistoryApiVersionV1; + static const ChatClearHistoryApiVersion v1 = ChatClearHistoryApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatClearHistoryApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatClearHistoryApiVersion.v1, + ]); + + static ChatClearHistoryApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatClearHistoryApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatClearHistoryApiVersionSerializer(); +} + +class _$ChatClearHistoryApiVersionSerializer implements PrimitiveSerializer { + const _$ChatClearHistoryApiVersionSerializer(); + + static const Map _toWire = { + ChatClearHistoryApiVersion.v1: 'v1', + }; - static ChatClearHistoryApiVersion valueOf(String name) => _$valueOfChatClearHistoryApiVersion(name); + static const Map _fromWire = { + 'v1': ChatClearHistoryApiVersion.v1, + }; + + @override + Iterable get types => const [ChatClearHistoryApiVersion]; + + @override + String get wireName => 'ChatClearHistoryApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatClearHistoryApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatClearHistoryApiVersionSerializer; + @override + ChatClearHistoryApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15841,18 +17182,61 @@ abstract class ChatClearHistoryResponseApplicationJson _$chatClearHistoryResponseApplicationJsonSerializer; } -class ChatDeleteMessageApiVersion extends EnumClass { +class ChatDeleteMessageApiVersion extends DynamiteEnum { const ChatDeleteMessageApiVersion._(super.name); - static const ChatDeleteMessageApiVersion v1 = _$chatDeleteMessageApiVersionV1; + static const ChatDeleteMessageApiVersion v1 = ChatDeleteMessageApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatDeleteMessageApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatDeleteMessageApiVersion.v1, + ]); + + static ChatDeleteMessageApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatDeleteMessageApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatDeleteMessageApiVersionSerializer(); +} + +class _$ChatDeleteMessageApiVersionSerializer implements PrimitiveSerializer { + const _$ChatDeleteMessageApiVersionSerializer(); + + static const Map _toWire = { + ChatDeleteMessageApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatDeleteMessageApiVersion.v1, + }; + + @override + Iterable get types => const [ChatDeleteMessageApiVersion]; - static ChatDeleteMessageApiVersion valueOf(String name) => _$valueOfChatDeleteMessageApiVersion(name); + @override + String get wireName => 'ChatDeleteMessageApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatDeleteMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatDeleteMessageApiVersionSerializer; + @override + ChatDeleteMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -15945,18 +17329,62 @@ abstract class ChatDeleteMessageResponseApplicationJson _$chatDeleteMessageResponseApplicationJsonSerializer; } -class ChatGetMessageContextApiVersion extends EnumClass { +class ChatGetMessageContextApiVersion extends DynamiteEnum { const ChatGetMessageContextApiVersion._(super.name); - static const ChatGetMessageContextApiVersion v1 = _$chatGetMessageContextApiVersionV1; + static const ChatGetMessageContextApiVersion v1 = ChatGetMessageContextApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatGetMessageContextApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatGetMessageContextApiVersion.v1, + ]); + + static ChatGetMessageContextApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatGetMessageContextApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$ChatGetMessageContextApiVersionSerializer(); +} - static ChatGetMessageContextApiVersion valueOf(String name) => _$valueOfChatGetMessageContextApiVersion(name); +class _$ChatGetMessageContextApiVersionSerializer implements PrimitiveSerializer { + const _$ChatGetMessageContextApiVersionSerializer(); - static Serializer get serializer => _$chatGetMessageContextApiVersionSerializer; + static const Map _toWire = { + ChatGetMessageContextApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatGetMessageContextApiVersion.v1, + }; + + @override + Iterable get types => const [ChatGetMessageContextApiVersion]; + + @override + String get wireName => 'ChatGetMessageContextApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatGetMessageContextApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatGetMessageContextApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16052,18 +17480,61 @@ abstract class ChatGetMessageContextResponseApplicationJson _$chatGetMessageContextResponseApplicationJsonSerializer; } -class ChatGetReminderApiVersion extends EnumClass { +class ChatGetReminderApiVersion extends DynamiteEnum { const ChatGetReminderApiVersion._(super.name); - static const ChatGetReminderApiVersion v1 = _$chatGetReminderApiVersionV1; + static const ChatGetReminderApiVersion v1 = ChatGetReminderApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatGetReminderApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatGetReminderApiVersion.v1, + ]); - static ChatGetReminderApiVersion valueOf(String name) => _$valueOfChatGetReminderApiVersion(name); + static ChatGetReminderApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatGetReminderApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatGetReminderApiVersionSerializer(); +} + +class _$ChatGetReminderApiVersionSerializer implements PrimitiveSerializer { + const _$ChatGetReminderApiVersionSerializer(); + + static const Map _toWire = { + ChatGetReminderApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatGetReminderApiVersion.v1, + }; + + @override + Iterable get types => const [ChatGetReminderApiVersion]; + + @override + String get wireName => 'ChatGetReminderApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatGetReminderApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatGetReminderApiVersionSerializer; + @override + ChatGetReminderApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16152,18 +17623,61 @@ abstract class ChatGetReminderResponseApplicationJson _$chatGetReminderResponseApplicationJsonSerializer; } -class ChatSetReminderApiVersion extends EnumClass { +class ChatSetReminderApiVersion extends DynamiteEnum { const ChatSetReminderApiVersion._(super.name); - static const ChatSetReminderApiVersion v1 = _$chatSetReminderApiVersionV1; + static const ChatSetReminderApiVersion v1 = ChatSetReminderApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatSetReminderApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatSetReminderApiVersion.v1, + ]); + + static ChatSetReminderApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatSetReminderApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatSetReminderApiVersionSerializer(); +} + +class _$ChatSetReminderApiVersionSerializer implements PrimitiveSerializer { + const _$ChatSetReminderApiVersionSerializer(); + + static const Map _toWire = { + ChatSetReminderApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatSetReminderApiVersion.v1, + }; + + @override + Iterable get types => const [ChatSetReminderApiVersion]; + + @override + String get wireName => 'ChatSetReminderApiVersion'; - static ChatSetReminderApiVersion valueOf(String name) => _$valueOfChatSetReminderApiVersion(name); + @override + Object serialize( + Serializers serializers, + ChatSetReminderApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatSetReminderApiVersionSerializer; + @override + ChatSetReminderApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16226,18 +17740,61 @@ abstract class ChatSetReminderResponseApplicationJson _$chatSetReminderResponseApplicationJsonSerializer; } -class ChatDeleteReminderApiVersion extends EnumClass { +class ChatDeleteReminderApiVersion extends DynamiteEnum { const ChatDeleteReminderApiVersion._(super.name); - static const ChatDeleteReminderApiVersion v1 = _$chatDeleteReminderApiVersionV1; + static const ChatDeleteReminderApiVersion v1 = ChatDeleteReminderApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatDeleteReminderApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatDeleteReminderApiVersion.v1, + ]); + + static ChatDeleteReminderApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatDeleteReminderApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatDeleteReminderApiVersionSerializer(); +} + +class _$ChatDeleteReminderApiVersionSerializer implements PrimitiveSerializer { + const _$ChatDeleteReminderApiVersionSerializer(); - static ChatDeleteReminderApiVersion valueOf(String name) => _$valueOfChatDeleteReminderApiVersion(name); + static const Map _toWire = { + ChatDeleteReminderApiVersion.v1: 'v1', + }; - static Serializer get serializer => _$chatDeleteReminderApiVersionSerializer; + static const Map _fromWire = { + 'v1': ChatDeleteReminderApiVersion.v1, + }; + + @override + Iterable get types => const [ChatDeleteReminderApiVersion]; + + @override + String get wireName => 'ChatDeleteReminderApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatDeleteReminderApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatDeleteReminderApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16301,18 +17858,61 @@ abstract class ChatDeleteReminderResponseApplicationJson _$chatDeleteReminderResponseApplicationJsonSerializer; } -class ChatSetReadMarkerApiVersion extends EnumClass { +class ChatSetReadMarkerApiVersion extends DynamiteEnum { const ChatSetReadMarkerApiVersion._(super.name); - static const ChatSetReadMarkerApiVersion v1 = _$chatSetReadMarkerApiVersionV1; - - // coverage:ignore-start - static BuiltSet get values => _$chatSetReadMarkerApiVersionValues; - // coverage:ignore-end + static const ChatSetReadMarkerApiVersion v1 = ChatSetReadMarkerApiVersion._('v1'); - static ChatSetReadMarkerApiVersion valueOf(String name) => _$valueOfChatSetReadMarkerApiVersion(name); + static BuiltSet get values => + BuiltSet(const [ + ChatSetReadMarkerApiVersion.v1, + ]); - static Serializer get serializer => _$chatSetReadMarkerApiVersionSerializer; + static ChatSetReadMarkerApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatSetReadMarkerApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatSetReadMarkerApiVersionSerializer(); +} + +class _$ChatSetReadMarkerApiVersionSerializer implements PrimitiveSerializer { + const _$ChatSetReadMarkerApiVersionSerializer(); + + static const Map _toWire = { + ChatSetReadMarkerApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatSetReadMarkerApiVersion.v1, + }; + + @override + Iterable get types => const [ChatSetReadMarkerApiVersion]; + + @override + String get wireName => 'ChatSetReadMarkerApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatSetReadMarkerApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatSetReadMarkerApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16405,18 +18005,61 @@ abstract class ChatSetReadMarkerResponseApplicationJson _$chatSetReadMarkerResponseApplicationJsonSerializer; } -class ChatMarkUnreadApiVersion extends EnumClass { +class ChatMarkUnreadApiVersion extends DynamiteEnum { const ChatMarkUnreadApiVersion._(super.name); - static const ChatMarkUnreadApiVersion v1 = _$chatMarkUnreadApiVersionV1; + static const ChatMarkUnreadApiVersion v1 = ChatMarkUnreadApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatMarkUnreadApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatMarkUnreadApiVersion.v1, + ]); + + static ChatMarkUnreadApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatMarkUnreadApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatMarkUnreadApiVersionSerializer(); +} + +class _$ChatMarkUnreadApiVersionSerializer implements PrimitiveSerializer { + const _$ChatMarkUnreadApiVersionSerializer(); + + static const Map _toWire = { + ChatMarkUnreadApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatMarkUnreadApiVersion.v1, + }; + + @override + Iterable get types => const [ChatMarkUnreadApiVersion]; - static ChatMarkUnreadApiVersion valueOf(String name) => _$valueOfChatMarkUnreadApiVersion(name); + @override + String get wireName => 'ChatMarkUnreadApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatMarkUnreadApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatMarkUnreadApiVersionSerializer; + @override + ChatMarkUnreadApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16505,18 +18148,60 @@ abstract class ChatMarkUnreadResponseApplicationJson _$chatMarkUnreadResponseApplicationJsonSerializer; } -class ChatMentionsApiVersion extends EnumClass { +class ChatMentionsApiVersion extends DynamiteEnum { const ChatMentionsApiVersion._(super.name); - static const ChatMentionsApiVersion v1 = _$chatMentionsApiVersionV1; + static const ChatMentionsApiVersion v1 = ChatMentionsApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatMentionsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + ChatMentionsApiVersion.v1, + ]); + + static ChatMentionsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatMentionsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ChatMentionsApiVersionSerializer(); +} - static ChatMentionsApiVersion valueOf(String name) => _$valueOfChatMentionsApiVersion(name); +class _$ChatMentionsApiVersionSerializer implements PrimitiveSerializer { + const _$ChatMentionsApiVersionSerializer(); - static Serializer get serializer => _$chatMentionsApiVersionSerializer; + static const Map _toWire = { + ChatMentionsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatMentionsApiVersion.v1, + }; + + @override + Iterable get types => const [ChatMentionsApiVersion]; + + @override + String get wireName => 'ChatMentionsApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatMentionsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatMentionsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16609,20 +18294,65 @@ abstract class ChatMentionsResponseApplicationJson _$chatMentionsResponseApplicationJsonSerializer; } -class ChatGetObjectsSharedInRoomApiVersion extends EnumClass { +class ChatGetObjectsSharedInRoomApiVersion extends DynamiteEnum { const ChatGetObjectsSharedInRoomApiVersion._(super.name); - static const ChatGetObjectsSharedInRoomApiVersion v1 = _$chatGetObjectsSharedInRoomApiVersionV1; + static const ChatGetObjectsSharedInRoomApiVersion v1 = ChatGetObjectsSharedInRoomApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatGetObjectsSharedInRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatGetObjectsSharedInRoomApiVersion.v1, + ]); - static ChatGetObjectsSharedInRoomApiVersion valueOf(String name) => - _$valueOfChatGetObjectsSharedInRoomApiVersion(name); + static ChatGetObjectsSharedInRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatGetObjectsSharedInRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$chatGetObjectsSharedInRoomApiVersionSerializer; + const _$ChatGetObjectsSharedInRoomApiVersionSerializer(); +} + +class _$ChatGetObjectsSharedInRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$ChatGetObjectsSharedInRoomApiVersionSerializer(); + + static const Map _toWire = + { + ChatGetObjectsSharedInRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': ChatGetObjectsSharedInRoomApiVersion.v1, + }; + + @override + Iterable get types => const [ChatGetObjectsSharedInRoomApiVersion]; + + @override + String get wireName => 'ChatGetObjectsSharedInRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatGetObjectsSharedInRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatGetObjectsSharedInRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16718,18 +18448,62 @@ abstract class ChatGetObjectsSharedInRoomResponseApplicationJson _$chatGetObjectsSharedInRoomResponseApplicationJsonSerializer; } -class ChatShareObjectToChatApiVersion extends EnumClass { +class ChatShareObjectToChatApiVersion extends DynamiteEnum { const ChatShareObjectToChatApiVersion._(super.name); - static const ChatShareObjectToChatApiVersion v1 = _$chatShareObjectToChatApiVersionV1; + static const ChatShareObjectToChatApiVersion v1 = ChatShareObjectToChatApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$chatShareObjectToChatApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ChatShareObjectToChatApiVersion.v1, + ]); + + static ChatShareObjectToChatApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatShareObjectToChatApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$ChatShareObjectToChatApiVersionSerializer(); +} + +class _$ChatShareObjectToChatApiVersionSerializer implements PrimitiveSerializer { + const _$ChatShareObjectToChatApiVersionSerializer(); + + static const Map _toWire = { + ChatShareObjectToChatApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ChatShareObjectToChatApiVersion.v1, + }; + + @override + Iterable get types => const [ChatShareObjectToChatApiVersion]; + + @override + String get wireName => 'ChatShareObjectToChatApiVersion'; - static ChatShareObjectToChatApiVersion valueOf(String name) => _$valueOfChatShareObjectToChatApiVersion(name); + @override + Object serialize( + Serializers serializers, + ChatShareObjectToChatApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$chatShareObjectToChatApiVersionSerializer; + @override + ChatShareObjectToChatApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16823,21 +18597,65 @@ abstract class ChatShareObjectToChatResponseApplicationJson _$chatShareObjectToChatResponseApplicationJsonSerializer; } -class ChatGetObjectsSharedInRoomOverviewApiVersion extends EnumClass { +class ChatGetObjectsSharedInRoomOverviewApiVersion extends DynamiteEnum { const ChatGetObjectsSharedInRoomOverviewApiVersion._(super.name); - static const ChatGetObjectsSharedInRoomOverviewApiVersion v1 = _$chatGetObjectsSharedInRoomOverviewApiVersionV1; + static const ChatGetObjectsSharedInRoomOverviewApiVersion v1 = ChatGetObjectsSharedInRoomOverviewApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$chatGetObjectsSharedInRoomOverviewApiVersionValues; - // coverage:ignore-end - - static ChatGetObjectsSharedInRoomOverviewApiVersion valueOf(String name) => - _$valueOfChatGetObjectsSharedInRoomOverviewApiVersion(name); + BuiltSet(const [ + ChatGetObjectsSharedInRoomOverviewApiVersion.v1, + ]); + + static ChatGetObjectsSharedInRoomOverviewApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ChatGetObjectsSharedInRoomOverviewApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$chatGetObjectsSharedInRoomOverviewApiVersionSerializer; + const _$ChatGetObjectsSharedInRoomOverviewApiVersionSerializer(); +} + +class _$ChatGetObjectsSharedInRoomOverviewApiVersionSerializer + implements PrimitiveSerializer { + const _$ChatGetObjectsSharedInRoomOverviewApiVersionSerializer(); + + static const Map _toWire = + { + ChatGetObjectsSharedInRoomOverviewApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': ChatGetObjectsSharedInRoomOverviewApiVersion.v1, + }; + + @override + Iterable get types => const [ChatGetObjectsSharedInRoomOverviewApiVersion]; + + @override + String get wireName => 'ChatGetObjectsSharedInRoomOverviewApiVersion'; + + @override + Object serialize( + Serializers serializers, + ChatGetObjectsSharedInRoomOverviewApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ChatGetObjectsSharedInRoomOverviewApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16903,18 +18721,62 @@ abstract class ChatGetObjectsSharedInRoomOverviewResponseApplicationJson _$chatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer; } -class FederationAcceptShareApiVersion extends EnumClass { +class FederationAcceptShareApiVersion extends DynamiteEnum { const FederationAcceptShareApiVersion._(super.name); - static const FederationAcceptShareApiVersion v1 = _$federationAcceptShareApiVersionV1; + static const FederationAcceptShareApiVersion v1 = FederationAcceptShareApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$federationAcceptShareApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + FederationAcceptShareApiVersion.v1, + ]); - static FederationAcceptShareApiVersion valueOf(String name) => _$valueOfFederationAcceptShareApiVersion(name); + static FederationAcceptShareApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return FederationAcceptShareApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$FederationAcceptShareApiVersionSerializer(); +} + +class _$FederationAcceptShareApiVersionSerializer implements PrimitiveSerializer { + const _$FederationAcceptShareApiVersionSerializer(); + + static const Map _toWire = { + FederationAcceptShareApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': FederationAcceptShareApiVersion.v1, + }; + + @override + Iterable get types => const [FederationAcceptShareApiVersion]; + + @override + String get wireName => 'FederationAcceptShareApiVersion'; + + @override + Object serialize( + Serializers serializers, + FederationAcceptShareApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$federationAcceptShareApiVersionSerializer; + @override + FederationAcceptShareApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -16979,18 +18841,62 @@ abstract class FederationAcceptShareResponseApplicationJson _$federationAcceptShareResponseApplicationJsonSerializer; } -class FederationRejectShareApiVersion extends EnumClass { +class FederationRejectShareApiVersion extends DynamiteEnum { const FederationRejectShareApiVersion._(super.name); - static const FederationRejectShareApiVersion v1 = _$federationRejectShareApiVersionV1; + static const FederationRejectShareApiVersion v1 = FederationRejectShareApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$federationRejectShareApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + FederationRejectShareApiVersion.v1, + ]); + + static FederationRejectShareApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return FederationRejectShareApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$FederationRejectShareApiVersionSerializer(); +} + +class _$FederationRejectShareApiVersionSerializer implements PrimitiveSerializer { + const _$FederationRejectShareApiVersionSerializer(); + + static const Map _toWire = { + FederationRejectShareApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': FederationRejectShareApiVersion.v1, + }; + + @override + Iterable get types => const [FederationRejectShareApiVersion]; + + @override + String get wireName => 'FederationRejectShareApiVersion'; - static FederationRejectShareApiVersion valueOf(String name) => _$valueOfFederationRejectShareApiVersion(name); + @override + Object serialize( + Serializers serializers, + FederationRejectShareApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$federationRejectShareApiVersionSerializer; + @override + FederationRejectShareApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17055,18 +18961,61 @@ abstract class FederationRejectShareResponseApplicationJson _$federationRejectShareResponseApplicationJsonSerializer; } -class FederationGetSharesApiVersion extends EnumClass { +class FederationGetSharesApiVersion extends DynamiteEnum { const FederationGetSharesApiVersion._(super.name); - static const FederationGetSharesApiVersion v1 = _$federationGetSharesApiVersionV1; + static const FederationGetSharesApiVersion v1 = FederationGetSharesApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$federationGetSharesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + FederationGetSharesApiVersion.v1, + ]); + + static FederationGetSharesApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return FederationGetSharesApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$FederationGetSharesApiVersionSerializer(); +} + +class _$FederationGetSharesApiVersionSerializer implements PrimitiveSerializer { + const _$FederationGetSharesApiVersionSerializer(); - static FederationGetSharesApiVersion valueOf(String name) => _$valueOfFederationGetSharesApiVersion(name); + static const Map _toWire = { + FederationGetSharesApiVersion.v1: 'v1', + }; - static Serializer get serializer => _$federationGetSharesApiVersionSerializer; + static const Map _fromWire = { + 'v1': FederationGetSharesApiVersion.v1, + }; + + @override + Iterable get types => const [FederationGetSharesApiVersion]; + + @override + String get wireName => 'FederationGetSharesApiVersion'; + + @override + Object serialize( + Serializers serializers, + FederationGetSharesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + FederationGetSharesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17166,21 +19115,65 @@ abstract class FederationGetSharesResponseApplicationJson _$federationGetSharesResponseApplicationJsonSerializer; } -class FilesIntegrationGetRoomByFileIdApiVersion extends EnumClass { +class FilesIntegrationGetRoomByFileIdApiVersion extends DynamiteEnum { const FilesIntegrationGetRoomByFileIdApiVersion._(super.name); - static const FilesIntegrationGetRoomByFileIdApiVersion v1 = _$filesIntegrationGetRoomByFileIdApiVersionV1; + static const FilesIntegrationGetRoomByFileIdApiVersion v1 = FilesIntegrationGetRoomByFileIdApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$filesIntegrationGetRoomByFileIdApiVersionValues; - // coverage:ignore-end - - static FilesIntegrationGetRoomByFileIdApiVersion valueOf(String name) => - _$valueOfFilesIntegrationGetRoomByFileIdApiVersion(name); + BuiltSet(const [ + FilesIntegrationGetRoomByFileIdApiVersion.v1, + ]); + + static FilesIntegrationGetRoomByFileIdApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return FilesIntegrationGetRoomByFileIdApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$filesIntegrationGetRoomByFileIdApiVersionSerializer; + const _$FilesIntegrationGetRoomByFileIdApiVersionSerializer(); +} + +class _$FilesIntegrationGetRoomByFileIdApiVersionSerializer + implements PrimitiveSerializer { + const _$FilesIntegrationGetRoomByFileIdApiVersionSerializer(); + + static const Map _toWire = + { + FilesIntegrationGetRoomByFileIdApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': FilesIntegrationGetRoomByFileIdApiVersion.v1, + }; + + @override + Iterable get types => const [FilesIntegrationGetRoomByFileIdApiVersion]; + + @override + String get wireName => 'FilesIntegrationGetRoomByFileIdApiVersion'; + + @override + Object serialize( + Serializers serializers, + FilesIntegrationGetRoomByFileIdApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + FilesIntegrationGetRoomByFileIdApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17277,21 +19270,65 @@ abstract class FilesIntegrationGetRoomByFileIdResponseApplicationJson _$filesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer; } -class FilesIntegrationGetRoomByShareTokenApiVersion extends EnumClass { +class FilesIntegrationGetRoomByShareTokenApiVersion extends DynamiteEnum { const FilesIntegrationGetRoomByShareTokenApiVersion._(super.name); - static const FilesIntegrationGetRoomByShareTokenApiVersion v1 = _$filesIntegrationGetRoomByShareTokenApiVersionV1; + static const FilesIntegrationGetRoomByShareTokenApiVersion v1 = FilesIntegrationGetRoomByShareTokenApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$filesIntegrationGetRoomByShareTokenApiVersionValues; - // coverage:ignore-end - - static FilesIntegrationGetRoomByShareTokenApiVersion valueOf(String name) => - _$valueOfFilesIntegrationGetRoomByShareTokenApiVersion(name); + BuiltSet(const [ + FilesIntegrationGetRoomByShareTokenApiVersion.v1, + ]); + + static FilesIntegrationGetRoomByShareTokenApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return FilesIntegrationGetRoomByShareTokenApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$filesIntegrationGetRoomByShareTokenApiVersionSerializer; + const _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer(); +} + +class _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer + implements PrimitiveSerializer { + const _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer(); + + static const Map _toWire = + { + FilesIntegrationGetRoomByShareTokenApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': FilesIntegrationGetRoomByShareTokenApiVersion.v1, + }; + + @override + Iterable get types => const [FilesIntegrationGetRoomByShareTokenApiVersion]; + + @override + String get wireName => 'FilesIntegrationGetRoomByShareTokenApiVersion'; + + @override + Object serialize( + Serializers serializers, + FilesIntegrationGetRoomByShareTokenApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + FilesIntegrationGetRoomByShareTokenApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17390,18 +19427,61 @@ abstract class FilesIntegrationGetRoomByShareTokenResponseApplicationJson _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer; } -class GuestSetDisplayNameApiVersion extends EnumClass { +class GuestSetDisplayNameApiVersion extends DynamiteEnum { const GuestSetDisplayNameApiVersion._(super.name); - static const GuestSetDisplayNameApiVersion v1 = _$guestSetDisplayNameApiVersionV1; + static const GuestSetDisplayNameApiVersion v1 = GuestSetDisplayNameApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$guestSetDisplayNameApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + GuestSetDisplayNameApiVersion.v1, + ]); + + static GuestSetDisplayNameApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return GuestSetDisplayNameApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$GuestSetDisplayNameApiVersionSerializer(); +} - static GuestSetDisplayNameApiVersion valueOf(String name) => _$valueOfGuestSetDisplayNameApiVersion(name); +class _$GuestSetDisplayNameApiVersionSerializer implements PrimitiveSerializer { + const _$GuestSetDisplayNameApiVersionSerializer(); - static Serializer get serializer => _$guestSetDisplayNameApiVersionSerializer; + static const Map _toWire = { + GuestSetDisplayNameApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': GuestSetDisplayNameApiVersion.v1, + }; + + @override + Iterable get types => const [GuestSetDisplayNameApiVersion]; + + @override + String get wireName => 'GuestSetDisplayNameApiVersion'; + + @override + Object serialize( + Serializers serializers, + GuestSetDisplayNameApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + GuestSetDisplayNameApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17465,21 +19545,65 @@ abstract class GuestSetDisplayNameResponseApplicationJson _$guestSetDisplayNameResponseApplicationJsonSerializer; } -class HostedSignalingServerRequestTrialApiVersion extends EnumClass { +class HostedSignalingServerRequestTrialApiVersion extends DynamiteEnum { const HostedSignalingServerRequestTrialApiVersion._(super.name); - static const HostedSignalingServerRequestTrialApiVersion v1 = _$hostedSignalingServerRequestTrialApiVersionV1; + static const HostedSignalingServerRequestTrialApiVersion v1 = HostedSignalingServerRequestTrialApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$hostedSignalingServerRequestTrialApiVersionValues; - // coverage:ignore-end - - static HostedSignalingServerRequestTrialApiVersion valueOf(String name) => - _$valueOfHostedSignalingServerRequestTrialApiVersion(name); + BuiltSet(const [ + HostedSignalingServerRequestTrialApiVersion.v1, + ]); + + static HostedSignalingServerRequestTrialApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return HostedSignalingServerRequestTrialApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$hostedSignalingServerRequestTrialApiVersionSerializer; + const _$HostedSignalingServerRequestTrialApiVersionSerializer(); +} + +class _$HostedSignalingServerRequestTrialApiVersionSerializer + implements PrimitiveSerializer { + const _$HostedSignalingServerRequestTrialApiVersionSerializer(); + + static const Map _toWire = + { + HostedSignalingServerRequestTrialApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': HostedSignalingServerRequestTrialApiVersion.v1, + }; + + @override + Iterable get types => const [HostedSignalingServerRequestTrialApiVersion]; + + @override + String get wireName => 'HostedSignalingServerRequestTrialApiVersion'; + + @override + Object serialize( + Serializers serializers, + HostedSignalingServerRequestTrialApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + HostedSignalingServerRequestTrialApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17545,21 +19669,65 @@ abstract class HostedSignalingServerRequestTrialResponseApplicationJson _$hostedSignalingServerRequestTrialResponseApplicationJsonSerializer; } -class HostedSignalingServerDeleteAccountApiVersion extends EnumClass { +class HostedSignalingServerDeleteAccountApiVersion extends DynamiteEnum { const HostedSignalingServerDeleteAccountApiVersion._(super.name); - static const HostedSignalingServerDeleteAccountApiVersion v1 = _$hostedSignalingServerDeleteAccountApiVersionV1; + static const HostedSignalingServerDeleteAccountApiVersion v1 = HostedSignalingServerDeleteAccountApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$hostedSignalingServerDeleteAccountApiVersionValues; - // coverage:ignore-end - - static HostedSignalingServerDeleteAccountApiVersion valueOf(String name) => - _$valueOfHostedSignalingServerDeleteAccountApiVersion(name); + BuiltSet(const [ + HostedSignalingServerDeleteAccountApiVersion.v1, + ]); + + static HostedSignalingServerDeleteAccountApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return HostedSignalingServerDeleteAccountApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$hostedSignalingServerDeleteAccountApiVersionSerializer; + const _$HostedSignalingServerDeleteAccountApiVersionSerializer(); +} + +class _$HostedSignalingServerDeleteAccountApiVersionSerializer + implements PrimitiveSerializer { + const _$HostedSignalingServerDeleteAccountApiVersionSerializer(); + + static const Map _toWire = + { + HostedSignalingServerDeleteAccountApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': HostedSignalingServerDeleteAccountApiVersion.v1, + }; + + @override + Iterable get types => const [HostedSignalingServerDeleteAccountApiVersion]; + + @override + String get wireName => 'HostedSignalingServerDeleteAccountApiVersion'; + + @override + Object serialize( + Serializers serializers, + HostedSignalingServerDeleteAccountApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + HostedSignalingServerDeleteAccountApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17625,20 +19793,65 @@ abstract class HostedSignalingServerDeleteAccountResponseApplicationJson _$hostedSignalingServerDeleteAccountResponseApplicationJsonSerializer; } -class MatterbridgeGetBridgeOfRoomApiVersion extends EnumClass { +class MatterbridgeGetBridgeOfRoomApiVersion extends DynamiteEnum { const MatterbridgeGetBridgeOfRoomApiVersion._(super.name); - static const MatterbridgeGetBridgeOfRoomApiVersion v1 = _$matterbridgeGetBridgeOfRoomApiVersionV1; + static const MatterbridgeGetBridgeOfRoomApiVersion v1 = MatterbridgeGetBridgeOfRoomApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$matterbridgeGetBridgeOfRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + MatterbridgeGetBridgeOfRoomApiVersion.v1, + ]); - static MatterbridgeGetBridgeOfRoomApiVersion valueOf(String name) => - _$valueOfMatterbridgeGetBridgeOfRoomApiVersion(name); + static MatterbridgeGetBridgeOfRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeGetBridgeOfRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$matterbridgeGetBridgeOfRoomApiVersionSerializer; + const _$MatterbridgeGetBridgeOfRoomApiVersionSerializer(); +} + +class _$MatterbridgeGetBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeGetBridgeOfRoomApiVersionSerializer(); + + static const Map _toWire = + { + MatterbridgeGetBridgeOfRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeGetBridgeOfRoomApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeGetBridgeOfRoomApiVersion]; + + @override + String get wireName => 'MatterbridgeGetBridgeOfRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeGetBridgeOfRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeGetBridgeOfRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17782,20 +19995,65 @@ abstract class MatterbridgeGetBridgeOfRoomResponseApplicationJson _$matterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer; } -class MatterbridgeEditBridgeOfRoomApiVersion extends EnumClass { +class MatterbridgeEditBridgeOfRoomApiVersion extends DynamiteEnum { const MatterbridgeEditBridgeOfRoomApiVersion._(super.name); - static const MatterbridgeEditBridgeOfRoomApiVersion v1 = _$matterbridgeEditBridgeOfRoomApiVersionV1; + static const MatterbridgeEditBridgeOfRoomApiVersion v1 = MatterbridgeEditBridgeOfRoomApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$matterbridgeEditBridgeOfRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + MatterbridgeEditBridgeOfRoomApiVersion.v1, + ]); - static MatterbridgeEditBridgeOfRoomApiVersion valueOf(String name) => - _$valueOfMatterbridgeEditBridgeOfRoomApiVersion(name); + static MatterbridgeEditBridgeOfRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeEditBridgeOfRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$matterbridgeEditBridgeOfRoomApiVersionSerializer; + const _$MatterbridgeEditBridgeOfRoomApiVersionSerializer(); +} + +class _$MatterbridgeEditBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeEditBridgeOfRoomApiVersionSerializer(); + + static const Map _toWire = + { + MatterbridgeEditBridgeOfRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeEditBridgeOfRoomApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeEditBridgeOfRoomApiVersion]; + + @override + String get wireName => 'MatterbridgeEditBridgeOfRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeEditBridgeOfRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeEditBridgeOfRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17861,21 +20119,65 @@ abstract class MatterbridgeEditBridgeOfRoomResponseApplicationJson _$matterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer; } -class MatterbridgeDeleteBridgeOfRoomApiVersion extends EnumClass { +class MatterbridgeDeleteBridgeOfRoomApiVersion extends DynamiteEnum { const MatterbridgeDeleteBridgeOfRoomApiVersion._(super.name); - static const MatterbridgeDeleteBridgeOfRoomApiVersion v1 = _$matterbridgeDeleteBridgeOfRoomApiVersionV1; + static const MatterbridgeDeleteBridgeOfRoomApiVersion v1 = MatterbridgeDeleteBridgeOfRoomApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$matterbridgeDeleteBridgeOfRoomApiVersionValues; - // coverage:ignore-end - - static MatterbridgeDeleteBridgeOfRoomApiVersion valueOf(String name) => - _$valueOfMatterbridgeDeleteBridgeOfRoomApiVersion(name); + BuiltSet(const [ + MatterbridgeDeleteBridgeOfRoomApiVersion.v1, + ]); + + static MatterbridgeDeleteBridgeOfRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeDeleteBridgeOfRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$matterbridgeDeleteBridgeOfRoomApiVersionSerializer; + const _$MatterbridgeDeleteBridgeOfRoomApiVersionSerializer(); +} + +class _$MatterbridgeDeleteBridgeOfRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeDeleteBridgeOfRoomApiVersionSerializer(); + + static const Map _toWire = + { + MatterbridgeDeleteBridgeOfRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeDeleteBridgeOfRoomApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeDeleteBridgeOfRoomApiVersion]; + + @override + String get wireName => 'MatterbridgeDeleteBridgeOfRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeDeleteBridgeOfRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeDeleteBridgeOfRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -17941,21 +20243,65 @@ abstract class MatterbridgeDeleteBridgeOfRoomResponseApplicationJson _$matterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer; } -class MatterbridgeGetBridgeProcessStateApiVersion extends EnumClass { +class MatterbridgeGetBridgeProcessStateApiVersion extends DynamiteEnum { const MatterbridgeGetBridgeProcessStateApiVersion._(super.name); - static const MatterbridgeGetBridgeProcessStateApiVersion v1 = _$matterbridgeGetBridgeProcessStateApiVersionV1; + static const MatterbridgeGetBridgeProcessStateApiVersion v1 = MatterbridgeGetBridgeProcessStateApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$matterbridgeGetBridgeProcessStateApiVersionValues; - // coverage:ignore-end - - static MatterbridgeGetBridgeProcessStateApiVersion valueOf(String name) => - _$valueOfMatterbridgeGetBridgeProcessStateApiVersion(name); + BuiltSet(const [ + MatterbridgeGetBridgeProcessStateApiVersion.v1, + ]); + + static MatterbridgeGetBridgeProcessStateApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeGetBridgeProcessStateApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$matterbridgeGetBridgeProcessStateApiVersionSerializer; + const _$MatterbridgeGetBridgeProcessStateApiVersionSerializer(); +} + +class _$MatterbridgeGetBridgeProcessStateApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeGetBridgeProcessStateApiVersionSerializer(); + + static const Map _toWire = + { + MatterbridgeGetBridgeProcessStateApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeGetBridgeProcessStateApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeGetBridgeProcessStateApiVersion]; + + @override + String get wireName => 'MatterbridgeGetBridgeProcessStateApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeGetBridgeProcessStateApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeGetBridgeProcessStateApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18021,21 +20367,65 @@ abstract class MatterbridgeGetBridgeProcessStateResponseApplicationJson _$matterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer; } -class MatterbridgeSettingsStopAllBridgesApiVersion extends EnumClass { +class MatterbridgeSettingsStopAllBridgesApiVersion extends DynamiteEnum { const MatterbridgeSettingsStopAllBridgesApiVersion._(super.name); - static const MatterbridgeSettingsStopAllBridgesApiVersion v1 = _$matterbridgeSettingsStopAllBridgesApiVersionV1; + static const MatterbridgeSettingsStopAllBridgesApiVersion v1 = MatterbridgeSettingsStopAllBridgesApiVersion._('v1'); - // coverage:ignore-start static BuiltSet get values => - _$matterbridgeSettingsStopAllBridgesApiVersionValues; - // coverage:ignore-end - - static MatterbridgeSettingsStopAllBridgesApiVersion valueOf(String name) => - _$valueOfMatterbridgeSettingsStopAllBridgesApiVersion(name); + BuiltSet(const [ + MatterbridgeSettingsStopAllBridgesApiVersion.v1, + ]); + + static MatterbridgeSettingsStopAllBridgesApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeSettingsStopAllBridgesApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$matterbridgeSettingsStopAllBridgesApiVersionSerializer; + const _$MatterbridgeSettingsStopAllBridgesApiVersionSerializer(); +} + +class _$MatterbridgeSettingsStopAllBridgesApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeSettingsStopAllBridgesApiVersionSerializer(); + + static const Map _toWire = + { + MatterbridgeSettingsStopAllBridgesApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeSettingsStopAllBridgesApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeSettingsStopAllBridgesApiVersion]; + + @override + String get wireName => 'MatterbridgeSettingsStopAllBridgesApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeSettingsStopAllBridgesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeSettingsStopAllBridgesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18101,22 +20491,66 @@ abstract class MatterbridgeSettingsStopAllBridgesResponseApplicationJson _$matterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer; } -class MatterbridgeSettingsGetMatterbridgeVersionApiVersion extends EnumClass { +class MatterbridgeSettingsGetMatterbridgeVersionApiVersion extends DynamiteEnum { const MatterbridgeSettingsGetMatterbridgeVersionApiVersion._(super.name); static const MatterbridgeSettingsGetMatterbridgeVersionApiVersion v1 = - _$matterbridgeSettingsGetMatterbridgeVersionApiVersionV1; + MatterbridgeSettingsGetMatterbridgeVersionApiVersion._('v1'); + + static BuiltSet get values => BuiltSet< + MatterbridgeSettingsGetMatterbridgeVersionApiVersion>(const [ + MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1, + ]); + + static MatterbridgeSettingsGetMatterbridgeVersionApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1; + default: + throw ArgumentError(name); + } + } - // coverage:ignore-start - static BuiltSet get values => - _$matterbridgeSettingsGetMatterbridgeVersionApiVersionValues; - // coverage:ignore-end + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$MatterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer(); +} - static MatterbridgeSettingsGetMatterbridgeVersionApiVersion valueOf(String name) => - _$valueOfMatterbridgeSettingsGetMatterbridgeVersionApiVersion(name); +class _$MatterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer + implements PrimitiveSerializer { + const _$MatterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer(); - static Serializer get serializer => - _$matterbridgeSettingsGetMatterbridgeVersionApiVersionSerializer; + static const Map _toWire = + { + MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': MatterbridgeSettingsGetMatterbridgeVersionApiVersion.v1, + }; + + @override + Iterable get types => const [MatterbridgeSettingsGetMatterbridgeVersionApiVersion]; + + @override + String get wireName => 'MatterbridgeSettingsGetMatterbridgeVersionApiVersion'; + + @override + Object serialize( + Serializers serializers, + MatterbridgeSettingsGetMatterbridgeVersionApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + MatterbridgeSettingsGetMatterbridgeVersionApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18215,18 +20649,61 @@ abstract class MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson _$matterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer; } -class PollCreatePollApiVersion extends EnumClass { +class PollCreatePollApiVersion extends DynamiteEnum { const PollCreatePollApiVersion._(super.name); - static const PollCreatePollApiVersion v1 = _$pollCreatePollApiVersionV1; + static const PollCreatePollApiVersion v1 = PollCreatePollApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$pollCreatePollApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + PollCreatePollApiVersion.v1, + ]); + + static PollCreatePollApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return PollCreatePollApiVersion.v1; + default: + throw ArgumentError(name); + } + } - static PollCreatePollApiVersion valueOf(String name) => _$valueOfPollCreatePollApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PollCreatePollApiVersionSerializer(); +} + +class _$PollCreatePollApiVersionSerializer implements PrimitiveSerializer { + const _$PollCreatePollApiVersionSerializer(); + + static const Map _toWire = { + PollCreatePollApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': PollCreatePollApiVersion.v1, + }; + + @override + Iterable get types => const [PollCreatePollApiVersion]; + + @override + String get wireName => 'PollCreatePollApiVersion'; - static Serializer get serializer => _$pollCreatePollApiVersionSerializer; + @override + Object serialize( + Serializers serializers, + PollCreatePollApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + PollCreatePollApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18350,18 +20827,60 @@ abstract class PollCreatePollResponseApplicationJson _$pollCreatePollResponseApplicationJsonSerializer; } -class PollShowPollApiVersion extends EnumClass { +class PollShowPollApiVersion extends DynamiteEnum { const PollShowPollApiVersion._(super.name); - static const PollShowPollApiVersion v1 = _$pollShowPollApiVersionV1; + static const PollShowPollApiVersion v1 = PollShowPollApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$pollShowPollApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + PollShowPollApiVersion.v1, + ]); + + static PollShowPollApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return PollShowPollApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PollShowPollApiVersionSerializer(); +} + +class _$PollShowPollApiVersionSerializer implements PrimitiveSerializer { + const _$PollShowPollApiVersionSerializer(); - static PollShowPollApiVersion valueOf(String name) => _$valueOfPollShowPollApiVersion(name); + static const Map _toWire = { + PollShowPollApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': PollShowPollApiVersion.v1, + }; + + @override + Iterable get types => const [PollShowPollApiVersion]; + + @override + String get wireName => 'PollShowPollApiVersion'; + + @override + Object serialize( + Serializers serializers, + PollShowPollApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$pollShowPollApiVersionSerializer; + @override + PollShowPollApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18423,18 +20942,60 @@ abstract class PollShowPollResponseApplicationJson _$pollShowPollResponseApplicationJsonSerializer; } -class PollVotePollApiVersion extends EnumClass { +class PollVotePollApiVersion extends DynamiteEnum { const PollVotePollApiVersion._(super.name); - static const PollVotePollApiVersion v1 = _$pollVotePollApiVersionV1; + static const PollVotePollApiVersion v1 = PollVotePollApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$pollVotePollApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + PollVotePollApiVersion.v1, + ]); + + static PollVotePollApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return PollVotePollApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PollVotePollApiVersionSerializer(); +} + +class _$PollVotePollApiVersionSerializer implements PrimitiveSerializer { + const _$PollVotePollApiVersionSerializer(); + + static const Map _toWire = { + PollVotePollApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': PollVotePollApiVersion.v1, + }; + + @override + Iterable get types => const [PollVotePollApiVersion]; + + @override + String get wireName => 'PollVotePollApiVersion'; - static PollVotePollApiVersion valueOf(String name) => _$valueOfPollVotePollApiVersion(name); + @override + Object serialize( + Serializers serializers, + PollVotePollApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$pollVotePollApiVersionSerializer; + @override + PollVotePollApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18496,18 +21057,61 @@ abstract class PollVotePollResponseApplicationJson _$pollVotePollResponseApplicationJsonSerializer; } -class PollClosePollApiVersion extends EnumClass { +class PollClosePollApiVersion extends DynamiteEnum { const PollClosePollApiVersion._(super.name); - static const PollClosePollApiVersion v1 = _$pollClosePollApiVersionV1; + static const PollClosePollApiVersion v1 = PollClosePollApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$pollClosePollApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + PollClosePollApiVersion.v1, + ]); + + static PollClosePollApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return PollClosePollApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$PollClosePollApiVersionSerializer(); +} + +class _$PollClosePollApiVersionSerializer implements PrimitiveSerializer { + const _$PollClosePollApiVersionSerializer(); + + static const Map _toWire = { + PollClosePollApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': PollClosePollApiVersion.v1, + }; + + @override + Iterable get types => const [PollClosePollApiVersion]; + + @override + String get wireName => 'PollClosePollApiVersion'; - static PollClosePollApiVersion valueOf(String name) => _$valueOfPollClosePollApiVersion(name); + @override + Object serialize( + Serializers serializers, + PollClosePollApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$pollClosePollApiVersionSerializer; + @override + PollClosePollApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18570,19 +21174,64 @@ abstract class PollClosePollResponseApplicationJson _$pollClosePollResponseApplicationJsonSerializer; } -class PublicShareAuthCreateRoomApiVersion extends EnumClass { +class PublicShareAuthCreateRoomApiVersion extends DynamiteEnum { const PublicShareAuthCreateRoomApiVersion._(super.name); - static const PublicShareAuthCreateRoomApiVersion v1 = _$publicShareAuthCreateRoomApiVersionV1; + static const PublicShareAuthCreateRoomApiVersion v1 = PublicShareAuthCreateRoomApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$publicShareAuthCreateRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + PublicShareAuthCreateRoomApiVersion.v1, + ]); - static PublicShareAuthCreateRoomApiVersion valueOf(String name) => _$valueOfPublicShareAuthCreateRoomApiVersion(name); + static PublicShareAuthCreateRoomApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return PublicShareAuthCreateRoomApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$publicShareAuthCreateRoomApiVersionSerializer; + const _$PublicShareAuthCreateRoomApiVersionSerializer(); +} + +class _$PublicShareAuthCreateRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$PublicShareAuthCreateRoomApiVersionSerializer(); + + static const Map _toWire = { + PublicShareAuthCreateRoomApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': PublicShareAuthCreateRoomApiVersion.v1, + }; + + @override + Iterable get types => const [PublicShareAuthCreateRoomApiVersion]; + + @override + String get wireName => 'PublicShareAuthCreateRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + PublicShareAuthCreateRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + PublicShareAuthCreateRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18681,18 +21330,62 @@ abstract class PublicShareAuthCreateRoomResponseApplicationJson _$publicShareAuthCreateRoomResponseApplicationJsonSerializer; } -class ReactionGetReactionsApiVersion extends EnumClass { +class ReactionGetReactionsApiVersion extends DynamiteEnum { const ReactionGetReactionsApiVersion._(super.name); - static const ReactionGetReactionsApiVersion v1 = _$reactionGetReactionsApiVersionV1; + static const ReactionGetReactionsApiVersion v1 = ReactionGetReactionsApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$reactionGetReactionsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ReactionGetReactionsApiVersion.v1, + ]); + + static ReactionGetReactionsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ReactionGetReactionsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$ReactionGetReactionsApiVersionSerializer(); +} + +class _$ReactionGetReactionsApiVersionSerializer implements PrimitiveSerializer { + const _$ReactionGetReactionsApiVersionSerializer(); + + static const Map _toWire = { + ReactionGetReactionsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ReactionGetReactionsApiVersion.v1, + }; + + @override + Iterable get types => const [ReactionGetReactionsApiVersion]; - static ReactionGetReactionsApiVersion valueOf(String name) => _$valueOfReactionGetReactionsApiVersion(name); + @override + String get wireName => 'ReactionGetReactionsApiVersion'; + + @override + Object serialize( + Serializers serializers, + ReactionGetReactionsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$reactionGetReactionsApiVersionSerializer; + @override + ReactionGetReactionsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18782,18 +21475,61 @@ abstract class ReactionGetReactionsResponseApplicationJson _$reactionGetReactionsResponseApplicationJsonSerializer; } -class ReactionReactApiVersion extends EnumClass { +class ReactionReactApiVersion extends DynamiteEnum { const ReactionReactApiVersion._(super.name); - static const ReactionReactApiVersion v1 = _$reactionReactApiVersionV1; + static const ReactionReactApiVersion v1 = ReactionReactApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$reactionReactApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ReactionReactApiVersion.v1, + ]); + + static ReactionReactApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ReactionReactApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ReactionReactApiVersionSerializer(); +} - static ReactionReactApiVersion valueOf(String name) => _$valueOfReactionReactApiVersion(name); +class _$ReactionReactApiVersionSerializer implements PrimitiveSerializer { + const _$ReactionReactApiVersionSerializer(); - static Serializer get serializer => _$reactionReactApiVersionSerializer; + static const Map _toWire = { + ReactionReactApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ReactionReactApiVersion.v1, + }; + + @override + Iterable get types => const [ReactionReactApiVersion]; + + @override + String get wireName => 'ReactionReactApiVersion'; + + @override + Object serialize( + Serializers serializers, + ReactionReactApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ReactionReactApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18856,18 +21592,61 @@ abstract class ReactionReactResponseApplicationJson _$reactionReactResponseApplicationJsonSerializer; } -class ReactionDeleteApiVersion extends EnumClass { +class ReactionDeleteApiVersion extends DynamiteEnum { const ReactionDeleteApiVersion._(super.name); - static const ReactionDeleteApiVersion v1 = _$reactionDeleteApiVersionV1; + static const ReactionDeleteApiVersion v1 = ReactionDeleteApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$reactionDeleteApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ReactionDeleteApiVersion.v1, + ]); - static ReactionDeleteApiVersion valueOf(String name) => _$valueOfReactionDeleteApiVersion(name); + static ReactionDeleteApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ReactionDeleteApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ReactionDeleteApiVersionSerializer(); +} + +class _$ReactionDeleteApiVersionSerializer implements PrimitiveSerializer { + const _$ReactionDeleteApiVersionSerializer(); + + static const Map _toWire = { + ReactionDeleteApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ReactionDeleteApiVersion.v1, + }; + + @override + Iterable get types => const [ReactionDeleteApiVersion]; + + @override + String get wireName => 'ReactionDeleteApiVersion'; + + @override + Object serialize( + Serializers serializers, + ReactionDeleteApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$reactionDeleteApiVersionSerializer; + @override + ReactionDeleteApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -18930,20 +21709,65 @@ abstract class ReactionDeleteResponseApplicationJson _$reactionDeleteResponseApplicationJsonSerializer; } -class RecordingGetWelcomeMessageApiVersion extends EnumClass { +class RecordingGetWelcomeMessageApiVersion extends DynamiteEnum { const RecordingGetWelcomeMessageApiVersion._(super.name); - static const RecordingGetWelcomeMessageApiVersion v1 = _$recordingGetWelcomeMessageApiVersionV1; + static const RecordingGetWelcomeMessageApiVersion v1 = RecordingGetWelcomeMessageApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingGetWelcomeMessageApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingGetWelcomeMessageApiVersion.v1, + ]); - static RecordingGetWelcomeMessageApiVersion valueOf(String name) => - _$valueOfRecordingGetWelcomeMessageApiVersion(name); + static RecordingGetWelcomeMessageApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingGetWelcomeMessageApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$recordingGetWelcomeMessageApiVersionSerializer; + const _$RecordingGetWelcomeMessageApiVersionSerializer(); +} + +class _$RecordingGetWelcomeMessageApiVersionSerializer + implements PrimitiveSerializer { + const _$RecordingGetWelcomeMessageApiVersionSerializer(); + + static const Map _toWire = + { + RecordingGetWelcomeMessageApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': RecordingGetWelcomeMessageApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingGetWelcomeMessageApiVersion]; + + @override + String get wireName => 'RecordingGetWelcomeMessageApiVersion'; + + @override + Object serialize( + Serializers serializers, + RecordingGetWelcomeMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RecordingGetWelcomeMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19040,18 +21864,61 @@ abstract class RecordingGetWelcomeMessageResponseApplicationJson _$recordingGetWelcomeMessageResponseApplicationJsonSerializer; } -class RecordingStartApiVersion extends EnumClass { +class RecordingStartApiVersion extends DynamiteEnum { const RecordingStartApiVersion._(super.name); - static const RecordingStartApiVersion v1 = _$recordingStartApiVersionV1; + static const RecordingStartApiVersion v1 = RecordingStartApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingStartApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingStartApiVersion.v1, + ]); + + static RecordingStartApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingStartApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RecordingStartApiVersionSerializer(); +} + +class _$RecordingStartApiVersionSerializer implements PrimitiveSerializer { + const _$RecordingStartApiVersionSerializer(); - static RecordingStartApiVersion valueOf(String name) => _$valueOfRecordingStartApiVersion(name); + static const Map _toWire = { + RecordingStartApiVersion.v1: 'v1', + }; - static Serializer get serializer => _$recordingStartApiVersionSerializer; + static const Map _fromWire = { + 'v1': RecordingStartApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingStartApiVersion]; + + @override + String get wireName => 'RecordingStartApiVersion'; + + @override + Object serialize( + Serializers serializers, + RecordingStartApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RecordingStartApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19114,18 +21981,61 @@ abstract class RecordingStartResponseApplicationJson _$recordingStartResponseApplicationJsonSerializer; } -class RecordingStopApiVersion extends EnumClass { +class RecordingStopApiVersion extends DynamiteEnum { const RecordingStopApiVersion._(super.name); - static const RecordingStopApiVersion v1 = _$recordingStopApiVersionV1; + static const RecordingStopApiVersion v1 = RecordingStopApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingStopApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingStopApiVersion.v1, + ]); + + static RecordingStopApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingStopApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RecordingStopApiVersionSerializer(); +} + +class _$RecordingStopApiVersionSerializer implements PrimitiveSerializer { + const _$RecordingStopApiVersionSerializer(); + + static const Map _toWire = { + RecordingStopApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': RecordingStopApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingStopApiVersion]; + + @override + String get wireName => 'RecordingStopApiVersion'; - static RecordingStopApiVersion valueOf(String name) => _$valueOfRecordingStopApiVersion(name); + @override + Object serialize( + Serializers serializers, + RecordingStopApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$recordingStopApiVersionSerializer; + @override + RecordingStopApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19188,18 +22098,61 @@ abstract class RecordingStopResponseApplicationJson _$recordingStopResponseApplicationJsonSerializer; } -class RecordingStoreApiVersion extends EnumClass { +class RecordingStoreApiVersion extends DynamiteEnum { const RecordingStoreApiVersion._(super.name); - static const RecordingStoreApiVersion v1 = _$recordingStoreApiVersionV1; + static const RecordingStoreApiVersion v1 = RecordingStoreApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingStoreApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingStoreApiVersion.v1, + ]); + + static RecordingStoreApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingStoreApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RecordingStoreApiVersionSerializer(); +} + +class _$RecordingStoreApiVersionSerializer implements PrimitiveSerializer { + const _$RecordingStoreApiVersionSerializer(); + + static const Map _toWire = { + RecordingStoreApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': RecordingStoreApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingStoreApiVersion]; + + @override + String get wireName => 'RecordingStoreApiVersion'; - static RecordingStoreApiVersion valueOf(String name) => _$valueOfRecordingStoreApiVersion(name); + @override + Object serialize( + Serializers serializers, + RecordingStoreApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$recordingStoreApiVersionSerializer; + @override + RecordingStoreApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19262,20 +22215,65 @@ abstract class RecordingStoreResponseApplicationJson _$recordingStoreResponseApplicationJsonSerializer; } -class RecordingNotificationDismissApiVersion extends EnumClass { +class RecordingNotificationDismissApiVersion extends DynamiteEnum { const RecordingNotificationDismissApiVersion._(super.name); - static const RecordingNotificationDismissApiVersion v1 = _$recordingNotificationDismissApiVersionV1; + static const RecordingNotificationDismissApiVersion v1 = RecordingNotificationDismissApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingNotificationDismissApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingNotificationDismissApiVersion.v1, + ]); - static RecordingNotificationDismissApiVersion valueOf(String name) => - _$valueOfRecordingNotificationDismissApiVersion(name); + static RecordingNotificationDismissApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingNotificationDismissApiVersion.v1; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$recordingNotificationDismissApiVersionSerializer; + const _$RecordingNotificationDismissApiVersionSerializer(); +} + +class _$RecordingNotificationDismissApiVersionSerializer + implements PrimitiveSerializer { + const _$RecordingNotificationDismissApiVersionSerializer(); + + static const Map _toWire = + { + RecordingNotificationDismissApiVersion.v1: 'v1', + }; + + static const Map _fromWire = + { + 'v1': RecordingNotificationDismissApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingNotificationDismissApiVersion]; + + @override + String get wireName => 'RecordingNotificationDismissApiVersion'; + + @override + Object serialize( + Serializers serializers, + RecordingNotificationDismissApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RecordingNotificationDismissApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19341,18 +22339,62 @@ abstract class RecordingNotificationDismissResponseApplicationJson _$recordingNotificationDismissResponseApplicationJsonSerializer; } -class RecordingShareToChatApiVersion extends EnumClass { +class RecordingShareToChatApiVersion extends DynamiteEnum { const RecordingShareToChatApiVersion._(super.name); - static const RecordingShareToChatApiVersion v1 = _$recordingShareToChatApiVersionV1; + static const RecordingShareToChatApiVersion v1 = RecordingShareToChatApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$recordingShareToChatApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RecordingShareToChatApiVersion.v1, + ]); + + static RecordingShareToChatApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return RecordingShareToChatApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RecordingShareToChatApiVersionSerializer(); +} + +class _$RecordingShareToChatApiVersionSerializer implements PrimitiveSerializer { + const _$RecordingShareToChatApiVersionSerializer(); + + static const Map _toWire = { + RecordingShareToChatApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': RecordingShareToChatApiVersion.v1, + }; + + @override + Iterable get types => const [RecordingShareToChatApiVersion]; - static RecordingShareToChatApiVersion valueOf(String name) => _$valueOfRecordingShareToChatApiVersion(name); + @override + String get wireName => 'RecordingShareToChatApiVersion'; + + @override + Object serialize( + Serializers serializers, + RecordingShareToChatApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$recordingShareToChatApiVersionSerializer; + @override + RecordingShareToChatApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19416,18 +22458,60 @@ abstract class RecordingShareToChatResponseApplicationJson _$recordingShareToChatResponseApplicationJsonSerializer; } -class RoomGetRoomsApiVersion extends EnumClass { +class RoomGetRoomsApiVersion extends DynamiteEnum { const RoomGetRoomsApiVersion._(super.name); - static const RoomGetRoomsApiVersion v4 = _$roomGetRoomsApiVersionV4; + static const RoomGetRoomsApiVersion v4 = RoomGetRoomsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomGetRoomsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + RoomGetRoomsApiVersion.v4, + ]); + + static RoomGetRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetRoomsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomGetRoomsApiVersionSerializer(); +} - static RoomGetRoomsApiVersion valueOf(String name) => _$valueOfRoomGetRoomsApiVersion(name); +class _$RoomGetRoomsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomGetRoomsApiVersionSerializer(); + + static const Map _toWire = { + RoomGetRoomsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomGetRoomsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetRoomsApiVersion]; + + @override + String get wireName => 'RoomGetRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomGetRoomsApiVersionSerializer; + @override + RoomGetRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19517,18 +22601,61 @@ abstract class RoomGetRoomsResponseApplicationJson _$roomGetRoomsResponseApplicationJsonSerializer; } -class RoomCreateRoomApiVersion extends EnumClass { +class RoomCreateRoomApiVersion extends DynamiteEnum { const RoomCreateRoomApiVersion._(super.name); - static const RoomCreateRoomApiVersion v4 = _$roomCreateRoomApiVersionV4; + static const RoomCreateRoomApiVersion v4 = RoomCreateRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomCreateRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomCreateRoomApiVersion.v4, + ]); + + static RoomCreateRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomCreateRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomCreateRoomApiVersionSerializer(); +} + +class _$RoomCreateRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomCreateRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomCreateRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomCreateRoomApiVersion.v4, + }; - static RoomCreateRoomApiVersion valueOf(String name) => _$valueOfRoomCreateRoomApiVersion(name); + @override + Iterable get types => const [RoomCreateRoomApiVersion]; + + @override + String get wireName => 'RoomCreateRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomCreateRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomCreateRoomApiVersionSerializer; + @override + RoomCreateRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19591,21 +22718,64 @@ abstract class RoomCreateRoomResponseApplicationJson _$roomCreateRoomResponseApplicationJsonSerializer; } -class RoomGetListedRoomsApiVersion extends EnumClass { +class RoomGetListedRoomsApiVersion extends DynamiteEnum { const RoomGetListedRoomsApiVersion._(super.name); - static const RoomGetListedRoomsApiVersion v4 = _$roomGetListedRoomsApiVersionV4; + static const RoomGetListedRoomsApiVersion v4 = RoomGetListedRoomsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomGetListedRoomsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomGetListedRoomsApiVersion.v4, + ]); - static RoomGetListedRoomsApiVersion valueOf(String name) => _$valueOfRoomGetListedRoomsApiVersion(name); + static RoomGetListedRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetListedRoomsApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomGetListedRoomsApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomGetListedRoomsApiVersionSerializer(); } -@BuiltValue(instantiable: false) +class _$RoomGetListedRoomsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomGetListedRoomsApiVersionSerializer(); + + static const Map _toWire = { + RoomGetListedRoomsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomGetListedRoomsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetListedRoomsApiVersion]; + + @override + String get wireName => 'RoomGetListedRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetListedRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetListedRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +@BuiltValue(instantiable: false) abstract interface class $RoomGetListedRoomsResponseApplicationJson_OcsInterface { OCSMeta get meta; BuiltList get data; @@ -19666,21 +22836,65 @@ abstract class RoomGetListedRoomsResponseApplicationJson _$roomGetListedRoomsResponseApplicationJsonSerializer; } -class RoomGetNoteToSelfConversationApiVersion extends EnumClass { +class RoomGetNoteToSelfConversationApiVersion extends DynamiteEnum { const RoomGetNoteToSelfConversationApiVersion._(super.name); - static const RoomGetNoteToSelfConversationApiVersion v4 = _$roomGetNoteToSelfConversationApiVersionV4; + static const RoomGetNoteToSelfConversationApiVersion v4 = RoomGetNoteToSelfConversationApiVersion._('v4'); - // coverage:ignore-start static BuiltSet get values => - _$roomGetNoteToSelfConversationApiVersionValues; - // coverage:ignore-end - - static RoomGetNoteToSelfConversationApiVersion valueOf(String name) => - _$valueOfRoomGetNoteToSelfConversationApiVersion(name); + BuiltSet(const [ + RoomGetNoteToSelfConversationApiVersion.v4, + ]); + + static RoomGetNoteToSelfConversationApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetNoteToSelfConversationApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomGetNoteToSelfConversationApiVersionSerializer; + const _$RoomGetNoteToSelfConversationApiVersionSerializer(); +} + +class _$RoomGetNoteToSelfConversationApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomGetNoteToSelfConversationApiVersionSerializer(); + + static const Map _toWire = + { + RoomGetNoteToSelfConversationApiVersion.v4: 'v4', + }; + + static const Map _fromWire = + { + 'v4': RoomGetNoteToSelfConversationApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetNoteToSelfConversationApiVersion]; + + @override + String get wireName => 'RoomGetNoteToSelfConversationApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetNoteToSelfConversationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetNoteToSelfConversationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19777,18 +22991,61 @@ abstract class RoomGetNoteToSelfConversationResponseApplicationJson _$roomGetNoteToSelfConversationResponseApplicationJsonSerializer; } -class RoomGetSingleRoomApiVersion extends EnumClass { +class RoomGetSingleRoomApiVersion extends DynamiteEnum { const RoomGetSingleRoomApiVersion._(super.name); - static const RoomGetSingleRoomApiVersion v4 = _$roomGetSingleRoomApiVersionV4; + static const RoomGetSingleRoomApiVersion v4 = RoomGetSingleRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomGetSingleRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomGetSingleRoomApiVersion.v4, + ]); + + static RoomGetSingleRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetSingleRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomGetSingleRoomApiVersionSerializer(); +} + +class _$RoomGetSingleRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomGetSingleRoomApiVersionSerializer(); - static RoomGetSingleRoomApiVersion valueOf(String name) => _$valueOfRoomGetSingleRoomApiVersion(name); + static const Map _toWire = { + RoomGetSingleRoomApiVersion.v4: 'v4', + }; - static Serializer get serializer => _$roomGetSingleRoomApiVersionSerializer; + static const Map _fromWire = { + 'v4': RoomGetSingleRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetSingleRoomApiVersion]; + + @override + String get wireName => 'RoomGetSingleRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetSingleRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetSingleRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19881,18 +23138,61 @@ abstract class RoomGetSingleRoomResponseApplicationJson _$roomGetSingleRoomResponseApplicationJsonSerializer; } -class RoomRenameRoomApiVersion extends EnumClass { +class RoomRenameRoomApiVersion extends DynamiteEnum { const RoomRenameRoomApiVersion._(super.name); - static const RoomRenameRoomApiVersion v4 = _$roomRenameRoomApiVersionV4; + static const RoomRenameRoomApiVersion v4 = RoomRenameRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomRenameRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomRenameRoomApiVersion.v4, + ]); + + static RoomRenameRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomRenameRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomRenameRoomApiVersionSerializer(); +} + +class _$RoomRenameRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomRenameRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomRenameRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomRenameRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomRenameRoomApiVersion]; + + @override + String get wireName => 'RoomRenameRoomApiVersion'; - static RoomRenameRoomApiVersion valueOf(String name) => _$valueOfRoomRenameRoomApiVersion(name); + @override + Object serialize( + Serializers serializers, + RoomRenameRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomRenameRoomApiVersionSerializer; + @override + RoomRenameRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -19955,18 +23255,61 @@ abstract class RoomRenameRoomResponseApplicationJson _$roomRenameRoomResponseApplicationJsonSerializer; } -class RoomDeleteRoomApiVersion extends EnumClass { +class RoomDeleteRoomApiVersion extends DynamiteEnum { const RoomDeleteRoomApiVersion._(super.name); - static const RoomDeleteRoomApiVersion v4 = _$roomDeleteRoomApiVersionV4; + static const RoomDeleteRoomApiVersion v4 = RoomDeleteRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomDeleteRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomDeleteRoomApiVersion.v4, + ]); + + static RoomDeleteRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomDeleteRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomDeleteRoomApiVersionSerializer(); +} + +class _$RoomDeleteRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomDeleteRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomDeleteRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomDeleteRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomDeleteRoomApiVersion]; + + @override + String get wireName => 'RoomDeleteRoomApiVersion'; - static RoomDeleteRoomApiVersion valueOf(String name) => _$valueOfRoomDeleteRoomApiVersion(name); + @override + Object serialize( + Serializers serializers, + RoomDeleteRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomDeleteRoomApiVersionSerializer; + @override + RoomDeleteRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20029,18 +23372,62 @@ abstract class RoomDeleteRoomResponseApplicationJson _$roomDeleteRoomResponseApplicationJsonSerializer; } -class RoomGetBreakoutRoomsApiVersion extends EnumClass { +class RoomGetBreakoutRoomsApiVersion extends DynamiteEnum { const RoomGetBreakoutRoomsApiVersion._(super.name); - static const RoomGetBreakoutRoomsApiVersion v4 = _$roomGetBreakoutRoomsApiVersionV4; + static const RoomGetBreakoutRoomsApiVersion v4 = RoomGetBreakoutRoomsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomGetBreakoutRoomsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomGetBreakoutRoomsApiVersion.v4, + ]); + + static RoomGetBreakoutRoomsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetBreakoutRoomsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomGetBreakoutRoomsApiVersionSerializer(); +} + +class _$RoomGetBreakoutRoomsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomGetBreakoutRoomsApiVersionSerializer(); + + static const Map _toWire = { + RoomGetBreakoutRoomsApiVersion.v4: 'v4', + }; - static RoomGetBreakoutRoomsApiVersion valueOf(String name) => _$valueOfRoomGetBreakoutRoomsApiVersion(name); + static const Map _fromWire = { + 'v4': RoomGetBreakoutRoomsApiVersion.v4, + }; - static Serializer get serializer => _$roomGetBreakoutRoomsApiVersionSerializer; + @override + Iterable get types => const [RoomGetBreakoutRoomsApiVersion]; + + @override + String get wireName => 'RoomGetBreakoutRoomsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetBreakoutRoomsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetBreakoutRoomsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20104,18 +23491,61 @@ abstract class RoomGetBreakoutRoomsResponseApplicationJson _$roomGetBreakoutRoomsResponseApplicationJsonSerializer; } -class RoomMakePublicApiVersion extends EnumClass { +class RoomMakePublicApiVersion extends DynamiteEnum { const RoomMakePublicApiVersion._(super.name); - static const RoomMakePublicApiVersion v4 = _$roomMakePublicApiVersionV4; + static const RoomMakePublicApiVersion v4 = RoomMakePublicApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomMakePublicApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomMakePublicApiVersion.v4, + ]); + + static RoomMakePublicApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomMakePublicApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomMakePublicApiVersionSerializer(); +} + +class _$RoomMakePublicApiVersionSerializer implements PrimitiveSerializer { + const _$RoomMakePublicApiVersionSerializer(); + + static const Map _toWire = { + RoomMakePublicApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomMakePublicApiVersion.v4, + }; + + @override + Iterable get types => const [RoomMakePublicApiVersion]; - static RoomMakePublicApiVersion valueOf(String name) => _$valueOfRoomMakePublicApiVersion(name); + @override + String get wireName => 'RoomMakePublicApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomMakePublicApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomMakePublicApiVersionSerializer; + @override + RoomMakePublicApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20178,18 +23608,61 @@ abstract class RoomMakePublicResponseApplicationJson _$roomMakePublicResponseApplicationJsonSerializer; } -class RoomMakePrivateApiVersion extends EnumClass { +class RoomMakePrivateApiVersion extends DynamiteEnum { const RoomMakePrivateApiVersion._(super.name); - static const RoomMakePrivateApiVersion v4 = _$roomMakePrivateApiVersionV4; + static const RoomMakePrivateApiVersion v4 = RoomMakePrivateApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomMakePrivateApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomMakePrivateApiVersion.v4, + ]); + + static RoomMakePrivateApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomMakePrivateApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomMakePrivateApiVersionSerializer(); +} - static RoomMakePrivateApiVersion valueOf(String name) => _$valueOfRoomMakePrivateApiVersion(name); +class _$RoomMakePrivateApiVersionSerializer implements PrimitiveSerializer { + const _$RoomMakePrivateApiVersionSerializer(); + + static const Map _toWire = { + RoomMakePrivateApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomMakePrivateApiVersion.v4, + }; + + @override + Iterable get types => const [RoomMakePrivateApiVersion]; + + @override + String get wireName => 'RoomMakePrivateApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomMakePrivateApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomMakePrivateApiVersionSerializer; + @override + RoomMakePrivateApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20252,18 +23725,61 @@ abstract class RoomMakePrivateResponseApplicationJson _$roomMakePrivateResponseApplicationJsonSerializer; } -class RoomSetDescriptionApiVersion extends EnumClass { +class RoomSetDescriptionApiVersion extends DynamiteEnum { const RoomSetDescriptionApiVersion._(super.name); - static const RoomSetDescriptionApiVersion v4 = _$roomSetDescriptionApiVersionV4; + static const RoomSetDescriptionApiVersion v4 = RoomSetDescriptionApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetDescriptionApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetDescriptionApiVersion.v4, + ]); + + static RoomSetDescriptionApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetDescriptionApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetDescriptionApiVersionSerializer(); +} + +class _$RoomSetDescriptionApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetDescriptionApiVersionSerializer(); + + static const Map _toWire = { + RoomSetDescriptionApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetDescriptionApiVersion.v4, + }; - static RoomSetDescriptionApiVersion valueOf(String name) => _$valueOfRoomSetDescriptionApiVersion(name); + @override + Iterable get types => const [RoomSetDescriptionApiVersion]; + + @override + String get wireName => 'RoomSetDescriptionApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetDescriptionApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetDescriptionApiVersionSerializer; + @override + RoomSetDescriptionApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20327,18 +23843,61 @@ abstract class RoomSetDescriptionResponseApplicationJson _$roomSetDescriptionResponseApplicationJsonSerializer; } -class RoomSetReadOnlyApiVersion extends EnumClass { +class RoomSetReadOnlyApiVersion extends DynamiteEnum { const RoomSetReadOnlyApiVersion._(super.name); - static const RoomSetReadOnlyApiVersion v4 = _$roomSetReadOnlyApiVersionV4; + static const RoomSetReadOnlyApiVersion v4 = RoomSetReadOnlyApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetReadOnlyApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetReadOnlyApiVersion.v4, + ]); + + static RoomSetReadOnlyApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetReadOnlyApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static RoomSetReadOnlyApiVersion valueOf(String name) => _$valueOfRoomSetReadOnlyApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetReadOnlyApiVersionSerializer(); +} + +class _$RoomSetReadOnlyApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetReadOnlyApiVersionSerializer(); + + static const Map _toWire = { + RoomSetReadOnlyApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetReadOnlyApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetReadOnlyApiVersion]; + + @override + String get wireName => 'RoomSetReadOnlyApiVersion'; - static Serializer get serializer => _$roomSetReadOnlyApiVersionSerializer; + @override + Object serialize( + Serializers serializers, + RoomSetReadOnlyApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetReadOnlyApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20401,18 +23960,61 @@ abstract class RoomSetReadOnlyResponseApplicationJson _$roomSetReadOnlyResponseApplicationJsonSerializer; } -class RoomSetListableApiVersion extends EnumClass { +class RoomSetListableApiVersion extends DynamiteEnum { const RoomSetListableApiVersion._(super.name); - static const RoomSetListableApiVersion v4 = _$roomSetListableApiVersionV4; + static const RoomSetListableApiVersion v4 = RoomSetListableApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetListableApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetListableApiVersion.v4, + ]); + + static RoomSetListableApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetListableApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetListableApiVersionSerializer(); +} + +class _$RoomSetListableApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetListableApiVersionSerializer(); - static RoomSetListableApiVersion valueOf(String name) => _$valueOfRoomSetListableApiVersion(name); + static const Map _toWire = { + RoomSetListableApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetListableApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetListableApiVersion]; + + @override + String get wireName => 'RoomSetListableApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetListableApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetListableApiVersionSerializer; + @override + RoomSetListableApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20475,18 +24077,61 @@ abstract class RoomSetListableResponseApplicationJson _$roomSetListableResponseApplicationJsonSerializer; } -class RoomSetPasswordApiVersion extends EnumClass { +class RoomSetPasswordApiVersion extends DynamiteEnum { const RoomSetPasswordApiVersion._(super.name); - static const RoomSetPasswordApiVersion v4 = _$roomSetPasswordApiVersionV4; + static const RoomSetPasswordApiVersion v4 = RoomSetPasswordApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetPasswordApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetPasswordApiVersion.v4, + ]); + + static RoomSetPasswordApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetPasswordApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetPasswordApiVersionSerializer(); +} + +class _$RoomSetPasswordApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetPasswordApiVersionSerializer(); + + static const Map _toWire = { + RoomSetPasswordApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetPasswordApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetPasswordApiVersion]; + + @override + String get wireName => 'RoomSetPasswordApiVersion'; - static RoomSetPasswordApiVersion valueOf(String name) => _$valueOfRoomSetPasswordApiVersion(name); + @override + Object serialize( + Serializers serializers, + RoomSetPasswordApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetPasswordApiVersionSerializer; + @override + RoomSetPasswordApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20549,22 +24194,65 @@ abstract class RoomSetPasswordResponseApplicationJson _$roomSetPasswordResponseApplicationJsonSerializer; } -class RoomSetPermissionsApiVersion extends EnumClass { +class RoomSetPermissionsApiVersion extends DynamiteEnum { const RoomSetPermissionsApiVersion._(super.name); - static const RoomSetPermissionsApiVersion v4 = _$roomSetPermissionsApiVersionV4; + static const RoomSetPermissionsApiVersion v4 = RoomSetPermissionsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetPermissionsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetPermissionsApiVersion.v4, + ]); - static RoomSetPermissionsApiVersion valueOf(String name) => _$valueOfRoomSetPermissionsApiVersion(name); + static RoomSetPermissionsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetPermissionsApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomSetPermissionsApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetPermissionsApiVersionSerializer(); } -@BuiltValue(instantiable: false) -abstract interface class $RoomSetPermissionsResponseApplicationJson_OcsInterface { +class _$RoomSetPermissionsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetPermissionsApiVersionSerializer(); + + static const Map _toWire = { + RoomSetPermissionsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetPermissionsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetPermissionsApiVersion]; + + @override + String get wireName => 'RoomSetPermissionsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetPermissionsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetPermissionsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; +} + +@BuiltValue(instantiable: false) +abstract interface class $RoomSetPermissionsResponseApplicationJson_OcsInterface { OCSMeta get meta; Room get data; } @@ -20624,18 +24312,61 @@ abstract class RoomSetPermissionsResponseApplicationJson _$roomSetPermissionsResponseApplicationJsonSerializer; } -class RoomGetParticipantsApiVersion extends EnumClass { +class RoomGetParticipantsApiVersion extends DynamiteEnum { const RoomGetParticipantsApiVersion._(super.name); - static const RoomGetParticipantsApiVersion v4 = _$roomGetParticipantsApiVersionV4; + static const RoomGetParticipantsApiVersion v4 = RoomGetParticipantsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomGetParticipantsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomGetParticipantsApiVersion.v4, + ]); - static RoomGetParticipantsApiVersion valueOf(String name) => _$valueOfRoomGetParticipantsApiVersion(name); + static RoomGetParticipantsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetParticipantsApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomGetParticipantsApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomGetParticipantsApiVersionSerializer(); +} + +class _$RoomGetParticipantsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomGetParticipantsApiVersionSerializer(); + + static const Map _toWire = { + RoomGetParticipantsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomGetParticipantsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetParticipantsApiVersion]; + + @override + String get wireName => 'RoomGetParticipantsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetParticipantsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetParticipantsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20768,19 +24499,63 @@ abstract class RoomGetParticipantsResponseApplicationJson _$roomGetParticipantsResponseApplicationJsonSerializer; } -class RoomAddParticipantToRoomApiVersion extends EnumClass { +class RoomAddParticipantToRoomApiVersion extends DynamiteEnum { const RoomAddParticipantToRoomApiVersion._(super.name); - static const RoomAddParticipantToRoomApiVersion v4 = _$roomAddParticipantToRoomApiVersionV4; + static const RoomAddParticipantToRoomApiVersion v4 = RoomAddParticipantToRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomAddParticipantToRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomAddParticipantToRoomApiVersion.v4, + ]); - static RoomAddParticipantToRoomApiVersion valueOf(String name) => _$valueOfRoomAddParticipantToRoomApiVersion(name); + static RoomAddParticipantToRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomAddParticipantToRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomAddParticipantToRoomApiVersionSerializer; + const _$RoomAddParticipantToRoomApiVersionSerializer(); +} + +class _$RoomAddParticipantToRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomAddParticipantToRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomAddParticipantToRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomAddParticipantToRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomAddParticipantToRoomApiVersion]; + + @override + String get wireName => 'RoomAddParticipantToRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomAddParticipantToRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomAddParticipantToRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20881,21 +24656,65 @@ abstract class RoomAddParticipantToRoomResponseApplicationJson _$roomAddParticipantToRoomResponseApplicationJsonSerializer; } -class RoomGetBreakoutRoomParticipantsApiVersion extends EnumClass { +class RoomGetBreakoutRoomParticipantsApiVersion extends DynamiteEnum { const RoomGetBreakoutRoomParticipantsApiVersion._(super.name); - static const RoomGetBreakoutRoomParticipantsApiVersion v4 = _$roomGetBreakoutRoomParticipantsApiVersionV4; + static const RoomGetBreakoutRoomParticipantsApiVersion v4 = RoomGetBreakoutRoomParticipantsApiVersion._('v4'); - // coverage:ignore-start static BuiltSet get values => - _$roomGetBreakoutRoomParticipantsApiVersionValues; - // coverage:ignore-end - - static RoomGetBreakoutRoomParticipantsApiVersion valueOf(String name) => - _$valueOfRoomGetBreakoutRoomParticipantsApiVersion(name); + BuiltSet(const [ + RoomGetBreakoutRoomParticipantsApiVersion.v4, + ]); + + static RoomGetBreakoutRoomParticipantsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomGetBreakoutRoomParticipantsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomGetBreakoutRoomParticipantsApiVersionSerializer; + const _$RoomGetBreakoutRoomParticipantsApiVersionSerializer(); +} + +class _$RoomGetBreakoutRoomParticipantsApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomGetBreakoutRoomParticipantsApiVersionSerializer(); + + static const Map _toWire = + { + RoomGetBreakoutRoomParticipantsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = + { + 'v4': RoomGetBreakoutRoomParticipantsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomGetBreakoutRoomParticipantsApiVersion]; + + @override + String get wireName => 'RoomGetBreakoutRoomParticipantsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomGetBreakoutRoomParticipantsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomGetBreakoutRoomParticipantsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -20992,18 +24811,62 @@ abstract class RoomGetBreakoutRoomParticipantsResponseApplicationJson _$roomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer; } -class RoomRemoveSelfFromRoomApiVersion extends EnumClass { +class RoomRemoveSelfFromRoomApiVersion extends DynamiteEnum { const RoomRemoveSelfFromRoomApiVersion._(super.name); - static const RoomRemoveSelfFromRoomApiVersion v4 = _$roomRemoveSelfFromRoomApiVersionV4; + static const RoomRemoveSelfFromRoomApiVersion v4 = RoomRemoveSelfFromRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomRemoveSelfFromRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomRemoveSelfFromRoomApiVersion.v4, + ]); + + static RoomRemoveSelfFromRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomRemoveSelfFromRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static RoomRemoveSelfFromRoomApiVersion valueOf(String name) => _$valueOfRoomRemoveSelfFromRoomApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomRemoveSelfFromRoomApiVersionSerializer(); +} + +class _$RoomRemoveSelfFromRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomRemoveSelfFromRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomRemoveSelfFromRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomRemoveSelfFromRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomRemoveSelfFromRoomApiVersion]; - static Serializer get serializer => _$roomRemoveSelfFromRoomApiVersionSerializer; + @override + String get wireName => 'RoomRemoveSelfFromRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomRemoveSelfFromRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomRemoveSelfFromRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21068,20 +24931,65 @@ abstract class RoomRemoveSelfFromRoomResponseApplicationJson _$roomRemoveSelfFromRoomResponseApplicationJsonSerializer; } -class RoomRemoveAttendeeFromRoomApiVersion extends EnumClass { +class RoomRemoveAttendeeFromRoomApiVersion extends DynamiteEnum { const RoomRemoveAttendeeFromRoomApiVersion._(super.name); - static const RoomRemoveAttendeeFromRoomApiVersion v4 = _$roomRemoveAttendeeFromRoomApiVersionV4; + static const RoomRemoveAttendeeFromRoomApiVersion v4 = RoomRemoveAttendeeFromRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomRemoveAttendeeFromRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomRemoveAttendeeFromRoomApiVersion.v4, + ]); - static RoomRemoveAttendeeFromRoomApiVersion valueOf(String name) => - _$valueOfRoomRemoveAttendeeFromRoomApiVersion(name); + static RoomRemoveAttendeeFromRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomRemoveAttendeeFromRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomRemoveAttendeeFromRoomApiVersionSerializer; + const _$RoomRemoveAttendeeFromRoomApiVersionSerializer(); +} + +class _$RoomRemoveAttendeeFromRoomApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomRemoveAttendeeFromRoomApiVersionSerializer(); + + static const Map _toWire = + { + RoomRemoveAttendeeFromRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = + { + 'v4': RoomRemoveAttendeeFromRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomRemoveAttendeeFromRoomApiVersion]; + + @override + String get wireName => 'RoomRemoveAttendeeFromRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomRemoveAttendeeFromRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomRemoveAttendeeFromRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21147,20 +25055,65 @@ abstract class RoomRemoveAttendeeFromRoomResponseApplicationJson _$roomRemoveAttendeeFromRoomResponseApplicationJsonSerializer; } -class RoomSetAttendeePermissionsApiVersion extends EnumClass { +class RoomSetAttendeePermissionsApiVersion extends DynamiteEnum { const RoomSetAttendeePermissionsApiVersion._(super.name); - static const RoomSetAttendeePermissionsApiVersion v4 = _$roomSetAttendeePermissionsApiVersionV4; + static const RoomSetAttendeePermissionsApiVersion v4 = RoomSetAttendeePermissionsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetAttendeePermissionsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetAttendeePermissionsApiVersion.v4, + ]); - static RoomSetAttendeePermissionsApiVersion valueOf(String name) => - _$valueOfRoomSetAttendeePermissionsApiVersion(name); + static RoomSetAttendeePermissionsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetAttendeePermissionsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomSetAttendeePermissionsApiVersionSerializer; + const _$RoomSetAttendeePermissionsApiVersionSerializer(); +} + +class _$RoomSetAttendeePermissionsApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomSetAttendeePermissionsApiVersionSerializer(); + + static const Map _toWire = + { + RoomSetAttendeePermissionsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = + { + 'v4': RoomSetAttendeePermissionsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetAttendeePermissionsApiVersion]; + + @override + String get wireName => 'RoomSetAttendeePermissionsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetAttendeePermissionsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetAttendeePermissionsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21226,21 +25179,65 @@ abstract class RoomSetAttendeePermissionsResponseApplicationJson _$roomSetAttendeePermissionsResponseApplicationJsonSerializer; } -class RoomSetAllAttendeesPermissionsApiVersion extends EnumClass { +class RoomSetAllAttendeesPermissionsApiVersion extends DynamiteEnum { const RoomSetAllAttendeesPermissionsApiVersion._(super.name); - static const RoomSetAllAttendeesPermissionsApiVersion v4 = _$roomSetAllAttendeesPermissionsApiVersionV4; + static const RoomSetAllAttendeesPermissionsApiVersion v4 = RoomSetAllAttendeesPermissionsApiVersion._('v4'); - // coverage:ignore-start static BuiltSet get values => - _$roomSetAllAttendeesPermissionsApiVersionValues; - // coverage:ignore-end - - static RoomSetAllAttendeesPermissionsApiVersion valueOf(String name) => - _$valueOfRoomSetAllAttendeesPermissionsApiVersion(name); + BuiltSet(const [ + RoomSetAllAttendeesPermissionsApiVersion.v4, + ]); + + static RoomSetAllAttendeesPermissionsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetAllAttendeesPermissionsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomSetAllAttendeesPermissionsApiVersionSerializer; + const _$RoomSetAllAttendeesPermissionsApiVersionSerializer(); +} + +class _$RoomSetAllAttendeesPermissionsApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomSetAllAttendeesPermissionsApiVersionSerializer(); + + static const Map _toWire = + { + RoomSetAllAttendeesPermissionsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = + { + 'v4': RoomSetAllAttendeesPermissionsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetAllAttendeesPermissionsApiVersion]; + + @override + String get wireName => 'RoomSetAllAttendeesPermissionsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetAllAttendeesPermissionsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetAllAttendeesPermissionsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21306,18 +25303,60 @@ abstract class RoomSetAllAttendeesPermissionsResponseApplicationJson _$roomSetAllAttendeesPermissionsResponseApplicationJsonSerializer; } -class RoomJoinRoomApiVersion extends EnumClass { +class RoomJoinRoomApiVersion extends DynamiteEnum { const RoomJoinRoomApiVersion._(super.name); - static const RoomJoinRoomApiVersion v4 = _$roomJoinRoomApiVersionV4; + static const RoomJoinRoomApiVersion v4 = RoomJoinRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomJoinRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + RoomJoinRoomApiVersion.v4, + ]); + + static RoomJoinRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomJoinRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomJoinRoomApiVersionSerializer(); +} + +class _$RoomJoinRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomJoinRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomJoinRoomApiVersion.v4: 'v4', + }; - static RoomJoinRoomApiVersion valueOf(String name) => _$valueOfRoomJoinRoomApiVersion(name); + static const Map _fromWire = { + 'v4': RoomJoinRoomApiVersion.v4, + }; - static Serializer get serializer => _$roomJoinRoomApiVersionSerializer; + @override + Iterable get types => const [RoomJoinRoomApiVersion]; + + @override + String get wireName => 'RoomJoinRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomJoinRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomJoinRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21379,18 +25418,61 @@ abstract class RoomJoinRoomResponseApplicationJson _$roomJoinRoomResponseApplicationJsonSerializer; } -class RoomLeaveRoomApiVersion extends EnumClass { +class RoomLeaveRoomApiVersion extends DynamiteEnum { const RoomLeaveRoomApiVersion._(super.name); - static const RoomLeaveRoomApiVersion v4 = _$roomLeaveRoomApiVersionV4; + static const RoomLeaveRoomApiVersion v4 = RoomLeaveRoomApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomLeaveRoomApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomLeaveRoomApiVersion.v4, + ]); - static RoomLeaveRoomApiVersion valueOf(String name) => _$valueOfRoomLeaveRoomApiVersion(name); + static RoomLeaveRoomApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomLeaveRoomApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomLeaveRoomApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomLeaveRoomApiVersionSerializer(); +} + +class _$RoomLeaveRoomApiVersionSerializer implements PrimitiveSerializer { + const _$RoomLeaveRoomApiVersionSerializer(); + + static const Map _toWire = { + RoomLeaveRoomApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomLeaveRoomApiVersion.v4, + }; + + @override + Iterable get types => const [RoomLeaveRoomApiVersion]; + + @override + String get wireName => 'RoomLeaveRoomApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomLeaveRoomApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomLeaveRoomApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21453,18 +25535,62 @@ abstract class RoomLeaveRoomResponseApplicationJson _$roomLeaveRoomResponseApplicationJsonSerializer; } -class RoomResendInvitationsApiVersion extends EnumClass { +class RoomResendInvitationsApiVersion extends DynamiteEnum { const RoomResendInvitationsApiVersion._(super.name); - static const RoomResendInvitationsApiVersion v4 = _$roomResendInvitationsApiVersionV4; + static const RoomResendInvitationsApiVersion v4 = RoomResendInvitationsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomResendInvitationsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomResendInvitationsApiVersion.v4, + ]); - static RoomResendInvitationsApiVersion valueOf(String name) => _$valueOfRoomResendInvitationsApiVersion(name); + static RoomResendInvitationsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomResendInvitationsApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomResendInvitationsApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomResendInvitationsApiVersionSerializer(); +} + +class _$RoomResendInvitationsApiVersionSerializer implements PrimitiveSerializer { + const _$RoomResendInvitationsApiVersionSerializer(); + + static const Map _toWire = { + RoomResendInvitationsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomResendInvitationsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomResendInvitationsApiVersion]; + + @override + String get wireName => 'RoomResendInvitationsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomResendInvitationsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomResendInvitationsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21529,18 +25655,61 @@ abstract class RoomResendInvitationsResponseApplicationJson _$roomResendInvitationsResponseApplicationJsonSerializer; } -class RoomSetSessionStateApiVersion extends EnumClass { +class RoomSetSessionStateApiVersion extends DynamiteEnum { const RoomSetSessionStateApiVersion._(super.name); - static const RoomSetSessionStateApiVersion v4 = _$roomSetSessionStateApiVersionV4; + static const RoomSetSessionStateApiVersion v4 = RoomSetSessionStateApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetSessionStateApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetSessionStateApiVersion.v4, + ]); + + static RoomSetSessionStateApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetSessionStateApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetSessionStateApiVersionSerializer(); +} + +class _$RoomSetSessionStateApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetSessionStateApiVersionSerializer(); - static RoomSetSessionStateApiVersion valueOf(String name) => _$valueOfRoomSetSessionStateApiVersion(name); + static const Map _toWire = { + RoomSetSessionStateApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetSessionStateApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetSessionStateApiVersion]; + + @override + String get wireName => 'RoomSetSessionStateApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetSessionStateApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetSessionStateApiVersionSerializer; + @override + RoomSetSessionStateApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21604,18 +25773,62 @@ abstract class RoomSetSessionStateResponseApplicationJson _$roomSetSessionStateResponseApplicationJsonSerializer; } -class RoomPromoteModeratorApiVersion extends EnumClass { +class RoomPromoteModeratorApiVersion extends DynamiteEnum { const RoomPromoteModeratorApiVersion._(super.name); - static const RoomPromoteModeratorApiVersion v4 = _$roomPromoteModeratorApiVersionV4; + static const RoomPromoteModeratorApiVersion v4 = RoomPromoteModeratorApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomPromoteModeratorApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomPromoteModeratorApiVersion.v4, + ]); + + static RoomPromoteModeratorApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomPromoteModeratorApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomPromoteModeratorApiVersionSerializer(); +} + +class _$RoomPromoteModeratorApiVersionSerializer implements PrimitiveSerializer { + const _$RoomPromoteModeratorApiVersionSerializer(); - static RoomPromoteModeratorApiVersion valueOf(String name) => _$valueOfRoomPromoteModeratorApiVersion(name); + static const Map _toWire = { + RoomPromoteModeratorApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomPromoteModeratorApiVersion.v4, + }; + + @override + Iterable get types => const [RoomPromoteModeratorApiVersion]; + + @override + String get wireName => 'RoomPromoteModeratorApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomPromoteModeratorApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomPromoteModeratorApiVersionSerializer; + @override + RoomPromoteModeratorApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21679,18 +25892,61 @@ abstract class RoomPromoteModeratorResponseApplicationJson _$roomPromoteModeratorResponseApplicationJsonSerializer; } -class RoomDemoteModeratorApiVersion extends EnumClass { +class RoomDemoteModeratorApiVersion extends DynamiteEnum { const RoomDemoteModeratorApiVersion._(super.name); - static const RoomDemoteModeratorApiVersion v4 = _$roomDemoteModeratorApiVersionV4; + static const RoomDemoteModeratorApiVersion v4 = RoomDemoteModeratorApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomDemoteModeratorApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomDemoteModeratorApiVersion.v4, + ]); - static RoomDemoteModeratorApiVersion valueOf(String name) => _$valueOfRoomDemoteModeratorApiVersion(name); + static RoomDemoteModeratorApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomDemoteModeratorApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomDemoteModeratorApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomDemoteModeratorApiVersionSerializer(); +} + +class _$RoomDemoteModeratorApiVersionSerializer implements PrimitiveSerializer { + const _$RoomDemoteModeratorApiVersionSerializer(); + + static const Map _toWire = { + RoomDemoteModeratorApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomDemoteModeratorApiVersion.v4, + }; + + @override + Iterable get types => const [RoomDemoteModeratorApiVersion]; + + @override + String get wireName => 'RoomDemoteModeratorApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomDemoteModeratorApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomDemoteModeratorApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21754,18 +26010,61 @@ abstract class RoomDemoteModeratorResponseApplicationJson _$roomDemoteModeratorResponseApplicationJsonSerializer; } -class RoomAddToFavoritesApiVersion extends EnumClass { +class RoomAddToFavoritesApiVersion extends DynamiteEnum { const RoomAddToFavoritesApiVersion._(super.name); - static const RoomAddToFavoritesApiVersion v4 = _$roomAddToFavoritesApiVersionV4; + static const RoomAddToFavoritesApiVersion v4 = RoomAddToFavoritesApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomAddToFavoritesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomAddToFavoritesApiVersion.v4, + ]); - static RoomAddToFavoritesApiVersion valueOf(String name) => _$valueOfRoomAddToFavoritesApiVersion(name); + static RoomAddToFavoritesApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomAddToFavoritesApiVersion.v4; + default: + throw ArgumentError(name); + } + } - static Serializer get serializer => _$roomAddToFavoritesApiVersionSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomAddToFavoritesApiVersionSerializer(); +} + +class _$RoomAddToFavoritesApiVersionSerializer implements PrimitiveSerializer { + const _$RoomAddToFavoritesApiVersionSerializer(); + + static const Map _toWire = { + RoomAddToFavoritesApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomAddToFavoritesApiVersion.v4, + }; + + @override + Iterable get types => const [RoomAddToFavoritesApiVersion]; + + @override + String get wireName => 'RoomAddToFavoritesApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomAddToFavoritesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomAddToFavoritesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21829,18 +26128,62 @@ abstract class RoomAddToFavoritesResponseApplicationJson _$roomAddToFavoritesResponseApplicationJsonSerializer; } -class RoomRemoveFromFavoritesApiVersion extends EnumClass { +class RoomRemoveFromFavoritesApiVersion extends DynamiteEnum { const RoomRemoveFromFavoritesApiVersion._(super.name); - static const RoomRemoveFromFavoritesApiVersion v4 = _$roomRemoveFromFavoritesApiVersionV4; + static const RoomRemoveFromFavoritesApiVersion v4 = RoomRemoveFromFavoritesApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomRemoveFromFavoritesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomRemoveFromFavoritesApiVersion.v4, + ]); + + static RoomRemoveFromFavoritesApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomRemoveFromFavoritesApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomRemoveFromFavoritesApiVersionSerializer(); +} - static RoomRemoveFromFavoritesApiVersion valueOf(String name) => _$valueOfRoomRemoveFromFavoritesApiVersion(name); +class _$RoomRemoveFromFavoritesApiVersionSerializer implements PrimitiveSerializer { + const _$RoomRemoveFromFavoritesApiVersionSerializer(); + + static const Map _toWire = { + RoomRemoveFromFavoritesApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomRemoveFromFavoritesApiVersion.v4, + }; + + @override + Iterable get types => const [RoomRemoveFromFavoritesApiVersion]; + + @override + String get wireName => 'RoomRemoveFromFavoritesApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomRemoveFromFavoritesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomRemoveFromFavoritesApiVersionSerializer; + @override + RoomRemoveFromFavoritesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21905,19 +26248,63 @@ abstract class RoomRemoveFromFavoritesResponseApplicationJson _$roomRemoveFromFavoritesResponseApplicationJsonSerializer; } -class RoomSetNotificationLevelApiVersion extends EnumClass { +class RoomSetNotificationLevelApiVersion extends DynamiteEnum { const RoomSetNotificationLevelApiVersion._(super.name); - static const RoomSetNotificationLevelApiVersion v4 = _$roomSetNotificationLevelApiVersionV4; + static const RoomSetNotificationLevelApiVersion v4 = RoomSetNotificationLevelApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetNotificationLevelApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetNotificationLevelApiVersion.v4, + ]); - static RoomSetNotificationLevelApiVersion valueOf(String name) => _$valueOfRoomSetNotificationLevelApiVersion(name); + static RoomSetNotificationLevelApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetNotificationLevelApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomSetNotificationLevelApiVersionSerializer; + const _$RoomSetNotificationLevelApiVersionSerializer(); +} + +class _$RoomSetNotificationLevelApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomSetNotificationLevelApiVersionSerializer(); + + static const Map _toWire = { + RoomSetNotificationLevelApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetNotificationLevelApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetNotificationLevelApiVersion]; + + @override + String get wireName => 'RoomSetNotificationLevelApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetNotificationLevelApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetNotificationLevelApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -21982,19 +26369,63 @@ abstract class RoomSetNotificationLevelResponseApplicationJson _$roomSetNotificationLevelResponseApplicationJsonSerializer; } -class RoomSetNotificationCallsApiVersion extends EnumClass { +class RoomSetNotificationCallsApiVersion extends DynamiteEnum { const RoomSetNotificationCallsApiVersion._(super.name); - static const RoomSetNotificationCallsApiVersion v4 = _$roomSetNotificationCallsApiVersionV4; + static const RoomSetNotificationCallsApiVersion v4 = RoomSetNotificationCallsApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetNotificationCallsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetNotificationCallsApiVersion.v4, + ]); - static RoomSetNotificationCallsApiVersion valueOf(String name) => _$valueOfRoomSetNotificationCallsApiVersion(name); + static RoomSetNotificationCallsApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetNotificationCallsApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomSetNotificationCallsApiVersionSerializer; + const _$RoomSetNotificationCallsApiVersionSerializer(); +} + +class _$RoomSetNotificationCallsApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomSetNotificationCallsApiVersionSerializer(); + + static const Map _toWire = { + RoomSetNotificationCallsApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetNotificationCallsApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetNotificationCallsApiVersion]; + + @override + String get wireName => 'RoomSetNotificationCallsApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetNotificationCallsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetNotificationCallsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22059,18 +26490,60 @@ abstract class RoomSetNotificationCallsResponseApplicationJson _$roomSetNotificationCallsResponseApplicationJsonSerializer; } -class RoomSetLobbyApiVersion extends EnumClass { +class RoomSetLobbyApiVersion extends DynamiteEnum { const RoomSetLobbyApiVersion._(super.name); - static const RoomSetLobbyApiVersion v4 = _$roomSetLobbyApiVersionV4; + static const RoomSetLobbyApiVersion v4 = RoomSetLobbyApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetLobbyApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + RoomSetLobbyApiVersion.v4, + ]); - static RoomSetLobbyApiVersion valueOf(String name) => _$valueOfRoomSetLobbyApiVersion(name); + static RoomSetLobbyApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetLobbyApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetLobbyApiVersionSerializer(); +} + +class _$RoomSetLobbyApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetLobbyApiVersionSerializer(); + + static const Map _toWire = { + RoomSetLobbyApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetLobbyApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetLobbyApiVersion]; + + @override + String get wireName => 'RoomSetLobbyApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetLobbyApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetLobbyApiVersionSerializer; + @override + RoomSetLobbyApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22132,18 +26605,61 @@ abstract class RoomSetLobbyResponseApplicationJson _$roomSetLobbyResponseApplicationJsonSerializer; } -class RoomSetsipEnabledApiVersion extends EnumClass { +class RoomSetsipEnabledApiVersion extends DynamiteEnum { const RoomSetsipEnabledApiVersion._(super.name); - static const RoomSetsipEnabledApiVersion v4 = _$roomSetsipEnabledApiVersionV4; + static const RoomSetsipEnabledApiVersion v4 = RoomSetsipEnabledApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetsipEnabledApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetsipEnabledApiVersion.v4, + ]); + + static RoomSetsipEnabledApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetsipEnabledApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$RoomSetsipEnabledApiVersionSerializer(); +} + +class _$RoomSetsipEnabledApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetsipEnabledApiVersionSerializer(); + + static const Map _toWire = { + RoomSetsipEnabledApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetsipEnabledApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetsipEnabledApiVersion]; + + @override + String get wireName => 'RoomSetsipEnabledApiVersion'; - static RoomSetsipEnabledApiVersion valueOf(String name) => _$valueOfRoomSetsipEnabledApiVersion(name); + @override + Object serialize( + Serializers serializers, + RoomSetsipEnabledApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$roomSetsipEnabledApiVersionSerializer; + @override + RoomSetsipEnabledApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22207,18 +26723,62 @@ abstract class RoomSetsipEnabledResponseApplicationJson _$roomSetsipEnabledResponseApplicationJsonSerializer; } -class RoomSetRecordingConsentApiVersion extends EnumClass { +class RoomSetRecordingConsentApiVersion extends DynamiteEnum { const RoomSetRecordingConsentApiVersion._(super.name); - static const RoomSetRecordingConsentApiVersion v4 = _$roomSetRecordingConsentApiVersionV4; + static const RoomSetRecordingConsentApiVersion v4 = RoomSetRecordingConsentApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetRecordingConsentApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetRecordingConsentApiVersion.v4, + ]); + + static RoomSetRecordingConsentApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetRecordingConsentApiVersion.v4; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$RoomSetRecordingConsentApiVersionSerializer(); +} + +class _$RoomSetRecordingConsentApiVersionSerializer implements PrimitiveSerializer { + const _$RoomSetRecordingConsentApiVersionSerializer(); - static RoomSetRecordingConsentApiVersion valueOf(String name) => _$valueOfRoomSetRecordingConsentApiVersion(name); + static const Map _toWire = { + RoomSetRecordingConsentApiVersion.v4: 'v4', + }; - static Serializer get serializer => _$roomSetRecordingConsentApiVersionSerializer; + static const Map _fromWire = { + 'v4': RoomSetRecordingConsentApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetRecordingConsentApiVersion]; + + @override + String get wireName => 'RoomSetRecordingConsentApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetRecordingConsentApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetRecordingConsentApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22283,19 +26843,63 @@ abstract class RoomSetRecordingConsentResponseApplicationJson _$roomSetRecordingConsentResponseApplicationJsonSerializer; } -class RoomSetMessageExpirationApiVersion extends EnumClass { +class RoomSetMessageExpirationApiVersion extends DynamiteEnum { const RoomSetMessageExpirationApiVersion._(super.name); - static const RoomSetMessageExpirationApiVersion v4 = _$roomSetMessageExpirationApiVersionV4; + static const RoomSetMessageExpirationApiVersion v4 = RoomSetMessageExpirationApiVersion._('v4'); - // coverage:ignore-start - static BuiltSet get values => _$roomSetMessageExpirationApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + RoomSetMessageExpirationApiVersion.v4, + ]); - static RoomSetMessageExpirationApiVersion valueOf(String name) => _$valueOfRoomSetMessageExpirationApiVersion(name); + static RoomSetMessageExpirationApiVersion valueOf(String name) { + switch (name) { + case 'v4': + return RoomSetMessageExpirationApiVersion.v4; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$roomSetMessageExpirationApiVersionSerializer; + const _$RoomSetMessageExpirationApiVersionSerializer(); +} + +class _$RoomSetMessageExpirationApiVersionSerializer + implements PrimitiveSerializer { + const _$RoomSetMessageExpirationApiVersionSerializer(); + + static const Map _toWire = { + RoomSetMessageExpirationApiVersion.v4: 'v4', + }; + + static const Map _fromWire = { + 'v4': RoomSetMessageExpirationApiVersion.v4, + }; + + @override + Iterable get types => const [RoomSetMessageExpirationApiVersion]; + + @override + String get wireName => 'RoomSetMessageExpirationApiVersion'; + + @override + Object serialize( + Serializers serializers, + RoomSetMessageExpirationApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + RoomSetMessageExpirationApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22360,18 +26964,62 @@ abstract class RoomSetMessageExpirationResponseApplicationJson _$roomSetMessageExpirationResponseApplicationJsonSerializer; } -class SettingsSetsipSettingsApiVersion extends EnumClass { +class SettingsSetsipSettingsApiVersion extends DynamiteEnum { const SettingsSetsipSettingsApiVersion._(super.name); - static const SettingsSetsipSettingsApiVersion v1 = _$settingsSetsipSettingsApiVersionV1; + static const SettingsSetsipSettingsApiVersion v1 = SettingsSetsipSettingsApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$settingsSetsipSettingsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SettingsSetsipSettingsApiVersion.v1, + ]); + + static SettingsSetsipSettingsApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return SettingsSetsipSettingsApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$SettingsSetsipSettingsApiVersionSerializer(); +} + +class _$SettingsSetsipSettingsApiVersionSerializer implements PrimitiveSerializer { + const _$SettingsSetsipSettingsApiVersionSerializer(); + + static const Map _toWire = { + SettingsSetsipSettingsApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': SettingsSetsipSettingsApiVersion.v1, + }; + + @override + Iterable get types => const [SettingsSetsipSettingsApiVersion]; + + @override + String get wireName => 'SettingsSetsipSettingsApiVersion'; - static SettingsSetsipSettingsApiVersion valueOf(String name) => _$valueOfSettingsSetsipSettingsApiVersion(name); + @override + Object serialize( + Serializers serializers, + SettingsSetsipSettingsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$settingsSetsipSettingsApiVersionSerializer; + @override + SettingsSetsipSettingsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22436,18 +27084,62 @@ abstract class SettingsSetsipSettingsResponseApplicationJson _$settingsSetsipSettingsResponseApplicationJsonSerializer; } -class SettingsSetUserSettingApiVersion extends EnumClass { +class SettingsSetUserSettingApiVersion extends DynamiteEnum { const SettingsSetUserSettingApiVersion._(super.name); - static const SettingsSetUserSettingApiVersion v1 = _$settingsSetUserSettingApiVersionV1; + static const SettingsSetUserSettingApiVersion v1 = SettingsSetUserSettingApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$settingsSetUserSettingApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SettingsSetUserSettingApiVersion.v1, + ]); + + static SettingsSetUserSettingApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return SettingsSetUserSettingApiVersion.v1; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$SettingsSetUserSettingApiVersionSerializer(); +} + +class _$SettingsSetUserSettingApiVersionSerializer implements PrimitiveSerializer { + const _$SettingsSetUserSettingApiVersionSerializer(); + + static const Map _toWire = { + SettingsSetUserSettingApiVersion.v1: 'v1', + }; - static SettingsSetUserSettingApiVersion valueOf(String name) => _$valueOfSettingsSetUserSettingApiVersion(name); + static const Map _fromWire = { + 'v1': SettingsSetUserSettingApiVersion.v1, + }; - static Serializer get serializer => _$settingsSetUserSettingApiVersionSerializer; + @override + Iterable get types => const [SettingsSetUserSettingApiVersion]; + + @override + String get wireName => 'SettingsSetUserSettingApiVersion'; + + @override + Object serialize( + Serializers serializers, + SettingsSetUserSettingApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + SettingsSetUserSettingApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22512,18 +27204,62 @@ abstract class SettingsSetUserSettingResponseApplicationJson _$settingsSetUserSettingResponseApplicationJsonSerializer; } -class SignalingGetSettingsApiVersion extends EnumClass { +class SignalingGetSettingsApiVersion extends DynamiteEnum { const SignalingGetSettingsApiVersion._(super.name); - static const SignalingGetSettingsApiVersion v3 = _$signalingGetSettingsApiVersionV3; + static const SignalingGetSettingsApiVersion v3 = SignalingGetSettingsApiVersion._('v3'); - // coverage:ignore-start - static BuiltSet get values => _$signalingGetSettingsApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SignalingGetSettingsApiVersion.v3, + ]); + + static SignalingGetSettingsApiVersion valueOf(String name) { + switch (name) { + case 'v3': + return SignalingGetSettingsApiVersion.v3; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$SignalingGetSettingsApiVersionSerializer(); +} + +class _$SignalingGetSettingsApiVersionSerializer implements PrimitiveSerializer { + const _$SignalingGetSettingsApiVersionSerializer(); + + static const Map _toWire = { + SignalingGetSettingsApiVersion.v3: 'v3', + }; + + static const Map _fromWire = { + 'v3': SignalingGetSettingsApiVersion.v3, + }; + + @override + Iterable get types => const [SignalingGetSettingsApiVersion]; - static SignalingGetSettingsApiVersion valueOf(String name) => _$valueOfSignalingGetSettingsApiVersion(name); + @override + String get wireName => 'SignalingGetSettingsApiVersion'; + + @override + Object serialize( + Serializers serializers, + SignalingGetSettingsApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$signalingGetSettingsApiVersionSerializer; + @override + SignalingGetSettingsApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22767,20 +27503,65 @@ abstract class SignalingGetSettingsResponseApplicationJson _$signalingGetSettingsResponseApplicationJsonSerializer; } -class SignalingGetWelcomeMessageApiVersion extends EnumClass { +class SignalingGetWelcomeMessageApiVersion extends DynamiteEnum { const SignalingGetWelcomeMessageApiVersion._(super.name); - static const SignalingGetWelcomeMessageApiVersion v3 = _$signalingGetWelcomeMessageApiVersionV3; + static const SignalingGetWelcomeMessageApiVersion v3 = SignalingGetWelcomeMessageApiVersion._('v3'); - // coverage:ignore-start - static BuiltSet get values => _$signalingGetWelcomeMessageApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SignalingGetWelcomeMessageApiVersion.v3, + ]); - static SignalingGetWelcomeMessageApiVersion valueOf(String name) => - _$valueOfSignalingGetWelcomeMessageApiVersion(name); + static SignalingGetWelcomeMessageApiVersion valueOf(String name) { + switch (name) { + case 'v3': + return SignalingGetWelcomeMessageApiVersion.v3; + default: + throw ArgumentError(name); + } + } + @BuiltValueSerializer(custom: true) static Serializer get serializer => - _$signalingGetWelcomeMessageApiVersionSerializer; + const _$SignalingGetWelcomeMessageApiVersionSerializer(); +} + +class _$SignalingGetWelcomeMessageApiVersionSerializer + implements PrimitiveSerializer { + const _$SignalingGetWelcomeMessageApiVersionSerializer(); + + static const Map _toWire = + { + SignalingGetWelcomeMessageApiVersion.v3: 'v3', + }; + + static const Map _fromWire = + { + 'v3': SignalingGetWelcomeMessageApiVersion.v3, + }; + + @override + Iterable get types => const [SignalingGetWelcomeMessageApiVersion]; + + @override + String get wireName => 'SignalingGetWelcomeMessageApiVersion'; + + @override + Object serialize( + Serializers serializers, + SignalingGetWelcomeMessageApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + SignalingGetWelcomeMessageApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22846,18 +27627,62 @@ abstract class SignalingGetWelcomeMessageResponseApplicationJson _$signalingGetWelcomeMessageResponseApplicationJsonSerializer; } -class SignalingPullMessagesApiVersion extends EnumClass { +class SignalingPullMessagesApiVersion extends DynamiteEnum { const SignalingPullMessagesApiVersion._(super.name); - static const SignalingPullMessagesApiVersion v3 = _$signalingPullMessagesApiVersionV3; + static const SignalingPullMessagesApiVersion v3 = SignalingPullMessagesApiVersion._('v3'); - // coverage:ignore-start - static BuiltSet get values => _$signalingPullMessagesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SignalingPullMessagesApiVersion.v3, + ]); + + static SignalingPullMessagesApiVersion valueOf(String name) { + switch (name) { + case 'v3': + return SignalingPullMessagesApiVersion.v3; + default: + throw ArgumentError(name); + } + } + + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$SignalingPullMessagesApiVersionSerializer(); +} + +class _$SignalingPullMessagesApiVersionSerializer implements PrimitiveSerializer { + const _$SignalingPullMessagesApiVersionSerializer(); + + static const Map _toWire = { + SignalingPullMessagesApiVersion.v3: 'v3', + }; + + static const Map _fromWire = { + 'v3': SignalingPullMessagesApiVersion.v3, + }; - static SignalingPullMessagesApiVersion valueOf(String name) => _$valueOfSignalingPullMessagesApiVersion(name); + @override + Iterable get types => const [SignalingPullMessagesApiVersion]; + + @override + String get wireName => 'SignalingPullMessagesApiVersion'; + + @override + Object serialize( + Serializers serializers, + SignalingPullMessagesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; - static Serializer get serializer => _$signalingPullMessagesApiVersionSerializer; + @override + SignalingPullMessagesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) @@ -22988,18 +27813,62 @@ abstract class SignalingPullMessagesResponseApplicationJson _$signalingPullMessagesResponseApplicationJsonSerializer; } -class SignalingSendMessagesApiVersion extends EnumClass { +class SignalingSendMessagesApiVersion extends DynamiteEnum { const SignalingSendMessagesApiVersion._(super.name); - static const SignalingSendMessagesApiVersion v3 = _$signalingSendMessagesApiVersionV3; + static const SignalingSendMessagesApiVersion v3 = SignalingSendMessagesApiVersion._('v3'); - // coverage:ignore-start - static BuiltSet get values => _$signalingSendMessagesApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + SignalingSendMessagesApiVersion.v3, + ]); + + static SignalingSendMessagesApiVersion valueOf(String name) { + switch (name) { + case 'v3': + return SignalingSendMessagesApiVersion.v3; + default: + throw ArgumentError(name); + } + } - static SignalingSendMessagesApiVersion valueOf(String name) => _$valueOfSignalingSendMessagesApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + const _$SignalingSendMessagesApiVersionSerializer(); +} + +class _$SignalingSendMessagesApiVersionSerializer implements PrimitiveSerializer { + const _$SignalingSendMessagesApiVersionSerializer(); + + static const Map _toWire = { + SignalingSendMessagesApiVersion.v3: 'v3', + }; + + static const Map _fromWire = { + 'v3': SignalingSendMessagesApiVersion.v3, + }; + + @override + Iterable get types => const [SignalingSendMessagesApiVersion]; + + @override + String get wireName => 'SignalingSendMessagesApiVersion'; - static Serializer get serializer => _$signalingSendMessagesApiVersionSerializer; + @override + Object serialize( + Serializers serializers, + SignalingSendMessagesApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + SignalingSendMessagesApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart index dcd5a6b016b..eb4cc3c1c08 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart @@ -6,1840 +6,6 @@ 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 CallSipDialOutApiVersion _$callSipDialOutApiVersionV4 = CallSipDialOutApiVersion._('v4'); - -CallSipDialOutApiVersion _$valueOfCallSipDialOutApiVersion(String name) { - switch (name) { - case 'v4': - return _$callSipDialOutApiVersionV4; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$callSipDialOutApiVersionValues = - BuiltSet(const [ - _$callSipDialOutApiVersionV4, -]); - -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 SignalingSendMessagesApiVersion _$signalingSendMessagesApiVersionV3 = SignalingSendMessagesApiVersion._('v3'); - -SignalingSendMessagesApiVersion _$valueOfSignalingSendMessagesApiVersion(String name) { - switch (name) { - case 'v3': - return _$signalingSendMessagesApiVersionV3; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$signalingSendMessagesApiVersionValues = - BuiltSet(const [ - _$signalingSendMessagesApiVersionV3, -]); - -Serializer _$avatarGetAvatarApiVersionSerializer = _$AvatarGetAvatarApiVersionSerializer(); -Serializer _$avatarUploadAvatarApiVersionSerializer = - _$AvatarUploadAvatarApiVersionSerializer(); Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); Serializer _$chatMessageSerializer = _$ChatMessageSerializer(); Serializer _$roomSerializer = _$RoomSerializer(); @@ -1847,170 +13,125 @@ Serializer _$avatarUploadAvatarRe _$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 _$callSipDialOutApiVersionSerializer = _$CallSipDialOutApiVersionSerializer(); Serializer _$callSipDialOutResponseApplicationJsonOcsDataSerializer = _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer(); Serializer _$callSipDialOutResponseApplicationJsonOcsSerializer = _$CallSipDialOutResponseApplicationJson_OcsSerializer(); Serializer _$callSipDialOutResponseApplicationJsonSerializer = _$CallSipDialOutResponseApplicationJsonSerializer(); -Serializer _$certificateGetCertificateExpirationApiVersionSerializer = - _$CertificateGetCertificateExpirationApiVersionSerializer(); Serializer _$certificateGetCertificateExpirationResponseApplicationJsonOcsDataSerializer = _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSerializer(); @@ -2020,8 +141,6 @@ Serializer Serializer _$certificateGetCertificateExpirationResponseApplicationJsonSerializer = _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer(); -Serializer _$chatReceiveMessagesApiVersionSerializer = - _$ChatReceiveMessagesApiVersionSerializer(); Serializer _$chatChatReceiveMessagesHeadersSerializer = _$ChatChatReceiveMessagesHeadersSerializer(); Serializer _$chatMessageWithParentSerializer = _$ChatMessageWithParentSerializer(); @@ -2029,31 +148,24 @@ Serializer _$chatReceiveMessages _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer(); Serializer _$chatReceiveMessagesResponseApplicationJsonSerializer = _$ChatReceiveMessagesResponseApplicationJsonSerializer(); -Serializer _$chatSendMessageApiVersionSerializer = _$ChatSendMessageApiVersionSerializer(); Serializer _$chatChatSendMessageHeadersSerializer = _$ChatChatSendMessageHeadersSerializer(); Serializer _$chatSendMessageResponseApplicationJsonOcsSerializer = _$ChatSendMessageResponseApplicationJson_OcsSerializer(); Serializer _$chatSendMessageResponseApplicationJsonSerializer = _$ChatSendMessageResponseApplicationJsonSerializer(); -Serializer _$chatClearHistoryApiVersionSerializer = - _$ChatClearHistoryApiVersionSerializer(); Serializer _$chatChatClearHistoryHeadersSerializer = _$ChatChatClearHistoryHeadersSerializer(); Serializer _$chatClearHistoryResponseApplicationJsonOcsSerializer = _$ChatClearHistoryResponseApplicationJson_OcsSerializer(); Serializer _$chatClearHistoryResponseApplicationJsonSerializer = _$ChatClearHistoryResponseApplicationJsonSerializer(); -Serializer _$chatDeleteMessageApiVersionSerializer = - _$ChatDeleteMessageApiVersionSerializer(); Serializer _$chatChatDeleteMessageHeadersSerializer = _$ChatChatDeleteMessageHeadersSerializer(); Serializer _$chatDeleteMessageResponseApplicationJsonOcsSerializer = _$ChatDeleteMessageResponseApplicationJson_OcsSerializer(); Serializer _$chatDeleteMessageResponseApplicationJsonSerializer = _$ChatDeleteMessageResponseApplicationJsonSerializer(); -Serializer _$chatGetMessageContextApiVersionSerializer = - _$ChatGetMessageContextApiVersionSerializer(); Serializer _$chatChatGetMessageContextHeadersSerializer = _$ChatChatGetMessageContextHeadersSerializer(); Serializer @@ -2061,45 +173,35 @@ Serializer _$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 _$chatChatSetReadMarkerHeadersSerializer = _$ChatChatSetReadMarkerHeadersSerializer(); Serializer _$chatSetReadMarkerResponseApplicationJsonOcsSerializer = _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer(); Serializer _$chatSetReadMarkerResponseApplicationJsonSerializer = _$ChatSetReadMarkerResponseApplicationJsonSerializer(); -Serializer _$chatMarkUnreadApiVersionSerializer = _$ChatMarkUnreadApiVersionSerializer(); Serializer _$chatChatMarkUnreadHeadersSerializer = _$ChatChatMarkUnreadHeadersSerializer(); Serializer _$chatMarkUnreadResponseApplicationJsonOcsSerializer = _$ChatMarkUnreadResponseApplicationJson_OcsSerializer(); Serializer _$chatMarkUnreadResponseApplicationJsonSerializer = _$ChatMarkUnreadResponseApplicationJsonSerializer(); -Serializer _$chatMentionsApiVersionSerializer = _$ChatMentionsApiVersionSerializer(); Serializer _$chatMentionSuggestionSerializer = _$ChatMentionSuggestionSerializer(); Serializer _$chatMentionsResponseApplicationJsonOcsSerializer = _$ChatMentionsResponseApplicationJson_OcsSerializer(); Serializer _$chatMentionsResponseApplicationJsonSerializer = _$ChatMentionsResponseApplicationJsonSerializer(); -Serializer _$chatGetObjectsSharedInRoomApiVersionSerializer = - _$ChatGetObjectsSharedInRoomApiVersionSerializer(); Serializer _$chatChatGetObjectsSharedInRoomHeadersSerializer = _$ChatChatGetObjectsSharedInRoomHeadersSerializer(); Serializer @@ -2108,8 +210,6 @@ Serializer Serializer _$chatGetObjectsSharedInRoomResponseApplicationJsonSerializer = _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer(); -Serializer _$chatShareObjectToChatApiVersionSerializer = - _$ChatShareObjectToChatApiVersionSerializer(); Serializer _$chatChatShareObjectToChatHeadersSerializer = _$ChatChatShareObjectToChatHeadersSerializer(); Serializer @@ -2117,37 +217,27 @@ Serializer _$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(); @@ -2157,8 +247,6 @@ Serializer Serializer _$filesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer = _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer(); -Serializer _$filesIntegrationGetRoomByShareTokenApiVersionSerializer = - _$FilesIntegrationGetRoomByShareTokenApiVersionSerializer(); Serializer _$filesIntegrationGetRoomByShareTokenResponseApplicationJsonOcsDataSerializer = _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSerializer(); @@ -2168,30 +256,22 @@ Serializer 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 = @@ -2202,41 +282,30 @@ Serializer 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(); @@ -2246,30 +315,24 @@ 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(); @@ -2279,25 +342,19 @@ Serializer 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(); @@ -2307,54 +364,41 @@ Serializer 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 _$roomRoomGetRoomsHeadersSerializer = _$RoomRoomGetRoomsHeadersSerializer(); 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 _$roomRoomGetNoteToSelfConversationHeadersSerializer = _$RoomRoomGetNoteToSelfConversationHeadersSerializer(); Serializer @@ -2363,69 +407,52 @@ Serializer Serializer _$roomGetNoteToSelfConversationResponseApplicationJsonSerializer = _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer(); -Serializer _$roomGetSingleRoomApiVersionSerializer = - _$RoomGetSingleRoomApiVersionSerializer(); Serializer _$roomRoomGetSingleRoomHeadersSerializer = _$RoomRoomGetSingleRoomHeadersSerializer(); 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 _$roomRoomGetParticipantsHeadersSerializer = _$RoomRoomGetParticipantsHeadersSerializer(); Serializer _$participantSerializer = _$ParticipantSerializer(); @@ -2433,8 +460,6 @@ Serializer _$roomGetParticipants _$RoomGetParticipantsResponseApplicationJson_OcsSerializer(); Serializer _$roomGetParticipantsResponseApplicationJsonSerializer = _$RoomGetParticipantsResponseApplicationJsonSerializer(); -Serializer _$roomAddParticipantToRoomApiVersionSerializer = - _$RoomAddParticipantToRoomApiVersionSerializer(); Serializer _$roomAddParticipantToRoomResponseApplicationJsonOcsData0Serializer = _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer(); @@ -2444,8 +469,6 @@ Serializer Serializer _$roomAddParticipantToRoomResponseApplicationJsonSerializer = _$RoomAddParticipantToRoomResponseApplicationJsonSerializer(); -Serializer _$roomGetBreakoutRoomParticipantsApiVersionSerializer = - _$RoomGetBreakoutRoomParticipantsApiVersionSerializer(); Serializer _$roomRoomGetBreakoutRoomParticipantsHeadersSerializer = _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer(); Serializer @@ -2454,143 +477,104 @@ Serializer 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 = @@ -2606,16 +590,12 @@ Serializer _$signalingGetSettin _$SignalingGetSettingsResponseApplicationJson_OcsSerializer(); Serializer _$signalingGetSettingsResponseApplicationJsonSerializer = _$SignalingGetSettingsResponseApplicationJsonSerializer(); -Serializer _$signalingGetWelcomeMessageApiVersionSerializer = - _$SignalingGetWelcomeMessageApiVersionSerializer(); Serializer _$signalingGetWelcomeMessageResponseApplicationJsonOcsSerializer = _$SignalingGetWelcomeMessageResponseApplicationJson_OcsSerializer(); Serializer _$signalingGetWelcomeMessageResponseApplicationJsonSerializer = _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer(); -Serializer _$signalingPullMessagesApiVersionSerializer = - _$SignalingPullMessagesApiVersionSerializer(); Serializer _$signalingSessionSerializer = _$SignalingSessionSerializer(); Serializer _$signalingPullMessagesResponseApplicationJsonOcsDataSerializer = @@ -2625,8 +605,6 @@ Serializer _$SignalingPullMessagesResponseApplicationJson_OcsSerializer(); Serializer _$signalingPullMessagesResponseApplicationJsonSerializer = _$SignalingPullMessagesResponseApplicationJsonSerializer(); -Serializer _$signalingSendMessagesApiVersionSerializer = - _$SignalingSendMessagesApiVersionSerializer(); Serializer _$signalingSendMessagesResponseApplicationJsonOcsSerializer = _$SignalingSendMessagesResponseApplicationJson_OcsSerializer(); @@ -2659,40 +637,6 @@ Serializer _$publicCapabilities0SpreedConfigS Serializer _$publicCapabilities0SpreedSerializer = _$PublicCapabilities0_SpreedSerializer(); Serializer _$publicCapabilities0Serializer = _$PublicCapabilities0Serializer(); -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]; @@ -3316,23 +1260,6 @@ class _$AvatarUploadAvatarResponseApplicationJsonSerializer } } -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 @@ -3424,23 +1351,6 @@ class _$AvatarDeleteAvatarResponseApplicationJsonSerializer } } -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 @@ -3532,40 +1442,6 @@ class _$AvatarEmojiAvatarResponseApplicationJsonSerializer } } -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 @@ -3654,23 +1530,6 @@ class _$BotSendMessageResponseApplicationJsonSerializer } } -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 @@ -3755,23 +1614,6 @@ class _$BotReactResponseApplicationJsonSerializer implements StructuredSerialize } } -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 @@ -3863,23 +1705,6 @@ class _$BotDeleteReactionResponseApplicationJsonSerializer } } -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]; @@ -4115,23 +1940,6 @@ class _$BotAdminListBotsResponseApplicationJsonSerializer } } -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 @@ -4218,23 +2026,6 @@ class _$BotListBotsResponseApplicationJsonSerializer } } -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 @@ -4327,23 +2118,6 @@ class _$BotEnableBotResponseApplicationJsonSerializer } } -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 @@ -4436,24 +2210,6 @@ class _$BotDisableBotResponseApplicationJsonSerializer } } -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 @@ -4550,24 +2306,6 @@ class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer } } -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 @@ -4663,24 +2401,6 @@ class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer } } -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 @@ -4777,24 +2497,6 @@ class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer } } -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 @@ -4889,24 +2591,6 @@ class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer } } -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 @@ -5001,24 +2685,6 @@ class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer } } -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 @@ -5115,24 +2781,6 @@ class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer } } -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 @@ -5228,24 +2876,6 @@ class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer } } -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 @@ -5341,24 +2971,6 @@ class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer } } -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 @@ -5453,23 +3065,6 @@ class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer } } -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]; @@ -5625,23 +3220,6 @@ class _$CallGetPeersForCallResponseApplicationJsonSerializer } } -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 @@ -5733,23 +3311,6 @@ class _$CallUpdateCallFlagsResponseApplicationJsonSerializer } } -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 @@ -5838,23 +3399,6 @@ class _$CallJoinCallResponseApplicationJsonSerializer } } -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 @@ -5943,23 +3487,6 @@ class _$CallLeaveCallResponseApplicationJsonSerializer } } -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 @@ -6051,23 +3578,6 @@ class _$CallRingAttendeeResponseApplicationJsonSerializer } } -class _$CallSipDialOutApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [CallSipDialOutApiVersion]; - @override - final String wireName = 'CallSipDialOutApiVersion'; - - @override - Object serialize(Serializers serializers, CallSipDialOutApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - CallSipDialOutApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - CallSipDialOutApiVersion.valueOf(serialized as String); -} - class _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer implements StructuredSerializer { @override @@ -6212,24 +3722,6 @@ class _$CallSipDialOutResponseApplicationJsonSerializer } } -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 @@ -6376,23 +3868,6 @@ class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer } } -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 _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatReceiveMessagesHeaders, _$ChatChatReceiveMessagesHeaders]; @@ -6676,23 +4151,6 @@ class _$ChatReceiveMessagesResponseApplicationJsonSerializer } } -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 _$ChatChatSendMessageHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatSendMessageHeaders, _$ChatChatSendMessageHeaders]; @@ -6827,23 +4285,6 @@ class _$ChatSendMessageResponseApplicationJsonSerializer } } -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 _$ChatChatClearHistoryHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatClearHistoryHeaders, _$ChatChatClearHistoryHeaders]; @@ -6977,23 +4418,6 @@ class _$ChatClearHistoryResponseApplicationJsonSerializer } } -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 _$ChatChatDeleteMessageHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatDeleteMessageHeaders, _$ChatChatDeleteMessageHeaders]; @@ -7127,23 +4551,6 @@ class _$ChatDeleteMessageResponseApplicationJsonSerializer } } -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 _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatGetMessageContextHeaders, _$ChatChatGetMessageContextHeaders]; @@ -7287,23 +4694,6 @@ class _$ChatGetMessageContextResponseApplicationJsonSerializer } } -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]; @@ -7446,23 +4836,6 @@ class _$ChatGetReminderResponseApplicationJsonSerializer } } -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 @@ -7552,23 +4925,6 @@ class _$ChatSetReminderResponseApplicationJsonSerializer } } -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 @@ -7660,23 +5016,6 @@ class _$ChatDeleteReminderResponseApplicationJsonSerializer } } -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 _$ChatChatSetReadMarkerHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatSetReadMarkerHeaders, _$ChatChatSetReadMarkerHeaders]; @@ -7809,23 +5148,6 @@ class _$ChatSetReadMarkerResponseApplicationJsonSerializer } } -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 _$ChatChatMarkUnreadHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatMarkUnreadHeaders, _$ChatChatMarkUnreadHeaders]; @@ -7955,23 +5277,6 @@ class _$ChatMarkUnreadResponseApplicationJsonSerializer } } -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]; @@ -8145,24 +5450,6 @@ class _$ChatMentionsResponseApplicationJsonSerializer } } -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 _$ChatChatGetObjectsSharedInRoomHeadersSerializer implements StructuredSerializer { @override @@ -8299,23 +5586,6 @@ class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer } } -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 _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [ChatChatShareObjectToChatHeaders, _$ChatChatShareObjectToChatHeaders]; @@ -8454,24 +5724,6 @@ class _$ChatShareObjectToChatResponseApplicationJsonSerializer } } -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 @@ -8575,23 +5827,6 @@ class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer } } -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 @@ -8684,23 +5919,6 @@ class _$FederationAcceptShareResponseApplicationJsonSerializer } } -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 @@ -8793,23 +6011,6 @@ class _$FederationRejectShareResponseApplicationJsonSerializer } } -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]; @@ -8970,24 +6171,6 @@ class _$FederationGetSharesResponseApplicationJsonSerializer } } -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 @@ -9130,24 +6313,6 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer } } -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 @@ -9301,23 +6466,6 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer } } -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 @@ -9409,24 +6557,6 @@ class _$GuestSetDisplayNameResponseApplicationJsonSerializer } } -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 @@ -9524,24 +6654,6 @@ class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer } } -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 @@ -9637,24 +6749,6 @@ class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer } } -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]; @@ -9910,24 +7004,6 @@ class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer } } -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 @@ -10022,24 +7098,6 @@ class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer } } -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 @@ -10134,24 +7192,6 @@ class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer } } -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 @@ -10248,24 +7288,6 @@ class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer } } -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 @@ -10361,24 +7383,6 @@ class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer } } -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 @@ -10523,23 +7527,6 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSeriali } } -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]; @@ -10798,23 +7785,6 @@ class _$PollCreatePollResponseApplicationJsonSerializer } } -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 @@ -10903,23 +7873,6 @@ class _$PollShowPollResponseApplicationJsonSerializer } } -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 @@ -11008,23 +7961,6 @@ class _$PollVotePollResponseApplicationJsonSerializer } } -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 @@ -11113,24 +8049,6 @@ class _$PollClosePollResponseApplicationJsonSerializer } } -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 @@ -11280,23 +8198,6 @@ class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer } } -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]; @@ -11449,23 +8350,6 @@ class _$ReactionGetReactionsResponseApplicationJsonSerializer } } -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 @@ -11562,23 +8446,6 @@ class _$ReactionReactResponseApplicationJsonSerializer } } -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 @@ -11675,24 +8542,6 @@ class _$ReactionDeleteResponseApplicationJsonSerializer } } -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 @@ -11833,23 +8682,6 @@ class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer } } -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 @@ -11938,23 +8770,6 @@ class _$RecordingStartResponseApplicationJsonSerializer } } -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 @@ -12043,23 +8858,6 @@ class _$RecordingStopResponseApplicationJsonSerializer } } -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 @@ -12148,24 +8946,6 @@ class _$RecordingStoreResponseApplicationJsonSerializer } } -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 @@ -12259,23 +9039,6 @@ class _$RecordingNotificationDismissResponseApplicationJsonSerializer } } -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 @@ -12367,23 +9130,6 @@ class _$RecordingShareToChatResponseApplicationJsonSerializer } } -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 _$RoomRoomGetRoomsHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [RoomRoomGetRoomsHeaders, _$RoomRoomGetRoomsHeaders]; @@ -12524,23 +9270,6 @@ class _$RoomGetRoomsResponseApplicationJsonSerializer } } -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 @@ -12629,23 +9358,6 @@ class _$RoomCreateRoomResponseApplicationJsonSerializer } } -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 @@ -12738,24 +9450,6 @@ class _$RoomGetListedRoomsResponseApplicationJsonSerializer } } -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 _$RoomRoomGetNoteToSelfConversationHeadersSerializer implements StructuredSerializer { @override @@ -12895,23 +9589,6 @@ class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer } } -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 _$RoomRoomGetSingleRoomHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [RoomRoomGetSingleRoomHeaders, _$RoomRoomGetSingleRoomHeaders]; @@ -13044,23 +9721,6 @@ class _$RoomGetSingleRoomResponseApplicationJsonSerializer } } -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 @@ -13149,23 +9809,6 @@ class _$RoomRenameRoomResponseApplicationJsonSerializer } } -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 @@ -13254,23 +9897,6 @@ class _$RoomDeleteRoomResponseApplicationJsonSerializer } } -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 @@ -13363,23 +9989,6 @@ class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer } } -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 @@ -13468,23 +10077,6 @@ class _$RoomMakePublicResponseApplicationJsonSerializer } } -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 @@ -13573,23 +10165,6 @@ class _$RoomMakePrivateResponseApplicationJsonSerializer } } -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 @@ -13681,23 +10256,6 @@ class _$RoomSetDescriptionResponseApplicationJsonSerializer } } -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 @@ -13786,23 +10344,6 @@ class _$RoomSetReadOnlyResponseApplicationJsonSerializer } } -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 @@ -13891,23 +10432,6 @@ class _$RoomSetListableResponseApplicationJsonSerializer } } -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 @@ -13996,23 +10520,6 @@ class _$RoomSetPasswordResponseApplicationJsonSerializer } } -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 @@ -14104,23 +10611,6 @@ class _$RoomSetPermissionsResponseApplicationJsonSerializer } } -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 _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer { @override final Iterable types = const [RoomRoomGetParticipantsHeaders, _$RoomRoomGetParticipantsHeaders]; @@ -14403,24 +10893,6 @@ class _$RoomGetParticipantsResponseApplicationJsonSerializer } } -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 @@ -14559,24 +11031,6 @@ class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer } } -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 _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer implements StructuredSerializer { @override @@ -14719,23 +11173,6 @@ class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer } } -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 @@ -14828,24 +11265,6 @@ class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer } } -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 @@ -14939,24 +11358,6 @@ class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer } } -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 @@ -15050,24 +11451,6 @@ class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer } } -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 @@ -15162,23 +11545,6 @@ class _$RoomSetAllAttendeesPermissionsResponseApplicationJsonSerializer } } -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 @@ -15267,23 +11633,6 @@ class _$RoomJoinRoomResponseApplicationJsonSerializer } } -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 @@ -15372,23 +11721,6 @@ class _$RoomLeaveRoomResponseApplicationJsonSerializer } } -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 @@ -15481,23 +11813,6 @@ class _$RoomResendInvitationsResponseApplicationJsonSerializer } } -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 @@ -15589,23 +11904,6 @@ class _$RoomSetSessionStateResponseApplicationJsonSerializer } } -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 @@ -15697,23 +11995,6 @@ class _$RoomPromoteModeratorResponseApplicationJsonSerializer } } -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 @@ -15805,23 +12086,6 @@ class _$RoomDemoteModeratorResponseApplicationJsonSerializer } } -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 @@ -15913,23 +12177,6 @@ class _$RoomAddToFavoritesResponseApplicationJsonSerializer } } -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 @@ -16022,24 +12269,6 @@ class _$RoomRemoveFromFavoritesResponseApplicationJsonSerializer } } -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 @@ -16132,24 +12361,6 @@ class _$RoomSetNotificationLevelResponseApplicationJsonSerializer } } -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 @@ -16242,23 +12453,6 @@ class _$RoomSetNotificationCallsResponseApplicationJsonSerializer } } -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 @@ -16347,23 +12541,6 @@ class _$RoomSetLobbyResponseApplicationJsonSerializer } } -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 @@ -16455,23 +12632,6 @@ class _$RoomSetsipEnabledResponseApplicationJsonSerializer } } -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 @@ -16564,24 +12724,6 @@ class _$RoomSetRecordingConsentResponseApplicationJsonSerializer } } -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 @@ -16674,23 +12816,6 @@ class _$RoomSetMessageExpirationResponseApplicationJsonSerializer } } -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 @@ -16783,23 +12908,6 @@ class _$SettingsSetsipSettingsResponseApplicationJsonSerializer } } -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 @@ -16892,23 +13000,6 @@ class _$SettingsSetUserSettingResponseApplicationJsonSerializer } } -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 @@ -17312,24 +13403,6 @@ class _$SignalingGetSettingsResponseApplicationJsonSerializer } } -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 @@ -17425,23 +13498,6 @@ class _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer } } -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]; @@ -17652,23 +13708,6 @@ class _$SignalingPullMessagesResponseApplicationJsonSerializer } } -class _$SignalingSendMessagesApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [SignalingSendMessagesApiVersion]; - @override - final String wireName = 'SignalingSendMessagesApiVersion'; - - @override - Object serialize(Serializers serializers, SignalingSendMessagesApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - SignalingSendMessagesApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - SignalingSendMessagesApiVersion.valueOf(serialized as String); -} - class _$SignalingSendMessagesResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override diff --git a/packages/nextcloud/lib/src/api/updatenotification.openapi.dart b/packages/nextcloud/lib/src/api/updatenotification.openapi.dart index ea7eb026623..e8d7d38946a 100644 --- a/packages/nextcloud/lib/src/api/updatenotification.openapi.dart +++ b/packages/nextcloud/lib/src/api/updatenotification.openapi.dart @@ -154,18 +154,61 @@ class $ApiClient { } } -class ApiGetAppListApiVersion extends EnumClass { +class ApiGetAppListApiVersion extends DynamiteEnum { const ApiGetAppListApiVersion._(super.name); - static const ApiGetAppListApiVersion v1 = _$apiGetAppListApiVersionV1; + static const ApiGetAppListApiVersion v1 = ApiGetAppListApiVersion._('v1'); - // coverage:ignore-start - static BuiltSet get values => _$apiGetAppListApiVersionValues; - // coverage:ignore-end + static BuiltSet get values => + BuiltSet(const [ + ApiGetAppListApiVersion.v1, + ]); + + static ApiGetAppListApiVersion valueOf(String name) { + switch (name) { + case 'v1': + return ApiGetAppListApiVersion.v1; + default: + throw ArgumentError(name); + } + } - static ApiGetAppListApiVersion valueOf(String name) => _$valueOfApiGetAppListApiVersion(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ApiGetAppListApiVersionSerializer(); +} - static Serializer get serializer => _$apiGetAppListApiVersionSerializer; +class _$ApiGetAppListApiVersionSerializer implements PrimitiveSerializer { + const _$ApiGetAppListApiVersionSerializer(); + + static const Map _toWire = { + ApiGetAppListApiVersion.v1: 'v1', + }; + + static const Map _fromWire = { + 'v1': ApiGetAppListApiVersion.v1, + }; + + @override + Iterable get types => const [ApiGetAppListApiVersion]; + + @override + String get wireName => 'ApiGetAppListApiVersion'; + + @override + Object serialize( + Serializers serializers, + ApiGetAppListApiVersion object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ApiGetAppListApiVersion deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/updatenotification.openapi.g.dart b/packages/nextcloud/lib/src/api/updatenotification.openapi.g.dart index 471ee7f97e1..eaf08b8b957 100644 --- a/packages/nextcloud/lib/src/api/updatenotification.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/updatenotification.openapi.g.dart @@ -6,23 +6,6 @@ part of 'updatenotification.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const ApiGetAppListApiVersion _$apiGetAppListApiVersionV1 = ApiGetAppListApiVersion._('v1'); - -ApiGetAppListApiVersion _$valueOfApiGetAppListApiVersion(String name) { - switch (name) { - case 'v1': - return _$apiGetAppListApiVersionV1; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$apiGetAppListApiVersionValues = - BuiltSet(const [ - _$apiGetAppListApiVersionV1, -]); - -Serializer _$apiGetAppListApiVersionSerializer = _$ApiGetAppListApiVersionSerializer(); Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); Serializer _$appSerializer = _$AppSerializer(); Serializer _$apiGetAppListResponseApplicationJsonOcsDataSerializer = @@ -32,23 +15,6 @@ Serializer _$apiGetAppListResponseAppl Serializer _$apiGetAppListResponseApplicationJsonSerializer = _$ApiGetAppListResponseApplicationJsonSerializer(); -class _$ApiGetAppListApiVersionSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [ApiGetAppListApiVersion]; - @override - final String wireName = 'ApiGetAppListApiVersion'; - - @override - Object serialize(Serializers serializers, ApiGetAppListApiVersion object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - ApiGetAppListApiVersion deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - ApiGetAppListApiVersion.valueOf(serialized as String); -} - class _$OCSMetaSerializer implements StructuredSerializer { @override final Iterable types = const [OCSMeta, _$OCSMeta]; diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index b7f1635edc4..4411992eadd 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -1141,37 +1141,130 @@ abstract class HeartbeatHeartbeatResponseApplicationJson _$heartbeatHeartbeatResponseApplicationJsonSerializer; } -class ClearAt_Type extends EnumClass { +class ClearAt_Type extends DynamiteEnum { const ClearAt_Type._(super.name); - static const ClearAt_Type period = _$clearAtTypePeriod; + static const ClearAt_Type period = ClearAt_Type._('period'); - @BuiltValueEnumConst(wireName: 'end-of') - static const ClearAt_Type endOf = _$clearAtTypeEndOf; + static const ClearAt_Type endOf = ClearAt_Type._('end-of'); - // coverage:ignore-start - static BuiltSet get values => _$clearAtTypeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + ClearAt_Type.period, + ClearAt_Type.endOf, + ]); + + static ClearAt_Type valueOf(String name) { + switch (name) { + case 'period': + return ClearAt_Type.period; + case 'end-of': + return ClearAt_Type.endOf; + default: + throw ArgumentError(name); + } + } - static ClearAt_Type valueOf(String name) => _$valueOfClearAt_Type(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ClearAt_TypeSerializer(); +} + +class _$ClearAt_TypeSerializer implements PrimitiveSerializer { + const _$ClearAt_TypeSerializer(); + + static const Map _toWire = { + ClearAt_Type.period: 'period', + ClearAt_Type.endOf: 'end-of', + }; + + static const Map _fromWire = { + 'period': ClearAt_Type.period, + 'end-of': ClearAt_Type.endOf, + }; + + @override + Iterable get types => const [ClearAt_Type]; - static Serializer get serializer => _$clearAtTypeSerializer; + @override + String get wireName => 'ClearAt_Type'; + + @override + Object serialize( + Serializers serializers, + ClearAt_Type object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ClearAt_Type deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } -class ClearAtTimeType extends EnumClass { +class ClearAtTimeType extends DynamiteEnum { const ClearAtTimeType._(super.name); - static const ClearAtTimeType day = _$clearAtTimeTypeDay; + static const ClearAtTimeType day = ClearAtTimeType._('day'); - static const ClearAtTimeType week = _$clearAtTimeTypeWeek; + static const ClearAtTimeType week = ClearAtTimeType._('week'); - // coverage:ignore-start - static BuiltSet get values => _$clearAtTimeTypeValues; - // coverage:ignore-end + static BuiltSet get values => BuiltSet(const [ + ClearAtTimeType.day, + ClearAtTimeType.week, + ]); + + static ClearAtTimeType valueOf(String name) { + switch (name) { + case 'day': + return ClearAtTimeType.day; + case 'week': + return ClearAtTimeType.week; + default: + throw ArgumentError(name); + } + } - static ClearAtTimeType valueOf(String name) => _$valueOfClearAtTimeType(name); + @BuiltValueSerializer(custom: true) + static Serializer get serializer => const _$ClearAtTimeTypeSerializer(); +} + +class _$ClearAtTimeTypeSerializer implements PrimitiveSerializer { + const _$ClearAtTimeTypeSerializer(); + + static const Map _toWire = { + ClearAtTimeType.day: 'day', + ClearAtTimeType.week: 'week', + }; + + static const Map _fromWire = { + 'day': ClearAtTimeType.day, + 'week': ClearAtTimeType.week, + }; + + @override + Iterable get types => const [ClearAtTimeType]; - static Serializer get serializer => _$clearAtTimeTypeSerializer; + @override + String get wireName => 'ClearAtTimeType'; + + @override + Object serialize( + Serializers serializers, + ClearAtTimeType object, { + FullType specifiedType = FullType.unspecified, + }) => + _toWire[object]!; + + @override + ClearAtTimeType deserialize( + Serializers serializers, + Object serialized, { + FullType specifiedType = FullType.unspecified, + }) => + _fromWire[serialized]!; } @BuiltValue(instantiable: false) diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.g.dart b/packages/nextcloud/lib/src/api/user_status.openapi.g.dart index e9f09488494..b145d7b6e49 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.g.dart @@ -6,44 +6,6 @@ part of 'user_status.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -const ClearAt_Type _$clearAtTypePeriod = ClearAt_Type._('period'); -const ClearAt_Type _$clearAtTypeEndOf = ClearAt_Type._('endOf'); - -ClearAt_Type _$valueOfClearAt_Type(String name) { - switch (name) { - case 'period': - return _$clearAtTypePeriod; - case 'endOf': - return _$clearAtTypeEndOf; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$clearAtTypeValues = BuiltSet(const [ - _$clearAtTypePeriod, - _$clearAtTypeEndOf, -]); - -const ClearAtTimeType _$clearAtTimeTypeDay = ClearAtTimeType._('day'); -const ClearAtTimeType _$clearAtTimeTypeWeek = ClearAtTimeType._('week'); - -ClearAtTimeType _$valueOfClearAtTimeType(String name) { - switch (name) { - case 'day': - return _$clearAtTimeTypeDay; - case 'week': - return _$clearAtTimeTypeWeek; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$clearAtTimeTypeValues = BuiltSet(const [ - _$clearAtTimeTypeDay, - _$clearAtTimeTypeWeek, -]); - Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); Serializer _$publicSerializer = _$PublicSerializer(); Serializer _$privateSerializer = _$PrivateSerializer(); @@ -51,8 +13,6 @@ Serializer _$heartbeatHeartbeatRe _$HeartbeatHeartbeatResponseApplicationJson_OcsSerializer(); Serializer _$heartbeatHeartbeatResponseApplicationJsonSerializer = _$HeartbeatHeartbeatResponseApplicationJsonSerializer(); -Serializer _$clearAtTypeSerializer = _$ClearAt_TypeSerializer(); -Serializer _$clearAtTimeTypeSerializer = _$ClearAtTimeTypeSerializer(); Serializer _$clearAtSerializer = _$ClearAtSerializer(); Serializer _$predefinedSerializer = _$PredefinedSerializer(); Serializer @@ -420,45 +380,6 @@ class _$HeartbeatHeartbeatResponseApplicationJsonSerializer } } -class _$ClearAt_TypeSerializer implements PrimitiveSerializer { - static const Map _toWire = { - 'endOf': 'end-of', - }; - static const Map _fromWire = { - 'end-of': 'endOf', - }; - - @override - final Iterable types = const [ClearAt_Type]; - @override - final String wireName = 'ClearAt_Type'; - - @override - Object serialize(Serializers serializers, ClearAt_Type object, {FullType specifiedType = FullType.unspecified}) => - _toWire[object.name] ?? object.name; - - @override - ClearAt_Type deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - ClearAt_Type.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); -} - -class _$ClearAtTimeTypeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [ClearAtTimeType]; - @override - final String wireName = 'ClearAtTimeType'; - - @override - Object serialize(Serializers serializers, ClearAtTimeType object, {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - ClearAtTimeType deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - ClearAtTimeType.valueOf(serialized as String); -} - class _$ClearAtSerializer implements StructuredSerializer { @override final Iterable types = const [ClearAt, _$ClearAt];