From 681746201d92bf77fa13ed83a4db9a91be3ca313 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Thu, 19 Oct 2023 22:22:05 +0200 Subject: [PATCH] fix(dynamite,nextcloud): make oneOf and anyOf throw at build time rather then on deserialization Signed-off-by: Nikolas Rimikis --- .../dynamite/lib/src/builder/ofs_builder.dart | 347 +- .../lib/nested_ofs.openapi.dart | 136 +- .../lib/nested_ofs.openapi.g.dart | 285 +- .../lib/nested_ofs.openapi.json | 24 + .../dynamite_end_to_end_test/pubspec.yaml | 1 + .../test/nested_ofs_test.dart | 77 +- .../lib/src/api/comments.openapi.dart | 24 +- .../lib/src/api/comments.openapi.g.dart | 89 +- .../nextcloud/lib/src/api/core.openapi.dart | 6368 ++-- .../nextcloud/lib/src/api/core.openapi.g.dart | 30001 +++++++++------- .../lib/src/api/dashboard.openapi.dart | 380 +- .../lib/src/api/dashboard.openapi.g.dart | 1650 +- .../nextcloud/lib/src/api/dav.openapi.dart | 185 +- .../nextcloud/lib/src/api/dav.openapi.g.dart | 834 +- .../nextcloud/lib/src/api/files.openapi.dart | 1315 +- .../lib/src/api/files.openapi.g.dart | 8382 +++-- .../lib/src/api/files_external.openapi.dart | 145 +- .../lib/src/api/files_external.openapi.g.dart | 916 +- .../lib/src/api/files_reminders.openapi.dart | 184 +- .../src/api/files_reminders.openapi.g.dart | 572 +- .../lib/src/api/files_sharing.openapi.dart | 3947 +- .../lib/src/api/files_sharing.openapi.g.dart | 19653 +++++----- .../lib/src/api/files_trashbin.openapi.dart | 64 +- .../lib/src/api/files_trashbin.openapi.g.dart | 89 +- .../lib/src/api/files_versions.openapi.dart | 64 +- .../lib/src/api/files_versions.openapi.g.dart | 122 +- .../nextcloud/lib/src/api/news.openapi.dart | 995 +- .../nextcloud/lib/src/api/news.openapi.g.dart | 1711 +- .../nextcloud/lib/src/api/notes.openapi.dart | 576 +- .../lib/src/api/notes.openapi.g.dart | 1410 +- .../lib/src/api/notifications.openapi.dart | 1080 +- .../lib/src/api/notifications.openapi.g.dart | 4437 ++- .../lib/src/api/provisioning_api.openapi.dart | 5019 ++- .../src/api/provisioning_api.openapi.g.dart | 18498 ++++++---- .../lib/src/api/settings.openapi.dart | 62 +- .../lib/src/api/settings.openapi.g.dart | 98 - .../lib/src/api/sharebymail.openapi.dart | 76 +- .../lib/src/api/sharebymail.openapi.g.dart | 491 +- .../lib/src/api/theming.openapi.dart | 679 +- .../lib/src/api/theming.openapi.g.dart | 2628 +- .../src/api/updatenotification.openapi.dart | 134 +- .../src/api/updatenotification.openapi.g.dart | 624 +- .../nextcloud/lib/src/api/uppush.openapi.dart | 561 +- .../lib/src/api/uppush.openapi.g.dart | 1825 - .../lib/src/api/user_status.openapi.dart | 1052 +- .../lib/src/api/user_status.openapi.g.dart | 4037 ++- .../lib/src/api/weather_status.openapi.dart | 1267 +- .../lib/src/api/weather_status.openapi.g.dart | 6804 ++-- .../lib/src/helpers/notifications.g.dart | 6 +- .../nextcloud/lib/src/webdav/props.g.dart | 990 +- .../nextcloud/lib/src/webdav/webdav.g.dart | 477 +- 51 files changed, 72953 insertions(+), 58438 deletions(-) delete mode 100644 packages/nextcloud/lib/src/api/settings.openapi.g.dart delete mode 100644 packages/nextcloud/lib/src/api/uppush.openapi.g.dart diff --git a/packages/dynamite/dynamite/lib/src/builder/ofs_builder.dart b/packages/dynamite/dynamite/lib/src/builder/ofs_builder.dart index 4a156083623..11bab57b496 100644 --- a/packages/dynamite/dynamite/lib/src/builder/ofs_builder.dart +++ b/packages/dynamite/dynamite/lib/src/builder/ofs_builder.dart @@ -101,29 +101,63 @@ TypeResult resolveOfs( fields[result.name] = toFieldName(dartName, result.name); } - state.output.addAll([ - buildInterface( - identifier, - methods: BuiltList.from( - results.map( - (final result) => Method( - (final b) { - final s = schema.ofs![results.indexOf(result)]; - b - ..name = fields[result.name] - ..returns = refer(result.nullableName) - ..type = MethodType.getter - ..docs.addAll(s.formattedDescription); - }, - ), + final interface = buildInterface( + identifier, + methods: BuiltList.from( + results.map( + (final result) => Method( + (final b) { + final s = schema.ofs![results.indexOf(result)]; + b + ..name = fields[result.name] + ..returns = refer(result.nullableName) + ..type = MethodType.getter + ..docs.addAll(s.formattedDescription); + }, ), ), ), - buildBuiltClass( - identifier, - customSerializer: true, - methods: BuiltList.build( - (final b) => b.add( + ); + + final hook = Method((final b) { + b + ..name = '_validate' + ..returns = refer('void') + ..annotations.add( + refer('BuiltValueHook').call([], {'finalizeBuilder': literalTrue}), + ) + ..static = true + ..requiredParameters.add( + Parameter( + (final b) => b + ..name = 'b' + ..type = refer('${identifier}Builder'), + ), + ); + + final buffer = StringBuffer() + ..writeln('// When this is rebuild from another builder') + ..writeln('if (b._data == null) { return;}') + ..writeln() + ..writeln('final match = ') + ..writeln('[${fields.values.map((final e) => 'b._$e').join(',')}]') + ..writeln(schema.oneOf != null ? '.singleWhereOrNull' : '.firstWhereOrNull') + ..writeln('((final x) => x != null);') + ..writeln('if (match == null) {') + ..writeln( + 'throw StateError("Need ${schema.oneOf != null ? 'exactly' : 'at least'} one of ${fields.values.map((final e) => "'$e'").join(', ')} for \${b._data}");', + ) + ..writeln('}'); + + b.body = Code(buffer.toString()); + }); + + final $class = buildBuiltClass( + identifier, + customSerializer: true, + methods: BuiltList.build( + (final b) => b + ..add( Method( (final b) { b @@ -132,149 +166,150 @@ TypeResult resolveOfs( ..type = MethodType.getter; }, ), - ), - ), + ) + ..add(hook), ), - Class( - (final b) => b - ..name = '_\$${identifier}Serializer' - ..implements.add(refer('PrimitiveSerializer<$identifier>')) - ..fields.addAll([ - Field( - (final b) => b - ..name = 'types' - ..modifier = FieldModifier.final$ - ..type = refer('Iterable') - ..annotations.add(refer('override')) - ..assignment = Code('const [$identifier, _\$$identifier]'), - ), - Field( - (final b) => b - ..name = 'wireName' - ..modifier = FieldModifier.final$ - ..type = refer('String') - ..annotations.add(refer('override')) - ..assignment = Code("r'$identifier'"), - ), - ]) - ..methods.addAll([ - Method((final b) { - b - ..name = 'serialize' - ..returns = refer('Object') - ..annotations.add(refer('override')) - ..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('return object.data.value;'); - }), - Method((final b) { - b - ..name = 'deserialize' - ..returns = refer(identifier) - ..annotations.add(refer('override')) - ..requiredParameters.addAll([ - Parameter( - (final b) => b - ..name = 'serializers' - ..type = refer('Serializers'), - ), - Parameter( - (final b) => b - ..name = 'data' - ..type = refer('Object'), - ), - ]) - ..optionalParameters.add( - Parameter( - (final b) => b - ..name = 'specifiedType' - ..type = refer('FullType') - ..named = true - ..defaultTo = const Code('FullType.unspecified'), - ), - ) - ..body = Code( - [ - 'final result = new ${identifier}Builder()', - '..data = JsonObject(data);', + ); + + final serializer = Class( + (final b) => b + ..name = '_\$${identifier}Serializer' + ..implements.add(refer('PrimitiveSerializer<$identifier>')) + ..fields.addAll([ + Field( + (final b) => b + ..name = 'types' + ..modifier = FieldModifier.final$ + ..type = refer('Iterable') + ..annotations.add(refer('override')) + ..assignment = Code('const [$identifier, _\$$identifier]'), + ), + Field( + (final b) => b + ..name = 'wireName' + ..modifier = FieldModifier.final$ + ..type = refer('String') + ..annotations.add(refer('override')) + ..assignment = Code("r'$identifier'"), + ), + ]) + ..methods.addAll([ + Method((final b) { + b + ..name = 'serialize' + ..returns = refer('Object') + ..annotations.add(refer('override')) + ..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('return object.data.value;'); + }), + Method((final b) { + b + ..name = 'deserialize' + ..returns = refer(identifier) + ..annotations.add(refer('override')) + ..requiredParameters.addAll([ + Parameter( + (final b) => b + ..name = 'serializers' + ..type = refer('Serializers'), + ), + Parameter( + (final b) => b + ..name = 'data' + ..type = refer('Object'), + ), + ]) + ..optionalParameters.add( + Parameter( + (final b) => b + ..name = 'specifiedType' + ..type = refer('FullType') + ..named = true + ..defaultTo = const Code('FullType.unspecified'), + ), + ) + ..body = Code( + [ + 'final result = ${identifier}Builder()', + '..data = JsonObject(data);', + if (schema.discriminator != null) ...[ + 'if (data is! Iterable) {', + r"throw StateError('Expected an Iterable but got ${data.runtimeType}');", + '}', + '', + 'String? discriminator;', + '', + 'final iterator = data.iterator;', + 'while (iterator.moveNext()) {', + 'final key = iterator.current! as String;', + 'iterator.moveNext();', + 'final Object? value = iterator.current;', + "if (key == '${schema.discriminator!.propertyName}') {", + 'discriminator = value! as String;', + 'break;', + '}', + '}', + ], + for (final result in results) ...[ if (schema.discriminator != null) ...[ - 'if (data is! Iterable) {', - r"throw StateError('Expected an Iterable but got ${data.runtimeType}');", - '}', - '', - 'String? discriminator;', - '', - 'final iterator = data.iterator;', - 'while (iterator.moveNext()) {', - 'final key = iterator.current! as String;', - 'iterator.moveNext();', - 'final Object? value = iterator.current;', - "if (key == '${schema.discriminator!.propertyName}') {", - 'discriminator = value! as String;', - 'break;', - '}', - '}', - ], - for (final result in results) ...[ - if (schema.discriminator != null) ...[ - "if (discriminator == '${result.name}'", - if (schema.discriminator!.mapping != null && schema.discriminator!.mapping!.isNotEmpty) ...[ - for (final key in schema.discriminator!.mapping!.entries - .where( - (final entry) => entry.value.endsWith('/${result.name}'), - ) - .map((final entry) => entry.key)) ...[ - " || discriminator == '$key'", - ], - ') {', + "if (discriminator == '${result.name}'", + if (schema.discriminator!.mapping != null && schema.discriminator!.mapping!.isNotEmpty) ...[ + for (final key in schema.discriminator!.mapping!.entries + .where( + (final entry) => entry.value.endsWith('/${result.name}'), + ) + .map((final entry) => entry.key)) ...[ + " || discriminator == '$key'", ], - ], - 'try {', - if (result is TypeResultBase || result is TypeResultEnum) ...[ - 'result._${fields[result.name]!} = ${result.deserialize('data')};', - ] else ...[ - 'result._${fields[result.name]!} = ${result.deserialize('data')}.toBuilder();', - ], - '} catch (_) {', - if (schema.discriminator != null) ...[ - 'rethrow;', - ], - '}', - if (schema.discriminator != null) ...[ - '}', + ') {', ], ], - if (schema.oneOf != null) ...[ - "assert([${fields.values.map((final e) => 'result._$e').join(',')}].where((final x) => x != null).length >= 1, 'Need oneOf for \${result._data}');", + 'try {', + 'final value = ${result.deserialize('data')};', + if (result is TypeResultBase || result is TypeResultEnum) + 'result.${fields[result.name]!} = value;' + else + 'result.${fields[result.name]!}.replace(value);', + '} catch (_) {', + if (schema.discriminator != null) ...[ + 'rethrow;', ], - if (schema.anyOf != null) ...[ - "assert([${fields.values.map((final e) => 'result._$e').join(',')}].where((final x) => x != null).length >= 1, 'Need anyOf for \${result._data}');", + '}', + if (schema.discriminator != null) ...[ + '}', ], - 'return result.build();', - ].join(), - ); - }), - ]), - ), + ], + 'return result.build();', + ].join(), + ); + }), + ]), + ); + + state.output.addAll([ + interface, + $class, + serializer, ]); } diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.dart b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.dart index bdbfd579c1a..40619a18d28 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.dart +++ b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.dart @@ -7,6 +7,7 @@ import 'package:built_value/built_value.dart'; import 'package:built_value/json_object.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; +import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; @@ -33,7 +34,8 @@ class Client extends DynamiteClient { @BuiltValue(instantiable: false) abstract interface class BaseInterface { - String? get attribute; + JsonObject? get required; + String get attribute; } abstract class Base implements BaseInterface, Built { @@ -57,7 +59,7 @@ abstract class Base implements BaseInterface, Built { @BuiltValue(instantiable: false) abstract interface class BaseAllOf_1Interface { @BuiltValueField(wireName: 'attribute-allOf') - String? get attributeAllOf; + String get attributeAllOf; } @BuiltValue(instantiable: false) @@ -84,7 +86,7 @@ abstract class BaseAllOf implements BaseAllOfInterface, Built { @@ -130,6 +132,18 @@ abstract class BaseOneOf implements BaseOneOfInterface, Built get serializer => _$BaseOneOfSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final BaseOneOfBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._base, b._baseOneOf1].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'base', 'baseOneOf1' for ${b._data}"); + } + } } class _$BaseOneOfSerializer implements PrimitiveSerializer { @@ -155,16 +169,13 @@ class _$BaseOneOfSerializer implements PrimitiveSerializer { }) { final result = BaseOneOfBuilder()..data = JsonObject(data); try { - result._base = (_jsonSerializers.deserialize(data, specifiedType: const FullType(Base))! as Base).toBuilder(); + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(Base))! as Base; + result.base.replace(value); } catch (_) {} try { - result._baseOneOf1 = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(BaseOneOf1))! as BaseOneOf1).toBuilder(); + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(BaseOneOf1))! as BaseOneOf1; + result.baseOneOf1.replace(value); } catch (_) {} - assert( - [result._base, result._baseOneOf1].where((final x) => x != null).isNotEmpty, - 'Need oneOf for ${result._data}', - ); return result.build(); } } @@ -172,7 +183,7 @@ class _$BaseOneOfSerializer implements PrimitiveSerializer { @BuiltValue(instantiable: false) abstract interface class BaseAnyOf1Interface { @BuiltValueField(wireName: 'attribute-anyOf') - String? get attributeAnyOf; + String get attributeAnyOf; } abstract class BaseAnyOf1 implements BaseAnyOf1Interface, Built { @@ -218,6 +229,18 @@ abstract class BaseAnyOf implements BaseAnyOfInterface, Built get serializer => _$BaseAnyOfSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final BaseAnyOfBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._base, b._baseAnyOf1].firstWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need at least one of 'base', 'baseAnyOf1' for ${b._data}"); + } + } } class _$BaseAnyOfSerializer implements PrimitiveSerializer { @@ -243,16 +266,13 @@ class _$BaseAnyOfSerializer implements PrimitiveSerializer { }) { final result = BaseAnyOfBuilder()..data = JsonObject(data); try { - result._base = (_jsonSerializers.deserialize(data, specifiedType: const FullType(Base))! as Base).toBuilder(); + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(Base))! as Base; + result.base.replace(value); } catch (_) {} try { - result._baseAnyOf1 = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(BaseAnyOf1))! as BaseAnyOf1).toBuilder(); + final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(BaseAnyOf1))! as BaseAnyOf1; + result.baseAnyOf1.replace(value); } catch (_) {} - assert( - [result._base, result._baseAnyOf1].where((final x) => x != null).isNotEmpty, - 'Need anyOf for ${result._data}', - ); return result.build(); } } @@ -260,7 +280,7 @@ class _$BaseAnyOfSerializer implements PrimitiveSerializer { @BuiltValue(instantiable: false) abstract interface class BaseNestedAllOf_3Interface { @BuiltValueField(wireName: 'attribute-nested-allOf') - String? get attributeNestedAllOf; + String get attributeNestedAllOf; } @BuiltValue(instantiable: false) @@ -289,7 +309,7 @@ abstract class BaseNestedAllOf implements BaseNestedAllOfInterface, Built { @@ -339,6 +359,19 @@ abstract class BaseNestedOneOf implements BaseNestedOneOfInterface, Built get serializer => _$BaseNestedOneOfSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final BaseNestedOneOfBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = + [b._baseAllOf, b._baseOneOf, b._baseAnyOf, b._baseNestedOneOf3].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'baseAllOf', 'baseOneOf', 'baseAnyOf', 'baseNestedOneOf3' for ${b._data}"); + } + } } class _$BaseNestedOneOfSerializer implements PrimitiveSerializer { @@ -364,28 +397,22 @@ class _$BaseNestedOneOfSerializer implements PrimitiveSerializer x != null) - .isNotEmpty, - 'Need oneOf for ${result._data}', - ); return result.build(); } } @@ -393,7 +420,7 @@ class _$BaseNestedOneOfSerializer implements PrimitiveSerializer { @@ -443,6 +470,19 @@ abstract class BaseNestedAnyOf implements BaseNestedAnyOfInterface, Built get serializer => _$BaseNestedAnyOfSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(final BaseNestedAnyOfBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = + [b._baseAllOf, b._baseOneOf, b._baseAnyOf, b._baseNestedAnyOf3].firstWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need at least one of 'baseAllOf', 'baseOneOf', 'baseAnyOf', 'baseNestedAnyOf3' for ${b._data}"); + } + } } class _$BaseNestedAnyOfSerializer implements PrimitiveSerializer { @@ -468,28 +508,22 @@ class _$BaseNestedAnyOfSerializer implements PrimitiveSerializer x != null) - .isNotEmpty, - 'Need anyOf for ${result._data}', - ); return result.build(); } } diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.g.dart b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.g.dart index 164906355f1..f1524b7b850 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.g.dart +++ b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.g.dart @@ -22,13 +22,16 @@ class _$BaseSerializer implements StructuredSerializer { @override Iterable serialize(Serializers serializers, Base object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'attribute', + serializers.serialize(object.attribute, specifiedType: const FullType(String)), + ]; Object? value; - value = object.attribute; + value = object.required; if (value != null) { result - ..add('attribute') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('required') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); } return result; } @@ -44,8 +47,11 @@ class _$BaseSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { + case 'required': + result.required = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; case 'attribute': - result.attribute = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.attribute = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -63,19 +69,18 @@ class _$BaseAllOfSerializer implements StructuredSerializer { @override Iterable serialize(Serializers serializers, BaseAllOf object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'attribute', + serializers.serialize(object.attribute, specifiedType: const FullType(String)), + 'attribute-allOf', + serializers.serialize(object.attributeAllOf, specifiedType: const FullType(String)), + ]; Object? value; - value = object.attribute; - if (value != null) { - result - ..add('attribute') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.attributeAllOf; + value = object.required; if (value != null) { result - ..add('attribute-allOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('required') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); } return result; } @@ -91,11 +96,14 @@ class _$BaseAllOfSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { + case 'required': + result.required = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; case 'attribute': - result.attribute = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.attribute = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'attribute-allOf': - result.attributeAllOf = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.attributeAllOf = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -113,14 +121,11 @@ class _$BaseOneOf1Serializer implements StructuredSerializer { @override Iterable serialize(Serializers serializers, BaseOneOf1 object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.attributeOneOf; - if (value != null) { - result - ..add('attribute-oneOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'attribute-oneOf', + serializers.serialize(object.attributeOneOf, specifiedType: const FullType(String)), + ]; + return result; } @@ -136,7 +141,7 @@ class _$BaseOneOf1Serializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'attribute-oneOf': - result.attributeOneOf = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.attributeOneOf = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -154,14 +159,11 @@ class _$BaseAnyOf1Serializer implements StructuredSerializer { @override Iterable serialize(Serializers serializers, BaseAnyOf1 object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.attributeAnyOf; - if (value != null) { - result - ..add('attribute-anyOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'attribute-anyOf', + serializers.serialize(object.attributeAnyOf, specifiedType: const FullType(String)), + ]; + return result; } @@ -177,7 +179,7 @@ class _$BaseAnyOf1Serializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'attribute-anyOf': - result.attributeAnyOf = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.attributeAnyOf = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -195,19 +197,20 @@ class _$BaseNestedAllOfSerializer implements StructuredSerializer serialize(Serializers serializers, BaseNestedAllOf object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'attribute', + serializers.serialize(object.attribute, specifiedType: const FullType(String)), + 'attribute-allOf', + serializers.serialize(object.attributeAllOf, specifiedType: const FullType(String)), + 'attribute-nested-allOf', + serializers.serialize(object.attributeNestedAllOf, specifiedType: const FullType(String)), + ]; Object? value; - value = object.attribute; + value = object.required; if (value != null) { result - ..add('attribute') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.attributeAllOf; - if (value != null) { - result - ..add('attribute-allOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('required') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); } value = object.base; if (value != null) { @@ -227,12 +230,6 @@ class _$BaseNestedAllOfSerializer implements StructuredSerializer serialize(Serializers serializers, BaseNestedOneOf3 object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.attributeNestedOneOf; - if (value != null) { - result - ..add('attribute-nested-oneOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'attribute-nested-oneOf', + serializers.serialize(object.attributeNestedOneOf, specifiedType: const FullType(String)), + ]; + return result; } @@ -308,7 +305,7 @@ class _$BaseNestedOneOf3Serializer implements StructuredSerializer serialize(Serializers serializers, BaseNestedAnyOf3 object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.attributeNestedAnyOf; - if (value != null) { - result - ..add('attribute-nested-anyOf') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'attribute-nested-anyOf', + serializers.serialize(object.attributeNestedAnyOf, specifiedType: const FullType(String)), + ]; + return result; } @@ -350,7 +344,7 @@ class _$BaseNestedAnyOf3Serializer implements StructuredSerializer (BaseBuilder()..update(updates))._build(); - _$Base._({this.attribute}) : super._(); + _$Base._({this.required, required this.attribute}) : super._() { + BuiltValueNullFieldError.checkNotNull(attribute, r'Base', 'attribute'); + } @override Base rebuild(void Function(BaseBuilder) updates) => (toBuilder()..update(updates)).build(); @@ -383,12 +384,13 @@ class _$Base extends Base { @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Base && attribute == other.attribute; + return other is Base && required == other.required && attribute == other.attribute; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, required.hashCode); _$hash = $jc(_$hash, attribute.hashCode); _$hash = $jf(_$hash); return _$hash; @@ -396,13 +398,20 @@ class _$Base extends Base { @override String toString() { - return (newBuiltValueToStringHelper(r'Base')..add('attribute', attribute)).toString(); + return (newBuiltValueToStringHelper(r'Base') + ..add('required', required) + ..add('attribute', attribute)) + .toString(); } } class BaseBuilder implements Builder, BaseInterfaceBuilder { _$Base? _$v; + JsonObject? _required; + JsonObject? get required => _$this._required; + set required(covariant JsonObject? required) => _$this._required = required; + String? _attribute; String? get attribute => _$this._attribute; set attribute(covariant String? attribute) => _$this._attribute = attribute; @@ -412,6 +421,7 @@ class BaseBuilder implements Builder, BaseInterfaceBuilder { BaseBuilder get _$this { final $v = _$v; if ($v != null) { + _required = $v.required; _attribute = $v.attribute; _$v = null; } @@ -433,7 +443,8 @@ class BaseBuilder implements Builder, BaseInterfaceBuilder { Base build() => _build(); _$Base _build() { - final _$result = _$v ?? _$Base._(attribute: attribute); + final _$result = _$v ?? + _$Base._(required: required, attribute: BuiltValueNullFieldError.checkNotNull(attribute, r'Base', 'attribute')); replace(_$result); return _$result; } @@ -449,6 +460,9 @@ abstract mixin class BaseAllOf_1InterfaceBuilder { abstract mixin class BaseAllOfInterfaceBuilder implements BaseInterfaceBuilder, BaseAllOf_1InterfaceBuilder { void replace(covariant BaseAllOfInterface other); void update(void Function(BaseAllOfInterfaceBuilder) updates); + JsonObject? get required; + set required(covariant JsonObject? required); + String? get attribute; set attribute(covariant String? attribute); @@ -458,13 +472,18 @@ abstract mixin class BaseAllOfInterfaceBuilder implements BaseInterfaceBuilder, class _$BaseAllOf extends BaseAllOf { @override - final String? attribute; + final JsonObject? required; + @override + final String attribute; @override - final String? attributeAllOf; + final String attributeAllOf; factory _$BaseAllOf([void Function(BaseAllOfBuilder)? updates]) => (BaseAllOfBuilder()..update(updates))._build(); - _$BaseAllOf._({this.attribute, this.attributeAllOf}) : super._(); + _$BaseAllOf._({this.required, required this.attribute, required this.attributeAllOf}) : super._() { + BuiltValueNullFieldError.checkNotNull(attribute, r'BaseAllOf', 'attribute'); + BuiltValueNullFieldError.checkNotNull(attributeAllOf, r'BaseAllOf', 'attributeAllOf'); + } @override BaseAllOf rebuild(void Function(BaseAllOfBuilder) updates) => (toBuilder()..update(updates)).build(); @@ -475,12 +494,16 @@ class _$BaseAllOf extends BaseAllOf { @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is BaseAllOf && attribute == other.attribute && attributeAllOf == other.attributeAllOf; + return other is BaseAllOf && + required == other.required && + attribute == other.attribute && + attributeAllOf == other.attributeAllOf; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, required.hashCode); _$hash = $jc(_$hash, attribute.hashCode); _$hash = $jc(_$hash, attributeAllOf.hashCode); _$hash = $jf(_$hash); @@ -490,6 +513,7 @@ class _$BaseAllOf extends BaseAllOf { @override String toString() { return (newBuiltValueToStringHelper(r'BaseAllOf') + ..add('required', required) ..add('attribute', attribute) ..add('attributeAllOf', attributeAllOf)) .toString(); @@ -499,6 +523,10 @@ class _$BaseAllOf extends BaseAllOf { class BaseAllOfBuilder implements Builder, BaseAllOfInterfaceBuilder { _$BaseAllOf? _$v; + JsonObject? _required; + JsonObject? get required => _$this._required; + set required(covariant JsonObject? required) => _$this._required = required; + String? _attribute; String? get attribute => _$this._attribute; set attribute(covariant String? attribute) => _$this._attribute = attribute; @@ -512,6 +540,7 @@ class BaseAllOfBuilder implements Builder, BaseAllO BaseAllOfBuilder get _$this { final $v = _$v; if ($v != null) { + _required = $v.required; _attribute = $v.attribute; _attributeAllOf = $v.attributeAllOf; _$v = null; @@ -534,7 +563,11 @@ class BaseAllOfBuilder implements Builder, BaseAllO BaseAllOf build() => _build(); _$BaseAllOf _build() { - final _$result = _$v ?? _$BaseAllOf._(attribute: attribute, attributeAllOf: attributeAllOf); + final _$result = _$v ?? + _$BaseAllOf._( + required: required, + attribute: BuiltValueNullFieldError.checkNotNull(attribute, r'BaseAllOf', 'attribute'), + attributeAllOf: BuiltValueNullFieldError.checkNotNull(attributeAllOf, r'BaseAllOf', 'attributeAllOf')); replace(_$result); return _$result; } @@ -549,11 +582,13 @@ abstract mixin class BaseOneOf1InterfaceBuilder { class _$BaseOneOf1 extends BaseOneOf1 { @override - final String? attributeOneOf; + final String attributeOneOf; factory _$BaseOneOf1([void Function(BaseOneOf1Builder)? updates]) => (BaseOneOf1Builder()..update(updates))._build(); - _$BaseOneOf1._({this.attributeOneOf}) : super._(); + _$BaseOneOf1._({required this.attributeOneOf}) : super._() { + BuiltValueNullFieldError.checkNotNull(attributeOneOf, r'BaseOneOf1', 'attributeOneOf'); + } @override BaseOneOf1 rebuild(void Function(BaseOneOf1Builder) updates) => (toBuilder()..update(updates)).build(); @@ -614,7 +649,9 @@ class BaseOneOf1Builder implements Builder, BaseO BaseOneOf1 build() => _build(); _$BaseOneOf1 _build() { - final _$result = _$v ?? _$BaseOneOf1._(attributeOneOf: attributeOneOf); + final _$result = _$v ?? + _$BaseOneOf1._( + attributeOneOf: BuiltValueNullFieldError.checkNotNull(attributeOneOf, r'BaseOneOf1', 'attributeOneOf')); replace(_$result); return _$result; } @@ -719,6 +756,7 @@ class BaseOneOfBuilder implements Builder, BaseOneO BaseOneOf build() => _build(); _$BaseOneOf _build() { + BaseOneOf._validate(this); _$BaseOneOf _$result; try { _$result = _$v ?? @@ -752,11 +790,13 @@ abstract mixin class BaseAnyOf1InterfaceBuilder { class _$BaseAnyOf1 extends BaseAnyOf1 { @override - final String? attributeAnyOf; + final String attributeAnyOf; factory _$BaseAnyOf1([void Function(BaseAnyOf1Builder)? updates]) => (BaseAnyOf1Builder()..update(updates))._build(); - _$BaseAnyOf1._({this.attributeAnyOf}) : super._(); + _$BaseAnyOf1._({required this.attributeAnyOf}) : super._() { + BuiltValueNullFieldError.checkNotNull(attributeAnyOf, r'BaseAnyOf1', 'attributeAnyOf'); + } @override BaseAnyOf1 rebuild(void Function(BaseAnyOf1Builder) updates) => (toBuilder()..update(updates)).build(); @@ -817,7 +857,9 @@ class BaseAnyOf1Builder implements Builder, BaseA BaseAnyOf1 build() => _build(); _$BaseAnyOf1 _build() { - final _$result = _$v ?? _$BaseAnyOf1._(attributeAnyOf: attributeAnyOf); + final _$result = _$v ?? + _$BaseAnyOf1._( + attributeAnyOf: BuiltValueNullFieldError.checkNotNull(attributeAnyOf, r'BaseAnyOf1', 'attributeAnyOf')); replace(_$result); return _$result; } @@ -922,6 +964,7 @@ class BaseAnyOfBuilder implements Builder, BaseAnyO BaseAnyOf build() => _build(); _$BaseAnyOf _build() { + BaseAnyOf._validate(this); _$BaseAnyOf _$result; try { _$result = _$v ?? @@ -961,6 +1004,9 @@ abstract mixin class BaseNestedAllOfInterfaceBuilder BaseNestedAllOf_3InterfaceBuilder { void replace(covariant BaseNestedAllOfInterface other); void update(void Function(BaseNestedAllOfInterfaceBuilder) updates); + JsonObject? get required; + set required(covariant JsonObject? required); + String? get attribute; set attribute(covariant String? attribute); @@ -982,9 +1028,11 @@ abstract mixin class BaseNestedAllOfInterfaceBuilder class _$BaseNestedAllOf extends BaseNestedAllOf { @override - final String? attribute; + final JsonObject? required; @override - final String? attributeAllOf; + final String attribute; + @override + final String attributeAllOf; @override final Base? base; @override @@ -992,14 +1040,24 @@ class _$BaseNestedAllOf extends BaseNestedAllOf { @override final BaseAnyOf1? baseAnyOf1; @override - final String? attributeNestedAllOf; + final String attributeNestedAllOf; factory _$BaseNestedAllOf([void Function(BaseNestedAllOfBuilder)? updates]) => (BaseNestedAllOfBuilder()..update(updates))._build(); _$BaseNestedAllOf._( - {this.attribute, this.attributeAllOf, this.base, this.baseOneOf1, this.baseAnyOf1, this.attributeNestedAllOf}) - : super._(); + {this.required, + required this.attribute, + required this.attributeAllOf, + this.base, + this.baseOneOf1, + this.baseAnyOf1, + required this.attributeNestedAllOf}) + : super._() { + BuiltValueNullFieldError.checkNotNull(attribute, r'BaseNestedAllOf', 'attribute'); + BuiltValueNullFieldError.checkNotNull(attributeAllOf, r'BaseNestedAllOf', 'attributeAllOf'); + BuiltValueNullFieldError.checkNotNull(attributeNestedAllOf, r'BaseNestedAllOf', 'attributeNestedAllOf'); + } @override BaseNestedAllOf rebuild(void Function(BaseNestedAllOfBuilder) updates) => (toBuilder()..update(updates)).build(); @@ -1011,6 +1069,7 @@ class _$BaseNestedAllOf extends BaseNestedAllOf { bool operator ==(Object other) { if (identical(other, this)) return true; return other is BaseNestedAllOf && + required == other.required && attribute == other.attribute && attributeAllOf == other.attributeAllOf && base == other.base && @@ -1022,6 +1081,7 @@ class _$BaseNestedAllOf extends BaseNestedAllOf { @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, required.hashCode); _$hash = $jc(_$hash, attribute.hashCode); _$hash = $jc(_$hash, attributeAllOf.hashCode); _$hash = $jc(_$hash, base.hashCode); @@ -1035,6 +1095,7 @@ class _$BaseNestedAllOf extends BaseNestedAllOf { @override String toString() { return (newBuiltValueToStringHelper(r'BaseNestedAllOf') + ..add('required', required) ..add('attribute', attribute) ..add('attributeAllOf', attributeAllOf) ..add('base', base) @@ -1049,6 +1110,10 @@ class BaseNestedAllOfBuilder implements Builder, BaseNestedAllOfInterfaceBuilder { _$BaseNestedAllOf? _$v; + JsonObject? _required; + JsonObject? get required => _$this._required; + set required(covariant JsonObject? required) => _$this._required = required; + String? _attribute; String? get attribute => _$this._attribute; set attribute(covariant String? attribute) => _$this._attribute = attribute; @@ -1079,6 +1144,7 @@ class BaseNestedAllOfBuilder BaseNestedAllOfBuilder get _$this { final $v = _$v; if ($v != null) { + _required = $v.required; _attribute = $v.attribute; _attributeAllOf = $v.attributeAllOf; _base = $v.base?.toBuilder(); @@ -1109,12 +1175,15 @@ class BaseNestedAllOfBuilder try { _$result = _$v ?? _$BaseNestedAllOf._( - attribute: attribute, - attributeAllOf: attributeAllOf, + required: required, + attribute: BuiltValueNullFieldError.checkNotNull(attribute, r'BaseNestedAllOf', 'attribute'), + attributeAllOf: + BuiltValueNullFieldError.checkNotNull(attributeAllOf, r'BaseNestedAllOf', 'attributeAllOf'), base: _base?.build(), baseOneOf1: _baseOneOf1?.build(), baseAnyOf1: _baseAnyOf1?.build(), - attributeNestedAllOf: attributeNestedAllOf); + attributeNestedAllOf: BuiltValueNullFieldError.checkNotNull( + attributeNestedAllOf, r'BaseNestedAllOf', 'attributeNestedAllOf')); } catch (_) { late String _$failedField; try { @@ -1143,12 +1212,14 @@ abstract mixin class BaseNestedOneOf3InterfaceBuilder { class _$BaseNestedOneOf3 extends BaseNestedOneOf3 { @override - final String? attributeNestedOneOf; + final String attributeNestedOneOf; factory _$BaseNestedOneOf3([void Function(BaseNestedOneOf3Builder)? updates]) => (BaseNestedOneOf3Builder()..update(updates))._build(); - _$BaseNestedOneOf3._({this.attributeNestedOneOf}) : super._(); + _$BaseNestedOneOf3._({required this.attributeNestedOneOf}) : super._() { + BuiltValueNullFieldError.checkNotNull(attributeNestedOneOf, r'BaseNestedOneOf3', 'attributeNestedOneOf'); + } @override BaseNestedOneOf3 rebuild(void Function(BaseNestedOneOf3Builder) updates) => (toBuilder()..update(updates)).build(); @@ -1212,7 +1283,10 @@ class BaseNestedOneOf3Builder BaseNestedOneOf3 build() => _build(); _$BaseNestedOneOf3 _build() { - final _$result = _$v ?? _$BaseNestedOneOf3._(attributeNestedOneOf: attributeNestedOneOf); + final _$result = _$v ?? + _$BaseNestedOneOf3._( + attributeNestedOneOf: BuiltValueNullFieldError.checkNotNull( + attributeNestedOneOf, r'BaseNestedOneOf3', 'attributeNestedOneOf')); replace(_$result); return _$result; } @@ -1350,6 +1424,7 @@ class BaseNestedOneOfBuilder BaseNestedOneOf build() => _build(); _$BaseNestedOneOf _build() { + BaseNestedOneOf._validate(this); _$BaseNestedOneOf _$result; try { _$result = _$v ?? @@ -1389,12 +1464,14 @@ abstract mixin class BaseNestedAnyOf3InterfaceBuilder { class _$BaseNestedAnyOf3 extends BaseNestedAnyOf3 { @override - final String? attributeNestedAnyOf; + final String attributeNestedAnyOf; factory _$BaseNestedAnyOf3([void Function(BaseNestedAnyOf3Builder)? updates]) => (BaseNestedAnyOf3Builder()..update(updates))._build(); - _$BaseNestedAnyOf3._({this.attributeNestedAnyOf}) : super._(); + _$BaseNestedAnyOf3._({required this.attributeNestedAnyOf}) : super._() { + BuiltValueNullFieldError.checkNotNull(attributeNestedAnyOf, r'BaseNestedAnyOf3', 'attributeNestedAnyOf'); + } @override BaseNestedAnyOf3 rebuild(void Function(BaseNestedAnyOf3Builder) updates) => (toBuilder()..update(updates)).build(); @@ -1458,7 +1535,10 @@ class BaseNestedAnyOf3Builder BaseNestedAnyOf3 build() => _build(); _$BaseNestedAnyOf3 _build() { - final _$result = _$v ?? _$BaseNestedAnyOf3._(attributeNestedAnyOf: attributeNestedAnyOf); + final _$result = _$v ?? + _$BaseNestedAnyOf3._( + attributeNestedAnyOf: BuiltValueNullFieldError.checkNotNull( + attributeNestedAnyOf, r'BaseNestedAnyOf3', 'attributeNestedAnyOf')); replace(_$result); return _$result; } @@ -1596,6 +1676,7 @@ class BaseNestedAnyOfBuilder BaseNestedAnyOf build() => _build(); _$BaseNestedAnyOf _build() { + BaseNestedAnyOf._validate(this); _$BaseNestedAnyOf _$result; try { _$result = _$v ?? diff --git a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.json b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.json index 0986b256c00..5b30598be24 100644 --- a/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.json +++ b/packages/dynamite/dynamite_end_to_end_test/lib/nested_ofs.openapi.json @@ -8,7 +8,13 @@ "schemas": { "Base": { "type": "object", + "required": [ + "attribute" + ], "properties": { + "required": [ + "attribute" + ], "attribute": { "type": "string" } @@ -21,6 +27,9 @@ }, { "type": "object", + "required": [ + "attribute-allOf" + ], "properties": { "attribute-allOf": { "type": "string" @@ -36,6 +45,9 @@ }, { "type": "object", + "required": [ + "attribute-oneOf" + ], "properties": { "attribute-oneOf": { "type": "string" @@ -51,6 +63,9 @@ }, { "type": "object", + "required": [ + "attribute-anyOf" + ], "properties": { "attribute-anyOf": { "type": "string" @@ -72,6 +87,9 @@ }, { "type": "object", + "required": [ + "attribute-nested-allOf" + ], "properties": { "attribute-nested-allOf": { "type": "string" @@ -93,6 +111,9 @@ }, { "type": "object", + "required": [ + "attribute-nested-oneOf" + ], "properties": { "attribute-nested-oneOf": { "type": "string" @@ -114,6 +135,9 @@ }, { "type": "object", + "required": [ + "attribute-nested-anyOf" + ], "properties": { "attribute-nested-anyOf": { "type": "string" diff --git a/packages/dynamite/dynamite_end_to_end_test/pubspec.yaml b/packages/dynamite/dynamite_end_to_end_test/pubspec.yaml index 05e044c00d8..a9447575388 100644 --- a/packages/dynamite/dynamite_end_to_end_test/pubspec.yaml +++ b/packages/dynamite/dynamite_end_to_end_test/pubspec.yaml @@ -9,6 +9,7 @@ environment: dependencies: built_collection: ^5.0.0 built_value: ^8.0.0 + collection: ^1.0.0 dynamite_runtime: git: url: https://github.com/nextcloud/neon diff --git a/packages/dynamite/dynamite_end_to_end_test/test/nested_ofs_test.dart b/packages/dynamite/dynamite_end_to_end_test/test/nested_ofs_test.dart index 16ca96a3286..c3385ff50c5 100644 --- a/packages/dynamite/dynamite_end_to_end_test/test/nested_ofs_test.dart +++ b/packages/dynamite/dynamite_end_to_end_test/test/nested_ofs_test.dart @@ -1,4 +1,5 @@ import 'package:built_value/json_object.dart'; +import 'package:built_value/serializer.dart'; import 'package:dynamite_end_to_end_test/nested_ofs.openapi.dart'; import 'package:test/test.dart'; @@ -37,48 +38,30 @@ void main() { final object = BaseNestedOneOf( (final b) => b ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..baseAllOf.update((final b) {}) ..baseOneOf.update( (final b) => b ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..base.update((final b) {}) ..baseOneOf1.attributeOneOf = 'baseOneOfAttributeOneOfValue', - ) - ..baseAnyOf.update( - (final b) => b - ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..base.update((final b) {}) - ..baseAnyOf1.update((final b) {}), - ) - ..baseNestedOneOf3.update((final b) {}), + ), ); final json = { 'attribute-oneOf': 'baseOneOfAttributeOneOfValue', }; - expect(object.toJson(), equals(json)); expect(BaseNestedOneOf.fromJson(json), equals(object)); + expect(object.toJson(), equals(json)); }); test('BaseNestedAnyOf', () { final object = BaseNestedAnyOf( (final b) => b ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..baseAllOf.update((final b) {}) ..baseOneOf.update( (final b) => b ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..base.update((final b) {}) ..baseOneOf1.attributeOneOf = 'baseOneOfAttributeOneOfValue', - ) - ..baseAnyOf.update( - (final b) => b - ..data = JsonObject(['attribute-oneOf', 'baseOneOfAttributeOneOfValue']) - ..base.update((final b) {}) - ..baseAnyOf1.update((final b) {}), - ) - ..baseNestedAnyOf3.update((final b) {}), + ), ); final json = { @@ -88,4 +71,56 @@ void main() { expect(object.toJson(), equals(json)); expect(BaseNestedAnyOf.fromJson(json), equals(object)); }); + + test('BaseOneOf', () { + final object = BaseOneOf( + (final b) => b + ..data = JsonObject(['attribute-oneOf', 'attributeOneOfValue']) + ..baseOneOf1.attributeOneOf = 'attributeOneOfValue', + ); + var json = {'attribute-oneOf': 'attributeOneOfValue'}; + expect(BaseOneOf.fromJson(json), equals(object)); + expect(object.toJson(), equals(json)); + + final builder = BaseOneOfBuilder() + ..data = JsonObject(['attribute-oneOf', 'attributeOneOfValue']) + ..baseOneOf1.attributeOneOf = 'attributeOneOfValue' + ..base.attribute = 'baseAttributeValue'; + json = { + 'attribute-oneOf': 'attributeOneOfValue', + 'attribute': 'baseAttributeValue', + }; + expect(builder.build, throwsA(isA())); + expect(() => BaseOneOf.fromJson(json), throwsA(isA())); + + json = {}; + expect(() => BaseOneOf.fromJson(json), throwsA(isA())); + }); + + test('BaseAnyOf', () { + var object = BaseAnyOf( + (final b) => b + ..data = JsonObject(['attribute-anyOf', 'attributeAnyOfValue']) + ..baseAnyOf1.attributeAnyOf = 'attributeAnyOfValue', + ); + var json = {'attribute-anyOf': 'attributeAnyOfValue'}; + expect(BaseAnyOf.fromJson(json), equals(object)); + expect(object.toJson(), equals(json)); + + object = BaseAnyOf( + (final b) => b + ..data = JsonObject(['attribute-anyOf', 'attributeAnyOfValue', 'attribute', 'baseAttributeValue']) + ..baseAnyOf1.attributeAnyOf = 'attributeAnyOfValue' + ..base.attribute = 'baseAttributeValue', + ); + json = { + 'attribute-anyOf': 'attributeAnyOfValue', + 'attribute': 'baseAttributeValue', + }; + expect(BaseAnyOf.fromJson(json), equals(object)); + expect(object.toJson(), equals(json)); + + json = {}; + expect(() => BaseAnyOf.fromJson(json), throwsA(isA())); + }); } diff --git a/packages/nextcloud/lib/src/api/comments.openapi.dart b/packages/nextcloud/lib/src/api/comments.openapi.dart index 14a351032aa..f8dacfb3b6b 100644 --- a/packages/nextcloud/lib/src/api/comments.openapi.dart +++ b/packages/nextcloud/lib/src/api/comments.openapi.dart @@ -2,12 +2,21 @@ // ignore_for_file: discarded_futures // ignore_for_file: public_member_api_docs // ignore_for_file: unreachable_switch_case +import 'dart:convert'; +import 'dart:typed_data'; +import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; +import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; +import 'package:dynamite_runtime/models.dart'; +import 'package:dynamite_runtime/utils.dart'; +import 'package:meta/meta.dart'; +import 'package:universal_io/io.dart'; part 'comments.openapi.g.dart'; @@ -21,7 +30,7 @@ class Client extends DynamiteClient { super.authentications, }); - Client.fromClient(final DynamiteClient client) + Client.fromClient(DynamiteClient client) : super( client.baseURL, baseHeaders: client.baseHeaders, @@ -38,15 +47,14 @@ abstract interface class Capabilities_FilesInterface { abstract class Capabilities_Files implements Capabilities_FilesInterface, Built { - factory Capabilities_Files([final void Function(Capabilities_FilesBuilder)? b]) = _$Capabilities_Files; + factory Capabilities_Files([void Function(Capabilities_FilesBuilder)? b]) = _$Capabilities_Files; // coverage:ignore-start const Capabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities_Files.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory Capabilities_Files.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -62,14 +70,14 @@ abstract interface class CapabilitiesInterface { } abstract class Capabilities implements CapabilitiesInterface, Built { - factory Capabilities([final void Function(CapabilitiesBuilder)? b]) = _$Capabilities; + factory Capabilities([void Function(CapabilitiesBuilder)? b]) = _$Capabilities; // coverage:ignore-start const Capabilities._(); // coverage:ignore-end // coverage:ignore-start - factory Capabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory Capabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -81,9 +89,9 @@ abstract class Capabilities implements CapabilitiesInterface, Built _$capabilitiesFilesSerializer = _$Capabilities_FilesSerializer(); -Serializer _$capabilitiesSerializer = _$CapabilitiesSerializer(); +Serializer _$capabilitiesFilesSerializer = + new _$Capabilities_FilesSerializer(); +Serializer _$capabilitiesSerializer = + new _$CapabilitiesSerializer(); -class _$Capabilities_FilesSerializer implements StructuredSerializer { +class _$Capabilities_FilesSerializer + implements StructuredSerializer { @override final Iterable types = const [Capabilities_Files, _$Capabilities_Files]; @override final String wireName = 'Capabilities_Files'; @override - Iterable serialize(Serializers serializers, Capabilities_Files object, + Iterable serialize( + Serializers serializers, Capabilities_Files object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'comments', - serializers.serialize(object.comments, specifiedType: const FullType(bool)), + serializers.serialize(object.comments, + specifiedType: const FullType(bool)), ]; return result; } @override - Capabilities_Files deserialize(Serializers serializers, Iterable serialized, + Capabilities_Files deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_FilesBuilder(); + final result = new Capabilities_FilesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -38,7 +44,8 @@ class _$Capabilities_FilesSerializer implements StructuredSerializer { {FullType specifiedType = FullType.unspecified}) { final result = [ 'files', - serializers.serialize(object.files, specifiedType: const FullType(Capabilities_Files)), + serializers.serialize(object.files, + specifiedType: const FullType(Capabilities_Files)), ]; return result; } @override - Capabilities deserialize(Serializers serializers, Iterable serialized, + Capabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CapabilitiesBuilder(); + final result = new CapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -76,8 +85,9 @@ class _$CapabilitiesSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'files': - result.files.replace( - serializers.deserialize(value, specifiedType: const FullType(Capabilities_Files))! as Capabilities_Files); + result.files.replace(serializers.deserialize(value, + specifiedType: const FullType(Capabilities_Files))! + as Capabilities_Files); break; } } @@ -97,19 +107,23 @@ class _$Capabilities_Files extends Capabilities_Files { @override final bool comments; - factory _$Capabilities_Files([void Function(Capabilities_FilesBuilder)? updates]) => - (Capabilities_FilesBuilder()..update(updates))._build(); + factory _$Capabilities_Files( + [void Function(Capabilities_FilesBuilder)? updates]) => + (new Capabilities_FilesBuilder()..update(updates))._build(); _$Capabilities_Files._({required this.comments}) : super._() { - BuiltValueNullFieldError.checkNotNull(comments, r'Capabilities_Files', 'comments'); + BuiltValueNullFieldError.checkNotNull( + comments, r'Capabilities_Files', 'comments'); } @override - Capabilities_Files rebuild(void Function(Capabilities_FilesBuilder) updates) => + Capabilities_Files rebuild( + void Function(Capabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - Capabilities_FilesBuilder toBuilder() => Capabilities_FilesBuilder()..replace(this); + Capabilities_FilesBuilder toBuilder() => + new Capabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { @@ -127,12 +141,16 @@ class _$Capabilities_Files extends Capabilities_Files { @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_Files')..add('comments', comments)).toString(); + return (newBuiltValueToStringHelper(r'Capabilities_Files') + ..add('comments', comments)) + .toString(); } } class Capabilities_FilesBuilder - implements Builder, Capabilities_FilesInterfaceBuilder { + implements + Builder, + Capabilities_FilesInterfaceBuilder { _$Capabilities_Files? _$v; bool? _comments; @@ -166,8 +184,9 @@ class Capabilities_FilesBuilder _$Capabilities_Files _build() { final _$result = _$v ?? - _$Capabilities_Files._( - comments: BuiltValueNullFieldError.checkNotNull(comments, r'Capabilities_Files', 'comments')); + new _$Capabilities_Files._( + comments: BuiltValueNullFieldError.checkNotNull( + comments, r'Capabilities_Files', 'comments')); replace(_$result); return _$result; } @@ -185,17 +204,18 @@ class _$Capabilities extends Capabilities { final Capabilities_Files files; factory _$Capabilities([void Function(CapabilitiesBuilder)? updates]) => - (CapabilitiesBuilder()..update(updates))._build(); + (new CapabilitiesBuilder()..update(updates))._build(); _$Capabilities._({required this.files}) : super._() { BuiltValueNullFieldError.checkNotNull(files, r'Capabilities', 'files'); } @override - Capabilities rebuild(void Function(CapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + Capabilities rebuild(void Function(CapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CapabilitiesBuilder toBuilder() => CapabilitiesBuilder()..replace(this); + CapabilitiesBuilder toBuilder() => new CapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { @@ -213,16 +233,22 @@ class _$Capabilities extends Capabilities { @override String toString() { - return (newBuiltValueToStringHelper(r'Capabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'Capabilities')..add('files', files)) + .toString(); } } -class CapabilitiesBuilder implements Builder, CapabilitiesInterfaceBuilder { +class CapabilitiesBuilder + implements + Builder, + CapabilitiesInterfaceBuilder { _$Capabilities? _$v; Capabilities_FilesBuilder? _files; - Capabilities_FilesBuilder get files => _$this._files ??= Capabilities_FilesBuilder(); - set files(covariant Capabilities_FilesBuilder? files) => _$this._files = files; + Capabilities_FilesBuilder get files => + _$this._files ??= new Capabilities_FilesBuilder(); + set files(covariant Capabilities_FilesBuilder? files) => + _$this._files = files; CapabilitiesBuilder(); @@ -252,14 +278,15 @@ class CapabilitiesBuilder implements Builder, _$Capabilities _build() { _$Capabilities _$result; try { - _$result = _$v ?? _$Capabilities._(files: files.build()); + _$result = _$v ?? new _$Capabilities._(files: files.build()); } catch (_) { late String _$failedField; try { _$failedField = 'files'; files.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Capabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'Capabilities', _$failedField, e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 77ed17961fd..570fd03e619 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -14,6 +14,7 @@ import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; import 'package:dynamite_runtime/models.dart'; +import 'package:dynamite_runtime/utils.dart'; import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; @@ -29,7 +30,7 @@ class Client extends DynamiteClient { super.authentications, }); - Client.fromClient(final DynamiteClient client) + Client.fromClient(DynamiteClient client) : super( client.baseURL, baseHeaders: client.baseHeaders, @@ -102,24 +103,24 @@ class Client extends DynamiteClient { /// * [getStatus] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getStatusRaw() { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; - const path = '/status.php'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/status.php'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( - response: executeRequest( + response: this.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Status), + bodyType: FullType(Status), headersType: null, serializers: _jsonSerializers, ); @@ -145,9 +146,8 @@ class AppPasswordClient { /// /// See: /// * [getAppPasswordRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> getAppPassword({ - final bool oCSAPIRequest = true, - }) async { + Future> getAppPassword( + {bool oCSAPIRequest = true}) async { final rawResponse = getAppPasswordRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -172,14 +172,13 @@ class AppPasswordClient { /// See: /// * [getAppPassword] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse getAppPasswordRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse getAppPasswordRaw( + {bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -190,7 +189,7 @@ class AppPasswordClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -198,19 +197,19 @@ class AppPasswordClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/getapppassword'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/getapppassword'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(AppPasswordGetAppPasswordResponseApplicationJson), + bodyType: FullType(AppPasswordGetAppPasswordResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -230,9 +229,8 @@ class AppPasswordClient { /// /// See: /// * [rotateAppPasswordRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> rotateAppPassword({ - final bool oCSAPIRequest = true, - }) async { + Future> rotateAppPassword( + {bool oCSAPIRequest = true}) async { final rawResponse = rotateAppPasswordRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -257,14 +255,13 @@ class AppPasswordClient { /// See: /// * [rotateAppPassword] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse rotateAppPasswordRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse rotateAppPasswordRaw( + {bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -275,7 +272,7 @@ class AppPasswordClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -283,19 +280,19 @@ class AppPasswordClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/apppassword/rotate'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/apppassword/rotate'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(AppPasswordRotateAppPasswordResponseApplicationJson), + bodyType: FullType(AppPasswordRotateAppPasswordResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -315,9 +312,8 @@ class AppPasswordClient { /// /// See: /// * [deleteAppPasswordRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> deleteAppPassword({ - final bool oCSAPIRequest = true, - }) async { + Future> deleteAppPassword( + {bool oCSAPIRequest = true}) async { final rawResponse = deleteAppPasswordRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -342,14 +338,13 @@ class AppPasswordClient { /// See: /// * [deleteAppPassword] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse deleteAppPasswordRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse deleteAppPasswordRaw( + {bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -360,7 +355,7 @@ class AppPasswordClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -368,19 +363,19 @@ class AppPasswordClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/apppassword'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/apppassword'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'delete', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(AppPasswordDeleteAppPasswordResponseApplicationJson), + bodyType: FullType(AppPasswordDeleteAppPasswordResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -412,13 +407,13 @@ class AutoCompleteClient { /// See: /// * [$getRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> $get({ - required final String search, - final String? itemType, - final String? itemId, - final String? sorter, - final List? shareTypes, - final int limit = 10, - final bool oCSAPIRequest = true, + required String search, + String? itemType, + String? itemId, + String? sorter, + List? shareTypes, + int limit = 10, + bool oCSAPIRequest = true, }) async { final rawResponse = $getRaw( search: search, @@ -456,19 +451,19 @@ class AutoCompleteClient { /// * [$get] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse $getRaw({ - required final String search, - final String? itemType, - final String? itemId, - final String? sorter, - final List? shareTypes, - final int limit = 10, - final bool oCSAPIRequest = true, + required String search, + String? itemType, + String? itemId, + String? sorter, + List? shareTypes, + int limit = 10, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -479,7 +474,7 @@ class AutoCompleteClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -487,35 +482,35 @@ class AutoCompleteClient { } // coverage:ignore-end - queryParameters['search'] = search; + _queryParameters['search'] = search; if (itemType != null) { - queryParameters['itemType'] = itemType; + _queryParameters['itemType'] = itemType; } if (itemId != null) { - queryParameters['itemId'] = itemId; + _queryParameters['itemId'] = itemId; } if (sorter != null) { - queryParameters['sorter'] = sorter; + _queryParameters['sorter'] = sorter; } if (shareTypes != null) { - queryParameters['shareTypes[]'] = shareTypes.map((final e) => e.toString()); + _queryParameters['shareTypes[]'] = shareTypes.map((final e) => e.toString()); } if (limit != 10) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/autocomplete/get'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/autocomplete/get'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(AutoCompleteGetResponseApplicationJson), + bodyType: FullType(AutoCompleteGetResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -544,8 +539,8 @@ class AvatarClient { /// See: /// * [getAvatarDarkRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getAvatarDark({ - required final String userId, - required final int size, + required String userId, + required int size, }) async { final rawResponse = getAvatarDarkRaw( userId: userId, @@ -574,14 +569,14 @@ class AvatarClient { /// * [getAvatarDark] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getAvatarDarkRaw({ - required final String userId, - required final int size, + required String userId, + required int size, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -592,27 +587,27 @@ class AvatarClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final userId0 = Uri.encodeQueryComponent(userId); - final size0 = Uri.encodeQueryComponent(size.toString()); - final path = '/index.php/avatar/$userId0/$size0/dark'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _userId = Uri.encodeQueryComponent(userId); + final _size = Uri.encodeQueryComponent(size.toString()); + final _path = '/index.php/avatar/$_userId/$_size/dark'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), - headersType: const FullType(AvatarAvatarGetAvatarDarkHeaders), + bodyType: FullType(Uint8List), + headersType: FullType(AvatarAvatarGetAvatarDarkHeaders), serializers: _jsonSerializers, ); } @@ -633,8 +628,8 @@ class AvatarClient { /// See: /// * [getAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getAvatar({ - required final String userId, - required final int size, + required String userId, + required int size, }) async { final rawResponse = getAvatarRaw( userId: userId, @@ -663,14 +658,14 @@ class AvatarClient { /// * [getAvatar] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getAvatarRaw({ - required final String userId, - required final int size, + required String userId, + required int size, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -681,27 +676,27 @@ class AvatarClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final userId0 = Uri.encodeQueryComponent(userId); - final size0 = Uri.encodeQueryComponent(size.toString()); - final path = '/index.php/avatar/$userId0/$size0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _userId = Uri.encodeQueryComponent(userId); + final _size = Uri.encodeQueryComponent(size.toString()); + final _path = '/index.php/avatar/$_userId/$_size'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), - headersType: const FullType(AvatarAvatarGetAvatarHeaders), + bodyType: FullType(Uint8List), + headersType: FullType(AvatarAvatarGetAvatarHeaders), serializers: _jsonSerializers, ); } @@ -726,7 +721,7 @@ class ClientFlowLoginV2Client { /// /// See: /// * [pollRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> poll({required final String token}) async { + Future> poll({required String token}) async { final rawResponse = pollRaw( token: token, ); @@ -751,12 +746,12 @@ class ClientFlowLoginV2Client { /// See: /// * [poll] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse pollRaw({required final String token}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse pollRaw({required String token}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -767,25 +762,25 @@ class ClientFlowLoginV2Client { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - queryParameters['token'] = token; - const path = '/index.php/login/v2/poll'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['token'] = token; + final _path = '/index.php/login/v2/poll'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(LoginFlowV2Credentials), + bodyType: FullType(LoginFlowV2Credentials), headersType: null, serializers: _jsonSerializers, ); @@ -821,11 +816,11 @@ class ClientFlowLoginV2Client { /// * [init] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse initRaw() { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -836,24 +831,24 @@ class ClientFlowLoginV2Client { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - const path = '/index.php/login/v2'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/index.php/login/v2'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(LoginFlowV2), + bodyType: FullType(LoginFlowV2), headersType: null, serializers: _jsonSerializers, ); @@ -881,8 +876,8 @@ class CollaborationResourcesClient { /// See: /// * [searchCollectionsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> searchCollections({ - required final String filter, - final bool oCSAPIRequest = true, + required String filter, + bool oCSAPIRequest = true, }) async { final rawResponse = searchCollectionsRaw( filter: filter, @@ -911,14 +906,14 @@ class CollaborationResourcesClient { /// * [searchCollections] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse searchCollectionsRaw({ - required final String filter, - final bool oCSAPIRequest = true, + required String filter, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -929,7 +924,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -937,20 +932,20 @@ class CollaborationResourcesClient { } // coverage:ignore-end - final filter0 = Uri.encodeQueryComponent(filter); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/collections/search/$filter0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _filter = Uri.encodeQueryComponent(filter); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/collections/search/$_filter'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson), + bodyType: FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -973,8 +968,8 @@ class CollaborationResourcesClient { /// See: /// * [listCollectionRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> listCollection({ - required final int collectionId, - final bool oCSAPIRequest = true, + required int collectionId, + bool oCSAPIRequest = true, }) async { final rawResponse = listCollectionRaw( collectionId: collectionId, @@ -1004,14 +999,14 @@ class CollaborationResourcesClient { /// * [listCollection] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse listCollectionRaw({ - required final int collectionId, - final bool oCSAPIRequest = true, + required int collectionId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1022,7 +1017,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1030,20 +1025,20 @@ class CollaborationResourcesClient { } // coverage:ignore-end - final collectionId0 = Uri.encodeQueryComponent(collectionId.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/collections/$collectionId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _collectionId = Uri.encodeQueryComponent(collectionId.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/collections/$_collectionId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesListCollectionResponseApplicationJson), + bodyType: FullType(CollaborationResourcesListCollectionResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1067,9 +1062,9 @@ class CollaborationResourcesClient { /// See: /// * [renameCollectionRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> renameCollection({ - required final String collectionName, - required final int collectionId, - final bool oCSAPIRequest = true, + required String collectionName, + required int collectionId, + bool oCSAPIRequest = true, }) async { final rawResponse = renameCollectionRaw( collectionName: collectionName, @@ -1101,15 +1096,15 @@ class CollaborationResourcesClient { /// * [renameCollection] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse renameCollectionRaw({ - required final String collectionName, - required final int collectionId, - final bool oCSAPIRequest = true, + required String collectionName, + required int collectionId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1120,7 +1115,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1128,21 +1123,21 @@ class CollaborationResourcesClient { } // coverage:ignore-end - queryParameters['collectionName'] = collectionName; - final collectionId0 = Uri.encodeQueryComponent(collectionId.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/collections/$collectionId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['collectionName'] = collectionName; + final _collectionId = Uri.encodeQueryComponent(collectionId.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/collections/$_collectionId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'put', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesRenameCollectionResponseApplicationJson), + bodyType: FullType(CollaborationResourcesRenameCollectionResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1167,10 +1162,10 @@ class CollaborationResourcesClient { /// See: /// * [addResourceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> addResource({ - required final String resourceType, - required final String resourceId, - required final int collectionId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + required int collectionId, + bool oCSAPIRequest = true, }) async { final rawResponse = addResourceRaw( resourceType: resourceType, @@ -1204,16 +1199,16 @@ class CollaborationResourcesClient { /// * [addResource] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse addResourceRaw({ - required final String resourceType, - required final String resourceId, - required final int collectionId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + required int collectionId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1224,7 +1219,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1232,22 +1227,22 @@ class CollaborationResourcesClient { } // coverage:ignore-end - queryParameters['resourceType'] = resourceType; - queryParameters['resourceId'] = resourceId; - final collectionId0 = Uri.encodeQueryComponent(collectionId.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/collections/$collectionId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['resourceType'] = resourceType; + _queryParameters['resourceId'] = resourceId; + final _collectionId = Uri.encodeQueryComponent(collectionId.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/collections/$_collectionId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesAddResourceResponseApplicationJson), + bodyType: FullType(CollaborationResourcesAddResourceResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1272,10 +1267,10 @@ class CollaborationResourcesClient { /// See: /// * [removeResourceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> removeResource({ - required final String resourceType, - required final String resourceId, - required final int collectionId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + required int collectionId, + bool oCSAPIRequest = true, }) async { final rawResponse = removeResourceRaw( resourceType: resourceType, @@ -1309,16 +1304,16 @@ class CollaborationResourcesClient { /// * [removeResource] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse removeResourceRaw({ - required final String resourceType, - required final String resourceId, - required final int collectionId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + required int collectionId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1329,7 +1324,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1337,22 +1332,22 @@ class CollaborationResourcesClient { } // coverage:ignore-end - queryParameters['resourceType'] = resourceType; - queryParameters['resourceId'] = resourceId; - final collectionId0 = Uri.encodeQueryComponent(collectionId.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/collections/$collectionId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['resourceType'] = resourceType; + _queryParameters['resourceId'] = resourceId; + final _collectionId = Uri.encodeQueryComponent(collectionId.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/collections/$_collectionId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'delete', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesRemoveResourceResponseApplicationJson), + bodyType: FullType(CollaborationResourcesRemoveResourceResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1376,9 +1371,9 @@ class CollaborationResourcesClient { /// * [getCollectionsByResourceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getCollectionsByResource({ - required final String resourceType, - required final String resourceId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + bool oCSAPIRequest = true, }) async { final rawResponse = getCollectionsByResourceRaw( resourceType: resourceType, @@ -1410,15 +1405,15 @@ class CollaborationResourcesClient { @experimental DynamiteRawResponse getCollectionsByResourceRaw({ - required final String resourceType, - required final String resourceId, - final bool oCSAPIRequest = true, + required String resourceType, + required String resourceId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1429,7 +1424,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1437,21 +1432,21 @@ class CollaborationResourcesClient { } // coverage:ignore-end - final resourceType0 = Uri.encodeQueryComponent(resourceType); - final resourceId0 = Uri.encodeQueryComponent(resourceId); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/$resourceType0/$resourceId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _resourceType = Uri.encodeQueryComponent(resourceType); + final _resourceId = Uri.encodeQueryComponent(resourceId); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/$_resourceType/$_resourceId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson), + bodyType: FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1478,10 +1473,10 @@ class CollaborationResourcesClient { /// * [createCollectionOnResourceRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> createCollectionOnResource({ - required final String name, - required final String baseResourceType, - required final String baseResourceId, - final bool oCSAPIRequest = true, + required String name, + required String baseResourceType, + required String baseResourceId, + bool oCSAPIRequest = true, }) async { final rawResponse = createCollectionOnResourceRaw( name: name, @@ -1517,16 +1512,16 @@ class CollaborationResourcesClient { @experimental DynamiteRawResponse createCollectionOnResourceRaw({ - required final String name, - required final String baseResourceType, - required final String baseResourceId, - final bool oCSAPIRequest = true, + required String name, + required String baseResourceType, + required String baseResourceId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1537,7 +1532,7 @@ class CollaborationResourcesClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1545,22 +1540,22 @@ class CollaborationResourcesClient { } // coverage:ignore-end - queryParameters['name'] = name; - final baseResourceType0 = Uri.encodeQueryComponent(baseResourceType); - final baseResourceId0 = Uri.encodeQueryComponent(baseResourceId); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/collaboration/resources/$baseResourceType0/$baseResourceId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['name'] = name; + final _baseResourceType = Uri.encodeQueryComponent(baseResourceType); + final _baseResourceId = Uri.encodeQueryComponent(baseResourceId); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/collaboration/resources/$_baseResourceType/$_baseResourceId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson), + bodyType: FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1590,8 +1585,8 @@ class GuestAvatarClient { /// See: /// * [getAvatarDarkRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getAvatarDark({ - required final String guestName, - required final String size, + required String guestName, + required String size, }) async { final rawResponse = getAvatarDarkRaw( guestName: guestName, @@ -1621,14 +1616,14 @@ class GuestAvatarClient { /// * [getAvatarDark] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getAvatarDarkRaw({ - required final String guestName, - required final String size, + required String guestName, + required String size, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1639,26 +1634,26 @@ class GuestAvatarClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final guestName0 = Uri.encodeQueryComponent(guestName); - final size0 = Uri.encodeQueryComponent(size); - final path = '/index.php/avatar/guest/$guestName0/$size0/dark'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _guestName = Uri.encodeQueryComponent(guestName); + final _size = Uri.encodeQueryComponent(size); + final _path = '/index.php/avatar/guest/$_guestName/$_size/dark'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 201}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -1682,9 +1677,9 @@ class GuestAvatarClient { /// See: /// * [getAvatarRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getAvatar({ - required final String guestName, - required final String size, - final int? darkTheme = 0, + required String guestName, + required String size, + int? darkTheme = 0, }) async { final rawResponse = getAvatarRaw( guestName: guestName, @@ -1716,15 +1711,15 @@ class GuestAvatarClient { /// * [getAvatar] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getAvatarRaw({ - required final String guestName, - required final String size, - final int? darkTheme = 0, + required String guestName, + required String size, + int? darkTheme = 0, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1735,29 +1730,29 @@ class GuestAvatarClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final guestName0 = Uri.encodeQueryComponent(guestName); - final size0 = Uri.encodeQueryComponent(size); + final _guestName = Uri.encodeQueryComponent(guestName); + final _size = Uri.encodeQueryComponent(size); if (darkTheme != null && darkTheme != 0) { - queryParameters['darkTheme'] = darkTheme.toString(); + _queryParameters['darkTheme'] = darkTheme.toString(); } - final path = '/index.php/avatar/guest/$guestName0/$size0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/index.php/avatar/guest/$_guestName/$_size'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 201}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -1785,8 +1780,8 @@ class HoverCardClient { /// See: /// * [getUserRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getUser({ - required final String userId, - final bool oCSAPIRequest = true, + required String userId, + bool oCSAPIRequest = true, }) async { final rawResponse = getUserRaw( userId: userId, @@ -1815,14 +1810,14 @@ class HoverCardClient { /// * [getUser] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getUserRaw({ - required final String userId, - final bool oCSAPIRequest = true, + required String userId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1833,7 +1828,7 @@ class HoverCardClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1841,20 +1836,20 @@ class HoverCardClient { } // coverage:ignore-end - final userId0 = Uri.encodeQueryComponent(userId); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/hovercard/v1/$userId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _userId = Uri.encodeQueryComponent(userId); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/hovercard/v1/$_userId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(HoverCardGetUserResponseApplicationJson), + bodyType: FullType(HoverCardGetUserResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1882,8 +1877,8 @@ class NavigationClient { /// See: /// * [getAppsNavigationRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getAppsNavigation({ - final int absolute = 0, - final bool oCSAPIRequest = true, + int absolute = 0, + bool oCSAPIRequest = true, }) async { final rawResponse = getAppsNavigationRaw( absolute: absolute, @@ -1912,14 +1907,14 @@ class NavigationClient { /// * [getAppsNavigation] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getAppsNavigationRaw({ - final int absolute = 0, - final bool oCSAPIRequest = true, + int absolute = 0, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1930,7 +1925,7 @@ class NavigationClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1939,21 +1934,21 @@ class NavigationClient { // coverage:ignore-end if (absolute != 0) { - queryParameters['absolute'] = absolute.toString(); + _queryParameters['absolute'] = absolute.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/navigation/apps'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/navigation/apps'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(NavigationGetAppsNavigationResponseApplicationJson), + bodyType: FullType(NavigationGetAppsNavigationResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1975,8 +1970,8 @@ class NavigationClient { /// See: /// * [getSettingsNavigationRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getSettingsNavigation({ - final int absolute = 0, - final bool oCSAPIRequest = true, + int absolute = 0, + bool oCSAPIRequest = true, }) async { final rawResponse = getSettingsNavigationRaw( absolute: absolute, @@ -2005,14 +2000,14 @@ class NavigationClient { /// * [getSettingsNavigation] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getSettingsNavigationRaw({ - final int absolute = 0, - final bool oCSAPIRequest = true, + int absolute = 0, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2023,7 +2018,7 @@ class NavigationClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2032,21 +2027,21 @@ class NavigationClient { // coverage:ignore-end if (absolute != 0) { - queryParameters['absolute'] = absolute.toString(); + _queryParameters['absolute'] = absolute.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/navigation/settings'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/navigation/settings'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(NavigationGetSettingsNavigationResponseApplicationJson), + bodyType: FullType(NavigationGetSettingsNavigationResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -2091,11 +2086,11 @@ class OcmClient { /// * [discovery] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse discoveryRaw() { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2106,25 +2101,25 @@ class OcmClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - const path = '/index.php/ocm-provider'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/index.php/ocm-provider'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(OcmDiscoveryResponseApplicationJson), - headersType: const FullType(OcmOcmDiscoveryHeaders), + bodyType: FullType(OcmDiscoveryResponseApplicationJson), + headersType: FullType(OcmOcmDiscoveryHeaders), serializers: _jsonSerializers, ); } @@ -2148,9 +2143,8 @@ class OcsClient { /// /// See: /// * [getCapabilitiesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> getCapabilities({ - final bool oCSAPIRequest = true, - }) async { + Future> getCapabilities( + {bool oCSAPIRequest = true}) async { final rawResponse = getCapabilitiesRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -2174,14 +2168,12 @@ class OcsClient { /// See: /// * [getCapabilities] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse getCapabilitiesRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse getCapabilitiesRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2192,25 +2184,25 @@ class OcsClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/cloud/capabilities'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/cloud/capabilities'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(OcsGetCapabilitiesResponseApplicationJson), + bodyType: FullType(OcsGetCapabilitiesResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -2246,13 +2238,13 @@ class PreviewClient { /// See: /// * [getPreviewByFileIdRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getPreviewByFileId({ - final int fileId = -1, - final int x = 32, - final int y = 32, - final int a = 0, - final int forceIcon = 1, - final String mode = 'fill', - final int mimeFallback = 0, + int fileId = -1, + int x = 32, + int y = 32, + int a = 0, + int forceIcon = 1, + String mode = 'fill', + int mimeFallback = 0, }) async { final rawResponse = getPreviewByFileIdRaw( fileId: fileId, @@ -2294,19 +2286,19 @@ class PreviewClient { /// * [getPreviewByFileId] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getPreviewByFileIdRaw({ - final int fileId = -1, - final int x = 32, - final int y = 32, - final int a = 0, - final int forceIcon = 1, - final String mode = 'fill', - final int mimeFallback = 0, + int fileId = -1, + int x = 32, + int y = 32, + int a = 0, + int forceIcon = 1, + String mode = 'fill', + int mimeFallback = 0, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2317,7 +2309,7 @@ class PreviewClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2326,38 +2318,38 @@ class PreviewClient { // coverage:ignore-end if (fileId != -1) { - queryParameters['fileId'] = fileId.toString(); + _queryParameters['fileId'] = fileId.toString(); } if (x != 32) { - queryParameters['x'] = x.toString(); + _queryParameters['x'] = x.toString(); } if (y != 32) { - queryParameters['y'] = y.toString(); + _queryParameters['y'] = y.toString(); } if (a != 0) { - queryParameters['a'] = a.toString(); + _queryParameters['a'] = a.toString(); } if (forceIcon != 1) { - queryParameters['forceIcon'] = forceIcon.toString(); + _queryParameters['forceIcon'] = forceIcon.toString(); } if (mode != 'fill') { - queryParameters['mode'] = mode; + _queryParameters['mode'] = mode; } if (mimeFallback != 0) { - queryParameters['mimeFallback'] = mimeFallback.toString(); + _queryParameters['mimeFallback'] = mimeFallback.toString(); } - const path = '/index.php/core/preview'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/index.php/core/preview'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -2387,13 +2379,13 @@ class PreviewClient { /// See: /// * [getPreviewRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getPreview({ - final String file = '', - final int x = 32, - final int y = 32, - final int a = 0, - final int forceIcon = 1, - final String mode = 'fill', - final int mimeFallback = 0, + String file = '', + int x = 32, + int y = 32, + int a = 0, + int forceIcon = 1, + String mode = 'fill', + int mimeFallback = 0, }) async { final rawResponse = getPreviewRaw( file: file, @@ -2435,19 +2427,19 @@ class PreviewClient { /// * [getPreview] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getPreviewRaw({ - final String file = '', - final int x = 32, - final int y = 32, - final int a = 0, - final int forceIcon = 1, - final String mode = 'fill', - final int mimeFallback = 0, + String file = '', + int x = 32, + int y = 32, + int a = 0, + int forceIcon = 1, + String mode = 'fill', + int mimeFallback = 0, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2458,7 +2450,7 @@ class PreviewClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2467,38 +2459,38 @@ class PreviewClient { // coverage:ignore-end if (file != '') { - queryParameters['file'] = file; + _queryParameters['file'] = file; } if (x != 32) { - queryParameters['x'] = x.toString(); + _queryParameters['x'] = x.toString(); } if (y != 32) { - queryParameters['y'] = y.toString(); + _queryParameters['y'] = y.toString(); } if (a != 0) { - queryParameters['a'] = a.toString(); + _queryParameters['a'] = a.toString(); } if (forceIcon != 1) { - queryParameters['forceIcon'] = forceIcon.toString(); + _queryParameters['forceIcon'] = forceIcon.toString(); } if (mode != 'fill') { - queryParameters['mode'] = mode; + _queryParameters['mode'] = mode; } if (mimeFallback != 0) { - queryParameters['mimeFallback'] = mimeFallback.toString(); + _queryParameters['mimeFallback'] = mimeFallback.toString(); } - const path = '/index.php/core/preview.png'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _path = '/index.php/core/preview.png'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -2530,10 +2522,10 @@ class ProfileApiClient { /// See: /// * [setVisibilityRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> setVisibility({ - required final String paramId, - required final String visibility, - required final String targetUserId, - final bool oCSAPIRequest = true, + required String paramId, + required String visibility, + required String targetUserId, + bool oCSAPIRequest = true, }) async { final rawResponse = setVisibilityRaw( paramId: paramId, @@ -2568,16 +2560,16 @@ class ProfileApiClient { /// * [setVisibility] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse setVisibilityRaw({ - required final String paramId, - required final String visibility, - required final String targetUserId, - final bool oCSAPIRequest = true, + required String paramId, + required String visibility, + required String targetUserId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2588,7 +2580,7 @@ class ProfileApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2596,22 +2588,22 @@ class ProfileApiClient { } // coverage:ignore-end - queryParameters['paramId'] = paramId; - queryParameters['visibility'] = visibility; - final targetUserId0 = Uri.encodeQueryComponent(targetUserId); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/profile/$targetUserId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['paramId'] = paramId; + _queryParameters['visibility'] = visibility; + final _targetUserId = Uri.encodeQueryComponent(targetUserId); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/profile/$_targetUserId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'put', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ProfileApiSetVisibilityResponseApplicationJson), + bodyType: FullType(ProfileApiSetVisibilityResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -2637,7 +2629,7 @@ class ReferenceClient { /// /// See: /// * [previewRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> preview({required final String referenceId}) async { + Future> preview({required String referenceId}) async { final rawResponse = previewRaw( referenceId: referenceId, ); @@ -2662,12 +2654,12 @@ class ReferenceClient { /// See: /// * [preview] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse previewRaw({required final String referenceId}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse previewRaw({required String referenceId}) { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2678,25 +2670,25 @@ class ReferenceClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final referenceId0 = Uri.encodeQueryComponent(referenceId); - final path = '/index.php/core/references/preview/$referenceId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _referenceId = Uri.encodeQueryComponent(referenceId); + final _path = '/index.php/core/references/preview/$_referenceId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -2723,8 +2715,8 @@ class ReferenceApiClient { /// See: /// * [resolveOneRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> resolveOne({ - required final String reference, - final bool oCSAPIRequest = true, + required String reference, + bool oCSAPIRequest = true, }) async { final rawResponse = resolveOneRaw( reference: reference, @@ -2752,14 +2744,14 @@ class ReferenceApiClient { /// * [resolveOne] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse resolveOneRaw({ - required final String reference, - final bool oCSAPIRequest = true, + required String reference, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2770,7 +2762,7 @@ class ReferenceApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2778,20 +2770,20 @@ class ReferenceApiClient { } // coverage:ignore-end - queryParameters['reference'] = reference; - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/references/resolve'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['reference'] = reference; + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/references/resolve'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ReferenceApiResolveOneResponseApplicationJson), + bodyType: FullType(ReferenceApiResolveOneResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -2813,9 +2805,9 @@ class ReferenceApiClient { /// See: /// * [resolveRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> resolve({ - required final List references, - final int limit = 1, - final bool oCSAPIRequest = true, + required List references, + int limit = 1, + bool oCSAPIRequest = true, }) async { final rawResponse = resolveRaw( references: references, @@ -2845,15 +2837,15 @@ class ReferenceApiClient { /// * [resolve] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse resolveRaw({ - required final List references, - final int limit = 1, - final bool oCSAPIRequest = true, + required List references, + int limit = 1, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2864,7 +2856,7 @@ class ReferenceApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2872,23 +2864,23 @@ class ReferenceApiClient { } // coverage:ignore-end - queryParameters['references[]'] = references.map((final e) => e); + _queryParameters['references[]'] = references.map((final e) => e); if (limit != 1) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/references/resolve'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/references/resolve'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ReferenceApiResolveResponseApplicationJson), + bodyType: FullType(ReferenceApiResolveResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -2911,10 +2903,10 @@ class ReferenceApiClient { /// See: /// * [extractRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> extract({ - required final String text, - final int resolve = 0, - final int limit = 1, - final bool oCSAPIRequest = true, + required String text, + int resolve = 0, + int limit = 1, + bool oCSAPIRequest = true, }) async { final rawResponse = extractRaw( text: text, @@ -2946,16 +2938,16 @@ class ReferenceApiClient { /// * [extract] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse extractRaw({ - required final String text, - final int resolve = 0, - final int limit = 1, - final bool oCSAPIRequest = true, + required String text, + int resolve = 0, + int limit = 1, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -2966,7 +2958,7 @@ class ReferenceApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -2974,26 +2966,26 @@ class ReferenceApiClient { } // coverage:ignore-end - queryParameters['text'] = text; + _queryParameters['text'] = text; if (resolve != 0) { - queryParameters['resolve'] = resolve.toString(); + _queryParameters['resolve'] = resolve.toString(); } if (limit != 1) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/references/extract'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/references/extract'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ReferenceApiExtractResponseApplicationJson), + bodyType: FullType(ReferenceApiExtractResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3012,9 +3004,8 @@ class ReferenceApiClient { /// /// See: /// * [getProvidersInfoRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> getProvidersInfo({ - final bool oCSAPIRequest = true, - }) async { + Future> getProvidersInfo( + {bool oCSAPIRequest = true}) async { final rawResponse = getProvidersInfoRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -3038,14 +3029,13 @@ class ReferenceApiClient { /// See: /// * [getProvidersInfo] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse getProvidersInfoRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse getProvidersInfoRaw( + {bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3056,7 +3046,7 @@ class ReferenceApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -3064,19 +3054,19 @@ class ReferenceApiClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/references/providers'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/references/providers'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson), + bodyType: FullType(ReferenceApiGetProvidersInfoResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3098,9 +3088,9 @@ class ReferenceApiClient { /// See: /// * [touchProviderRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> touchProvider({ - required final String providerId, - final int? timestamp, - final bool oCSAPIRequest = true, + required String providerId, + int? timestamp, + bool oCSAPIRequest = true, }) async { final rawResponse = touchProviderRaw( providerId: providerId, @@ -3130,15 +3120,15 @@ class ReferenceApiClient { /// * [touchProvider] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse touchProviderRaw({ - required final String providerId, - final int? timestamp, - final bool oCSAPIRequest = true, + required String providerId, + int? timestamp, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3149,7 +3139,7 @@ class ReferenceApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -3157,23 +3147,23 @@ class ReferenceApiClient { } // coverage:ignore-end - final providerId0 = Uri.encodeQueryComponent(providerId); + final _providerId = Uri.encodeQueryComponent(providerId); if (timestamp != null) { - queryParameters['timestamp'] = timestamp.toString(); + _queryParameters['timestamp'] = timestamp.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/references/provider/$providerId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/references/provider/$_providerId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'put', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(ReferenceApiTouchProviderResponseApplicationJson), + bodyType: FullType(ReferenceApiTouchProviderResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3198,9 +3188,8 @@ class TextProcessingApiClient { /// /// See: /// * [taskTypesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> taskTypes({ - final bool oCSAPIRequest = true, - }) async { + Future> taskTypes( + {bool oCSAPIRequest = true}) async { final rawResponse = taskTypesRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -3224,14 +3213,13 @@ class TextProcessingApiClient { /// See: /// * [taskTypes] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse taskTypesRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse taskTypesRaw( + {bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3242,25 +3230,25 @@ class TextProcessingApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/textprocessing/tasktypes'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/textprocessing/tasktypes'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson), + bodyType: FullType(TextProcessingApiTaskTypesResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3286,11 +3274,11 @@ class TextProcessingApiClient { /// See: /// * [scheduleRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> schedule({ - required final String input, - required final String type, - required final String appId, - final String identifier = '', - final bool oCSAPIRequest = true, + required String input, + required String type, + required String appId, + String identifier = '', + bool oCSAPIRequest = true, }) async { final rawResponse = scheduleRaw( input: input, @@ -3326,17 +3314,17 @@ class TextProcessingApiClient { /// * [schedule] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse scheduleRaw({ - required final String input, - required final String type, - required final String appId, - final String identifier = '', - final bool oCSAPIRequest = true, + required String input, + required String type, + required String appId, + String identifier = '', + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3347,31 +3335,31 @@ class TextProcessingApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - queryParameters['input'] = input; - queryParameters['type'] = type; - queryParameters['appId'] = appId; + _queryParameters['input'] = input; + _queryParameters['type'] = type; + _queryParameters['appId'] = appId; if (identifier != '') { - queryParameters['identifier'] = identifier; + _queryParameters['identifier'] = identifier; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/textprocessing/schedule'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/textprocessing/schedule'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TextProcessingApiScheduleResponseApplicationJson), + bodyType: FullType(TextProcessingApiScheduleResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3394,8 +3382,8 @@ class TextProcessingApiClient { /// See: /// * [getTaskRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getTask({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) async { final rawResponse = getTaskRaw( id: id, @@ -3425,14 +3413,14 @@ class TextProcessingApiClient { /// * [getTask] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getTaskRaw({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3443,26 +3431,26 @@ class TextProcessingApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - final id0 = Uri.encodeQueryComponent(id.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/textprocessing/task/$id0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _id = Uri.encodeQueryComponent(id.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/textprocessing/task/$_id'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TextProcessingApiGetTaskResponseApplicationJson), + bodyType: FullType(TextProcessingApiGetTaskResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3485,8 +3473,8 @@ class TextProcessingApiClient { /// See: /// * [deleteTaskRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> deleteTask({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) async { final rawResponse = deleteTaskRaw( id: id, @@ -3516,14 +3504,14 @@ class TextProcessingApiClient { /// * [deleteTask] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse deleteTaskRaw({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3534,7 +3522,7 @@ class TextProcessingApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -3542,20 +3530,20 @@ class TextProcessingApiClient { } // coverage:ignore-end - final id0 = Uri.encodeQueryComponent(id.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/textprocessing/task/$id0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _id = Uri.encodeQueryComponent(id.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/textprocessing/task/$_id'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'delete', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson), + bodyType: FullType(TextProcessingApiDeleteTaskResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3578,9 +3566,9 @@ class TextProcessingApiClient { /// See: /// * [listTasksByAppRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> listTasksByApp({ - required final String appId, - final String? identifier, - final bool oCSAPIRequest = true, + required String appId, + String? identifier, + bool oCSAPIRequest = true, }) async { final rawResponse = listTasksByAppRaw( appId: appId, @@ -3611,15 +3599,15 @@ class TextProcessingApiClient { /// * [listTasksByApp] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse listTasksByAppRaw({ - required final String appId, - final String? identifier, - final bool oCSAPIRequest = true, + required String appId, + String? identifier, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3630,7 +3618,7 @@ class TextProcessingApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -3638,23 +3626,23 @@ class TextProcessingApiClient { } // coverage:ignore-end - final appId0 = Uri.encodeQueryComponent(appId); + final _appId = Uri.encodeQueryComponent(appId); if (identifier != null) { - queryParameters['identifier'] = identifier; + _queryParameters['identifier'] = identifier; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/textprocessing/tasks/app/$appId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/textprocessing/tasks/app/$_appId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson), + bodyType: FullType(TextProcessingApiListTasksByAppResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3679,9 +3667,8 @@ class TranslationApiClient { /// /// See: /// * [languagesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> languages({ - final bool oCSAPIRequest = true, - }) async { + Future> languages( + {bool oCSAPIRequest = true}) async { final rawResponse = languagesRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -3705,14 +3692,12 @@ class TranslationApiClient { /// See: /// * [languages] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse languagesRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse languagesRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3723,25 +3708,25 @@ class TranslationApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/translation/languages'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/translation/languages'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TranslationApiLanguagesResponseApplicationJson), + bodyType: FullType(TranslationApiLanguagesResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3767,10 +3752,10 @@ class TranslationApiClient { /// See: /// * [translateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> translate({ - required final String text, - required final String toLanguage, - final String? fromLanguage, - final bool oCSAPIRequest = true, + required String text, + required String toLanguage, + String? fromLanguage, + bool oCSAPIRequest = true, }) async { final rawResponse = translateRaw( text: text, @@ -3805,16 +3790,16 @@ class TranslationApiClient { /// * [translate] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse translateRaw({ - required final String text, - required final String toLanguage, - final String? fromLanguage, - final bool oCSAPIRequest = true, + required String text, + required String toLanguage, + String? fromLanguage, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3825,30 +3810,30 @@ class TranslationApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - queryParameters['text'] = text; - queryParameters['toLanguage'] = toLanguage; + _queryParameters['text'] = text; + _queryParameters['toLanguage'] = toLanguage; if (fromLanguage != null) { - queryParameters['fromLanguage'] = fromLanguage; + _queryParameters['fromLanguage'] = fromLanguage; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/translation/translate'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/translation/translate'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TranslationApiTranslateResponseApplicationJson), + bodyType: FullType(TranslationApiTranslateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3875,8 +3860,8 @@ class UnifiedSearchClient { /// See: /// * [getProvidersRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getProviders({ - final String from = '', - final bool oCSAPIRequest = true, + String from = '', + bool oCSAPIRequest = true, }) async { final rawResponse = getProvidersRaw( from: from, @@ -3904,14 +3889,14 @@ class UnifiedSearchClient { /// * [getProviders] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getProvidersRaw({ - final String from = '', - final bool oCSAPIRequest = true, + String from = '', + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -3922,7 +3907,7 @@ class UnifiedSearchClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -3931,21 +3916,21 @@ class UnifiedSearchClient { // coverage:ignore-end if (from != '') { - queryParameters['from'] = from; + _queryParameters['from'] = from; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/search/providers'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/search/providers'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson), + bodyType: FullType(UnifiedSearchGetProvidersResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -3972,13 +3957,13 @@ class UnifiedSearchClient { /// See: /// * [searchRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> search({ - required final String providerId, - final String term = '', - final int? sortOrder, - final int? limit, - final ContentString? cursor, - final String from = '', - final bool oCSAPIRequest = true, + required String providerId, + String term = '', + int? sortOrder, + int? limit, + ContentString? cursor, + String from = '', + bool oCSAPIRequest = true, }) async { final rawResponse = searchRaw( providerId: providerId, @@ -4017,19 +4002,19 @@ class UnifiedSearchClient { /// * [search] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse searchRaw({ - required final String providerId, - final String term = '', - final int? sortOrder, - final int? limit, - final ContentString? cursor, - final String from = '', - final bool oCSAPIRequest = true, + required String providerId, + String term = '', + int? sortOrder, + int? limit, + ContentString? cursor, + String from = '', + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -4040,7 +4025,7 @@ class UnifiedSearchClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -4048,38 +4033,36 @@ class UnifiedSearchClient { } // coverage:ignore-end - final providerId0 = Uri.encodeQueryComponent(providerId); + final _providerId = Uri.encodeQueryComponent(providerId); if (term != '') { - queryParameters['term'] = term; + _queryParameters['term'] = term; } if (sortOrder != null) { - queryParameters['sortOrder'] = sortOrder.toString(); + _queryParameters['sortOrder'] = sortOrder.toString(); } if (limit != null) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } if (cursor != null) { - queryParameters['cursor'] = _jsonSerializers.serialize( - cursor, - specifiedType: const FullType(ContentString, [FullType(UnifiedSearchSearchCursor)]), - ); + _queryParameters['cursor'] = _jsonSerializers.serialize(cursor, + specifiedType: const FullType(ContentString, [FullType(UnifiedSearchSearchCursor)])); } if (from != '') { - queryParameters['from'] = from; + _queryParameters['from'] = from; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/search/providers/$providerId0/search'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/search/providers/$_providerId/search'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(UnifiedSearchSearchResponseApplicationJson), + bodyType: FullType(UnifiedSearchSearchResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -4105,7 +4088,7 @@ class WhatsNewClient { /// /// See: /// * [$getRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> $get({final bool oCSAPIRequest = true}) async { + Future> $get({bool oCSAPIRequest = true}) async { final rawResponse = $getRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -4130,12 +4113,12 @@ class WhatsNewClient { /// See: /// * [$get] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse $getRaw({final bool oCSAPIRequest = true}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse $getRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -4146,7 +4129,7 @@ class WhatsNewClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -4154,19 +4137,19 @@ class WhatsNewClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/whatsnew'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/whatsnew'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(WhatsNewGetResponseApplicationJson), + bodyType: FullType(WhatsNewGetResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -4188,8 +4171,8 @@ class WhatsNewClient { /// See: /// * [dismissRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> dismiss({ - required final String version, - final bool oCSAPIRequest = true, + required String version, + bool oCSAPIRequest = true, }) async { final rawResponse = dismissRaw( version: version, @@ -4218,14 +4201,14 @@ class WhatsNewClient { /// * [dismiss] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse dismissRaw({ - required final String version, - final bool oCSAPIRequest = true, + required String version, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -4236,7 +4219,7 @@ class WhatsNewClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -4244,20 +4227,20 @@ class WhatsNewClient { } // coverage:ignore-end - queryParameters['version'] = version; - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/core/whatsnew'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['version'] = version; + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/core/whatsnew'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(WhatsNewDismissResponseApplicationJson), + bodyType: FullType(WhatsNewDismissResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -4283,7 +4266,7 @@ class WipeClient { /// /// See: /// * [checkWipeRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> checkWipe({required final String token}) async { + Future> checkWipe({required String token}) async { final rawResponse = checkWipeRaw( token: token, ); @@ -4308,12 +4291,12 @@ class WipeClient { /// See: /// * [checkWipe] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse checkWipeRaw({required final String token}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse checkWipeRaw({required String token}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -4324,25 +4307,25 @@ class WipeClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - queryParameters['token'] = token; - const path = '/index.php/core/wipe/check'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['token'] = token; + final _path = '/index.php/core/wipe/check'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(WipeCheckWipeResponseApplicationJson), + bodyType: FullType(WipeCheckWipeResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -4362,7 +4345,7 @@ class WipeClient { /// /// See: /// * [wipeDoneRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> wipeDone({required final String token}) async { + Future> wipeDone({required String token}) async { final rawResponse = wipeDoneRaw( token: token, ); @@ -4387,12 +4370,12 @@ class WipeClient { /// See: /// * [wipeDone] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse wipeDoneRaw({required final String token}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse wipeDoneRaw({required String token}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -4403,25 +4386,25 @@ class WipeClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } // coverage:ignore-end - queryParameters['token'] = token; - const path = '/index.php/core/wipe/success'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['token'] = token; + final _path = '/index.php/core/wipe/success'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 404}, ), - bodyType: const FullType(JsonObject), + bodyType: FullType(JsonObject), headersType: null, serializers: _jsonSerializers, ); @@ -4429,302 +4412,312 @@ class WipeClient { } @BuiltValue(instantiable: false) -abstract interface class StatusInterface { - bool get installed; - bool get maintenance; - bool get needsDbUpgrade; - String get version; - String get versionstring; - String get edition; - String get productname; - bool get extendedSupport; +abstract interface class AutocompleteResult_Status0Interface { + String get status; + String? get message; + String? get icon; + int? get clearAt; } -abstract class Status implements StatusInterface, Built { - factory Status([final void Function(StatusBuilder)? b]) = _$Status; +abstract class AutocompleteResult_Status0 + implements + AutocompleteResult_Status0Interface, + Built { + factory AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? b]) = + _$AutocompleteResult_Status0; // coverage:ignore-start - const Status._(); + const AutocompleteResult_Status0._(); // coverage:ignore-end // coverage:ignore-start - factory Status.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory AutocompleteResult_Status0.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$statusSerializer; + static Serializer get serializer => _$autocompleteResultStatus0Serializer; } @BuiltValue(instantiable: false) -abstract interface class OCSMetaInterface { - String get status; - int get statuscode; - String? get message; - String? get totalitems; - String? get itemsperpage; +abstract interface class AutocompleteResult_StatusInterface { + AutocompleteResult_Status0? get autocompleteResultStatus0; + String? get string; } -abstract class OCSMeta implements OCSMetaInterface, Built { - factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; +abstract class AutocompleteResult_Status + implements AutocompleteResult_StatusInterface, Built { + factory AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? b]) = _$AutocompleteResult_Status; // coverage:ignore-start - const OCSMeta._(); + const AutocompleteResult_Status._(); // coverage:ignore-end // coverage:ignore-start - factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory AutocompleteResult_Status.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$oCSMetaSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AutocompleteResult_StatusSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(AutocompleteResult_StatusBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._autocompleteResultStatus0, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of 'autocompleteResultStatus0', 'string' for ${b._data}"); + } + } +} + +class _$AutocompleteResult_StatusSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [AutocompleteResult_Status, _$AutocompleteResult_Status]; + + @override + final String wireName = r'AutocompleteResult_Status'; + + @override + Object serialize( + Serializers serializers, + AutocompleteResult_Status object, { + FullType specifiedType = FullType.unspecified, + }) { + return object.data.value; + } + + @override + AutocompleteResult_Status deserialize( + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, + }) { + final result = AutocompleteResult_StatusBuilder()..data = JsonObject(data); + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(AutocompleteResult_Status0))! + as AutocompleteResult_Status0); + result.autocompleteResultStatus0.replace(value); + } catch (_) {} + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String); + result.string = value; + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface { - String get apppassword; +abstract interface class AutocompleteResultInterface { + String get id; + String get label; + String get icon; + String get source; + AutocompleteResult_Status get status; + String get subline; + String get shareWithDisplayNameUnique; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data - implements - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; +abstract class AutocompleteResult + implements AutocompleteResultInterface, Built { + factory AutocompleteResult([void Function(AutocompleteResultBuilder)? b]) = _$AutocompleteResult; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._(); + const AutocompleteResult._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory AutocompleteResult.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$autocompleteResultSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface { - OCSMeta get meta; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data get data; +abstract interface class OpenGraphObjectInterface { + String get id; + String get name; + String? get description; + String? get thumb; + String get link; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs - implements - AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; +abstract class OpenGraphObject implements OpenGraphObjectInterface, Built { + factory OpenGraphObject([void Function(OpenGraphObjectBuilder)? b]) = _$OpenGraphObject; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(); + const OpenGraphObject._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory OpenGraphObject.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$openGraphObjectSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordGetAppPasswordResponseApplicationJsonInterface { - AppPasswordGetAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class ResourceInterface { + String get richObjectType; + BuiltMap get richObject; + OpenGraphObject get openGraphObject; + bool get accessible; } -abstract class AppPasswordGetAppPasswordResponseApplicationJson - implements - AppPasswordGetAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordGetAppPasswordResponseApplicationJson([ - final void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordGetAppPasswordResponseApplicationJson; +abstract class Resource implements ResourceInterface, Built { + factory Resource([void Function(ResourceBuilder)? b]) = _$Resource; // coverage:ignore-start - const AppPasswordGetAppPasswordResponseApplicationJson._(); + const Resource._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordGetAppPasswordResponseApplicationJson.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory Resource.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordGetAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => _$resourceSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface { - String get apppassword; +abstract interface class CollectionInterface { + int get id; + String get name; + BuiltList get resources; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - implements - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; +abstract class Collection implements CollectionInterface, Built { + factory Collection([void Function(CollectionBuilder)? b]) = _$Collection; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._(); + const Collection._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory Collection.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$collectionSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface { - OCSMeta get meta; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data get data; +abstract interface class ContactsActionInterface { + String get title; + String get icon; + String get hyperlink; + String get appId; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - implements - AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; +abstract class ContactsAction implements ContactsActionInterface, Built { + factory ContactsAction([void Function(ContactsActionBuilder)? b]) = _$ContactsAction; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(); + const ContactsAction._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory ContactsAction.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$contactsActionSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordRotateAppPasswordResponseApplicationJsonInterface { - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class LoginFlowV2_PollInterface { + String get token; + String get endpoint; } -abstract class AppPasswordRotateAppPasswordResponseApplicationJson - implements - AppPasswordRotateAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordRotateAppPasswordResponseApplicationJson([ - final void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordRotateAppPasswordResponseApplicationJson; +abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built { + factory LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? b]) = _$LoginFlowV2_Poll; // coverage:ignore-start - const AppPasswordRotateAppPasswordResponseApplicationJson._(); + const LoginFlowV2_Poll._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordRotateAppPasswordResponseApplicationJson.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory LoginFlowV2_Poll.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordRotateAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => _$loginFlowV2PollSerializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface { - OCSMeta get meta; - JsonObject get data; +abstract interface class LoginFlowV2Interface { + LoginFlowV2_Poll get poll; + String get login; } -abstract class AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs - implements - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface, - Built { - factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs([ - final void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? b, - ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; +abstract class LoginFlowV2 implements LoginFlowV2Interface, Built { + factory LoginFlowV2([void Function(LoginFlowV2Builder)? b]) = _$LoginFlowV2; // coverage:ignore-start - const AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._(); + const LoginFlowV2._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory LoginFlowV2.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordDeleteAppPasswordResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$loginFlowV2Serializer; } @BuiltValue(instantiable: false) -abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJsonInterface { - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs get ocs; +abstract interface class LoginFlowV2CredentialsInterface { + String get server; + String get loginName; + String get appPassword; } -abstract class AppPasswordDeleteAppPasswordResponseApplicationJson - implements - AppPasswordDeleteAppPasswordResponseApplicationJsonInterface, - Built { - factory AppPasswordDeleteAppPasswordResponseApplicationJson([ - final void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? b, - ]) = _$AppPasswordDeleteAppPasswordResponseApplicationJson; +abstract class LoginFlowV2Credentials + implements LoginFlowV2CredentialsInterface, Built { + factory LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? b]) = _$LoginFlowV2Credentials; // coverage:ignore-start - const AppPasswordDeleteAppPasswordResponseApplicationJson._(); + const LoginFlowV2Credentials._(); // coverage:ignore-end // coverage:ignore-start - factory AppPasswordDeleteAppPasswordResponseApplicationJson.fromJson(final Map json) => + factory LoginFlowV2Credentials.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4732,31 +4725,25 @@ abstract class AppPasswordDeleteAppPasswordResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$appPasswordDeleteAppPasswordResponseApplicationJsonSerializer; + static Serializer get serializer => _$loginFlowV2CredentialsSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResult_Status0Interface { - String get status; - String? get message; - String? get icon; - int? get clearAt; +abstract interface class NavigationEntry_OrderInterface { + int? get $int; + String? get string; } -abstract class AutocompleteResult_Status0 - implements - AutocompleteResult_Status0Interface, - Built { - factory AutocompleteResult_Status0([final void Function(AutocompleteResult_Status0Builder)? b]) = - _$AutocompleteResult_Status0; +abstract class NavigationEntry_Order + implements NavigationEntry_OrderInterface, Built { + factory NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? b]) = _$NavigationEntry_Order; // coverage:ignore-start - const AutocompleteResult_Status0._(); + const NavigationEntry_Order._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult_Status0.fromJson(final Map json) => + factory NavigationEntry_Order.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4764,130 +4751,251 @@ abstract class AutocompleteResult_Status0 Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$autocompleteResultStatus0Serializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$NavigationEntry_OrderSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(NavigationEntry_OrderBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._$int, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of '$int', 'string' for ${b._data}"); + } + } +} + +class _$NavigationEntry_OrderSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [NavigationEntry_Order, _$NavigationEntry_Order]; + + @override + final String wireName = r'NavigationEntry_Order'; + + @override + Object serialize( + Serializers serializers, + NavigationEntry_Order object, { + FullType specifiedType = FullType.unspecified, + }) { + return object.data.value; + } + + @override + NavigationEntry_Order deserialize( + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, + }) { + final result = NavigationEntry_OrderBuilder()..data = JsonObject(data); + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int); + result.$int = value; + } catch (_) {} + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String); + result.string = value; + } catch (_) {} + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResult_StatusInterface { - AutocompleteResult_Status0? get autocompleteResultStatus0; - String? get string; +abstract interface class NavigationEntryInterface { + String get id; + NavigationEntry_Order get order; + String get href; + String get icon; + String get type; + String get name; + bool get active; + String get classes; + int get unread; } -abstract class AutocompleteResult_Status - implements AutocompleteResult_StatusInterface, Built { - factory AutocompleteResult_Status([final void Function(AutocompleteResult_StatusBuilder)? b]) = - _$AutocompleteResult_Status; +abstract class NavigationEntry implements NavigationEntryInterface, Built { + factory NavigationEntry([void Function(NavigationEntryBuilder)? b]) = _$NavigationEntry; // coverage:ignore-start - const AutocompleteResult_Status._(); + const NavigationEntry._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult_Status.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory NavigationEntry.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AutocompleteResult_StatusSerializer(); + static Serializer get serializer => _$navigationEntrySerializer; +} - JsonObject get data; +@BuiltValue(instantiable: false) +abstract interface class OCSMetaInterface { + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; } -class _$AutocompleteResult_StatusSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [AutocompleteResult_Status, _$AutocompleteResult_Status]; +abstract class OCSMeta implements OCSMetaInterface, Built { + factory OCSMeta([void Function(OCSMetaBuilder)? b]) = _$OCSMeta; - @override - final String wireName = 'AutocompleteResult_Status'; + // coverage:ignore-start + const OCSMeta._(); + // coverage:ignore-end - @override - Object serialize( - final Serializers serializers, - final AutocompleteResult_Status object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; + // coverage:ignore-start + factory OCSMeta.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - @override - AutocompleteResult_Status deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = AutocompleteResult_StatusBuilder()..data = JsonObject(data); - try { - result._autocompleteResultStatus0 = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(AutocompleteResult_Status0), - )! as AutocompleteResult_Status0) - .toBuilder(); - } catch (_) {} - try { - result._string = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; - } catch (_) {} - assert( - [result._autocompleteResultStatus0, result._string].where((final x) => x != null).isNotEmpty, - 'Need oneOf for ${result._data}', - ); - return result.build(); - } + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$oCSMetaSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutocompleteResultInterface { +abstract interface class ReferenceInterface { + String get richObjectType; + BuiltMap get richObject; + OpenGraphObject get openGraphObject; + bool get accessible; +} + +abstract class Reference implements ReferenceInterface, Built { + factory Reference([void Function(ReferenceBuilder)? b]) = _$Reference; + + // coverage:ignore-start + const Reference._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Reference.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$referenceSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class ReferenceProviderInterface { String get id; - String get label; - String get icon; - String get source; - AutocompleteResult_Status get status; - String get subline; - String get shareWithDisplayNameUnique; + String get title; + @BuiltValueField(wireName: 'icon_url') + String get iconUrl; + int get order; + @BuiltValueField(wireName: 'search_providers_ids') + BuiltList? get searchProvidersIds; } -abstract class AutocompleteResult - implements AutocompleteResultInterface, Built { - factory AutocompleteResult([final void Function(AutocompleteResultBuilder)? b]) = _$AutocompleteResult; +abstract class ReferenceProvider + implements ReferenceProviderInterface, Built { + factory ReferenceProvider([void Function(ReferenceProviderBuilder)? b]) = _$ReferenceProvider; // coverage:ignore-start - const AutocompleteResult._(); + const ReferenceProvider._(); // coverage:ignore-end // coverage:ignore-start - factory AutocompleteResult.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory ReferenceProvider.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$autocompleteResultSerializer; + static Serializer get serializer => _$referenceProviderSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutoCompleteGetResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class StatusInterface { + bool get installed; + bool get maintenance; + bool get needsDbUpgrade; + String get version; + String get versionstring; + String get edition; + String get productname; + bool get extendedSupport; } -abstract class AutoCompleteGetResponseApplicationJson_Ocs - implements - AutoCompleteGetResponseApplicationJson_OcsInterface, - Built { - factory AutoCompleteGetResponseApplicationJson_Ocs([ - final void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? b, - ]) = _$AutoCompleteGetResponseApplicationJson_Ocs; +abstract class Status implements StatusInterface, Built { + factory Status([void Function(StatusBuilder)? b]) = _$Status; // coverage:ignore-start - const AutoCompleteGetResponseApplicationJson_Ocs._(); + const Status._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Status.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$statusSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class TextProcessingTaskInterface { + int? get id; + String get type; + int get status; + String? get userId; + String get appId; + String get input; + String? get output; + String get identifier; +} + +abstract class TextProcessingTask + implements TextProcessingTaskInterface, Built { + factory TextProcessingTask([void Function(TextProcessingTaskBuilder)? b]) = _$TextProcessingTask; + + // coverage:ignore-start + const TextProcessingTask._(); + // coverage:ignore-end + + // coverage:ignore-start + factory TextProcessingTask.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start - factory AutoCompleteGetResponseApplicationJson_Ocs.fromJson(final Map json) => + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$textProcessingTaskSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class UnifiedSearchProviderInterface { + String get id; + String get name; + int get order; +} + +abstract class UnifiedSearchProvider + implements UnifiedSearchProviderInterface, Built { + factory UnifiedSearchProvider([void Function(UnifiedSearchProviderBuilder)? b]) = _$UnifiedSearchProvider; + + // coverage:ignore-start + const UnifiedSearchProvider._(); + // coverage:ignore-end + + // coverage:ignore-start + factory UnifiedSearchProvider.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4895,29 +5003,30 @@ abstract class AutoCompleteGetResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$autoCompleteGetResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$unifiedSearchProviderSerializer; } @BuiltValue(instantiable: false) -abstract interface class AutoCompleteGetResponseApplicationJsonInterface { - AutoCompleteGetResponseApplicationJson_Ocs get ocs; +abstract interface class UnifiedSearchResultEntryInterface { + String get thumbnailUrl; + String get title; + String get subline; + String get resourceUrl; + String get icon; + bool get rounded; + BuiltList get attributes; } -abstract class AutoCompleteGetResponseApplicationJson - implements - AutoCompleteGetResponseApplicationJsonInterface, - Built { - factory AutoCompleteGetResponseApplicationJson([ - final void Function(AutoCompleteGetResponseApplicationJsonBuilder)? b, - ]) = _$AutoCompleteGetResponseApplicationJson; +abstract class UnifiedSearchResultEntry + implements UnifiedSearchResultEntryInterface, Built { + factory UnifiedSearchResultEntry([void Function(UnifiedSearchResultEntryBuilder)? b]) = _$UnifiedSearchResultEntry; // coverage:ignore-start - const AutoCompleteGetResponseApplicationJson._(); + const UnifiedSearchResultEntry._(); // coverage:ignore-end // coverage:ignore-start - factory AutoCompleteGetResponseApplicationJson.fromJson(final Map json) => + factory UnifiedSearchResultEntry.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4925,29 +5034,28 @@ abstract class AutoCompleteGetResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$autoCompleteGetResponseApplicationJsonSerializer; + static Serializer get serializer => _$unifiedSearchResultEntrySerializer; } @BuiltValue(instantiable: false) -abstract interface class AvatarAvatarGetAvatarDarkHeadersInterface { - @BuiltValueField(wireName: 'x-nc-iscustomavatar') - int? get xNcIscustomavatar; +abstract interface class UnifiedSearchResult_CursorInterface { + int? get $int; + String? get string; } -abstract class AvatarAvatarGetAvatarDarkHeaders +abstract class UnifiedSearchResult_Cursor implements - AvatarAvatarGetAvatarDarkHeadersInterface, - Built { - factory AvatarAvatarGetAvatarDarkHeaders([final void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = - _$AvatarAvatarGetAvatarDarkHeaders; + UnifiedSearchResult_CursorInterface, + Built { + factory UnifiedSearchResult_Cursor([void Function(UnifiedSearchResult_CursorBuilder)? b]) = + _$UnifiedSearchResult_Cursor; // coverage:ignore-start - const AvatarAvatarGetAvatarDarkHeaders._(); + const UnifiedSearchResult_Cursor._(); // coverage:ignore-end // coverage:ignore-start - factory AvatarAvatarGetAvatarDarkHeaders.fromJson(final Map json) => + factory UnifiedSearchResult_Cursor.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -4956,68 +5064,76 @@ abstract class AvatarAvatarGetAvatarDarkHeaders // coverage:ignore-end @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AvatarAvatarGetAvatarDarkHeadersSerializer(); + static Serializer get serializer => _$UnifiedSearchResult_CursorSerializer(); + + JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(UnifiedSearchResult_CursorBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._$int, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of '$int', 'string' for ${b._data}"); + } + } } -class _$AvatarAvatarGetAvatarDarkHeadersSerializer implements StructuredSerializer { +class _$UnifiedSearchResult_CursorSerializer implements PrimitiveSerializer { @override - final Iterable types = const [AvatarAvatarGetAvatarDarkHeaders, _$AvatarAvatarGetAvatarDarkHeaders]; + final Iterable types = const [UnifiedSearchResult_Cursor, _$UnifiedSearchResult_Cursor]; @override - final String wireName = 'AvatarAvatarGetAvatarDarkHeaders'; + final String wireName = r'UnifiedSearchResult_Cursor'; @override - Iterable serialize( - final Serializers serializers, - final AvatarAvatarGetAvatarDarkHeaders object, { - final FullType specifiedType = FullType.unspecified, + Object serialize( + Serializers serializers, + UnifiedSearchResult_Cursor object, { + FullType specifiedType = FullType.unspecified, }) { - throw UnimplementedError(); + return object.data.value; } @override - AvatarAvatarGetAvatarDarkHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, + UnifiedSearchResult_Cursor deserialize( + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, }) { - final result = AvatarAvatarGetAvatarDarkHeadersBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final value = iterator.current! as String; - switch (key) { - case 'x-nc-iscustomavatar': - result.xNcIscustomavatar = - _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; - } - } - + final result = UnifiedSearchResult_CursorBuilder()..data = JsonObject(data); + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int); + result.$int = value; + } catch (_) {} + try { + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String); + result.string = value; + } catch (_) {} return result.build(); } } @BuiltValue(instantiable: false) -abstract interface class AvatarAvatarGetAvatarHeadersInterface { - @BuiltValueField(wireName: 'x-nc-iscustomavatar') - int? get xNcIscustomavatar; +abstract interface class UnifiedSearchResultInterface { + String get name; + bool get isPaginated; + BuiltList get entries; + UnifiedSearchResult_Cursor? get cursor; } -abstract class AvatarAvatarGetAvatarHeaders - implements - AvatarAvatarGetAvatarHeadersInterface, - Built { - factory AvatarAvatarGetAvatarHeaders([final void Function(AvatarAvatarGetAvatarHeadersBuilder)? b]) = - _$AvatarAvatarGetAvatarHeaders; +abstract class UnifiedSearchResult + implements UnifiedSearchResultInterface, Built { + factory UnifiedSearchResult([void Function(UnifiedSearchResultBuilder)? b]) = _$UnifiedSearchResult; // coverage:ignore-start - const AvatarAvatarGetAvatarHeaders._(); + const UnifiedSearchResult._(); // coverage:ignore-end // coverage:ignore-start - factory AvatarAvatarGetAvatarHeaders.fromJson(final Map json) => + factory UnifiedSearchResult.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5025,67 +5141,52 @@ abstract class AvatarAvatarGetAvatarHeaders Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$AvatarAvatarGetAvatarHeadersSerializer(); + static Serializer get serializer => _$unifiedSearchResultSerializer; } -class _$AvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [AvatarAvatarGetAvatarHeaders, _$AvatarAvatarGetAvatarHeaders]; +@BuiltValue(instantiable: false) +abstract interface class CommentsCapabilities_FilesInterface { + bool get comments; +} - @override - final String wireName = 'AvatarAvatarGetAvatarHeaders'; +abstract class CommentsCapabilities_Files + implements + CommentsCapabilities_FilesInterface, + Built { + factory CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? b]) = + _$CommentsCapabilities_Files; - @override - Iterable serialize( - final Serializers serializers, - final AvatarAvatarGetAvatarHeaders object, { - final FullType specifiedType = FullType.unspecified, - }) { - throw UnimplementedError(); - } + // coverage:ignore-start + const CommentsCapabilities_Files._(); + // coverage:ignore-end - @override - AvatarAvatarGetAvatarHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = AvatarAvatarGetAvatarHeadersBuilder(); + // coverage:ignore-start + factory CommentsCapabilities_Files.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final value = iterator.current! as String; - switch (key) { - case 'x-nc-iscustomavatar': - result.xNcIscustomavatar = - _jsonSerializers.deserialize(json.decode(value), specifiedType: const FullType(int))! as int; - } - } + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end - return result.build(); - } + static Serializer get serializer => _$commentsCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2CredentialsInterface { - String get server; - String get loginName; - String get appPassword; +abstract interface class CommentsCapabilitiesInterface { + CommentsCapabilities_Files get files; } -abstract class LoginFlowV2Credentials - implements LoginFlowV2CredentialsInterface, Built { - factory LoginFlowV2Credentials([final void Function(LoginFlowV2CredentialsBuilder)? b]) = _$LoginFlowV2Credentials; +abstract class CommentsCapabilities + implements CommentsCapabilitiesInterface, Built { + factory CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? b]) = _$CommentsCapabilities; // coverage:ignore-start - const LoginFlowV2Credentials._(); + const CommentsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2Credentials.fromJson(final Map json) => + factory CommentsCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5093,24 +5194,25 @@ abstract class LoginFlowV2Credentials Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2CredentialsSerializer; + static Serializer get serializer => _$commentsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2_PollInterface { - String get token; - String get endpoint; +abstract interface class DavCapabilities_DavInterface { + String get chunking; + String? get bulkupload; } -abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built { - factory LoginFlowV2_Poll([final void Function(LoginFlowV2_PollBuilder)? b]) = _$LoginFlowV2_Poll; +abstract class DavCapabilities_Dav + implements DavCapabilities_DavInterface, Built { + factory DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? b]) = _$DavCapabilities_Dav; // coverage:ignore-start - const LoginFlowV2_Poll._(); + const DavCapabilities_Dav._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2_Poll.fromJson(final Map json) => + factory DavCapabilities_Dav.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5118,51 +5220,52 @@ abstract class LoginFlowV2_Poll implements LoginFlowV2_PollInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2PollSerializer; + static Serializer get serializer => _$davCapabilitiesDavSerializer; } @BuiltValue(instantiable: false) -abstract interface class LoginFlowV2Interface { - LoginFlowV2_Poll get poll; - String get login; +abstract interface class DavCapabilitiesInterface { + DavCapabilities_Dav get dav; } -abstract class LoginFlowV2 implements LoginFlowV2Interface, Built { - factory LoginFlowV2([final void Function(LoginFlowV2Builder)? b]) = _$LoginFlowV2; +abstract class DavCapabilities implements DavCapabilitiesInterface, Built { + factory DavCapabilities([void Function(DavCapabilitiesBuilder)? b]) = _$DavCapabilities; // coverage:ignore-start - const LoginFlowV2._(); + const DavCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory LoginFlowV2.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory DavCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$loginFlowV2Serializer; + static Serializer get serializer => _$davCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class OpenGraphObjectInterface { - String get id; - String get name; - String? get description; - String? get thumb; - String get link; +abstract interface class FilesCapabilities_Files_DirectEditingInterface { + String get url; + String get etag; + bool get supportsFileId; } -abstract class OpenGraphObject implements OpenGraphObjectInterface, Built { - factory OpenGraphObject([final void Function(OpenGraphObjectBuilder)? b]) = _$OpenGraphObject; +abstract class FilesCapabilities_Files_DirectEditing + implements + FilesCapabilities_Files_DirectEditingInterface, + Built { + factory FilesCapabilities_Files_DirectEditing([void Function(FilesCapabilities_Files_DirectEditingBuilder)? b]) = + _$FilesCapabilities_Files_DirectEditing; // coverage:ignore-start - const OpenGraphObject._(); + const FilesCapabilities_Files_DirectEditing._(); // coverage:ignore-end // coverage:ignore-start - factory OpenGraphObject.fromJson(final Map json) => + factory FilesCapabilities_Files_DirectEditing.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5170,83 +5273,116 @@ abstract class OpenGraphObject implements OpenGraphObjectInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$openGraphObjectSerializer; + static Serializer get serializer => + _$filesCapabilitiesFilesDirectEditingSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class FilesCapabilities_FilesInterface { + bool get bigfilechunking; + @BuiltValueField(wireName: 'blacklisted_files') + BuiltList get blacklistedFiles; + FilesCapabilities_Files_DirectEditing get directEditing; +} + +abstract class FilesCapabilities_Files + implements FilesCapabilities_FilesInterface, Built { + factory FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? b]) = _$FilesCapabilities_Files; + + // coverage:ignore-start + const FilesCapabilities_Files._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesCapabilities_Files.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$filesCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class ResourceInterface { - String get richObjectType; - BuiltMap get richObject; - OpenGraphObject get openGraphObject; - bool get accessible; +abstract interface class FilesCapabilitiesInterface { + FilesCapabilities_Files get files; } -abstract class Resource implements ResourceInterface, Built { - factory Resource([final void Function(ResourceBuilder)? b]) = _$Resource; +abstract class FilesCapabilities + implements FilesCapabilitiesInterface, Built { + factory FilesCapabilities([void Function(FilesCapabilitiesBuilder)? b]) = _$FilesCapabilities; // coverage:ignore-start - const Resource._(); + const FilesCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory Resource.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory FilesCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$resourceSerializer; + static Serializer get serializer => _$filesCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollectionInterface { - int get id; - String get name; - BuiltList get resources; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_PasswordInterface { + bool get enforced; + bool get askForOptionalPassword; } -abstract class Collection implements CollectionInterface, Built { - factory Collection([final void Function(CollectionBuilder)? b]) = _$Collection; +abstract class FilesSharingCapabilities_FilesSharing_Public_Password + implements + FilesSharingCapabilities_FilesSharing_Public_PasswordInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_Password( + [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Public_Password; // coverage:ignore-start - const Collection._(); + const FilesSharingCapabilities_FilesSharing_Public_Password._(); // coverage:ignore-end // coverage:ignore-start - factory Collection.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$collectionSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate implements - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; // coverage:ignore-start - const CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5254,30 +5390,32 @@ abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Oc Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesSearchCollectionsResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface { - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal implements - CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesSearchCollectionsResponseApplicationJson([ - final void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesSearchCollectionsResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; // coverage:ignore-start - const CollaborationResourcesSearchCollectionsResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesSearchCollectionsResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5285,31 +5423,32 @@ abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesSearchCollectionsResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface { + bool get enabled; + int? get days; + bool? get enforced; } -abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote implements - CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; // coverage:ignore-start - const CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5317,30 +5456,43 @@ abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesListCollectionResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesListCollectionResponseApplicationJsonInterface { - CollaborationResourcesListCollectionResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_PublicInterface { + bool get enabled; + FilesSharingCapabilities_FilesSharing_Public_Password? get password; + @BuiltValueField(wireName: 'multiple_links') + bool? get multipleLinks; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Public_ExpireDate? get expireDate; + @BuiltValueField(wireName: 'expire_date_internal') + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; + @BuiltValueField(wireName: 'expire_date_remote') + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; + @BuiltValueField(wireName: 'send_mail') + bool? get sendMail; + bool? get upload; + @BuiltValueField(wireName: 'upload_files_drop') + bool? get uploadFilesDrop; } -abstract class CollaborationResourcesListCollectionResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Public implements - CollaborationResourcesListCollectionResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesListCollectionResponseApplicationJson([ - final void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesListCollectionResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_PublicInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Public( + [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Public; // coverage:ignore-start - const CollaborationResourcesListCollectionResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Public._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesListCollectionResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Public.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5348,31 +5500,30 @@ abstract class CollaborationResourcesListCollectionResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesListCollectionResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface { + bool get enabled; } -abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate implements - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; // coverage:ignore-start - const CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5380,30 +5531,32 @@ abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRenameCollectionResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJsonInterface { - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_UserInterface { + @BuiltValueField(wireName: 'send_mail') + bool get sendMail; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; } -abstract class CollaborationResourcesRenameCollectionResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_User implements - CollaborationResourcesRenameCollectionResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesRenameCollectionResponseApplicationJson([ - final void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesRenameCollectionResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_UserInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_User( + [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_User; // coverage:ignore-start - const CollaborationResourcesRenameCollectionResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_User._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRenameCollectionResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_User.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5411,31 +5564,30 @@ abstract class CollaborationResourcesRenameCollectionResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRenameCollectionResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface { + bool get enabled; } -abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate implements - CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; // coverage:ignore-start - const CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5443,30 +5595,31 @@ abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesAddResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesAddResourceResponseApplicationJsonInterface { - CollaborationResourcesAddResourceResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_GroupInterface { + bool get enabled; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; } -abstract class CollaborationResourcesAddResourceResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Group implements - CollaborationResourcesAddResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesAddResourceResponseApplicationJson([ - final void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesAddResourceResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_GroupInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Group( + [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Group; // coverage:ignore-start - const CollaborationResourcesAddResourceResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Group._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesAddResourceResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Group.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5474,31 +5627,30 @@ abstract class CollaborationResourcesAddResourceResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesAddResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface { + bool get enabled; } -abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate implements - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; // coverage:ignore-start - const CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5506,30 +5658,30 @@ abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRemoveResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJsonInterface { - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface { + bool get enabled; } -abstract class CollaborationResourcesRemoveResourceResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported implements - CollaborationResourcesRemoveResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesRemoveResourceResponseApplicationJson([ - final void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesRemoveResourceResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; // coverage:ignore-start - const CollaborationResourcesRemoveResourceResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesRemoveResourceResponseApplicationJson.fromJson(final Map json) => + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5537,33 +5689,35 @@ abstract class CollaborationResourcesRemoveResourceResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesRemoveResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class FilesSharingCapabilities_FilesSharing_FederationInterface { + bool get outgoing; + bool get incoming; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate get expireDate; + @BuiltValueField(wireName: 'expire_date_supported') + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported get expireDateSupported; } -abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing_Federation implements - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharing_FederationInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Federation( + [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Federation; // coverage:ignore-start - const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing_Federation._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5571,32 +5725,32 @@ abstract class CollaborationResourcesGetCollectionsByResourceResponseApplication Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface { - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilities_FilesSharing_ShareeInterface { + @BuiltValueField(wireName: 'query_lookup_default') + bool get queryLookupDefault; + @BuiltValueField(wireName: 'always_show_unique') + bool get alwaysShowUnique; } -abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson +abstract class FilesSharingCapabilities_FilesSharing_Sharee implements - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson([ - final void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; + FilesSharingCapabilities_FilesSharing_ShareeInterface, + Built { + factory FilesSharingCapabilities_FilesSharing_Sharee( + [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing_Sharee; // coverage:ignore-start - const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(); + const FilesSharingCapabilities_FilesSharing_Sharee._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.fromJson( - final Map json, - ) => + factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5604,33 +5758,39 @@ abstract class CollaborationResourcesGetCollectionsByResourceResponseApplication Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingShareeSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface { - OCSMeta get meta; - Collection get data; +abstract interface class FilesSharingCapabilities_FilesSharingInterface { + @BuiltValueField(wireName: 'api_enabled') + bool get apiEnabled; + FilesSharingCapabilities_FilesSharing_Public get public; + FilesSharingCapabilities_FilesSharing_User get user; + bool get resharing; + @BuiltValueField(wireName: 'group_sharing') + bool? get groupSharing; + FilesSharingCapabilities_FilesSharing_Group? get group; + @BuiltValueField(wireName: 'default_permissions') + int? get defaultPermissions; + FilesSharingCapabilities_FilesSharing_Federation get federation; + FilesSharingCapabilities_FilesSharing_Sharee get sharee; } -abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs +abstract class FilesSharingCapabilities_FilesSharing implements - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface, - Built { - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs([ - final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? b, - ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + FilesSharingCapabilities_FilesSharingInterface, + Built { + factory FilesSharingCapabilities_FilesSharing([void Function(FilesSharingCapabilities_FilesSharingBuilder)? b]) = + _$FilesSharingCapabilities_FilesSharing; // coverage:ignore-start - const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._(); + const FilesSharingCapabilities_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.fromJson( - final Map json, - ) => + factory FilesSharingCapabilities_FilesSharing.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5638,32 +5798,26 @@ abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicati Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonOcsSerializer; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingSerializer; } @BuiltValue(instantiable: false) -abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface { - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs get ocs; +abstract interface class FilesSharingCapabilitiesInterface { + @BuiltValueField(wireName: 'files_sharing') + FilesSharingCapabilities_FilesSharing get filesSharing; } -abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson - implements - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface, - Built { - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson([ - final void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? b, - ]) = _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; +abstract class FilesSharingCapabilities + implements FilesSharingCapabilitiesInterface, Built { + factory FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? b]) = _$FilesSharingCapabilities; // coverage:ignore-start - const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(); + const FilesSharingCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.fromJson( - final Map json, - ) => + factory FilesSharingCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5671,27 +5825,27 @@ abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicati Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer; + static Serializer get serializer => _$filesSharingCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class ContactsActionInterface { - String get title; - String get icon; - String get hyperlink; - String get appId; +abstract interface class FilesTrashbinCapabilities_FilesInterface { + bool get undelete; } -abstract class ContactsAction implements ContactsActionInterface, Built { - factory ContactsAction([final void Function(ContactsActionBuilder)? b]) = _$ContactsAction; +abstract class FilesTrashbinCapabilities_Files + implements + FilesTrashbinCapabilities_FilesInterface, + Built { + factory FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? b]) = + _$FilesTrashbinCapabilities_Files; // coverage:ignore-start - const ContactsAction._(); + const FilesTrashbinCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory ContactsAction.fromJson(final Map json) => + factory FilesTrashbinCapabilities_Files.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5699,31 +5853,24 @@ abstract class ContactsAction implements ContactsActionInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$contactsActionSerializer; + static Serializer get serializer => _$filesTrashbinCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJson_Ocs_DataInterface { - String get userId; - String get displayName; - BuiltList get actions; +abstract interface class FilesTrashbinCapabilitiesInterface { + FilesTrashbinCapabilities_Files get files; } -abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data - implements - HoverCardGetUserResponseApplicationJson_Ocs_DataInterface, - Built { - factory HoverCardGetUserResponseApplicationJson_Ocs_Data([ - final void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson_Ocs_Data; +abstract class FilesTrashbinCapabilities + implements FilesTrashbinCapabilitiesInterface, Built { + factory FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? b]) = _$FilesTrashbinCapabilities; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson_Ocs_Data._(); + const FilesTrashbinCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory FilesTrashbinCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5731,30 +5878,31 @@ abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonOcsDataSerializer; + static Serializer get serializer => _$filesTrashbinCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJson_OcsInterface { - OCSMeta get meta; - HoverCardGetUserResponseApplicationJson_Ocs_Data get data; +abstract interface class FilesVersionsCapabilities_FilesInterface { + bool get versioning; + @BuiltValueField(wireName: 'version_labeling') + bool get versionLabeling; + @BuiltValueField(wireName: 'version_deletion') + bool get versionDeletion; } -abstract class HoverCardGetUserResponseApplicationJson_Ocs +abstract class FilesVersionsCapabilities_Files implements - HoverCardGetUserResponseApplicationJson_OcsInterface, - Built { - factory HoverCardGetUserResponseApplicationJson_Ocs([ - final void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson_Ocs; + FilesVersionsCapabilities_FilesInterface, + Built { + factory FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? b]) = + _$FilesVersionsCapabilities_Files; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson_Ocs._(); + const FilesVersionsCapabilities_Files._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson_Ocs.fromJson(final Map json) => + factory FilesVersionsCapabilities_Files.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5762,29 +5910,24 @@ abstract class HoverCardGetUserResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$filesVersionsCapabilitiesFilesSerializer; } @BuiltValue(instantiable: false) -abstract interface class HoverCardGetUserResponseApplicationJsonInterface { - HoverCardGetUserResponseApplicationJson_Ocs get ocs; +abstract interface class FilesVersionsCapabilitiesInterface { + FilesVersionsCapabilities_Files get files; } -abstract class HoverCardGetUserResponseApplicationJson - implements - HoverCardGetUserResponseApplicationJsonInterface, - Built { - factory HoverCardGetUserResponseApplicationJson([ - final void Function(HoverCardGetUserResponseApplicationJsonBuilder)? b, - ]) = _$HoverCardGetUserResponseApplicationJson; +abstract class FilesVersionsCapabilities + implements FilesVersionsCapabilitiesInterface, Built { + factory FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? b]) = _$FilesVersionsCapabilities; // coverage:ignore-start - const HoverCardGetUserResponseApplicationJson._(); + const FilesVersionsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory HoverCardGetUserResponseApplicationJson.fromJson(final Map json) => + factory FilesVersionsCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5792,26 +5935,26 @@ abstract class HoverCardGetUserResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$hoverCardGetUserResponseApplicationJsonSerializer; + static Serializer get serializer => _$filesVersionsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationEntry_OrderInterface { - int? get $int; - String? get string; +abstract interface class NotesCapabilities_NotesInterface { + @BuiltValueField(wireName: 'api_version') + BuiltList? get apiVersion; + String? get version; } -abstract class NavigationEntry_Order - implements NavigationEntry_OrderInterface, Built { - factory NavigationEntry_Order([final void Function(NavigationEntry_OrderBuilder)? b]) = _$NavigationEntry_Order; +abstract class NotesCapabilities_Notes + implements NotesCapabilities_NotesInterface, Built { + factory NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; // coverage:ignore-start - const NavigationEntry_Order._(); + const NotesCapabilities_Notes._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationEntry_Order.fromJson(final Map json) => + factory NotesCapabilities_Notes.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5819,67 +5962,55 @@ abstract class NavigationEntry_Order Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$NavigationEntry_OrderSerializer(); + static Serializer get serializer => _$notesCapabilitiesNotesSerializer; +} - JsonObject get data; +@BuiltValue(instantiable: false) +abstract interface class NotesCapabilitiesInterface { + NotesCapabilities_Notes get notes; } -class _$NavigationEntry_OrderSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [NavigationEntry_Order, _$NavigationEntry_Order]; +abstract class NotesCapabilities + implements NotesCapabilitiesInterface, Built { + factory NotesCapabilities([void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; - @override - final String wireName = 'NavigationEntry_Order'; + // coverage:ignore-start + const NotesCapabilities._(); + // coverage:ignore-end - @override - Object serialize( - final Serializers serializers, - final NavigationEntry_Order object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; + // coverage:ignore-start + factory NotesCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - @override - NavigationEntry_Order deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = NavigationEntry_OrderBuilder()..data = JsonObject(data); - try { - result._$int = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; - } catch (_) {} - try { - result._string = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; - } catch (_) {} - assert([result._$int, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); - return result.build(); - } + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$notesCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationEntryInterface { - String get id; - NavigationEntry_Order get order; - String get href; - String get icon; - String get type; - String get name; - bool get active; - String get classes; - int get unread; +abstract interface class NotificationsCapabilities_NotificationsInterface { + @BuiltValueField(wireName: 'ocs-endpoints') + BuiltList get ocsEndpoints; + BuiltList get push; + @BuiltValueField(wireName: 'admin-notifications') + BuiltList get adminNotifications; } -abstract class NavigationEntry implements NavigationEntryInterface, Built { - factory NavigationEntry([final void Function(NavigationEntryBuilder)? b]) = _$NavigationEntry; +abstract class NotificationsCapabilities_Notifications + implements + NotificationsCapabilities_NotificationsInterface, + Built { + factory NotificationsCapabilities_Notifications([void Function(NotificationsCapabilities_NotificationsBuilder)? b]) = + _$NotificationsCapabilities_Notifications; // coverage:ignore-start - const NavigationEntry._(); + const NotificationsCapabilities_Notifications._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationEntry.fromJson(final Map json) => + factory NotificationsCapabilities_Notifications.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5887,30 +6018,25 @@ abstract class NavigationEntry implements NavigationEntryInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$navigationEntrySerializer; + static Serializer get serializer => + _$notificationsCapabilitiesNotificationsSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetAppsNavigationResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class NotificationsCapabilitiesInterface { + NotificationsCapabilities_Notifications get notifications; } -abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs - implements - NavigationGetAppsNavigationResponseApplicationJson_OcsInterface, - Built { - factory NavigationGetAppsNavigationResponseApplicationJson_Ocs([ - final void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? b, - ]) = _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; +abstract class NotificationsCapabilities + implements NotificationsCapabilitiesInterface, Built { + factory NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? b]) = _$NotificationsCapabilities; // coverage:ignore-start - const NavigationGetAppsNavigationResponseApplicationJson_Ocs._(); + const NotificationsCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetAppsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => + factory NotificationsCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5918,30 +6044,34 @@ abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetAppsNavigationResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$notificationsCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetAppsNavigationResponseApplicationJsonInterface { - NavigationGetAppsNavigationResponseApplicationJson_Ocs get ocs; +abstract interface class ProvisioningApiCapabilities_ProvisioningApiInterface { + String get version; + @BuiltValueField(wireName: 'AccountPropertyScopesVersion') + int get accountPropertyScopesVersion; + @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') + bool get accountPropertyScopesFederatedEnabled; + @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') + bool get accountPropertyScopesPublishedEnabled; } -abstract class NavigationGetAppsNavigationResponseApplicationJson - implements - NavigationGetAppsNavigationResponseApplicationJsonInterface, - Built { - factory NavigationGetAppsNavigationResponseApplicationJson([ - final void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? b, - ]) = _$NavigationGetAppsNavigationResponseApplicationJson; +abstract class ProvisioningApiCapabilities_ProvisioningApi + implements + ProvisioningApiCapabilities_ProvisioningApiInterface, + Built { + factory ProvisioningApiCapabilities_ProvisioningApi( + [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b]) = + _$ProvisioningApiCapabilities_ProvisioningApi; // coverage:ignore-start - const NavigationGetAppsNavigationResponseApplicationJson._(); + const ProvisioningApiCapabilities_ProvisioningApi._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetAppsNavigationResponseApplicationJson.fromJson(final Map json) => + factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5949,31 +6079,29 @@ abstract class NavigationGetAppsNavigationResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetAppsNavigationResponseApplicationJsonSerializer; + static Serializer get serializer => + _$provisioningApiCapabilitiesProvisioningApiSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface { - OCSMeta get meta; - BuiltList get data; +abstract interface class ProvisioningApiCapabilitiesInterface { + @BuiltValueField(wireName: 'provisioning_api') + ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; } -abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs +abstract class ProvisioningApiCapabilities implements - NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface, - Built { - factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs([ - final void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? b, - ]) = _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; + ProvisioningApiCapabilitiesInterface, + Built { + factory ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? b]) = + _$ProvisioningApiCapabilities; // coverage:ignore-start - const NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(); + const ProvisioningApiCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ProvisioningApiCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -5981,30 +6109,29 @@ abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetSettingsNavigationResponseApplicationJsonOcsSerializer; + static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class NavigationGetSettingsNavigationResponseApplicationJsonInterface { - NavigationGetSettingsNavigationResponseApplicationJson_Ocs get ocs; +abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface { + bool get enabled; } -abstract class NavigationGetSettingsNavigationResponseApplicationJson +abstract class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop implements - NavigationGetSettingsNavigationResponseApplicationJsonInterface, - Built { - factory NavigationGetSettingsNavigationResponseApplicationJson([ - final void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? b, - ]) = _$NavigationGetSettingsNavigationResponseApplicationJson; + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface, + Built { + factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b]) = + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; // coverage:ignore-start - const NavigationGetSettingsNavigationResponseApplicationJson._(); + const SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); // coverage:ignore-end // coverage:ignore-start - factory NavigationGetSettingsNavigationResponseApplicationJson.fromJson(final Map json) => + factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6012,26 +6139,31 @@ abstract class NavigationGetSettingsNavigationResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$navigationGetSettingsNavigationResponseApplicationJsonSerializer; + static Serializer get serializer => + _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmOcmDiscoveryHeadersInterface { - @BuiltValueField(wireName: 'x-nextcloud-ocm-providers') - bool? get xNextcloudOcmProviders; +abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface { + bool get enabled; + bool get enforced; } -abstract class OcmOcmDiscoveryHeaders - implements OcmOcmDiscoveryHeadersInterface, Built { - factory OcmOcmDiscoveryHeaders([final void Function(OcmOcmDiscoveryHeadersBuilder)? b]) = _$OcmOcmDiscoveryHeaders; +abstract class SharebymailCapabilities_FilesSharing_Sharebymail_Password + implements + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface, + Built { + factory SharebymailCapabilities_FilesSharing_Sharebymail_Password( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? b]) = + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; // coverage:ignore-start - const OcmOcmDiscoveryHeaders._(); + const SharebymailCapabilities_FilesSharing_Sharebymail_Password._(); // coverage:ignore-end // coverage:ignore-start - factory OcmOcmDiscoveryHeaders.fromJson(final Map json) => + factory SharebymailCapabilities_FilesSharing_Sharebymail_Password.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6039,72 +6171,31 @@ abstract class OcmOcmDiscoveryHeaders Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$OcmOcmDiscoveryHeadersSerializer(); -} - -class _$OcmOcmDiscoveryHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [OcmOcmDiscoveryHeaders, _$OcmOcmDiscoveryHeaders]; - - @override - final String wireName = 'OcmOcmDiscoveryHeaders'; - - @override - Iterable serialize( - final Serializers serializers, - final OcmOcmDiscoveryHeaders object, { - final FullType specifiedType = FullType.unspecified, - }) { - throw UnimplementedError(); - } - - @override - OcmOcmDiscoveryHeaders deserialize( - final Serializers serializers, - final Iterable serialized, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = OcmOcmDiscoveryHeadersBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final value = iterator.current! as String; - switch (key) { - case 'x-nextcloud-ocm-providers': - result.xNextcloudOcmProviders = _jsonSerializers.deserialize( - json.decode(value), - specifiedType: const FullType(bool), - )! as bool; - } - } - - return result.build(); - } + static Serializer get serializer => + _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface { - String get webdav; +abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface { + bool get enabled; + bool get enforced; } -abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols +abstract class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate implements - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface, - Built { - factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols([ - final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? b, - ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface, + Built { + factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( + [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b]) = + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._(); + const SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.fromJson(final Map json) => + factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6112,32 +6203,37 @@ abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonResourceTypesProtocolsSerializer; + static Serializer get serializer => + _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypesInterface { - String get name; - BuiltList get shareTypes; - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols get protocols; +abstract interface class SharebymailCapabilities_FilesSharing_SharebymailInterface { + bool get enabled; + @BuiltValueField(wireName: 'send_password_by_mail') + bool get sendPasswordByMail; + @BuiltValueField(wireName: 'upload_files_drop') + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; + SharebymailCapabilities_FilesSharing_Sharebymail_Password get password; + @BuiltValueField(wireName: 'expire_date') + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate get expireDate; } -abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes +abstract class SharebymailCapabilities_FilesSharing_Sharebymail implements - OcmDiscoveryResponseApplicationJson_ResourceTypesInterface, - Built { - factory OcmDiscoveryResponseApplicationJson_ResourceTypes([ - final void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? b, - ]) = _$OcmDiscoveryResponseApplicationJson_ResourceTypes; + SharebymailCapabilities_FilesSharing_SharebymailInterface, + Built { + factory SharebymailCapabilities_FilesSharing_Sharebymail( + [void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? b]) = + _$SharebymailCapabilities_FilesSharing_Sharebymail; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson_ResourceTypes._(); + const SharebymailCapabilities_FilesSharing_Sharebymail._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson_ResourceTypes.fromJson(final Map json) => + factory SharebymailCapabilities_FilesSharing_Sharebymail.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6145,31 +6241,28 @@ abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonResourceTypesSerializer; + static Serializer get serializer => + _$sharebymailCapabilitiesFilesSharingSharebymailSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcmDiscoveryResponseApplicationJsonInterface { - bool get enabled; - String get apiVersion; - String get endPoint; - BuiltList get resourceTypes; +abstract interface class SharebymailCapabilities_FilesSharingInterface { + SharebymailCapabilities_FilesSharing_Sharebymail get sharebymail; } -abstract class OcmDiscoveryResponseApplicationJson +abstract class SharebymailCapabilities_FilesSharing implements - OcmDiscoveryResponseApplicationJsonInterface, - Built { - factory OcmDiscoveryResponseApplicationJson([final void Function(OcmDiscoveryResponseApplicationJsonBuilder)? b]) = - _$OcmDiscoveryResponseApplicationJson; + SharebymailCapabilities_FilesSharingInterface, + Built { + factory SharebymailCapabilities_FilesSharing([void Function(SharebymailCapabilities_FilesSharingBuilder)? b]) = + _$SharebymailCapabilities_FilesSharing; // coverage:ignore-start - const OcmDiscoveryResponseApplicationJson._(); + const SharebymailCapabilities_FilesSharing._(); // coverage:ignore-end // coverage:ignore-start - factory OcmDiscoveryResponseApplicationJson.fromJson(final Map json) => + factory SharebymailCapabilities_FilesSharing.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6177,35 +6270,26 @@ abstract class OcmDiscoveryResponseApplicationJson Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocmDiscoveryResponseApplicationJsonSerializer; + static Serializer get serializer => + _$sharebymailCapabilitiesFilesSharingSerializer; } @BuiltValue(instantiable: false) -abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface { - int get major; - int get minor; - int get micro; - String get string; - String get edition; - bool get extendedSupport; +abstract interface class SharebymailCapabilitiesInterface { + @BuiltValueField(wireName: 'files_sharing') + SharebymailCapabilities_FilesSharing get filesSharing; } -abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version - implements - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface, - Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; +abstract class SharebymailCapabilities + implements SharebymailCapabilitiesInterface, Built { + factory SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? b]) = _$SharebymailCapabilities; // coverage:ignore-start - const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._(); + const SharebymailCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.fromJson(final Map json) => + factory SharebymailCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6213,28 +6297,46 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$ocsGetCapabilitiesResponseApplicationJsonOcsDataVersionSerializer; + static Serializer get serializer => _$sharebymailCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class CommentsCapabilities_FilesInterface { - bool get comments; +abstract interface class ThemingPublicCapabilities_ThemingInterface { + String get name; + String get url; + String get slogan; + String get color; + @BuiltValueField(wireName: 'color-text') + String get colorText; + @BuiltValueField(wireName: 'color-element') + String get colorElement; + @BuiltValueField(wireName: 'color-element-bright') + String get colorElementBright; + @BuiltValueField(wireName: 'color-element-dark') + String get colorElementDark; + String get logo; + String get background; + @BuiltValueField(wireName: 'background-plain') + bool get backgroundPlain; + @BuiltValueField(wireName: 'background-default') + bool get backgroundDefault; + String get logoheader; + String get favicon; } -abstract class CommentsCapabilities_Files +abstract class ThemingPublicCapabilities_Theming implements - CommentsCapabilities_FilesInterface, - Built { - factory CommentsCapabilities_Files([final void Function(CommentsCapabilities_FilesBuilder)? b]) = - _$CommentsCapabilities_Files; + ThemingPublicCapabilities_ThemingInterface, + Built { + factory ThemingPublicCapabilities_Theming([void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = + _$ThemingPublicCapabilities_Theming; // coverage:ignore-start - const CommentsCapabilities_Files._(); + const ThemingPublicCapabilities_Theming._(); // coverage:ignore-end // coverage:ignore-start - factory CommentsCapabilities_Files.fromJson(final Map json) => + factory ThemingPublicCapabilities_Theming.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6242,24 +6344,24 @@ abstract class CommentsCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$commentsCapabilitiesFilesSerializer; + static Serializer get serializer => _$themingPublicCapabilitiesThemingSerializer; } @BuiltValue(instantiable: false) -abstract interface class CommentsCapabilitiesInterface { - CommentsCapabilities_Files get files; +abstract interface class ThemingPublicCapabilitiesInterface { + ThemingPublicCapabilities_Theming get theming; } -abstract class CommentsCapabilities - implements CommentsCapabilitiesInterface, Built { - factory CommentsCapabilities([final void Function(CommentsCapabilitiesBuilder)? b]) = _$CommentsCapabilities; +abstract class ThemingPublicCapabilities + implements ThemingPublicCapabilitiesInterface, Built { + factory ThemingPublicCapabilities([void Function(ThemingPublicCapabilitiesBuilder)? b]) = _$ThemingPublicCapabilities; // coverage:ignore-start - const CommentsCapabilities._(); + const ThemingPublicCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory CommentsCapabilities.fromJson(final Map json) => + factory ThemingPublicCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6267,25 +6369,30 @@ abstract class CommentsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$commentsCapabilitiesSerializer; + static Serializer get serializer => _$themingPublicCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class DavCapabilities_DavInterface { - String get chunking; - String? get bulkupload; +abstract interface class UserStatusCapabilities_UserStatusInterface { + bool get enabled; + bool get restore; + @BuiltValueField(wireName: 'supports_emoji') + bool get supportsEmoji; } -abstract class DavCapabilities_Dav - implements DavCapabilities_DavInterface, Built { - factory DavCapabilities_Dav([final void Function(DavCapabilities_DavBuilder)? b]) = _$DavCapabilities_Dav; +abstract class UserStatusCapabilities_UserStatus + implements + UserStatusCapabilities_UserStatusInterface, + Built { + factory UserStatusCapabilities_UserStatus([void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = + _$UserStatusCapabilities_UserStatus; // coverage:ignore-start - const DavCapabilities_Dav._(); + const UserStatusCapabilities_UserStatus._(); // coverage:ignore-end // coverage:ignore-start - factory DavCapabilities_Dav.fromJson(final Map json) => + factory UserStatusCapabilities_UserStatus.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6293,23 +6400,25 @@ abstract class DavCapabilities_Dav Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$davCapabilitiesDavSerializer; + static Serializer get serializer => _$userStatusCapabilitiesUserStatusSerializer; } @BuiltValue(instantiable: false) -abstract interface class DavCapabilitiesInterface { - DavCapabilities_Dav get dav; +abstract interface class UserStatusCapabilitiesInterface { + @BuiltValueField(wireName: 'user_status') + UserStatusCapabilities_UserStatus get userStatus; } -abstract class DavCapabilities implements DavCapabilitiesInterface, Built { - factory DavCapabilities([final void Function(DavCapabilitiesBuilder)? b]) = _$DavCapabilities; +abstract class UserStatusCapabilities + implements UserStatusCapabilitiesInterface, Built { + factory UserStatusCapabilities([void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; // coverage:ignore-start - const DavCapabilities._(); + const UserStatusCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory DavCapabilities.fromJson(final Map json) => + factory UserStatusCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6317,30 +6426,27 @@ abstract class DavCapabilities implements DavCapabilitiesInterface, Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$davCapabilitiesSerializer; + static Serializer get serializer => _$userStatusCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilities_Files_DirectEditingInterface { - String get url; - String get etag; - bool get supportsFileId; +abstract interface class WeatherStatusCapabilities_WeatherStatusInterface { + bool get enabled; } -abstract class FilesCapabilities_Files_DirectEditing +abstract class WeatherStatusCapabilities_WeatherStatus implements - FilesCapabilities_Files_DirectEditingInterface, - Built { - factory FilesCapabilities_Files_DirectEditing([ - final void Function(FilesCapabilities_Files_DirectEditingBuilder)? b, - ]) = _$FilesCapabilities_Files_DirectEditing; + WeatherStatusCapabilities_WeatherStatusInterface, + Built { + factory WeatherStatusCapabilities_WeatherStatus([void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? b]) = + _$WeatherStatusCapabilities_WeatherStatus; // coverage:ignore-start - const FilesCapabilities_Files_DirectEditing._(); + const WeatherStatusCapabilities_WeatherStatus._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities_Files_DirectEditing.fromJson(final Map json) => + factory WeatherStatusCapabilities_WeatherStatus.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6348,28 +6454,26 @@ abstract class FilesCapabilities_Files_DirectEditing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesCapabilitiesFilesDirectEditingSerializer; + static Serializer get serializer => + _$weatherStatusCapabilitiesWeatherStatusSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilities_FilesInterface { - bool get bigfilechunking; - @BuiltValueField(wireName: 'blacklisted_files') - BuiltList get blacklistedFiles; - FilesCapabilities_Files_DirectEditing get directEditing; +abstract interface class WeatherStatusCapabilitiesInterface { + @BuiltValueField(wireName: 'weather_status') + WeatherStatusCapabilities_WeatherStatus get weatherStatus; } -abstract class FilesCapabilities_Files - implements FilesCapabilities_FilesInterface, Built { - factory FilesCapabilities_Files([final void Function(FilesCapabilities_FilesBuilder)? b]) = _$FilesCapabilities_Files; +abstract class WeatherStatusCapabilities + implements WeatherStatusCapabilitiesInterface, Built { + factory WeatherStatusCapabilities([void Function(WeatherStatusCapabilitiesBuilder)? b]) = _$WeatherStatusCapabilities; // coverage:ignore-start - const FilesCapabilities_Files._(); + const WeatherStatusCapabilities._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities_Files.fromJson(final Map json) => + factory WeatherStatusCapabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6377,24 +6481,29 @@ abstract class FilesCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesCapabilitiesFilesSerializer; + static Serializer get serializer => _$weatherStatusCapabilitiesSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesCapabilitiesInterface { - FilesCapabilities_Files get files; +abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface { + String get apppassword; } -abstract class FilesCapabilities - implements FilesCapabilitiesInterface, Built { - factory FilesCapabilities([final void Function(FilesCapabilitiesBuilder)? b]) = _$FilesCapabilities; +abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + implements + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const FilesCapabilities._(); + const AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory FilesCapabilities.fromJson(final Map json) => + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6402,30 +6511,31 @@ abstract class FilesCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesCapabilitiesSerializer; + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_PasswordInterface { - bool get enforced; - bool get askForOptionalPassword; +abstract interface class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data get data; } -abstract class FilesSharingCapabilities_FilesSharing_Public_Password +abstract class AppPasswordGetAppPasswordResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharing_Public_PasswordInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_Password([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_Password; + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? b]) = + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_Password._(); + const AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => + factory AppPasswordGetAppPasswordResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6433,32 +6543,30 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_Password Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer; + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class AppPasswordGetAppPasswordResponseApplicationJsonInterface { + AppPasswordGetAppPasswordResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate +abstract class AppPasswordGetAppPasswordResponseApplicationJson implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + AppPasswordGetAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordGetAppPasswordResponseApplicationJson( + [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? b]) = + _$AppPasswordGetAppPasswordResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); + const AppPasswordGetAppPasswordResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => + factory AppPasswordGetAppPasswordResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6466,32 +6574,30 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; + static Serializer get serializer => + _$appPasswordGetAppPasswordResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface { + String get apppassword; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal +abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); + const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(final Map json) => + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6499,32 +6605,31 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface { - bool get enabled; - int? get days; - bool? get enforced; +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data get data; } -abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote +abstract class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ - final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? b]) = + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); + const AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => + factory AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6532,43 +6637,30 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_PublicInterface { - bool get enabled; - FilesSharingCapabilities_FilesSharing_Public_Password? get password; - @BuiltValueField(wireName: 'multiple_links') - bool? get multipleLinks; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Public_ExpireDate? get expireDate; - @BuiltValueField(wireName: 'expire_date_internal') - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; - @BuiltValueField(wireName: 'expire_date_remote') - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; - @BuiltValueField(wireName: 'send_mail') - bool? get sendMail; - bool? get upload; - @BuiltValueField(wireName: 'upload_files_drop') - bool? get uploadFilesDrop; +abstract interface class AppPasswordRotateAppPasswordResponseApplicationJsonInterface { + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities_FilesSharing_Public +abstract class AppPasswordRotateAppPasswordResponseApplicationJson implements - FilesSharingCapabilities_FilesSharing_PublicInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Public([ - final void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Public; + AppPasswordRotateAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordRotateAppPasswordResponseApplicationJson( + [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? b]) = + _$AppPasswordRotateAppPasswordResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Public._(); + const AppPasswordRotateAppPasswordResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => + factory AppPasswordRotateAppPasswordResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6576,30 +6668,31 @@ abstract class FilesSharingCapabilities_FilesSharing_Public Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingPublicSerializer; + static Serializer get serializer => + _$appPasswordRotateAppPasswordResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface { - bool get enabled; +abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface { + OCSMeta get meta; + JsonObject get data; } -abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate +abstract class AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_User_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface, + Built { + factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? b]) = + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); + const AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => + factory AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6607,32 +6700,30 @@ abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; + static Serializer get serializer => + _$appPasswordDeleteAppPasswordResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_UserInterface { - @BuiltValueField(wireName: 'send_mail') - bool get sendMail; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; +abstract interface class AppPasswordDeleteAppPasswordResponseApplicationJsonInterface { + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities_FilesSharing_User +abstract class AppPasswordDeleteAppPasswordResponseApplicationJson implements - FilesSharingCapabilities_FilesSharing_UserInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_User([ - final void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_User; + AppPasswordDeleteAppPasswordResponseApplicationJsonInterface, + Built { + factory AppPasswordDeleteAppPasswordResponseApplicationJson( + [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? b]) = + _$AppPasswordDeleteAppPasswordResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_User._(); + const AppPasswordDeleteAppPasswordResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => + factory AppPasswordDeleteAppPasswordResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6640,30 +6731,30 @@ abstract class FilesSharingCapabilities_FilesSharing_User Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingUserSerializer; + static Serializer get serializer => + _$appPasswordDeleteAppPasswordResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface { - bool get enabled; +abstract interface class AutoCompleteGetResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate +abstract class AutoCompleteGetResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + AutoCompleteGetResponseApplicationJson_OcsInterface, + Built { + factory AutoCompleteGetResponseApplicationJson_Ocs( + [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? b]) = + _$AutoCompleteGetResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); + const AutoCompleteGetResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => + factory AutoCompleteGetResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6671,31 +6762,28 @@ abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; + static Serializer get serializer => + _$autoCompleteGetResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_GroupInterface { - bool get enabled; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; +abstract interface class AutoCompleteGetResponseApplicationJsonInterface { + AutoCompleteGetResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities_FilesSharing_Group +abstract class AutoCompleteGetResponseApplicationJson implements - FilesSharingCapabilities_FilesSharing_GroupInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Group([ - final void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Group; + AutoCompleteGetResponseApplicationJsonInterface, + Built { + factory AutoCompleteGetResponseApplicationJson([void Function(AutoCompleteGetResponseApplicationJsonBuilder)? b]) = + _$AutoCompleteGetResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Group._(); + const AutoCompleteGetResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => + factory AutoCompleteGetResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6703,30 +6791,29 @@ abstract class FilesSharingCapabilities_FilesSharing_Group Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingGroupSerializer; + static Serializer get serializer => + _$autoCompleteGetResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface { - bool get enabled; +abstract interface class AvatarAvatarGetAvatarDarkHeadersInterface { + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; } -abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate +abstract class AvatarAvatarGetAvatarDarkHeaders implements - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ - final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + AvatarAvatarGetAvatarDarkHeadersInterface, + Built { + factory AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = + _$AvatarAvatarGetAvatarDarkHeaders; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); + const AvatarAvatarGetAvatarDarkHeaders._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => + factory AvatarAvatarGetAvatarDarkHeaders.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6734,32 +6821,69 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AvatarAvatarGetAvatarDarkHeadersSerializer(); +} + +class _$AvatarAvatarGetAvatarDarkHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [AvatarAvatarGetAvatarDarkHeaders, _$AvatarAvatarGetAvatarDarkHeaders]; + + @override + final String wireName = r'AvatarAvatarGetAvatarDarkHeaders'; + + @override + Iterable serialize( + Serializers serializers, + AvatarAvatarGetAvatarDarkHeaders object, { + FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + AvatarAvatarGetAvatarDarkHeaders deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = AvatarAvatarGetAvatarDarkHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nc-iscustomavatar': + result.xNcIscustomavatar = + (_jsonSerializers.deserialize(json.decode(value! as String), specifiedType: const FullType(int))! as int); + } + } + + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface { - bool get enabled; +abstract interface class AvatarAvatarGetAvatarHeadersInterface { + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; } -abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported +abstract class AvatarAvatarGetAvatarHeaders implements - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ - final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + AvatarAvatarGetAvatarHeadersInterface, + Built { + factory AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? b]) = + _$AvatarAvatarGetAvatarHeaders; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); + const AvatarAvatarGetAvatarHeaders._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( - final Map json, - ) => + factory AvatarAvatarGetAvatarHeaders.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6767,35 +6891,71 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSuppor Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$AvatarAvatarGetAvatarHeadersSerializer(); +} + +class _$AvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [AvatarAvatarGetAvatarHeaders, _$AvatarAvatarGetAvatarHeaders]; + + @override + final String wireName = r'AvatarAvatarGetAvatarHeaders'; + + @override + Iterable serialize( + Serializers serializers, + AvatarAvatarGetAvatarHeaders object, { + FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + AvatarAvatarGetAvatarHeaders deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = AvatarAvatarGetAvatarHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nc-iscustomavatar': + result.xNcIscustomavatar = + (_jsonSerializers.deserialize(json.decode(value! as String), specifiedType: const FullType(int))! as int); + } + } + + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_FederationInterface { - bool get outgoing; - bool get incoming; - @BuiltValueField(wireName: 'expire_date') - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate get expireDate; - @BuiltValueField(wireName: 'expire_date_supported') - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported get expireDateSupported; +abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class FilesSharingCapabilities_FilesSharing_Federation +abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharing_FederationInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Federation([ - final void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Federation; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Federation._(); + const CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => + factory CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6803,32 +6963,30 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingFederationSerializer; + static Serializer get serializer => + _$collaborationResourcesSearchCollectionsResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharing_ShareeInterface { - @BuiltValueField(wireName: 'query_lookup_default') - bool get queryLookupDefault; - @BuiltValueField(wireName: 'always_show_unique') - bool get alwaysShowUnique; +abstract interface class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface { + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities_FilesSharing_Sharee +abstract class CollaborationResourcesSearchCollectionsResponseApplicationJson implements - FilesSharingCapabilities_FilesSharing_ShareeInterface, - Built { - factory FilesSharingCapabilities_FilesSharing_Sharee([ - final void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing_Sharee; + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesSearchCollectionsResponseApplicationJson( + [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesSearchCollectionsResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing_Sharee._(); + const CollaborationResourcesSearchCollectionsResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => + factory CollaborationResourcesSearchCollectionsResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6836,40 +6994,31 @@ abstract class FilesSharingCapabilities_FilesSharing_Sharee Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingShareeSerializer; + static Serializer get serializer => + _$collaborationResourcesSearchCollectionsResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilities_FilesSharingInterface { - @BuiltValueField(wireName: 'api_enabled') - bool get apiEnabled; - FilesSharingCapabilities_FilesSharing_Public get public; - FilesSharingCapabilities_FilesSharing_User get user; - bool get resharing; - @BuiltValueField(wireName: 'group_sharing') - bool? get groupSharing; - FilesSharingCapabilities_FilesSharing_Group? get group; - @BuiltValueField(wireName: 'default_permissions') - int? get defaultPermissions; - FilesSharingCapabilities_FilesSharing_Federation get federation; - FilesSharingCapabilities_FilesSharing_Sharee get sharee; +abstract interface class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class FilesSharingCapabilities_FilesSharing +abstract class CollaborationResourcesListCollectionResponseApplicationJson_Ocs implements - FilesSharingCapabilities_FilesSharingInterface, - Built { - factory FilesSharingCapabilities_FilesSharing([ - final void Function(FilesSharingCapabilities_FilesSharingBuilder)? b, - ]) = _$FilesSharingCapabilities_FilesSharing; + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesSharingCapabilities_FilesSharing._(); + const CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities_FilesSharing.fromJson(final Map json) => + factory CollaborationResourcesListCollectionResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6877,27 +7026,30 @@ abstract class FilesSharingCapabilities_FilesSharing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$filesSharingCapabilitiesFilesSharingSerializer; + static Serializer get serializer => + _$collaborationResourcesListCollectionResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesSharingCapabilitiesInterface { - @BuiltValueField(wireName: 'files_sharing') - FilesSharingCapabilities_FilesSharing get filesSharing; +abstract interface class CollaborationResourcesListCollectionResponseApplicationJsonInterface { + CollaborationResourcesListCollectionResponseApplicationJson_Ocs get ocs; } -abstract class FilesSharingCapabilities - implements FilesSharingCapabilitiesInterface, Built { - factory FilesSharingCapabilities([final void Function(FilesSharingCapabilitiesBuilder)? b]) = - _$FilesSharingCapabilities; +abstract class CollaborationResourcesListCollectionResponseApplicationJson + implements + CollaborationResourcesListCollectionResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesListCollectionResponseApplicationJson( + [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesListCollectionResponseApplicationJson; // coverage:ignore-start - const FilesSharingCapabilities._(); + const CollaborationResourcesListCollectionResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesSharingCapabilities.fromJson(final Map json) => + factory CollaborationResourcesListCollectionResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6905,27 +7057,31 @@ abstract class FilesSharingCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesSharingCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesListCollectionResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesTrashbinCapabilities_FilesInterface { - bool get undelete; +abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class FilesTrashbinCapabilities_Files +abstract class CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs implements - FilesTrashbinCapabilities_FilesInterface, - Built { - factory FilesTrashbinCapabilities_Files([final void Function(FilesTrashbinCapabilities_FilesBuilder)? b]) = - _$FilesTrashbinCapabilities_Files; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesTrashbinCapabilities_Files._(); + const CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesTrashbinCapabilities_Files.fromJson(final Map json) => + factory CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6933,25 +7089,30 @@ abstract class FilesTrashbinCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesTrashbinCapabilitiesFilesSerializer; + static Serializer get serializer => + _$collaborationResourcesRenameCollectionResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesTrashbinCapabilitiesInterface { - FilesTrashbinCapabilities_Files get files; +abstract interface class CollaborationResourcesRenameCollectionResponseApplicationJsonInterface { + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs get ocs; } -abstract class FilesTrashbinCapabilities - implements FilesTrashbinCapabilitiesInterface, Built { - factory FilesTrashbinCapabilities([final void Function(FilesTrashbinCapabilitiesBuilder)? b]) = - _$FilesTrashbinCapabilities; +abstract class CollaborationResourcesRenameCollectionResponseApplicationJson + implements + CollaborationResourcesRenameCollectionResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesRenameCollectionResponseApplicationJson( + [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesRenameCollectionResponseApplicationJson; // coverage:ignore-start - const FilesTrashbinCapabilities._(); + const CollaborationResourcesRenameCollectionResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesTrashbinCapabilities.fromJson(final Map json) => + factory CollaborationResourcesRenameCollectionResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6959,31 +7120,31 @@ abstract class FilesTrashbinCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesTrashbinCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesRenameCollectionResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesVersionsCapabilities_FilesInterface { - bool get versioning; - @BuiltValueField(wireName: 'version_labeling') - bool get versionLabeling; - @BuiltValueField(wireName: 'version_deletion') - bool get versionDeletion; +abstract interface class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class FilesVersionsCapabilities_Files +abstract class CollaborationResourcesAddResourceResponseApplicationJson_Ocs implements - FilesVersionsCapabilities_FilesInterface, - Built { - factory FilesVersionsCapabilities_Files([final void Function(FilesVersionsCapabilities_FilesBuilder)? b]) = - _$FilesVersionsCapabilities_Files; + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const FilesVersionsCapabilities_Files._(); + const CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory FilesVersionsCapabilities_Files.fromJson(final Map json) => + factory CollaborationResourcesAddResourceResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -6991,25 +7152,30 @@ abstract class FilesVersionsCapabilities_Files Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesVersionsCapabilitiesFilesSerializer; + static Serializer get serializer => + _$collaborationResourcesAddResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class FilesVersionsCapabilitiesInterface { - FilesVersionsCapabilities_Files get files; +abstract interface class CollaborationResourcesAddResourceResponseApplicationJsonInterface { + CollaborationResourcesAddResourceResponseApplicationJson_Ocs get ocs; } -abstract class FilesVersionsCapabilities - implements FilesVersionsCapabilitiesInterface, Built { - factory FilesVersionsCapabilities([final void Function(FilesVersionsCapabilitiesBuilder)? b]) = - _$FilesVersionsCapabilities; +abstract class CollaborationResourcesAddResourceResponseApplicationJson + implements + CollaborationResourcesAddResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesAddResourceResponseApplicationJson( + [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesAddResourceResponseApplicationJson; // coverage:ignore-start - const FilesVersionsCapabilities._(); + const CollaborationResourcesAddResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory FilesVersionsCapabilities.fromJson(final Map json) => + factory CollaborationResourcesAddResourceResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7017,26 +7183,31 @@ abstract class FilesVersionsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$filesVersionsCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesAddResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotesCapabilities_NotesInterface { - @BuiltValueField(wireName: 'api_version') - BuiltList? get apiVersion; - String? get version; +abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class NotesCapabilities_Notes - implements NotesCapabilities_NotesInterface, Built { - factory NotesCapabilities_Notes([final void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; +abstract class CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + implements + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const NotesCapabilities_Notes._(); + const CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory NotesCapabilities_Notes.fromJson(final Map json) => + factory CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7044,24 +7215,30 @@ abstract class NotesCapabilities_Notes Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notesCapabilitiesNotesSerializer; + static Serializer get serializer => + _$collaborationResourcesRemoveResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotesCapabilitiesInterface { - NotesCapabilities_Notes get notes; +abstract interface class CollaborationResourcesRemoveResourceResponseApplicationJsonInterface { + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs get ocs; } -abstract class NotesCapabilities - implements NotesCapabilitiesInterface, Built { - factory NotesCapabilities([final void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; +abstract class CollaborationResourcesRemoveResourceResponseApplicationJson + implements + CollaborationResourcesRemoveResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesRemoveResourceResponseApplicationJson( + [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesRemoveResourceResponseApplicationJson; // coverage:ignore-start - const NotesCapabilities._(); + const CollaborationResourcesRemoveResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory NotesCapabilities.fromJson(final Map json) => + factory CollaborationResourcesRemoveResourceResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7069,32 +7246,32 @@ abstract class NotesCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notesCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesRemoveResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotificationsCapabilities_NotificationsInterface { - @BuiltValueField(wireName: 'ocs-endpoints') - BuiltList get ocsEndpoints; - BuiltList get push; - @BuiltValueField(wireName: 'admin-notifications') - BuiltList get adminNotifications; +abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class NotificationsCapabilities_Notifications +abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs implements - NotificationsCapabilities_NotificationsInterface, - Built { - factory NotificationsCapabilities_Notifications([ - final void Function(NotificationsCapabilities_NotificationsBuilder)? b, - ]) = _$NotificationsCapabilities_Notifications; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const NotificationsCapabilities_Notifications._(); + const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory NotificationsCapabilities_Notifications.fromJson(final Map json) => + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.fromJson( + Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7102,26 +7279,30 @@ abstract class NotificationsCapabilities_Notifications Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$notificationsCapabilitiesNotificationsSerializer; + static Serializer get serializer => + _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class NotificationsCapabilitiesInterface { - NotificationsCapabilities_Notifications get notifications; +abstract interface class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs get ocs; } -abstract class NotificationsCapabilities - implements NotificationsCapabilitiesInterface, Built { - factory NotificationsCapabilities([final void Function(NotificationsCapabilitiesBuilder)? b]) = - _$NotificationsCapabilities; +abstract class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + implements + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( + [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; // coverage:ignore-start - const NotificationsCapabilities._(); + const CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory NotificationsCapabilities.fromJson(final Map json) => + factory CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7129,34 +7310,32 @@ abstract class NotificationsCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$notificationsCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ProvisioningApiCapabilities_ProvisioningApiInterface { - String get version; - @BuiltValueField(wireName: 'AccountPropertyScopesVersion') - int get accountPropertyScopesVersion; - @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') - bool get accountPropertyScopesFederatedEnabled; - @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') - bool get accountPropertyScopesPublishedEnabled; +abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface { + OCSMeta get meta; + Collection get data; } -abstract class ProvisioningApiCapabilities_ProvisioningApi +abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs implements - ProvisioningApiCapabilities_ProvisioningApiInterface, - Built { - factory ProvisioningApiCapabilities_ProvisioningApi([ - final void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b, - ]) = _$ProvisioningApiCapabilities_ProvisioningApi; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface, + Built { + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? b]) = + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; // coverage:ignore-start - const ProvisioningApiCapabilities_ProvisioningApi._(); + const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.fromJson( + Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7164,29 +7343,30 @@ abstract class ProvisioningApiCapabilities_ProvisioningApi Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$provisioningApiCapabilitiesProvisioningApiSerializer; + static Serializer get serializer => + _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ProvisioningApiCapabilitiesInterface { - @BuiltValueField(wireName: 'provisioning_api') - ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; +abstract interface class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs get ocs; } -abstract class ProvisioningApiCapabilities +abstract class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson implements - ProvisioningApiCapabilitiesInterface, - Built { - factory ProvisioningApiCapabilities([final void Function(ProvisioningApiCapabilitiesBuilder)? b]) = - _$ProvisioningApiCapabilities; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface, + Built { + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( + [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? b]) = + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; // coverage:ignore-start - const ProvisioningApiCapabilities._(); + const CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ProvisioningApiCapabilities.fromJson(final Map json) => + factory CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7194,29 +7374,32 @@ abstract class ProvisioningApiCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; + static Serializer get serializer => + _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface { - bool get enabled; +abstract interface class HoverCardGetUserResponseApplicationJson_Ocs_DataInterface { + String get userId; + String get displayName; + BuiltList get actions; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop +abstract class HoverCardGetUserResponseApplicationJson_Ocs_Data implements - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; + HoverCardGetUserResponseApplicationJson_Ocs_DataInterface, + Built { + factory HoverCardGetUserResponseApplicationJson_Ocs_Data( + [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$HoverCardGetUserResponseApplicationJson_Ocs_Data; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); + const HoverCardGetUserResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map json) => + factory HoverCardGetUserResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7224,31 +7407,30 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonOcsDataSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface { - bool get enabled; - bool get enforced; +abstract interface class HoverCardGetUserResponseApplicationJson_OcsInterface { + OCSMeta get meta; + HoverCardGetUserResponseApplicationJson_Ocs_Data get data; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_Password +abstract class HoverCardGetUserResponseApplicationJson_Ocs implements - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_Password([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; + HoverCardGetUserResponseApplicationJson_OcsInterface, + Built { + factory HoverCardGetUserResponseApplicationJson_Ocs( + [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? b]) = + _$HoverCardGetUserResponseApplicationJson_Ocs; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_Password._(); + const HoverCardGetUserResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_Password.fromJson(final Map json) => + factory HoverCardGetUserResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7256,31 +7438,28 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_Password Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface { - bool get enabled; - bool get enforced; +abstract interface class HoverCardGetUserResponseApplicationJsonInterface { + HoverCardGetUserResponseApplicationJson_Ocs get ocs; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate +abstract class HoverCardGetUserResponseApplicationJson implements - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate([ - final void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; + HoverCardGetUserResponseApplicationJsonInterface, + Built { + factory HoverCardGetUserResponseApplicationJson([void Function(HoverCardGetUserResponseApplicationJsonBuilder)? b]) = + _$HoverCardGetUserResponseApplicationJson; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._(); + const HoverCardGetUserResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map json) => + factory HoverCardGetUserResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7288,37 +7467,31 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer; + static Serializer get serializer => + _$hoverCardGetUserResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharing_SharebymailInterface { - bool get enabled; - @BuiltValueField(wireName: 'send_password_by_mail') - bool get sendPasswordByMail; - @BuiltValueField(wireName: 'upload_files_drop') - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; - SharebymailCapabilities_FilesSharing_Sharebymail_Password get password; - @BuiltValueField(wireName: 'expire_date') - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate get expireDate; +abstract interface class NavigationGetAppsNavigationResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class SharebymailCapabilities_FilesSharing_Sharebymail +abstract class NavigationGetAppsNavigationResponseApplicationJson_Ocs implements - SharebymailCapabilities_FilesSharing_SharebymailInterface, - Built { - factory SharebymailCapabilities_FilesSharing_Sharebymail([ - final void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? b, - ]) = _$SharebymailCapabilities_FilesSharing_Sharebymail; + NavigationGetAppsNavigationResponseApplicationJson_OcsInterface, + Built { + factory NavigationGetAppsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? b]) = + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing_Sharebymail._(); + const NavigationGetAppsNavigationResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing_Sharebymail.fromJson(final Map json) => + factory NavigationGetAppsNavigationResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7326,28 +7499,30 @@ abstract class SharebymailCapabilities_FilesSharing_Sharebymail Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSharebymailSerializer; + static Serializer get serializer => + _$navigationGetAppsNavigationResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilities_FilesSharingInterface { - SharebymailCapabilities_FilesSharing_Sharebymail get sharebymail; +abstract interface class NavigationGetAppsNavigationResponseApplicationJsonInterface { + NavigationGetAppsNavigationResponseApplicationJson_Ocs get ocs; } -abstract class SharebymailCapabilities_FilesSharing +abstract class NavigationGetAppsNavigationResponseApplicationJson implements - SharebymailCapabilities_FilesSharingInterface, - Built { - factory SharebymailCapabilities_FilesSharing([final void Function(SharebymailCapabilities_FilesSharingBuilder)? b]) = - _$SharebymailCapabilities_FilesSharing; + NavigationGetAppsNavigationResponseApplicationJsonInterface, + Built { + factory NavigationGetAppsNavigationResponseApplicationJson( + [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? b]) = + _$NavigationGetAppsNavigationResponseApplicationJson; // coverage:ignore-start - const SharebymailCapabilities_FilesSharing._(); + const NavigationGetAppsNavigationResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities_FilesSharing.fromJson(final Map json) => + factory NavigationGetAppsNavigationResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7355,26 +7530,31 @@ abstract class SharebymailCapabilities_FilesSharing Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$sharebymailCapabilitiesFilesSharingSerializer; + static Serializer get serializer => + _$navigationGetAppsNavigationResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class SharebymailCapabilitiesInterface { - @BuiltValueField(wireName: 'files_sharing') - SharebymailCapabilities_FilesSharing get filesSharing; +abstract interface class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface { + OCSMeta get meta; + BuiltList get data; } -abstract class SharebymailCapabilities - implements SharebymailCapabilitiesInterface, Built { - factory SharebymailCapabilities([final void Function(SharebymailCapabilitiesBuilder)? b]) = _$SharebymailCapabilities; +abstract class NavigationGetSettingsNavigationResponseApplicationJson_Ocs + implements + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface, + Built { + factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs( + [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? b]) = + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; // coverage:ignore-start - const SharebymailCapabilities._(); + const NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory SharebymailCapabilities.fromJson(final Map json) => + factory NavigationGetSettingsNavigationResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7382,46 +7562,30 @@ abstract class SharebymailCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$sharebymailCapabilitiesSerializer; + static Serializer get serializer => + _$navigationGetSettingsNavigationResponseApplicationJsonOcsSerializer; } @BuiltValue(instantiable: false) -abstract interface class ThemingPublicCapabilities_ThemingInterface { - String get name; - String get url; - String get slogan; - String get color; - @BuiltValueField(wireName: 'color-text') - String get colorText; - @BuiltValueField(wireName: 'color-element') - String get colorElement; - @BuiltValueField(wireName: 'color-element-bright') - String get colorElementBright; - @BuiltValueField(wireName: 'color-element-dark') - String get colorElementDark; - String get logo; - String get background; - @BuiltValueField(wireName: 'background-plain') - bool get backgroundPlain; - @BuiltValueField(wireName: 'background-default') - bool get backgroundDefault; - String get logoheader; - String get favicon; +abstract interface class NavigationGetSettingsNavigationResponseApplicationJsonInterface { + NavigationGetSettingsNavigationResponseApplicationJson_Ocs get ocs; } -abstract class ThemingPublicCapabilities_Theming +abstract class NavigationGetSettingsNavigationResponseApplicationJson implements - ThemingPublicCapabilities_ThemingInterface, - Built { - factory ThemingPublicCapabilities_Theming([final void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = - _$ThemingPublicCapabilities_Theming; + NavigationGetSettingsNavigationResponseApplicationJsonInterface, + Built { + factory NavigationGetSettingsNavigationResponseApplicationJson( + [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? b]) = + _$NavigationGetSettingsNavigationResponseApplicationJson; // coverage:ignore-start - const ThemingPublicCapabilities_Theming._(); + const NavigationGetSettingsNavigationResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ThemingPublicCapabilities_Theming.fromJson(final Map json) => + factory NavigationGetSettingsNavigationResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7429,25 +7593,26 @@ abstract class ThemingPublicCapabilities_Theming Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$themingPublicCapabilitiesThemingSerializer; + static Serializer get serializer => + _$navigationGetSettingsNavigationResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class ThemingPublicCapabilitiesInterface { - ThemingPublicCapabilities_Theming get theming; +abstract interface class OcmOcmDiscoveryHeadersInterface { + @BuiltValueField(wireName: 'x-nextcloud-ocm-providers') + bool? get xNextcloudOcmProviders; } -abstract class ThemingPublicCapabilities - implements ThemingPublicCapabilitiesInterface, Built { - factory ThemingPublicCapabilities([final void Function(ThemingPublicCapabilitiesBuilder)? b]) = - _$ThemingPublicCapabilities; +abstract class OcmOcmDiscoveryHeaders + implements OcmOcmDiscoveryHeadersInterface, Built { + factory OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? b]) = _$OcmOcmDiscoveryHeaders; // coverage:ignore-start - const ThemingPublicCapabilities._(); + const OcmOcmDiscoveryHeaders._(); // coverage:ignore-end // coverage:ignore-start - factory ThemingPublicCapabilities.fromJson(final Map json) => + factory OcmOcmDiscoveryHeaders.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7455,30 +7620,70 @@ abstract class ThemingPublicCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$themingPublicCapabilitiesSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$OcmOcmDiscoveryHeadersSerializer(); +} + +class _$OcmOcmDiscoveryHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [OcmOcmDiscoveryHeaders, _$OcmOcmDiscoveryHeaders]; + + @override + final String wireName = r'OcmOcmDiscoveryHeaders'; + + @override + Iterable serialize( + Serializers serializers, + OcmOcmDiscoveryHeaders object, { + FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + OcmOcmDiscoveryHeaders deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { + final result = OcmOcmDiscoveryHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nextcloud-ocm-providers': + result.xNextcloudOcmProviders = (_jsonSerializers.deserialize(json.decode(value! as String), + specifiedType: const FullType(bool))! as bool); + } + } + + return result.build(); + } } @BuiltValue(instantiable: false) -abstract interface class UserStatusCapabilities_UserStatusInterface { - bool get enabled; - bool get restore; - @BuiltValueField(wireName: 'supports_emoji') - bool get supportsEmoji; +abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface { + String get webdav; } -abstract class UserStatusCapabilities_UserStatus +abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols implements - UserStatusCapabilities_UserStatusInterface, - Built { - factory UserStatusCapabilities_UserStatus([final void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = - _$UserStatusCapabilities_UserStatus; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface, + Built { + factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? b]) = + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; // coverage:ignore-start - const UserStatusCapabilities_UserStatus._(); + const OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._(); // coverage:ignore-end // coverage:ignore-start - factory UserStatusCapabilities_UserStatus.fromJson(final Map json) => + factory OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7486,25 +7691,32 @@ abstract class UserStatusCapabilities_UserStatus Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$userStatusCapabilitiesUserStatusSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonResourceTypesProtocolsSerializer; } @BuiltValue(instantiable: false) -abstract interface class UserStatusCapabilitiesInterface { - @BuiltValueField(wireName: 'user_status') - UserStatusCapabilities_UserStatus get userStatus; +abstract interface class OcmDiscoveryResponseApplicationJson_ResourceTypesInterface { + String get name; + BuiltList get shareTypes; + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols get protocols; } -abstract class UserStatusCapabilities - implements UserStatusCapabilitiesInterface, Built { - factory UserStatusCapabilities([final void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; +abstract class OcmDiscoveryResponseApplicationJson_ResourceTypes + implements + OcmDiscoveryResponseApplicationJson_ResourceTypesInterface, + Built { + factory OcmDiscoveryResponseApplicationJson_ResourceTypes( + [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? b]) = + _$OcmDiscoveryResponseApplicationJson_ResourceTypes; // coverage:ignore-start - const UserStatusCapabilities._(); + const OcmDiscoveryResponseApplicationJson_ResourceTypes._(); // coverage:ignore-end // coverage:ignore-start - factory UserStatusCapabilities.fromJson(final Map json) => + factory OcmDiscoveryResponseApplicationJson_ResourceTypes.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7512,28 +7724,31 @@ abstract class UserStatusCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$userStatusCapabilitiesSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonResourceTypesSerializer; } @BuiltValue(instantiable: false) -abstract interface class WeatherStatusCapabilities_WeatherStatusInterface { +abstract interface class OcmDiscoveryResponseApplicationJsonInterface { bool get enabled; + String get apiVersion; + String get endPoint; + BuiltList get resourceTypes; } -abstract class WeatherStatusCapabilities_WeatherStatus +abstract class OcmDiscoveryResponseApplicationJson implements - WeatherStatusCapabilities_WeatherStatusInterface, - Built { - factory WeatherStatusCapabilities_WeatherStatus([ - final void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? b, - ]) = _$WeatherStatusCapabilities_WeatherStatus; + OcmDiscoveryResponseApplicationJsonInterface, + Built { + factory OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? b]) = + _$OcmDiscoveryResponseApplicationJson; // coverage:ignore-start - const WeatherStatusCapabilities_WeatherStatus._(); + const OcmDiscoveryResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory WeatherStatusCapabilities_WeatherStatus.fromJson(final Map json) => + factory OcmDiscoveryResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7541,27 +7756,35 @@ abstract class WeatherStatusCapabilities_WeatherStatus Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => - _$weatherStatusCapabilitiesWeatherStatusSerializer; + static Serializer get serializer => + _$ocmDiscoveryResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) -abstract interface class WeatherStatusCapabilitiesInterface { - @BuiltValueField(wireName: 'weather_status') - WeatherStatusCapabilities_WeatherStatus get weatherStatus; +abstract interface class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface { + int get major; + int get minor; + int get micro; + String get string; + String get edition; + bool get extendedSupport; } -abstract class WeatherStatusCapabilities - implements WeatherStatusCapabilitiesInterface, Built { - factory WeatherStatusCapabilities([final void Function(WeatherStatusCapabilitiesBuilder)? b]) = - _$WeatherStatusCapabilities; +abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + implements + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface, + Built { + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? b]) = + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; // coverage:ignore-start - const WeatherStatusCapabilities._(); + const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._(); // coverage:ignore-end // coverage:ignore-start - factory WeatherStatusCapabilities.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7569,7 +7792,8 @@ abstract class WeatherStatusCapabilities Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$weatherStatusCapabilitiesSerializer; + static Serializer get serializer => + _$ocsGetCapabilitiesResponseApplicationJsonOcsDataVersionSerializer; } @BuiltValue(instantiable: false) @@ -7594,16 +7818,16 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface, Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? b]) = + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; // coverage:ignore-start const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7616,6 +7840,33 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [ + b._commentsCapabilities, + b._davCapabilities, + b._filesCapabilities, + b._filesSharingCapabilities, + b._filesTrashbinCapabilities, + b._filesVersionsCapabilities, + b._notesCapabilities, + b._notificationsCapabilities, + b._provisioningApiCapabilities, + b._sharebymailCapabilities, + b._themingPublicCapabilities, + b._userStatusCapabilities, + b._weatherStatusCapabilities + ].firstWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError( + "Need at least one of 'commentsCapabilities', 'davCapabilities', 'filesCapabilities', 'filesSharingCapabilities', 'filesTrashbinCapabilities', 'filesVersionsCapabilities', 'notesCapabilities', 'notificationsCapabilities', 'provisioningApiCapabilities', 'sharebymailCapabilities', 'themingPublicCapabilities', 'userStatusCapabilities', 'weatherStatusCapabilities' for ${b._data}"); + } + } } class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerializer @@ -7623,130 +7874,93 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesSerialize @override final Iterable types = const [ OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities ]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities'; + final String wireName = r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities'; @override Object serialize( - final Serializers serializers, - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; + Serializers serializers, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities object, { + FullType specifiedType = FullType.unspecified, + }) { + return object.data.value; + } @override OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, }) { final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..data = JsonObject(data); try { - result._commentsCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(CommentsCapabilities), - )! as CommentsCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(CommentsCapabilities))! + as CommentsCapabilities); + result.commentsCapabilities.replace(value); } catch (_) {} try { - result._davCapabilities = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(DavCapabilities))! as DavCapabilities) - .toBuilder(); + final value = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(DavCapabilities))! as DavCapabilities); + result.davCapabilities.replace(value); } catch (_) {} try { - result._filesCapabilities = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(FilesCapabilities))! as FilesCapabilities) - .toBuilder(); + final value = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(FilesCapabilities))! as FilesCapabilities); + result.filesCapabilities.replace(value); } catch (_) {} try { - result._filesSharingCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(FilesSharingCapabilities), - )! as FilesSharingCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingCapabilities))! + as FilesSharingCapabilities); + result.filesSharingCapabilities.replace(value); } catch (_) {} try { - result._filesTrashbinCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(FilesTrashbinCapabilities), - )! as FilesTrashbinCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(FilesTrashbinCapabilities))! + as FilesTrashbinCapabilities); + result.filesTrashbinCapabilities.replace(value); } catch (_) {} try { - result._filesVersionsCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(FilesVersionsCapabilities), - )! as FilesVersionsCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(FilesVersionsCapabilities))! + as FilesVersionsCapabilities); + result.filesVersionsCapabilities.replace(value); } catch (_) {} try { - result._notesCapabilities = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(NotesCapabilities))! as NotesCapabilities) - .toBuilder(); + final value = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(NotesCapabilities))! as NotesCapabilities); + result.notesCapabilities.replace(value); } catch (_) {} try { - result._notificationsCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(NotificationsCapabilities), - )! as NotificationsCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(NotificationsCapabilities))! + as NotificationsCapabilities); + result.notificationsCapabilities.replace(value); } catch (_) {} try { - result._provisioningApiCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(ProvisioningApiCapabilities), - )! as ProvisioningApiCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(ProvisioningApiCapabilities))! + as ProvisioningApiCapabilities); + result.provisioningApiCapabilities.replace(value); } catch (_) {} try { - result._sharebymailCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(SharebymailCapabilities), - )! as SharebymailCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(SharebymailCapabilities))! + as SharebymailCapabilities); + result.sharebymailCapabilities.replace(value); } catch (_) {} try { - result._themingPublicCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(ThemingPublicCapabilities), - )! as ThemingPublicCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(ThemingPublicCapabilities))! + as ThemingPublicCapabilities); + result.themingPublicCapabilities.replace(value); } catch (_) {} try { - result._userStatusCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(UserStatusCapabilities), - )! as UserStatusCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusCapabilities))! + as UserStatusCapabilities); + result.userStatusCapabilities.replace(value); } catch (_) {} try { - result._weatherStatusCapabilities = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(WeatherStatusCapabilities), - )! as WeatherStatusCapabilities) - .toBuilder(); + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(WeatherStatusCapabilities))! + as WeatherStatusCapabilities); + result.weatherStatusCapabilities.replace(value); } catch (_) {} - assert( - [ - result._commentsCapabilities, - result._davCapabilities, - result._filesCapabilities, - result._filesSharingCapabilities, - result._filesTrashbinCapabilities, - result._filesVersionsCapabilities, - result._notesCapabilities, - result._notificationsCapabilities, - result._provisioningApiCapabilities, - result._sharebymailCapabilities, - result._themingPublicCapabilities, - result._userStatusCapabilities, - result._weatherStatusCapabilities, - ].where((final x) => x != null).isNotEmpty, - 'Need anyOf for ${result._data}', - ); return result.build(); } } @@ -7762,16 +7976,16 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface, Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data( + [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; // coverage:ignore-start const OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7793,16 +8007,16 @@ abstract class OcsGetCapabilitiesResponseApplicationJson_Ocs implements OcsGetCapabilitiesResponseApplicationJson_OcsInterface, Built { - factory OcsGetCapabilitiesResponseApplicationJson_Ocs([ - final void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson_Ocs; + factory OcsGetCapabilitiesResponseApplicationJson_Ocs( + [void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? b]) = + _$OcsGetCapabilitiesResponseApplicationJson_Ocs; // coverage:ignore-start const OcsGetCapabilitiesResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson_Ocs.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7823,16 +8037,16 @@ abstract class OcsGetCapabilitiesResponseApplicationJson implements OcsGetCapabilitiesResponseApplicationJsonInterface, Built { - factory OcsGetCapabilitiesResponseApplicationJson([ - final void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? b, - ]) = _$OcsGetCapabilitiesResponseApplicationJson; + factory OcsGetCapabilitiesResponseApplicationJson( + [void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? b]) = + _$OcsGetCapabilitiesResponseApplicationJson; // coverage:ignore-start const OcsGetCapabilitiesResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory OcsGetCapabilitiesResponseApplicationJson.fromJson(final Map json) => + factory OcsGetCapabilitiesResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7855,16 +8069,16 @@ abstract class ProfileApiSetVisibilityResponseApplicationJson_Ocs ProfileApiSetVisibilityResponseApplicationJson_OcsInterface, Built { - factory ProfileApiSetVisibilityResponseApplicationJson_Ocs([ - final void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? b, - ]) = _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; + factory ProfileApiSetVisibilityResponseApplicationJson_Ocs( + [void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? b]) = + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; // coverage:ignore-start const ProfileApiSetVisibilityResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ProfileApiSetVisibilityResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ProfileApiSetVisibilityResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7885,16 +8099,16 @@ abstract class ProfileApiSetVisibilityResponseApplicationJson implements ProfileApiSetVisibilityResponseApplicationJsonInterface, Built { - factory ProfileApiSetVisibilityResponseApplicationJson([ - final void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? b, - ]) = _$ProfileApiSetVisibilityResponseApplicationJson; + factory ProfileApiSetVisibilityResponseApplicationJson( + [void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? b]) = + _$ProfileApiSetVisibilityResponseApplicationJson; // coverage:ignore-start const ProfileApiSetVisibilityResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ProfileApiSetVisibilityResponseApplicationJson.fromJson(final Map json) => + factory ProfileApiSetVisibilityResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7906,32 +8120,6 @@ abstract class ProfileApiSetVisibilityResponseApplicationJson _$profileApiSetVisibilityResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class ReferenceInterface { - String get richObjectType; - BuiltMap get richObject; - OpenGraphObject get openGraphObject; - bool get accessible; -} - -abstract class Reference implements ReferenceInterface, Built { - factory Reference([final void Function(ReferenceBuilder)? b]) = _$Reference; - - // coverage:ignore-start - const Reference._(); - // coverage:ignore-end - - // coverage:ignore-start - factory Reference.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$referenceSerializer; -} - @BuiltValue(instantiable: false) abstract interface class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface { BuiltMap get references; @@ -7942,16 +8130,16 @@ abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs_Data ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface, Built { - factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; + factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; // coverage:ignore-start const ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -7974,16 +8162,16 @@ abstract class ReferenceApiResolveOneResponseApplicationJson_Ocs ReferenceApiResolveOneResponseApplicationJson_OcsInterface, Built { - factory ReferenceApiResolveOneResponseApplicationJson_Ocs([ - final void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson_Ocs; + factory ReferenceApiResolveOneResponseApplicationJson_Ocs( + [void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? b]) = + _$ReferenceApiResolveOneResponseApplicationJson_Ocs; // coverage:ignore-start const ReferenceApiResolveOneResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8004,16 +8192,16 @@ abstract class ReferenceApiResolveOneResponseApplicationJson implements ReferenceApiResolveOneResponseApplicationJsonInterface, Built { - factory ReferenceApiResolveOneResponseApplicationJson([ - final void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiResolveOneResponseApplicationJson; + factory ReferenceApiResolveOneResponseApplicationJson( + [void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? b]) = + _$ReferenceApiResolveOneResponseApplicationJson; // coverage:ignore-start const ReferenceApiResolveOneResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveOneResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiResolveOneResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8035,16 +8223,16 @@ abstract class ReferenceApiResolveResponseApplicationJson_Ocs_Data ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface, Built { - factory ReferenceApiResolveResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; + factory ReferenceApiResolveResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; // coverage:ignore-start const ReferenceApiResolveResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8066,16 +8254,16 @@ abstract class ReferenceApiResolveResponseApplicationJson_Ocs implements ReferenceApiResolveResponseApplicationJson_OcsInterface, Built { - factory ReferenceApiResolveResponseApplicationJson_Ocs([ - final void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson_Ocs; + factory ReferenceApiResolveResponseApplicationJson_Ocs( + [void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? b]) = + _$ReferenceApiResolveResponseApplicationJson_Ocs; // coverage:ignore-start const ReferenceApiResolveResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8096,16 +8284,16 @@ abstract class ReferenceApiResolveResponseApplicationJson implements ReferenceApiResolveResponseApplicationJsonInterface, Built { - factory ReferenceApiResolveResponseApplicationJson([ - final void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiResolveResponseApplicationJson; + factory ReferenceApiResolveResponseApplicationJson( + [void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? b]) = + _$ReferenceApiResolveResponseApplicationJson; // coverage:ignore-start const ReferenceApiResolveResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiResolveResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiResolveResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8127,16 +8315,16 @@ abstract class ReferenceApiExtractResponseApplicationJson_Ocs_Data ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface, Built { - factory ReferenceApiExtractResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; + factory ReferenceApiExtractResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; // coverage:ignore-start const ReferenceApiExtractResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8158,16 +8346,16 @@ abstract class ReferenceApiExtractResponseApplicationJson_Ocs implements ReferenceApiExtractResponseApplicationJson_OcsInterface, Built { - factory ReferenceApiExtractResponseApplicationJson_Ocs([ - final void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson_Ocs; + factory ReferenceApiExtractResponseApplicationJson_Ocs( + [void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? b]) = + _$ReferenceApiExtractResponseApplicationJson_Ocs; // coverage:ignore-start const ReferenceApiExtractResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8188,16 +8376,16 @@ abstract class ReferenceApiExtractResponseApplicationJson implements ReferenceApiExtractResponseApplicationJsonInterface, Built { - factory ReferenceApiExtractResponseApplicationJson([ - final void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiExtractResponseApplicationJson; + factory ReferenceApiExtractResponseApplicationJson( + [void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? b]) = + _$ReferenceApiExtractResponseApplicationJson; // coverage:ignore-start const ReferenceApiExtractResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiExtractResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiExtractResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8209,37 +8397,6 @@ abstract class ReferenceApiExtractResponseApplicationJson _$referenceApiExtractResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class ReferenceProviderInterface { - String get id; - String get title; - @BuiltValueField(wireName: 'icon_url') - String get iconUrl; - int get order; - @BuiltValueField(wireName: 'search_providers_ids') - BuiltList? get searchProvidersIds; -} - -abstract class ReferenceProvider - implements ReferenceProviderInterface, Built { - factory ReferenceProvider([final void Function(ReferenceProviderBuilder)? b]) = _$ReferenceProvider; - - // coverage:ignore-start - const ReferenceProvider._(); - // coverage:ignore-end - - // coverage:ignore-start - factory ReferenceProvider.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$referenceProviderSerializer; -} - @BuiltValue(instantiable: false) abstract interface class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface { OCSMeta get meta; @@ -8251,16 +8408,16 @@ abstract class ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface, Built { - factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs([ - final void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; + factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs( + [void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? b]) = + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; // coverage:ignore-start const ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8282,16 +8439,16 @@ abstract class ReferenceApiGetProvidersInfoResponseApplicationJson ReferenceApiGetProvidersInfoResponseApplicationJsonInterface, Built { - factory ReferenceApiGetProvidersInfoResponseApplicationJson([ - final void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiGetProvidersInfoResponseApplicationJson; + factory ReferenceApiGetProvidersInfoResponseApplicationJson( + [void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? b]) = + _$ReferenceApiGetProvidersInfoResponseApplicationJson; // coverage:ignore-start const ReferenceApiGetProvidersInfoResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiGetProvidersInfoResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiGetProvidersInfoResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8313,16 +8470,16 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface, Built { - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data([ - final void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data( + [void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; // coverage:ignore-start const ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8345,16 +8502,16 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson_Ocs ReferenceApiTouchProviderResponseApplicationJson_OcsInterface, Built { - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs([ - final void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs( + [void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? b]) = + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; // coverage:ignore-start const ReferenceApiTouchProviderResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson_Ocs.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8376,16 +8533,16 @@ abstract class ReferenceApiTouchProviderResponseApplicationJson ReferenceApiTouchProviderResponseApplicationJsonInterface, Built { - factory ReferenceApiTouchProviderResponseApplicationJson([ - final void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? b, - ]) = _$ReferenceApiTouchProviderResponseApplicationJson; + factory ReferenceApiTouchProviderResponseApplicationJson( + [void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? b]) = + _$ReferenceApiTouchProviderResponseApplicationJson; // coverage:ignore-start const ReferenceApiTouchProviderResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory ReferenceApiTouchProviderResponseApplicationJson.fromJson(final Map json) => + factory ReferenceApiTouchProviderResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8409,16 +8566,16 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface, Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? b]) = + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; // coverage:ignore-start const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8440,16 +8597,16 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface, Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8472,16 +8629,16 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson_Ocs TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface, Built { - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs( + [void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? b]) = + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; // coverage:ignore-start const TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8503,16 +8660,16 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson TextProcessingApiTaskTypesResponseApplicationJsonInterface, Built { - factory TextProcessingApiTaskTypesResponseApplicationJson([ - final void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiTaskTypesResponseApplicationJson; + factory TextProcessingApiTaskTypesResponseApplicationJson( + [void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? b]) = + _$TextProcessingApiTaskTypesResponseApplicationJson; // coverage:ignore-start const TextProcessingApiTaskTypesResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiTaskTypesResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiTaskTypesResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8524,38 +8681,6 @@ abstract class TextProcessingApiTaskTypesResponseApplicationJson _$textProcessingApiTaskTypesResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class TextProcessingTaskInterface { - int? get id; - String get type; - int get status; - String? get userId; - String get appId; - String get input; - String? get output; - String get identifier; -} - -abstract class TextProcessingTask - implements TextProcessingTaskInterface, Built { - factory TextProcessingTask([final void Function(TextProcessingTaskBuilder)? b]) = _$TextProcessingTask; - - // coverage:ignore-start - const TextProcessingTask._(); - // coverage:ignore-end - - // coverage:ignore-start - factory TextProcessingTask.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$textProcessingTaskSerializer; -} - @BuiltValue(instantiable: false) abstract interface class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface { TextProcessingTask get task; @@ -8566,16 +8691,16 @@ abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs_Data TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface, Built { - factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; + factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8598,16 +8723,16 @@ abstract class TextProcessingApiScheduleResponseApplicationJson_Ocs TextProcessingApiScheduleResponseApplicationJson_OcsInterface, Built { - factory TextProcessingApiScheduleResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson_Ocs; + factory TextProcessingApiScheduleResponseApplicationJson_Ocs( + [void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? b]) = + _$TextProcessingApiScheduleResponseApplicationJson_Ocs; // coverage:ignore-start const TextProcessingApiScheduleResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8629,16 +8754,16 @@ abstract class TextProcessingApiScheduleResponseApplicationJson TextProcessingApiScheduleResponseApplicationJsonInterface, Built { - factory TextProcessingApiScheduleResponseApplicationJson([ - final void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiScheduleResponseApplicationJson; + factory TextProcessingApiScheduleResponseApplicationJson( + [void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? b]) = + _$TextProcessingApiScheduleResponseApplicationJson; // coverage:ignore-start const TextProcessingApiScheduleResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiScheduleResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiScheduleResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8660,16 +8785,16 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface, Built { - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8692,16 +8817,16 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson_Ocs TextProcessingApiGetTaskResponseApplicationJson_OcsInterface, Built { - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs( + [void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? b]) = + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; // coverage:ignore-start const TextProcessingApiGetTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8722,16 +8847,16 @@ abstract class TextProcessingApiGetTaskResponseApplicationJson implements TextProcessingApiGetTaskResponseApplicationJsonInterface, Built { - factory TextProcessingApiGetTaskResponseApplicationJson([ - final void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiGetTaskResponseApplicationJson; + factory TextProcessingApiGetTaskResponseApplicationJson( + [void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? b]) = + _$TextProcessingApiGetTaskResponseApplicationJson; // coverage:ignore-start const TextProcessingApiGetTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiGetTaskResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiGetTaskResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8753,16 +8878,16 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface, Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8785,16 +8910,16 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface, Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? b]) = + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; // coverage:ignore-start const TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8816,16 +8941,16 @@ abstract class TextProcessingApiDeleteTaskResponseApplicationJson TextProcessingApiDeleteTaskResponseApplicationJsonInterface, Built { - factory TextProcessingApiDeleteTaskResponseApplicationJson([ - final void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiDeleteTaskResponseApplicationJson; + factory TextProcessingApiDeleteTaskResponseApplicationJson( + [void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? b]) = + _$TextProcessingApiDeleteTaskResponseApplicationJson; // coverage:ignore-start const TextProcessingApiDeleteTaskResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiDeleteTaskResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiDeleteTaskResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8847,16 +8972,16 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface, Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8879,16 +9004,16 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface, Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? b]) = + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; // coverage:ignore-start const TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8910,16 +9035,16 @@ abstract class TextProcessingApiListTasksByAppResponseApplicationJson TextProcessingApiListTasksByAppResponseApplicationJsonInterface, Built { - factory TextProcessingApiListTasksByAppResponseApplicationJson([ - final void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? b, - ]) = _$TextProcessingApiListTasksByAppResponseApplicationJson; + factory TextProcessingApiListTasksByAppResponseApplicationJson( + [void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? b]) = + _$TextProcessingApiListTasksByAppResponseApplicationJson; // coverage:ignore-start const TextProcessingApiListTasksByAppResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TextProcessingApiListTasksByAppResponseApplicationJson.fromJson(final Map json) => + factory TextProcessingApiListTasksByAppResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8944,16 +9069,16 @@ abstract class TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterface, Built { - factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages([ - final void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? b, - ]) = _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages; + factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages( + [void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? b]) = + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages; // coverage:ignore-start const TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages.fromJson(final Map json) => + factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -8976,16 +9101,16 @@ abstract class TranslationApiLanguagesResponseApplicationJson_Ocs_Data TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterface, Built { - factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data([ - final void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data; + factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data( + [void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TranslationApiLanguagesResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TranslationApiLanguagesResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9008,16 +9133,16 @@ abstract class TranslationApiLanguagesResponseApplicationJson_Ocs TranslationApiLanguagesResponseApplicationJson_OcsInterface, Built { - factory TranslationApiLanguagesResponseApplicationJson_Ocs([ - final void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? b, - ]) = _$TranslationApiLanguagesResponseApplicationJson_Ocs; + factory TranslationApiLanguagesResponseApplicationJson_Ocs( + [void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? b]) = + _$TranslationApiLanguagesResponseApplicationJson_Ocs; // coverage:ignore-start const TranslationApiLanguagesResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiLanguagesResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TranslationApiLanguagesResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9038,16 +9163,16 @@ abstract class TranslationApiLanguagesResponseApplicationJson implements TranslationApiLanguagesResponseApplicationJsonInterface, Built { - factory TranslationApiLanguagesResponseApplicationJson([ - final void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? b, - ]) = _$TranslationApiLanguagesResponseApplicationJson; + factory TranslationApiLanguagesResponseApplicationJson( + [void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? b]) = + _$TranslationApiLanguagesResponseApplicationJson; // coverage:ignore-start const TranslationApiLanguagesResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiLanguagesResponseApplicationJson.fromJson(final Map json) => + factory TranslationApiLanguagesResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9070,16 +9195,16 @@ abstract class TranslationApiTranslateResponseApplicationJson_Ocs_Data TranslationApiTranslateResponseApplicationJson_Ocs_DataInterface, Built { - factory TranslationApiTranslateResponseApplicationJson_Ocs_Data([ - final void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$TranslationApiTranslateResponseApplicationJson_Ocs_Data; + factory TranslationApiTranslateResponseApplicationJson_Ocs_Data( + [void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data; // coverage:ignore-start const TranslationApiTranslateResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiTranslateResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory TranslationApiTranslateResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9102,16 +9227,16 @@ abstract class TranslationApiTranslateResponseApplicationJson_Ocs TranslationApiTranslateResponseApplicationJson_OcsInterface, Built { - factory TranslationApiTranslateResponseApplicationJson_Ocs([ - final void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder)? b, - ]) = _$TranslationApiTranslateResponseApplicationJson_Ocs; + factory TranslationApiTranslateResponseApplicationJson_Ocs( + [void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder)? b]) = + _$TranslationApiTranslateResponseApplicationJson_Ocs; // coverage:ignore-start const TranslationApiTranslateResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory TranslationApiTranslateResponseApplicationJson_Ocs.fromJson(final Map json) => + factory TranslationApiTranslateResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9128,48 +9253,20 @@ abstract interface class TranslationApiTranslateResponseApplicationJsonInterface TranslationApiTranslateResponseApplicationJson_Ocs get ocs; } -abstract class TranslationApiTranslateResponseApplicationJson - implements - TranslationApiTranslateResponseApplicationJsonInterface, - Built { - factory TranslationApiTranslateResponseApplicationJson([ - final void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? b, - ]) = _$TranslationApiTranslateResponseApplicationJson; - - // coverage:ignore-start - const TranslationApiTranslateResponseApplicationJson._(); - // coverage:ignore-end - - // coverage:ignore-start - factory TranslationApiTranslateResponseApplicationJson.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => - _$translationApiTranslateResponseApplicationJsonSerializer; -} - -@BuiltValue(instantiable: false) -abstract interface class UnifiedSearchProviderInterface { - String get id; - String get name; - int get order; -} - -abstract class UnifiedSearchProvider - implements UnifiedSearchProviderInterface, Built { - factory UnifiedSearchProvider([final void Function(UnifiedSearchProviderBuilder)? b]) = _$UnifiedSearchProvider; +abstract class TranslationApiTranslateResponseApplicationJson + implements + TranslationApiTranslateResponseApplicationJsonInterface, + Built { + factory TranslationApiTranslateResponseApplicationJson( + [void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? b]) = + _$TranslationApiTranslateResponseApplicationJson; // coverage:ignore-start - const UnifiedSearchProvider._(); + const TranslationApiTranslateResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchProvider.fromJson(final Map json) => + factory TranslationApiTranslateResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9177,7 +9274,8 @@ abstract class UnifiedSearchProvider Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end - static Serializer get serializer => _$unifiedSearchProviderSerializer; + static Serializer get serializer => + _$translationApiTranslateResponseApplicationJsonSerializer; } @BuiltValue(instantiable: false) @@ -9191,16 +9289,16 @@ abstract class UnifiedSearchGetProvidersResponseApplicationJson_Ocs UnifiedSearchGetProvidersResponseApplicationJson_OcsInterface, Built { - factory UnifiedSearchGetProvidersResponseApplicationJson_Ocs([ - final void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? b, - ]) = _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs; + factory UnifiedSearchGetProvidersResponseApplicationJson_Ocs( + [void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? b]) = + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs; // coverage:ignore-start const UnifiedSearchGetProvidersResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchGetProvidersResponseApplicationJson_Ocs.fromJson(final Map json) => + factory UnifiedSearchGetProvidersResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9222,16 +9320,16 @@ abstract class UnifiedSearchGetProvidersResponseApplicationJson UnifiedSearchGetProvidersResponseApplicationJsonInterface, Built { - factory UnifiedSearchGetProvidersResponseApplicationJson([ - final void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? b, - ]) = _$UnifiedSearchGetProvidersResponseApplicationJson; + factory UnifiedSearchGetProvidersResponseApplicationJson( + [void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? b]) = + _$UnifiedSearchGetProvidersResponseApplicationJson; // coverage:ignore-start const UnifiedSearchGetProvidersResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchGetProvidersResponseApplicationJson.fromJson(final Map json) => + factory UnifiedSearchGetProvidersResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9251,15 +9349,14 @@ abstract interface class UnifiedSearchSearchCursorInterface { abstract class UnifiedSearchSearchCursor implements UnifiedSearchSearchCursorInterface, Built { - factory UnifiedSearchSearchCursor([final void Function(UnifiedSearchSearchCursorBuilder)? b]) = - _$UnifiedSearchSearchCursor; + factory UnifiedSearchSearchCursor([void Function(UnifiedSearchSearchCursorBuilder)? b]) = _$UnifiedSearchSearchCursor; // coverage:ignore-start const UnifiedSearchSearchCursor._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchSearchCursor.fromJson(final Map json) => + factory UnifiedSearchSearchCursor.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9271,6 +9368,18 @@ abstract class UnifiedSearchSearchCursor static Serializer get serializer => _$UnifiedSearchSearchCursorSerializer(); JsonObject get data; + @BuiltValueHook(finalizeBuilder: true) + static void _validate(UnifiedSearchSearchCursorBuilder b) { + // When this is rebuild from another builder + if (b._data == null) { + return; + } + + final match = [b._$int, b._string].singleWhereOrNull((final x) => x != null); + if (match == null) { + throw StateError("Need exactly one of '$int', 'string' for ${b._data}"); + } + } } class _$UnifiedSearchSearchCursorSerializer implements PrimitiveSerializer { @@ -9278,159 +9387,36 @@ class _$UnifiedSearchSearchCursorSerializer implements PrimitiveSerializer types = const [UnifiedSearchSearchCursor, _$UnifiedSearchSearchCursor]; @override - final String wireName = 'UnifiedSearchSearchCursor'; + final String wireName = r'UnifiedSearchSearchCursor'; @override Object serialize( - final Serializers serializers, - final UnifiedSearchSearchCursor object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UnifiedSearchSearchCursor deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, + Serializers serializers, + UnifiedSearchSearchCursor object, { + FullType specifiedType = FullType.unspecified, }) { - final result = UnifiedSearchSearchCursorBuilder()..data = JsonObject(data); - try { - result._$int = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; - } catch (_) {} - try { - result._string = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; - } catch (_) {} - assert([result._$int, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); - return result.build(); + return object.data.value; } -} - -@BuiltValue(instantiable: false) -abstract interface class UnifiedSearchResultEntryInterface { - String get thumbnailUrl; - String get title; - String get subline; - String get resourceUrl; - String get icon; - bool get rounded; - BuiltList get attributes; -} - -abstract class UnifiedSearchResultEntry - implements UnifiedSearchResultEntryInterface, Built { - factory UnifiedSearchResultEntry([final void Function(UnifiedSearchResultEntryBuilder)? b]) = - _$UnifiedSearchResultEntry; - - // coverage:ignore-start - const UnifiedSearchResultEntry._(); - // coverage:ignore-end - - // coverage:ignore-start - factory UnifiedSearchResultEntry.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$unifiedSearchResultEntrySerializer; -} - -@BuiltValue(instantiable: false) -abstract interface class UnifiedSearchResult_CursorInterface { - int? get $int; - String? get string; -} - -abstract class UnifiedSearchResult_Cursor - implements - UnifiedSearchResult_CursorInterface, - Built { - factory UnifiedSearchResult_Cursor([final void Function(UnifiedSearchResult_CursorBuilder)? b]) = - _$UnifiedSearchResult_Cursor; - - // coverage:ignore-start - const UnifiedSearchResult_Cursor._(); - // coverage:ignore-end - - // coverage:ignore-start - factory UnifiedSearchResult_Cursor.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$UnifiedSearchResult_CursorSerializer(); - - JsonObject get data; -} - -class _$UnifiedSearchResult_CursorSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [UnifiedSearchResult_Cursor, _$UnifiedSearchResult_Cursor]; - - @override - final String wireName = 'UnifiedSearchResult_Cursor'; @override - Object serialize( - final Serializers serializers, - final UnifiedSearchResult_Cursor object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UnifiedSearchResult_Cursor deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, + UnifiedSearchSearchCursor deserialize( + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, }) { - final result = UnifiedSearchResult_CursorBuilder()..data = JsonObject(data); + final result = UnifiedSearchSearchCursorBuilder()..data = JsonObject(data); try { - result._$int = _jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int; + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(int))! as int); + result.$int = value; } catch (_) {} try { - result._string = _jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String; + final value = (_jsonSerializers.deserialize(data, specifiedType: const FullType(String))! as String); + result.string = value; } catch (_) {} - assert([result._$int, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); return result.build(); } } -@BuiltValue(instantiable: false) -abstract interface class UnifiedSearchResultInterface { - String get name; - bool get isPaginated; - BuiltList get entries; - UnifiedSearchResult_Cursor? get cursor; -} - -abstract class UnifiedSearchResult - implements UnifiedSearchResultInterface, Built { - factory UnifiedSearchResult([final void Function(UnifiedSearchResultBuilder)? b]) = _$UnifiedSearchResult; - - // coverage:ignore-start - const UnifiedSearchResult._(); - // coverage:ignore-end - - // coverage:ignore-start - factory UnifiedSearchResult.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$unifiedSearchResultSerializer; -} - @BuiltValue(instantiable: false) abstract interface class UnifiedSearchSearchResponseApplicationJson_OcsInterface { OCSMeta get meta; @@ -9441,16 +9427,16 @@ abstract class UnifiedSearchSearchResponseApplicationJson_Ocs implements UnifiedSearchSearchResponseApplicationJson_OcsInterface, Built { - factory UnifiedSearchSearchResponseApplicationJson_Ocs([ - final void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? b, - ]) = _$UnifiedSearchSearchResponseApplicationJson_Ocs; + factory UnifiedSearchSearchResponseApplicationJson_Ocs( + [void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? b]) = + _$UnifiedSearchSearchResponseApplicationJson_Ocs; // coverage:ignore-start const UnifiedSearchSearchResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchSearchResponseApplicationJson_Ocs.fromJson(final Map json) => + factory UnifiedSearchSearchResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9471,16 +9457,16 @@ abstract class UnifiedSearchSearchResponseApplicationJson implements UnifiedSearchSearchResponseApplicationJsonInterface, Built { - factory UnifiedSearchSearchResponseApplicationJson([ - final void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? b, - ]) = _$UnifiedSearchSearchResponseApplicationJson; + factory UnifiedSearchSearchResponseApplicationJson( + [void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? b]) = + _$UnifiedSearchSearchResponseApplicationJson; // coverage:ignore-start const UnifiedSearchSearchResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory UnifiedSearchSearchResponseApplicationJson.fromJson(final Map json) => + factory UnifiedSearchSearchResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9503,16 +9489,16 @@ abstract class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterface, Built { - factory WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew([ - final void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? b, - ]) = _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew; + factory WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew( + [void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? b]) = + _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew; // coverage:ignore-start const WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew._(); // coverage:ignore-end // coverage:ignore-start - factory WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew.fromJson(final Map json) => + factory WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9536,16 +9522,16 @@ abstract class WhatsNewGetResponseApplicationJson_Ocs_Data implements WhatsNewGetResponseApplicationJson_Ocs_DataInterface, Built { - factory WhatsNewGetResponseApplicationJson_Ocs_Data([ - final void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$WhatsNewGetResponseApplicationJson_Ocs_Data; + factory WhatsNewGetResponseApplicationJson_Ocs_Data( + [void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$WhatsNewGetResponseApplicationJson_Ocs_Data; // coverage:ignore-start const WhatsNewGetResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory WhatsNewGetResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory WhatsNewGetResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9567,16 +9553,15 @@ abstract class WhatsNewGetResponseApplicationJson_Ocs implements WhatsNewGetResponseApplicationJson_OcsInterface, Built { - factory WhatsNewGetResponseApplicationJson_Ocs([ - final void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? b, - ]) = _$WhatsNewGetResponseApplicationJson_Ocs; + factory WhatsNewGetResponseApplicationJson_Ocs([void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? b]) = + _$WhatsNewGetResponseApplicationJson_Ocs; // coverage:ignore-start const WhatsNewGetResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory WhatsNewGetResponseApplicationJson_Ocs.fromJson(final Map json) => + factory WhatsNewGetResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9597,7 +9582,7 @@ abstract class WhatsNewGetResponseApplicationJson implements WhatsNewGetResponseApplicationJsonInterface, Built { - factory WhatsNewGetResponseApplicationJson([final void Function(WhatsNewGetResponseApplicationJsonBuilder)? b]) = + factory WhatsNewGetResponseApplicationJson([void Function(WhatsNewGetResponseApplicationJsonBuilder)? b]) = _$WhatsNewGetResponseApplicationJson; // coverage:ignore-start @@ -9605,7 +9590,7 @@ abstract class WhatsNewGetResponseApplicationJson // coverage:ignore-end // coverage:ignore-start - factory WhatsNewGetResponseApplicationJson.fromJson(final Map json) => + factory WhatsNewGetResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9627,16 +9612,16 @@ abstract class WhatsNewDismissResponseApplicationJson_Ocs implements WhatsNewDismissResponseApplicationJson_OcsInterface, Built { - factory WhatsNewDismissResponseApplicationJson_Ocs([ - final void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? b, - ]) = _$WhatsNewDismissResponseApplicationJson_Ocs; + factory WhatsNewDismissResponseApplicationJson_Ocs( + [void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? b]) = + _$WhatsNewDismissResponseApplicationJson_Ocs; // coverage:ignore-start const WhatsNewDismissResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory WhatsNewDismissResponseApplicationJson_Ocs.fromJson(final Map json) => + factory WhatsNewDismissResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9657,16 +9642,15 @@ abstract class WhatsNewDismissResponseApplicationJson implements WhatsNewDismissResponseApplicationJsonInterface, Built { - factory WhatsNewDismissResponseApplicationJson([ - final void Function(WhatsNewDismissResponseApplicationJsonBuilder)? b, - ]) = _$WhatsNewDismissResponseApplicationJson; + factory WhatsNewDismissResponseApplicationJson([void Function(WhatsNewDismissResponseApplicationJsonBuilder)? b]) = + _$WhatsNewDismissResponseApplicationJson; // coverage:ignore-start const WhatsNewDismissResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory WhatsNewDismissResponseApplicationJson.fromJson(final Map json) => + factory WhatsNewDismissResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9687,7 +9671,7 @@ abstract class WipeCheckWipeResponseApplicationJson implements WipeCheckWipeResponseApplicationJsonInterface, Built { - factory WipeCheckWipeResponseApplicationJson([final void Function(WipeCheckWipeResponseApplicationJsonBuilder)? b]) = + factory WipeCheckWipeResponseApplicationJson([void Function(WipeCheckWipeResponseApplicationJsonBuilder)? b]) = _$WipeCheckWipeResponseApplicationJson; // coverage:ignore-start @@ -9695,7 +9679,7 @@ abstract class WipeCheckWipeResponseApplicationJson // coverage:ignore-end // coverage:ignore-start - factory WipeCheckWipeResponseApplicationJson.fromJson(final Map json) => + factory WipeCheckWipeResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -9709,701 +9693,163 @@ abstract class WipeCheckWipeResponseApplicationJson // coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory(const FullType(Status), Status.new) - ..add(Status.serializer) - ..addBuilderFactory( - const FullType(AppPasswordGetAppPasswordResponseApplicationJson), - AppPasswordGetAppPasswordResponseApplicationJson.new, - ) - ..add(AppPasswordGetAppPasswordResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs), - AppPasswordGetAppPasswordResponseApplicationJson_Ocs.new, - ) - ..add(AppPasswordGetAppPasswordResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(OCSMeta), OCSMeta.new) - ..add(OCSMeta.serializer) - ..addBuilderFactory( - const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data), - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.new, - ) - ..add(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(AppPasswordRotateAppPasswordResponseApplicationJson), - AppPasswordRotateAppPasswordResponseApplicationJson.new, - ) - ..add(AppPasswordRotateAppPasswordResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs), - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.new, - ) - ..add(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data), - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.new, - ) - ..add(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(AppPasswordDeleteAppPasswordResponseApplicationJson), - AppPasswordDeleteAppPasswordResponseApplicationJson.new, - ) - ..add(AppPasswordDeleteAppPasswordResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs), - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.new, - ) - ..add(AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(AutoCompleteGetResponseApplicationJson), - AutoCompleteGetResponseApplicationJson.new, - ) - ..add(AutoCompleteGetResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(AutoCompleteGetResponseApplicationJson_Ocs), - AutoCompleteGetResponseApplicationJson_Ocs.new, - ) - ..add(AutoCompleteGetResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(AutocompleteResult), AutocompleteResult.new) + ..addBuilderFactory(FullType(AutocompleteResult), AutocompleteResult.new) ..add(AutocompleteResult.serializer) - ..addBuilderFactory(const FullType(AutocompleteResult_Status), AutocompleteResult_Status.new) + ..addBuilderFactory(FullType(AutocompleteResult_Status), AutocompleteResult_Status.new) ..add(AutocompleteResult_Status.serializer) - ..addBuilderFactory(const FullType(AutocompleteResult_Status0), AutocompleteResult_Status0.new) + ..addBuilderFactory(FullType(AutocompleteResult_Status0), AutocompleteResult_Status0.new) ..add(AutocompleteResult_Status0.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(AutocompleteResult)]), - ListBuilder.new, - ) - ..addBuilderFactory(const FullType(AvatarAvatarGetAvatarDarkHeaders), AvatarAvatarGetAvatarDarkHeaders.new) - ..add(AvatarAvatarGetAvatarDarkHeaders.serializer) - ..addBuilderFactory(const FullType(AvatarAvatarGetAvatarHeaders), AvatarAvatarGetAvatarHeaders.new) - ..add(AvatarAvatarGetAvatarHeaders.serializer) - ..addBuilderFactory(const FullType(LoginFlowV2Credentials), LoginFlowV2Credentials.new) - ..add(LoginFlowV2Credentials.serializer) - ..addBuilderFactory(const FullType(LoginFlowV2), LoginFlowV2.new) - ..add(LoginFlowV2.serializer) - ..addBuilderFactory(const FullType(LoginFlowV2_Poll), LoginFlowV2_Poll.new) - ..add(LoginFlowV2_Poll.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson), - CollaborationResourcesSearchCollectionsResponseApplicationJson.new, - ) - ..add(CollaborationResourcesSearchCollectionsResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs), - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(Collection), Collection.new) + ..addBuilderFactory(FullType(Collection), Collection.new) ..add(Collection.serializer) - ..addBuilderFactory(const FullType(Resource), Resource.new) + ..addBuilderFactory(FullType(Resource), Resource.new) ..add(Resource.serializer) ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), - MapBuilder.new, - ) - ..addBuilderFactory(const FullType(OpenGraphObject), OpenGraphObject.new) + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), MapBuilder.new) + ..addBuilderFactory(FullType(OpenGraphObject), OpenGraphObject.new) ..add(OpenGraphObject.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(Resource)]), ListBuilder.new) - ..addBuilderFactory(const FullType(BuiltList, [FullType(Collection)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(CollaborationResourcesListCollectionResponseApplicationJson), - CollaborationResourcesListCollectionResponseApplicationJson.new, - ) - ..add(CollaborationResourcesListCollectionResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesListCollectionResponseApplicationJson_Ocs), - CollaborationResourcesListCollectionResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesListCollectionResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesRenameCollectionResponseApplicationJson), - CollaborationResourcesRenameCollectionResponseApplicationJson.new, - ) - ..add(CollaborationResourcesRenameCollectionResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs), - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesAddResourceResponseApplicationJson), - CollaborationResourcesAddResourceResponseApplicationJson.new, - ) - ..add(CollaborationResourcesAddResourceResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesAddResourceResponseApplicationJson_Ocs), - CollaborationResourcesAddResourceResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesAddResourceResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesRemoveResourceResponseApplicationJson), - CollaborationResourcesRemoveResourceResponseApplicationJson.new, - ) - ..add(CollaborationResourcesRemoveResourceResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs), - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson), - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.new, - ) - ..add(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs), - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson), - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.new, - ) - ..add(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs), - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.new, - ) - ..add(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(HoverCardGetUserResponseApplicationJson), - HoverCardGetUserResponseApplicationJson.new, - ) - ..add(HoverCardGetUserResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(HoverCardGetUserResponseApplicationJson_Ocs), - HoverCardGetUserResponseApplicationJson_Ocs.new, - ) - ..add(HoverCardGetUserResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(HoverCardGetUserResponseApplicationJson_Ocs_Data), - HoverCardGetUserResponseApplicationJson_Ocs_Data.new, - ) - ..add(HoverCardGetUserResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(ContactsAction), ContactsAction.new) + ..addBuilderFactory(FullType(BuiltList, [FullType(Resource)]), ListBuilder.new) + ..addBuilderFactory(FullType(ContactsAction), ContactsAction.new) ..add(ContactsAction.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(ContactsAction)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(NavigationGetAppsNavigationResponseApplicationJson), - NavigationGetAppsNavigationResponseApplicationJson.new, - ) - ..add(NavigationGetAppsNavigationResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(NavigationGetAppsNavigationResponseApplicationJson_Ocs), - NavigationGetAppsNavigationResponseApplicationJson_Ocs.new, - ) - ..add(NavigationGetAppsNavigationResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(NavigationEntry), NavigationEntry.new) + ..addBuilderFactory(FullType(LoginFlowV2), LoginFlowV2.new) + ..add(LoginFlowV2.serializer) + ..addBuilderFactory(FullType(LoginFlowV2_Poll), LoginFlowV2_Poll.new) + ..add(LoginFlowV2_Poll.serializer) + ..addBuilderFactory(FullType(LoginFlowV2Credentials), LoginFlowV2Credentials.new) + ..add(LoginFlowV2Credentials.serializer) + ..addBuilderFactory(FullType(NavigationEntry), NavigationEntry.new) ..add(NavigationEntry.serializer) - ..addBuilderFactory(const FullType(NavigationEntry_Order), NavigationEntry_Order.new) + ..addBuilderFactory(FullType(NavigationEntry_Order), NavigationEntry_Order.new) ..add(NavigationEntry_Order.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(NavigationEntry)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(NavigationGetSettingsNavigationResponseApplicationJson), - NavigationGetSettingsNavigationResponseApplicationJson.new, - ) - ..add(NavigationGetSettingsNavigationResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(NavigationGetSettingsNavigationResponseApplicationJson_Ocs), - NavigationGetSettingsNavigationResponseApplicationJson_Ocs.new, - ) - ..add(NavigationGetSettingsNavigationResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(OcmOcmDiscoveryHeaders), OcmOcmDiscoveryHeaders.new) - ..add(OcmOcmDiscoveryHeaders.serializer) - ..addBuilderFactory(const FullType(OcmDiscoveryResponseApplicationJson), OcmDiscoveryResponseApplicationJson.new) - ..add(OcmDiscoveryResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes), - OcmDiscoveryResponseApplicationJson_ResourceTypes.new, - ) - ..add(OcmDiscoveryResponseApplicationJson_ResourceTypes.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols), - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.new, - ) - ..add(OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes)]), - ListBuilder.new, - ) - ..addBuilderFactory( - const FullType(OcsGetCapabilitiesResponseApplicationJson), - OcsGetCapabilitiesResponseApplicationJson.new, - ) - ..add(OcsGetCapabilitiesResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs), - OcsGetCapabilitiesResponseApplicationJson_Ocs.new, - ) - ..add(OcsGetCapabilitiesResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data), - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.new, - ) - ..add(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version), - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.new, - ) - ..add(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version.serializer) + ..addBuilderFactory(FullType(OCSMeta), OCSMeta.new) + ..add(OCSMeta.serializer) + ..addBuilderFactory(FullType(Reference), Reference.new) + ..add(Reference.serializer) + ..addBuilderFactory(FullType(ReferenceProvider), ReferenceProvider.new) + ..add(ReferenceProvider.serializer) + ..addBuilderFactory(FullType(BuiltList, [FullType(String)]), ListBuilder.new) + ..addBuilderFactory(FullType(Status), Status.new) + ..add(Status.serializer) + ..addBuilderFactory(FullType(TextProcessingTask), TextProcessingTask.new) + ..add(TextProcessingTask.serializer) + ..addBuilderFactory(FullType(UnifiedSearchProvider), UnifiedSearchProvider.new) + ..add(UnifiedSearchProvider.serializer) + ..addBuilderFactory(FullType(UnifiedSearchResult), UnifiedSearchResult.new) + ..add(UnifiedSearchResult.serializer) + ..addBuilderFactory(FullType(UnifiedSearchResultEntry), UnifiedSearchResultEntry.new) + ..add(UnifiedSearchResultEntry.serializer) ..addBuilderFactory( - const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities), - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.new, - ) - ..add(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities.serializer) - ..addBuilderFactory(const FullType(CommentsCapabilities), CommentsCapabilities.new) + FullType(BuiltList, [FullType(UnifiedSearchResultEntry)]), ListBuilder.new) + ..addBuilderFactory(FullType(UnifiedSearchResult_Cursor), UnifiedSearchResult_Cursor.new) + ..add(UnifiedSearchResult_Cursor.serializer) + ..addBuilderFactory(FullType(CommentsCapabilities), CommentsCapabilities.new) ..add(CommentsCapabilities.serializer) - ..addBuilderFactory(const FullType(CommentsCapabilities_Files), CommentsCapabilities_Files.new) + ..addBuilderFactory(FullType(CommentsCapabilities_Files), CommentsCapabilities_Files.new) ..add(CommentsCapabilities_Files.serializer) - ..addBuilderFactory(const FullType(DavCapabilities), DavCapabilities.new) + ..addBuilderFactory(FullType(DavCapabilities), DavCapabilities.new) ..add(DavCapabilities.serializer) - ..addBuilderFactory(const FullType(DavCapabilities_Dav), DavCapabilities_Dav.new) + ..addBuilderFactory(FullType(DavCapabilities_Dav), DavCapabilities_Dav.new) ..add(DavCapabilities_Dav.serializer) - ..addBuilderFactory(const FullType(FilesCapabilities), FilesCapabilities.new) + ..addBuilderFactory(FullType(FilesCapabilities), FilesCapabilities.new) ..add(FilesCapabilities.serializer) - ..addBuilderFactory(const FullType(FilesCapabilities_Files), FilesCapabilities_Files.new) + ..addBuilderFactory(FullType(FilesCapabilities_Files), FilesCapabilities_Files.new) ..add(FilesCapabilities_Files.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(FilesCapabilities_Files_DirectEditing), - FilesCapabilities_Files_DirectEditing.new, - ) + ..addBuilderFactory(FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) + ..addBuilderFactory(FullType(FilesCapabilities_Files_DirectEditing), FilesCapabilities_Files_DirectEditing.new) ..add(FilesCapabilities_Files_DirectEditing.serializer) - ..addBuilderFactory(const FullType(FilesSharingCapabilities), FilesSharingCapabilities.new) + ..addBuilderFactory(FullType(FilesSharingCapabilities), FilesSharingCapabilities.new) ..add(FilesSharingCapabilities.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing), - FilesSharingCapabilities_FilesSharing.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing), FilesSharingCapabilities_FilesSharing.new) ..add(FilesSharingCapabilities_FilesSharing.serializer) ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Public), - FilesSharingCapabilities_FilesSharing_Public.new, - ) + FullType(FilesSharingCapabilities_FilesSharing_Public), FilesSharingCapabilities_FilesSharing_Public.new) ..add(FilesSharingCapabilities_FilesSharing_Public.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Public_Password), - FilesSharingCapabilities_FilesSharing_Public_Password.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Public_Password), + FilesSharingCapabilities_FilesSharing_Public_Password.new) ..add(FilesSharingCapabilities_FilesSharing_Public_Password.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDate), - FilesSharingCapabilities_FilesSharing_Public_ExpireDate.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDate), + FilesSharingCapabilities_FilesSharing_Public_ExpireDate.new) ..add(FilesSharingCapabilities_FilesSharing_Public_ExpireDate.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal), - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal), + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.new) ..add(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote), - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote), + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.new) ..add(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.serializer) ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_User), - FilesSharingCapabilities_FilesSharing_User.new, - ) + FullType(FilesSharingCapabilities_FilesSharing_User), FilesSharingCapabilities_FilesSharing_User.new) ..add(FilesSharingCapabilities_FilesSharing_User.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_User_ExpireDate), - FilesSharingCapabilities_FilesSharing_User_ExpireDate.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_User_ExpireDate), + FilesSharingCapabilities_FilesSharing_User_ExpireDate.new) ..add(FilesSharingCapabilities_FilesSharing_User_ExpireDate.serializer) ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Group), - FilesSharingCapabilities_FilesSharing_Group.new, - ) + FullType(FilesSharingCapabilities_FilesSharing_Group), FilesSharingCapabilities_FilesSharing_Group.new) ..add(FilesSharingCapabilities_FilesSharing_Group.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Group_ExpireDate), - FilesSharingCapabilities_FilesSharing_Group_ExpireDate.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Group_ExpireDate), + FilesSharingCapabilities_FilesSharing_Group_ExpireDate.new) ..add(FilesSharingCapabilities_FilesSharing_Group_ExpireDate.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Federation), - FilesSharingCapabilities_FilesSharing_Federation.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Federation), + FilesSharingCapabilities_FilesSharing_Federation.new) ..add(FilesSharingCapabilities_FilesSharing_Federation.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate), - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate), + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.new) ..add(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.serializer) - ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported), - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.new, - ) + ..addBuilderFactory(FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported), + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.new) ..add(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.serializer) ..addBuilderFactory( - const FullType(FilesSharingCapabilities_FilesSharing_Sharee), - FilesSharingCapabilities_FilesSharing_Sharee.new, - ) + FullType(FilesSharingCapabilities_FilesSharing_Sharee), FilesSharingCapabilities_FilesSharing_Sharee.new) ..add(FilesSharingCapabilities_FilesSharing_Sharee.serializer) - ..addBuilderFactory(const FullType(FilesTrashbinCapabilities), FilesTrashbinCapabilities.new) + ..addBuilderFactory(FullType(FilesTrashbinCapabilities), FilesTrashbinCapabilities.new) ..add(FilesTrashbinCapabilities.serializer) - ..addBuilderFactory(const FullType(FilesTrashbinCapabilities_Files), FilesTrashbinCapabilities_Files.new) + ..addBuilderFactory(FullType(FilesTrashbinCapabilities_Files), FilesTrashbinCapabilities_Files.new) ..add(FilesTrashbinCapabilities_Files.serializer) - ..addBuilderFactory(const FullType(FilesVersionsCapabilities), FilesVersionsCapabilities.new) + ..addBuilderFactory(FullType(FilesVersionsCapabilities), FilesVersionsCapabilities.new) ..add(FilesVersionsCapabilities.serializer) - ..addBuilderFactory(const FullType(FilesVersionsCapabilities_Files), FilesVersionsCapabilities_Files.new) + ..addBuilderFactory(FullType(FilesVersionsCapabilities_Files), FilesVersionsCapabilities_Files.new) ..add(FilesVersionsCapabilities_Files.serializer) - ..addBuilderFactory(const FullType(NotesCapabilities), NotesCapabilities.new) + ..addBuilderFactory(FullType(NotesCapabilities), NotesCapabilities.new) ..add(NotesCapabilities.serializer) - ..addBuilderFactory(const FullType(NotesCapabilities_Notes), NotesCapabilities_Notes.new) + ..addBuilderFactory(FullType(NotesCapabilities_Notes), NotesCapabilities_Notes.new) ..add(NotesCapabilities_Notes.serializer) - ..addBuilderFactory(const FullType(NotificationsCapabilities), NotificationsCapabilities.new) + ..addBuilderFactory(FullType(NotificationsCapabilities), NotificationsCapabilities.new) ..add(NotificationsCapabilities.serializer) ..addBuilderFactory( - const FullType(NotificationsCapabilities_Notifications), - NotificationsCapabilities_Notifications.new, - ) + FullType(NotificationsCapabilities_Notifications), NotificationsCapabilities_Notifications.new) ..add(NotificationsCapabilities_Notifications.serializer) - ..addBuilderFactory(const FullType(ProvisioningApiCapabilities), ProvisioningApiCapabilities.new) + ..addBuilderFactory(FullType(ProvisioningApiCapabilities), ProvisioningApiCapabilities.new) ..add(ProvisioningApiCapabilities.serializer) ..addBuilderFactory( - const FullType(ProvisioningApiCapabilities_ProvisioningApi), - ProvisioningApiCapabilities_ProvisioningApi.new, - ) + FullType(ProvisioningApiCapabilities_ProvisioningApi), ProvisioningApiCapabilities_ProvisioningApi.new) ..add(ProvisioningApiCapabilities_ProvisioningApi.serializer) - ..addBuilderFactory(const FullType(SharebymailCapabilities), SharebymailCapabilities.new) + ..addBuilderFactory(FullType(SharebymailCapabilities), SharebymailCapabilities.new) ..add(SharebymailCapabilities.serializer) - ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing), - SharebymailCapabilities_FilesSharing.new, - ) + ..addBuilderFactory(FullType(SharebymailCapabilities_FilesSharing), SharebymailCapabilities_FilesSharing.new) ..add(SharebymailCapabilities_FilesSharing.serializer) - ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail), - SharebymailCapabilities_FilesSharing_Sharebymail.new, - ) + ..addBuilderFactory(FullType(SharebymailCapabilities_FilesSharing_Sharebymail), + SharebymailCapabilities_FilesSharing_Sharebymail.new) ..add(SharebymailCapabilities_FilesSharing_Sharebymail.serializer) - ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop), - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.new, - ) + ..addBuilderFactory(FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop), + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.new) ..add(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop.serializer) - ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password), - SharebymailCapabilities_FilesSharing_Sharebymail_Password.new, - ) + ..addBuilderFactory(FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password), + SharebymailCapabilities_FilesSharing_Sharebymail_Password.new) ..add(SharebymailCapabilities_FilesSharing_Sharebymail_Password.serializer) - ..addBuilderFactory( - const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate), - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.new, - ) + ..addBuilderFactory(FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate), + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.new) ..add(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate.serializer) - ..addBuilderFactory(const FullType(ThemingPublicCapabilities), ThemingPublicCapabilities.new) + ..addBuilderFactory(FullType(ThemingPublicCapabilities), ThemingPublicCapabilities.new) ..add(ThemingPublicCapabilities.serializer) - ..addBuilderFactory(const FullType(ThemingPublicCapabilities_Theming), ThemingPublicCapabilities_Theming.new) + ..addBuilderFactory(FullType(ThemingPublicCapabilities_Theming), ThemingPublicCapabilities_Theming.new) ..add(ThemingPublicCapabilities_Theming.serializer) - ..addBuilderFactory(const FullType(UserStatusCapabilities), UserStatusCapabilities.new) + ..addBuilderFactory(FullType(UserStatusCapabilities), UserStatusCapabilities.new) ..add(UserStatusCapabilities.serializer) - ..addBuilderFactory(const FullType(UserStatusCapabilities_UserStatus), UserStatusCapabilities_UserStatus.new) + ..addBuilderFactory(FullType(UserStatusCapabilities_UserStatus), UserStatusCapabilities_UserStatus.new) ..add(UserStatusCapabilities_UserStatus.serializer) - ..addBuilderFactory(const FullType(WeatherStatusCapabilities), WeatherStatusCapabilities.new) + ..addBuilderFactory(FullType(WeatherStatusCapabilities), WeatherStatusCapabilities.new) ..add(WeatherStatusCapabilities.serializer) ..addBuilderFactory( - const FullType(WeatherStatusCapabilities_WeatherStatus), - WeatherStatusCapabilities_WeatherStatus.new, - ) - ..add(WeatherStatusCapabilities_WeatherStatus.serializer) - ..addBuilderFactory( - const FullType(ProfileApiSetVisibilityResponseApplicationJson), - ProfileApiSetVisibilityResponseApplicationJson.new, - ) - ..add(ProfileApiSetVisibilityResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs), - ProfileApiSetVisibilityResponseApplicationJson_Ocs.new, - ) - ..add(ProfileApiSetVisibilityResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiResolveOneResponseApplicationJson), - ReferenceApiResolveOneResponseApplicationJson.new, - ) - ..add(ReferenceApiResolveOneResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs), - ReferenceApiResolveOneResponseApplicationJson_Ocs.new, - ) - ..add(ReferenceApiResolveOneResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data), - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.new, - ) - ..add(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(Reference), Reference.new) - ..add(Reference.serializer) - ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(Reference)]), - MapBuilder.new, - ) - ..addBuilderFactory( - const FullType(ReferenceApiResolveResponseApplicationJson), - ReferenceApiResolveResponseApplicationJson.new, - ) - ..add(ReferenceApiResolveResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiResolveResponseApplicationJson_Ocs), - ReferenceApiResolveResponseApplicationJson_Ocs.new, - ) - ..add(ReferenceApiResolveResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data), - ReferenceApiResolveResponseApplicationJson_Ocs_Data.new, - ) - ..add(ReferenceApiResolveResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiExtractResponseApplicationJson), - ReferenceApiExtractResponseApplicationJson.new, - ) - ..add(ReferenceApiExtractResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiExtractResponseApplicationJson_Ocs), - ReferenceApiExtractResponseApplicationJson_Ocs.new, - ) - ..add(ReferenceApiExtractResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data), - ReferenceApiExtractResponseApplicationJson_Ocs_Data.new, - ) - ..add(ReferenceApiExtractResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson), - ReferenceApiGetProvidersInfoResponseApplicationJson.new, - ) - ..add(ReferenceApiGetProvidersInfoResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs), - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.new, - ) - ..add(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(ReferenceProvider), ReferenceProvider.new) - ..add(ReferenceProvider.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(ReferenceProvider)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(ReferenceApiTouchProviderResponseApplicationJson), - ReferenceApiTouchProviderResponseApplicationJson.new, - ) - ..add(ReferenceApiTouchProviderResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs), - ReferenceApiTouchProviderResponseApplicationJson_Ocs.new, - ) - ..add(ReferenceApiTouchProviderResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data), - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.new, - ) - ..add(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiTaskTypesResponseApplicationJson), - TextProcessingApiTaskTypesResponseApplicationJson.new, - ) - ..add(TextProcessingApiTaskTypesResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs), - TextProcessingApiTaskTypesResponseApplicationJson_Ocs.new, - ) - ..add(TextProcessingApiTaskTypesResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data), - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.new, - ) - ..add(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types), - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.new, - ) - ..add(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)]), - ListBuilder.new, - ) - ..addBuilderFactory( - const FullType(TextProcessingApiScheduleResponseApplicationJson), - TextProcessingApiScheduleResponseApplicationJson.new, - ) - ..add(TextProcessingApiScheduleResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs), - TextProcessingApiScheduleResponseApplicationJson_Ocs.new, - ) - ..add(TextProcessingApiScheduleResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data), - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.new, - ) - ..add(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(TextProcessingTask), TextProcessingTask.new) - ..add(TextProcessingTask.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiGetTaskResponseApplicationJson), - TextProcessingApiGetTaskResponseApplicationJson.new, - ) - ..add(TextProcessingApiGetTaskResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs), - TextProcessingApiGetTaskResponseApplicationJson_Ocs.new, - ) - ..add(TextProcessingApiGetTaskResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data), - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.new, - ) - ..add(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiDeleteTaskResponseApplicationJson), - TextProcessingApiDeleteTaskResponseApplicationJson.new, - ) - ..add(TextProcessingApiDeleteTaskResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs), - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.new, - ) - ..add(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data), - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.new, - ) - ..add(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiListTasksByAppResponseApplicationJson), - TextProcessingApiListTasksByAppResponseApplicationJson.new, - ) - ..add(TextProcessingApiListTasksByAppResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs), - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.new, - ) - ..add(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data), - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.new, - ) - ..add(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(TextProcessingTask)]), - ListBuilder.new, - ) - ..addBuilderFactory( - const FullType(TranslationApiLanguagesResponseApplicationJson), - TranslationApiLanguagesResponseApplicationJson.new, - ) - ..add(TranslationApiLanguagesResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs), - TranslationApiLanguagesResponseApplicationJson_Ocs.new, - ) - ..add(TranslationApiLanguagesResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data), - TranslationApiLanguagesResponseApplicationJson_Ocs_Data.new, - ) - ..add(TranslationApiLanguagesResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages), - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages.new, - ) - ..add(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]), - ListBuilder.new, - ) - ..addBuilderFactory( - const FullType(TranslationApiTranslateResponseApplicationJson), - TranslationApiTranslateResponseApplicationJson.new, - ) - ..add(TranslationApiTranslateResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(TranslationApiTranslateResponseApplicationJson_Ocs), - TranslationApiTranslateResponseApplicationJson_Ocs.new, - ) - ..add(TranslationApiTranslateResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data), - TranslationApiTranslateResponseApplicationJson_Ocs_Data.new, - ) - ..add(TranslationApiTranslateResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(UnifiedSearchGetProvidersResponseApplicationJson), - UnifiedSearchGetProvidersResponseApplicationJson.new, - ) - ..add(UnifiedSearchGetProvidersResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs), - UnifiedSearchGetProvidersResponseApplicationJson_Ocs.new, - ) - ..add(UnifiedSearchGetProvidersResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(UnifiedSearchProvider), UnifiedSearchProvider.new) - ..add(UnifiedSearchProvider.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(UnifiedSearchProvider)]), - ListBuilder.new, - ) - ..addBuilderFactory(const FullType(UnifiedSearchSearchCursor), UnifiedSearchSearchCursor.new) - ..add(UnifiedSearchSearchCursor.serializer) - ..addBuilderFactory( - const FullType(ContentString, [FullType(UnifiedSearchSearchCursor)]), - ContentString.new, - ) - ..add(ContentString.serializer) - ..addBuilderFactory( - const FullType(UnifiedSearchSearchResponseApplicationJson), - UnifiedSearchSearchResponseApplicationJson.new, - ) - ..add(UnifiedSearchSearchResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs), - UnifiedSearchSearchResponseApplicationJson_Ocs.new, - ) - ..add(UnifiedSearchSearchResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(UnifiedSearchResult), UnifiedSearchResult.new) - ..add(UnifiedSearchResult.serializer) - ..addBuilderFactory(const FullType(UnifiedSearchResultEntry), UnifiedSearchResultEntry.new) - ..add(UnifiedSearchResultEntry.serializer) - ..addBuilderFactory( - const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)]), - ListBuilder.new, - ) - ..addBuilderFactory(const FullType(UnifiedSearchResult_Cursor), UnifiedSearchResult_Cursor.new) - ..add(UnifiedSearchResult_Cursor.serializer) - ..addBuilderFactory(const FullType(WhatsNewGetResponseApplicationJson), WhatsNewGetResponseApplicationJson.new) - ..add(WhatsNewGetResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(WhatsNewGetResponseApplicationJson_Ocs), - WhatsNewGetResponseApplicationJson_Ocs.new, - ) - ..add(WhatsNewGetResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data), - WhatsNewGetResponseApplicationJson_Ocs_Data.new, - ) - ..add(WhatsNewGetResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory( - const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew), - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew.new, - ) - ..add(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew.serializer) - ..addBuilderFactory( - const FullType(WhatsNewDismissResponseApplicationJson), - WhatsNewDismissResponseApplicationJson.new, - ) - ..add(WhatsNewDismissResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(WhatsNewDismissResponseApplicationJson_Ocs), - WhatsNewDismissResponseApplicationJson_Ocs.new, - ) - ..add(WhatsNewDismissResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory( - const FullType(WipeCheckWipeResponseApplicationJson), - WipeCheckWipeResponseApplicationJson.new, - ) - ..add(WipeCheckWipeResponseApplicationJson.serializer)) + FullType(WeatherStatusCapabilities_WeatherStatus), WeatherStatusCapabilities_WeatherStatus.new) + ..add(WeatherStatusCapabilities_WeatherStatus.serializer)) .build(); final Serializers _jsonSerializers = (_serializers.toBuilder() diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index 8a852cb0634..6067323639a 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -6,385 +6,469 @@ part of 'core.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer _$statusSerializer = _$StatusSerializer(); -Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); +Serializer _$autocompleteResultStatus0Serializer = + new _$AutocompleteResult_Status0Serializer(); +Serializer _$autocompleteResultSerializer = + new _$AutocompleteResultSerializer(); +Serializer _$openGraphObjectSerializer = + new _$OpenGraphObjectSerializer(); +Serializer _$resourceSerializer = new _$ResourceSerializer(); +Serializer _$collectionSerializer = new _$CollectionSerializer(); +Serializer _$contactsActionSerializer = + new _$ContactsActionSerializer(); +Serializer _$loginFlowV2PollSerializer = + new _$LoginFlowV2_PollSerializer(); +Serializer _$loginFlowV2Serializer = new _$LoginFlowV2Serializer(); +Serializer _$loginFlowV2CredentialsSerializer = + new _$LoginFlowV2CredentialsSerializer(); +Serializer _$navigationEntrySerializer = + new _$NavigationEntrySerializer(); +Serializer _$oCSMetaSerializer = new _$OCSMetaSerializer(); +Serializer _$referenceSerializer = new _$ReferenceSerializer(); +Serializer _$referenceProviderSerializer = + new _$ReferenceProviderSerializer(); +Serializer _$statusSerializer = new _$StatusSerializer(); +Serializer _$textProcessingTaskSerializer = + new _$TextProcessingTaskSerializer(); +Serializer _$unifiedSearchProviderSerializer = + new _$UnifiedSearchProviderSerializer(); +Serializer _$unifiedSearchResultEntrySerializer = + new _$UnifiedSearchResultEntrySerializer(); +Serializer _$unifiedSearchResultSerializer = + new _$UnifiedSearchResultSerializer(); +Serializer _$commentsCapabilitiesFilesSerializer = + new _$CommentsCapabilities_FilesSerializer(); +Serializer _$commentsCapabilitiesSerializer = + new _$CommentsCapabilitiesSerializer(); +Serializer _$davCapabilitiesDavSerializer = + new _$DavCapabilities_DavSerializer(); +Serializer _$davCapabilitiesSerializer = + new _$DavCapabilitiesSerializer(); +Serializer + _$filesCapabilitiesFilesDirectEditingSerializer = + new _$FilesCapabilities_Files_DirectEditingSerializer(); +Serializer _$filesCapabilitiesFilesSerializer = + new _$FilesCapabilities_FilesSerializer(); +Serializer _$filesCapabilitiesSerializer = + new _$FilesCapabilitiesSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer = + new _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer = + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer = + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingPublicSerializer = + new _$FilesSharingCapabilities_FilesSharing_PublicSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer = + new _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingUserSerializer = + new _$FilesSharingCapabilities_FilesSharing_UserSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer = + new _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingGroupSerializer = + new _$FilesSharingCapabilities_FilesSharing_GroupSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer = + new _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = + new _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingFederationSerializer = + new _$FilesSharingCapabilities_FilesSharing_FederationSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingShareeSerializer = + new _$FilesSharingCapabilities_FilesSharing_ShareeSerializer(); +Serializer + _$filesSharingCapabilitiesFilesSharingSerializer = + new _$FilesSharingCapabilities_FilesSharingSerializer(); +Serializer _$filesSharingCapabilitiesSerializer = + new _$FilesSharingCapabilitiesSerializer(); +Serializer + _$filesTrashbinCapabilitiesFilesSerializer = + new _$FilesTrashbinCapabilities_FilesSerializer(); +Serializer _$filesTrashbinCapabilitiesSerializer = + new _$FilesTrashbinCapabilitiesSerializer(); +Serializer + _$filesVersionsCapabilitiesFilesSerializer = + new _$FilesVersionsCapabilities_FilesSerializer(); +Serializer _$filesVersionsCapabilitiesSerializer = + new _$FilesVersionsCapabilitiesSerializer(); +Serializer _$notesCapabilitiesNotesSerializer = + new _$NotesCapabilities_NotesSerializer(); +Serializer _$notesCapabilitiesSerializer = + new _$NotesCapabilitiesSerializer(); +Serializer + _$notificationsCapabilitiesNotificationsSerializer = + new _$NotificationsCapabilities_NotificationsSerializer(); +Serializer _$notificationsCapabilitiesSerializer = + new _$NotificationsCapabilitiesSerializer(); +Serializer + _$provisioningApiCapabilitiesProvisioningApiSerializer = + new _$ProvisioningApiCapabilities_ProvisioningApiSerializer(); +Serializer + _$provisioningApiCapabilitiesSerializer = + new _$ProvisioningApiCapabilitiesSerializer(); +Serializer + _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer = + new _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer(); +Serializer + _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer = + new _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer(); +Serializer + _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer = + new _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer(); +Serializer + _$sharebymailCapabilitiesFilesSharingSharebymailSerializer = + new _$SharebymailCapabilities_FilesSharing_SharebymailSerializer(); +Serializer + _$sharebymailCapabilitiesFilesSharingSerializer = + new _$SharebymailCapabilities_FilesSharingSerializer(); +Serializer _$sharebymailCapabilitiesSerializer = + new _$SharebymailCapabilitiesSerializer(); +Serializer + _$themingPublicCapabilitiesThemingSerializer = + new _$ThemingPublicCapabilities_ThemingSerializer(); +Serializer _$themingPublicCapabilitiesSerializer = + new _$ThemingPublicCapabilitiesSerializer(); +Serializer + _$userStatusCapabilitiesUserStatusSerializer = + new _$UserStatusCapabilities_UserStatusSerializer(); +Serializer _$userStatusCapabilitiesSerializer = + new _$UserStatusCapabilitiesSerializer(); +Serializer + _$weatherStatusCapabilitiesWeatherStatusSerializer = + new _$WeatherStatusCapabilities_WeatherStatusSerializer(); +Serializer _$weatherStatusCapabilitiesSerializer = + new _$WeatherStatusCapabilitiesSerializer(); Serializer _$appPasswordGetAppPasswordResponseApplicationJsonOcsDataSerializer = - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer(); + new _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer(); Serializer _$appPasswordGetAppPasswordResponseApplicationJsonOcsSerializer = - _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer(); + new _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer(); Serializer _$appPasswordGetAppPasswordResponseApplicationJsonSerializer = - _$AppPasswordGetAppPasswordResponseApplicationJsonSerializer(); + new _$AppPasswordGetAppPasswordResponseApplicationJsonSerializer(); Serializer _$appPasswordRotateAppPasswordResponseApplicationJsonOcsDataSerializer = - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer(); + new _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer(); Serializer _$appPasswordRotateAppPasswordResponseApplicationJsonOcsSerializer = - _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer(); + new _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer(); Serializer _$appPasswordRotateAppPasswordResponseApplicationJsonSerializer = - _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer(); + new _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer(); Serializer _$appPasswordDeleteAppPasswordResponseApplicationJsonOcsSerializer = - _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer(); + new _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer(); Serializer _$appPasswordDeleteAppPasswordResponseApplicationJsonSerializer = - _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer(); -Serializer _$autocompleteResultStatus0Serializer = _$AutocompleteResult_Status0Serializer(); -Serializer _$autocompleteResultSerializer = _$AutocompleteResultSerializer(); -Serializer _$autoCompleteGetResponseApplicationJsonOcsSerializer = - _$AutoCompleteGetResponseApplicationJson_OcsSerializer(); -Serializer _$autoCompleteGetResponseApplicationJsonSerializer = - _$AutoCompleteGetResponseApplicationJsonSerializer(); -Serializer _$loginFlowV2CredentialsSerializer = _$LoginFlowV2CredentialsSerializer(); -Serializer _$loginFlowV2PollSerializer = _$LoginFlowV2_PollSerializer(); -Serializer _$loginFlowV2Serializer = _$LoginFlowV2Serializer(); -Serializer _$openGraphObjectSerializer = _$OpenGraphObjectSerializer(); -Serializer _$resourceSerializer = _$ResourceSerializer(); -Serializer _$collectionSerializer = _$CollectionSerializer(); + new _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer(); +Serializer + _$autoCompleteGetResponseApplicationJsonOcsSerializer = + new _$AutoCompleteGetResponseApplicationJson_OcsSerializer(); +Serializer + _$autoCompleteGetResponseApplicationJsonSerializer = + new _$AutoCompleteGetResponseApplicationJsonSerializer(); Serializer _$collaborationResourcesSearchCollectionsResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerializer(); + new _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerializer(); Serializer _$collaborationResourcesSearchCollectionsResponseApplicationJsonSerializer = - _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer(); + new _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer(); Serializer _$collaborationResourcesListCollectionResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerializer(); + new _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerializer(); Serializer _$collaborationResourcesListCollectionResponseApplicationJsonSerializer = - _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer(); + new _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer(); Serializer _$collaborationResourcesRenameCollectionResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSerializer(); + new _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSerializer(); Serializer _$collaborationResourcesRenameCollectionResponseApplicationJsonSerializer = - _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer(); + new _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer(); Serializer _$collaborationResourcesAddResourceResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer(); + new _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer(); Serializer _$collaborationResourcesAddResourceResponseApplicationJsonSerializer = - _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer(); + new _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer(); Serializer _$collaborationResourcesRemoveResourceResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerializer(); + new _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerializer(); Serializer _$collaborationResourcesRemoveResourceResponseApplicationJsonSerializer = - _$CollaborationResourcesRemoveResourceResponseApplicationJsonSerializer(); -Serializer + new _$CollaborationResourcesRemoveResourceResponseApplicationJsonSerializer(); +Serializer< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs> _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsSerializer(); -Serializer + new _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsSerializer(); +Serializer< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson> _$collaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer = - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer(); -Serializer + new _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer(); +Serializer< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs> _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonOcsSerializer = - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsSerializer(); -Serializer + new _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsSerializer(); +Serializer< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson> _$collaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer = - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer(); -Serializer _$contactsActionSerializer = _$ContactsActionSerializer(); + new _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer(); Serializer _$hoverCardGetUserResponseApplicationJsonOcsDataSerializer = - _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$hoverCardGetUserResponseApplicationJsonOcsSerializer = - _$HoverCardGetUserResponseApplicationJson_OcsSerializer(); -Serializer _$hoverCardGetUserResponseApplicationJsonSerializer = - _$HoverCardGetUserResponseApplicationJsonSerializer(); -Serializer _$navigationEntrySerializer = _$NavigationEntrySerializer(); + new _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$hoverCardGetUserResponseApplicationJsonOcsSerializer = + new _$HoverCardGetUserResponseApplicationJson_OcsSerializer(); +Serializer + _$hoverCardGetUserResponseApplicationJsonSerializer = + new _$HoverCardGetUserResponseApplicationJsonSerializer(); Serializer _$navigationGetAppsNavigationResponseApplicationJsonOcsSerializer = - _$NavigationGetAppsNavigationResponseApplicationJson_OcsSerializer(); + new _$NavigationGetAppsNavigationResponseApplicationJson_OcsSerializer(); Serializer _$navigationGetAppsNavigationResponseApplicationJsonSerializer = - _$NavigationGetAppsNavigationResponseApplicationJsonSerializer(); + new _$NavigationGetAppsNavigationResponseApplicationJsonSerializer(); Serializer _$navigationGetSettingsNavigationResponseApplicationJsonOcsSerializer = - _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer(); + new _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer(); Serializer _$navigationGetSettingsNavigationResponseApplicationJsonSerializer = - _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer(); + new _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer(); Serializer _$ocmDiscoveryResponseApplicationJsonResourceTypesProtocolsSerializer = - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer(); + new _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer(); Serializer _$ocmDiscoveryResponseApplicationJsonResourceTypesSerializer = - _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer(); -Serializer _$ocmDiscoveryResponseApplicationJsonSerializer = - _$OcmDiscoveryResponseApplicationJsonSerializer(); + new _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer(); +Serializer + _$ocmDiscoveryResponseApplicationJsonSerializer = + new _$OcmDiscoveryResponseApplicationJsonSerializer(); Serializer _$ocsGetCapabilitiesResponseApplicationJsonOcsDataVersionSerializer = - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer(); -Serializer _$commentsCapabilitiesFilesSerializer = _$CommentsCapabilities_FilesSerializer(); -Serializer _$commentsCapabilitiesSerializer = _$CommentsCapabilitiesSerializer(); -Serializer _$davCapabilitiesDavSerializer = _$DavCapabilities_DavSerializer(); -Serializer _$davCapabilitiesSerializer = _$DavCapabilitiesSerializer(); -Serializer _$filesCapabilitiesFilesDirectEditingSerializer = - _$FilesCapabilities_Files_DirectEditingSerializer(); -Serializer _$filesCapabilitiesFilesSerializer = _$FilesCapabilities_FilesSerializer(); -Serializer _$filesCapabilitiesSerializer = _$FilesCapabilitiesSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer = - _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer = - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer = - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); -Serializer _$filesSharingCapabilitiesFilesSharingPublicSerializer = - _$FilesSharingCapabilities_FilesSharing_PublicSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer = - _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer(); -Serializer _$filesSharingCapabilitiesFilesSharingUserSerializer = - _$FilesSharingCapabilities_FilesSharing_UserSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer = - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer(); -Serializer _$filesSharingCapabilitiesFilesSharingGroupSerializer = - _$FilesSharingCapabilities_FilesSharing_GroupSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer = - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); -Serializer - _$filesSharingCapabilitiesFilesSharingFederationSerializer = - _$FilesSharingCapabilities_FilesSharing_FederationSerializer(); -Serializer _$filesSharingCapabilitiesFilesSharingShareeSerializer = - _$FilesSharingCapabilities_FilesSharing_ShareeSerializer(); -Serializer _$filesSharingCapabilitiesFilesSharingSerializer = - _$FilesSharingCapabilities_FilesSharingSerializer(); -Serializer _$filesSharingCapabilitiesSerializer = _$FilesSharingCapabilitiesSerializer(); -Serializer _$filesTrashbinCapabilitiesFilesSerializer = - _$FilesTrashbinCapabilities_FilesSerializer(); -Serializer _$filesTrashbinCapabilitiesSerializer = _$FilesTrashbinCapabilitiesSerializer(); -Serializer _$filesVersionsCapabilitiesFilesSerializer = - _$FilesVersionsCapabilities_FilesSerializer(); -Serializer _$filesVersionsCapabilitiesSerializer = _$FilesVersionsCapabilitiesSerializer(); -Serializer _$notesCapabilitiesNotesSerializer = _$NotesCapabilities_NotesSerializer(); -Serializer _$notesCapabilitiesSerializer = _$NotesCapabilitiesSerializer(); -Serializer _$notificationsCapabilitiesNotificationsSerializer = - _$NotificationsCapabilities_NotificationsSerializer(); -Serializer _$notificationsCapabilitiesSerializer = _$NotificationsCapabilitiesSerializer(); -Serializer _$provisioningApiCapabilitiesProvisioningApiSerializer = - _$ProvisioningApiCapabilities_ProvisioningApiSerializer(); -Serializer _$provisioningApiCapabilitiesSerializer = - _$ProvisioningApiCapabilitiesSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailPasswordSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailExpireDateSerializer = - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer(); -Serializer - _$sharebymailCapabilitiesFilesSharingSharebymailSerializer = - _$SharebymailCapabilities_FilesSharing_SharebymailSerializer(); -Serializer _$sharebymailCapabilitiesFilesSharingSerializer = - _$SharebymailCapabilities_FilesSharingSerializer(); -Serializer _$sharebymailCapabilitiesSerializer = _$SharebymailCapabilitiesSerializer(); -Serializer _$themingPublicCapabilitiesThemingSerializer = - _$ThemingPublicCapabilities_ThemingSerializer(); -Serializer _$themingPublicCapabilitiesSerializer = _$ThemingPublicCapabilitiesSerializer(); -Serializer _$userStatusCapabilitiesUserStatusSerializer = - _$UserStatusCapabilities_UserStatusSerializer(); -Serializer _$userStatusCapabilitiesSerializer = _$UserStatusCapabilitiesSerializer(); -Serializer _$weatherStatusCapabilitiesWeatherStatusSerializer = - _$WeatherStatusCapabilities_WeatherStatusSerializer(); -Serializer _$weatherStatusCapabilitiesSerializer = _$WeatherStatusCapabilitiesSerializer(); + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer(); Serializer _$ocsGetCapabilitiesResponseApplicationJsonOcsDataSerializer = - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$ocsGetCapabilitiesResponseApplicationJsonOcsSerializer = - _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer(); -Serializer _$ocsGetCapabilitiesResponseApplicationJsonSerializer = - _$OcsGetCapabilitiesResponseApplicationJsonSerializer(); + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$ocsGetCapabilitiesResponseApplicationJsonOcsSerializer = + new _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer(); +Serializer + _$ocsGetCapabilitiesResponseApplicationJsonSerializer = + new _$OcsGetCapabilitiesResponseApplicationJsonSerializer(); Serializer _$profileApiSetVisibilityResponseApplicationJsonOcsSerializer = - _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer(); -Serializer _$profileApiSetVisibilityResponseApplicationJsonSerializer = - _$ProfileApiSetVisibilityResponseApplicationJsonSerializer(); -Serializer _$referenceSerializer = _$ReferenceSerializer(); + new _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer(); +Serializer + _$profileApiSetVisibilityResponseApplicationJsonSerializer = + new _$ProfileApiSetVisibilityResponseApplicationJsonSerializer(); Serializer _$referenceApiResolveOneResponseApplicationJsonOcsDataSerializer = - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer(); + new _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer(); Serializer _$referenceApiResolveOneResponseApplicationJsonOcsSerializer = - _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer(); -Serializer _$referenceApiResolveOneResponseApplicationJsonSerializer = - _$ReferenceApiResolveOneResponseApplicationJsonSerializer(); + new _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer(); +Serializer + _$referenceApiResolveOneResponseApplicationJsonSerializer = + new _$ReferenceApiResolveOneResponseApplicationJsonSerializer(); Serializer _$referenceApiResolveResponseApplicationJsonOcsDataSerializer = - _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$referenceApiResolveResponseApplicationJsonOcsSerializer = - _$ReferenceApiResolveResponseApplicationJson_OcsSerializer(); -Serializer _$referenceApiResolveResponseApplicationJsonSerializer = - _$ReferenceApiResolveResponseApplicationJsonSerializer(); + new _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$referenceApiResolveResponseApplicationJsonOcsSerializer = + new _$ReferenceApiResolveResponseApplicationJson_OcsSerializer(); +Serializer + _$referenceApiResolveResponseApplicationJsonSerializer = + new _$ReferenceApiResolveResponseApplicationJsonSerializer(); Serializer _$referenceApiExtractResponseApplicationJsonOcsDataSerializer = - _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$referenceApiExtractResponseApplicationJsonOcsSerializer = - _$ReferenceApiExtractResponseApplicationJson_OcsSerializer(); -Serializer _$referenceApiExtractResponseApplicationJsonSerializer = - _$ReferenceApiExtractResponseApplicationJsonSerializer(); -Serializer _$referenceProviderSerializer = _$ReferenceProviderSerializer(); + new _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$referenceApiExtractResponseApplicationJsonOcsSerializer = + new _$ReferenceApiExtractResponseApplicationJson_OcsSerializer(); +Serializer + _$referenceApiExtractResponseApplicationJsonSerializer = + new _$ReferenceApiExtractResponseApplicationJsonSerializer(); Serializer _$referenceApiGetProvidersInfoResponseApplicationJsonOcsSerializer = - _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer(); + new _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer(); Serializer _$referenceApiGetProvidersInfoResponseApplicationJsonSerializer = - _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer(); + new _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer(); Serializer _$referenceApiTouchProviderResponseApplicationJsonOcsDataSerializer = - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer(); + new _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer(); Serializer _$referenceApiTouchProviderResponseApplicationJsonOcsSerializer = - _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer(); + new _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer(); Serializer _$referenceApiTouchProviderResponseApplicationJsonSerializer = - _$ReferenceApiTouchProviderResponseApplicationJsonSerializer(); + new _$ReferenceApiTouchProviderResponseApplicationJsonSerializer(); Serializer _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataTypesSerializer = - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer(); + new _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer(); Serializer _$textProcessingApiTaskTypesResponseApplicationJsonOcsDataSerializer = - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer(); + new _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer(); Serializer _$textProcessingApiTaskTypesResponseApplicationJsonOcsSerializer = - _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer(); + new _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer(); Serializer _$textProcessingApiTaskTypesResponseApplicationJsonSerializer = - _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer(); -Serializer _$textProcessingTaskSerializer = _$TextProcessingTaskSerializer(); + new _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer(); Serializer _$textProcessingApiScheduleResponseApplicationJsonOcsDataSerializer = - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer(); + new _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer(); Serializer _$textProcessingApiScheduleResponseApplicationJsonOcsSerializer = - _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer(); + new _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer(); Serializer _$textProcessingApiScheduleResponseApplicationJsonSerializer = - _$TextProcessingApiScheduleResponseApplicationJsonSerializer(); + new _$TextProcessingApiScheduleResponseApplicationJsonSerializer(); Serializer _$textProcessingApiGetTaskResponseApplicationJsonOcsDataSerializer = - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer(); + new _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer(); Serializer _$textProcessingApiGetTaskResponseApplicationJsonOcsSerializer = - _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer(); + new _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer(); Serializer _$textProcessingApiGetTaskResponseApplicationJsonSerializer = - _$TextProcessingApiGetTaskResponseApplicationJsonSerializer(); + new _$TextProcessingApiGetTaskResponseApplicationJsonSerializer(); Serializer _$textProcessingApiDeleteTaskResponseApplicationJsonOcsDataSerializer = - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer(); + new _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer(); Serializer _$textProcessingApiDeleteTaskResponseApplicationJsonOcsSerializer = - _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer(); + new _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer(); Serializer _$textProcessingApiDeleteTaskResponseApplicationJsonSerializer = - _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer(); + new _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer(); Serializer _$textProcessingApiListTasksByAppResponseApplicationJsonOcsDataSerializer = - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer(); + new _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer(); Serializer _$textProcessingApiListTasksByAppResponseApplicationJsonOcsSerializer = - _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer(); + new _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer(); Serializer _$textProcessingApiListTasksByAppResponseApplicationJsonSerializer = - _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer(); + new _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer(); Serializer _$translationApiLanguagesResponseApplicationJsonOcsDataLanguagesSerializer = - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer(); + new _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer(); Serializer _$translationApiLanguagesResponseApplicationJsonOcsDataSerializer = - _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer(); + new _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer(); Serializer _$translationApiLanguagesResponseApplicationJsonOcsSerializer = - _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer(); -Serializer _$translationApiLanguagesResponseApplicationJsonSerializer = - _$TranslationApiLanguagesResponseApplicationJsonSerializer(); + new _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer(); +Serializer + _$translationApiLanguagesResponseApplicationJsonSerializer = + new _$TranslationApiLanguagesResponseApplicationJsonSerializer(); Serializer _$translationApiTranslateResponseApplicationJsonOcsDataSerializer = - _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer(); + new _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer(); Serializer _$translationApiTranslateResponseApplicationJsonOcsSerializer = - _$TranslationApiTranslateResponseApplicationJson_OcsSerializer(); -Serializer _$translationApiTranslateResponseApplicationJsonSerializer = - _$TranslationApiTranslateResponseApplicationJsonSerializer(); -Serializer _$unifiedSearchProviderSerializer = _$UnifiedSearchProviderSerializer(); + new _$TranslationApiTranslateResponseApplicationJson_OcsSerializer(); +Serializer + _$translationApiTranslateResponseApplicationJsonSerializer = + new _$TranslationApiTranslateResponseApplicationJsonSerializer(); Serializer _$unifiedSearchGetProvidersResponseApplicationJsonOcsSerializer = - _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer(); + new _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer(); Serializer _$unifiedSearchGetProvidersResponseApplicationJsonSerializer = - _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer(); -Serializer _$unifiedSearchResultEntrySerializer = _$UnifiedSearchResultEntrySerializer(); -Serializer _$unifiedSearchResultSerializer = _$UnifiedSearchResultSerializer(); -Serializer _$unifiedSearchSearchResponseApplicationJsonOcsSerializer = - _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer(); -Serializer _$unifiedSearchSearchResponseApplicationJsonSerializer = - _$UnifiedSearchSearchResponseApplicationJsonSerializer(); + new _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer(); +Serializer + _$unifiedSearchSearchResponseApplicationJsonOcsSerializer = + new _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer(); +Serializer + _$unifiedSearchSearchResponseApplicationJsonSerializer = + new _$UnifiedSearchSearchResponseApplicationJsonSerializer(); Serializer _$whatsNewGetResponseApplicationJsonOcsDataWhatsNewSerializer = - _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer(); -Serializer _$whatsNewGetResponseApplicationJsonOcsDataSerializer = - _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$whatsNewGetResponseApplicationJsonOcsSerializer = - _$WhatsNewGetResponseApplicationJson_OcsSerializer(); -Serializer _$whatsNewGetResponseApplicationJsonSerializer = - _$WhatsNewGetResponseApplicationJsonSerializer(); -Serializer _$whatsNewDismissResponseApplicationJsonOcsSerializer = - _$WhatsNewDismissResponseApplicationJson_OcsSerializer(); -Serializer _$whatsNewDismissResponseApplicationJsonSerializer = - _$WhatsNewDismissResponseApplicationJsonSerializer(); -Serializer _$wipeCheckWipeResponseApplicationJsonSerializer = - _$WipeCheckWipeResponseApplicationJsonSerializer(); - -class _$StatusSerializer implements StructuredSerializer { + new _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer(); +Serializer + _$whatsNewGetResponseApplicationJsonOcsDataSerializer = + new _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$whatsNewGetResponseApplicationJsonOcsSerializer = + new _$WhatsNewGetResponseApplicationJson_OcsSerializer(); +Serializer + _$whatsNewGetResponseApplicationJsonSerializer = + new _$WhatsNewGetResponseApplicationJsonSerializer(); +Serializer + _$whatsNewDismissResponseApplicationJsonOcsSerializer = + new _$WhatsNewDismissResponseApplicationJson_OcsSerializer(); +Serializer + _$whatsNewDismissResponseApplicationJsonSerializer = + new _$WhatsNewDismissResponseApplicationJsonSerializer(); +Serializer + _$wipeCheckWipeResponseApplicationJsonSerializer = + new _$WipeCheckWipeResponseApplicationJsonSerializer(); + +class _$AutocompleteResult_Status0Serializer + implements StructuredSerializer { @override - final Iterable types = const [Status, _$Status]; + final Iterable types = const [ + AutocompleteResult_Status0, + _$AutocompleteResult_Status0 + ]; @override - final String wireName = 'Status'; + final String wireName = 'AutocompleteResult_Status0'; @override - Iterable serialize(Serializers serializers, Status object, {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, AutocompleteResult_Status0 object, + {FullType specifiedType = FullType.unspecified}) { final result = [ - 'installed', - serializers.serialize(object.installed, specifiedType: const FullType(bool)), - 'maintenance', - serializers.serialize(object.maintenance, specifiedType: const FullType(bool)), - 'needsDbUpgrade', - serializers.serialize(object.needsDbUpgrade, specifiedType: const FullType(bool)), - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), - 'versionstring', - serializers.serialize(object.versionstring, specifiedType: const FullType(String)), - 'edition', - serializers.serialize(object.edition, specifiedType: const FullType(String)), - 'productname', - serializers.serialize(object.productname, specifiedType: const FullType(String)), - 'extendedSupport', - serializers.serialize(object.extendedSupport, specifiedType: const FullType(bool)), + 'status', + serializers.serialize(object.status, + specifiedType: const FullType(String)), ]; - + Object? value; + value = object.message; + if (value != null) { + result + ..add('message') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.icon; + if (value != null) { + result + ..add('icon') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.clearAt; + if (value != null) { + result + ..add('clearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } return result; } @override - Status deserialize(Serializers serializers, Iterable serialized, + AutocompleteResult_Status0 deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = StatusBuilder(); + final result = new AutocompleteResult_Status0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -392,29 +476,21 @@ class _$StatusSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'installed': - result.installed = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'maintenance': - result.maintenance = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'needsDbUpgrade': - result.needsDbUpgrade = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'versionstring': - result.versionstring = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'status': + result.status = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'edition': - result.edition = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'message': + result.message = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; - case 'productname': - result.productname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'icon': + result.icon = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; - case 'extendedSupport': - result.extendedSupport = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'clearAt': + result.clearAt = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; break; } } @@ -423,47 +499,47 @@ class _$StatusSerializer implements StructuredSerializer { } } -class _$OCSMetaSerializer implements StructuredSerializer { +class _$AutocompleteResultSerializer + implements StructuredSerializer { @override - final Iterable types = const [OCSMeta, _$OCSMeta]; + final Iterable types = const [AutocompleteResult, _$AutocompleteResult]; @override - final String wireName = 'OCSMeta'; + final String wireName = 'AutocompleteResult'; @override - Iterable serialize(Serializers serializers, OCSMeta object, + Iterable serialize( + Serializers serializers, AutocompleteResult object, {FullType specifiedType = FullType.unspecified}) { final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'label', + serializers.serialize(object.label, + specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'source', + serializers.serialize(object.source, + specifiedType: const FullType(String)), 'status', - serializers.serialize(object.status, specifiedType: const FullType(String)), - 'statuscode', - serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + serializers.serialize(object.status, + specifiedType: const FullType(AutocompleteResult_Status)), + 'subline', + serializers.serialize(object.subline, + specifiedType: const FullType(String)), + 'shareWithDisplayNameUnique', + serializers.serialize(object.shareWithDisplayNameUnique, + specifiedType: const FullType(String)), ]; - Object? value; - value = object.message; - if (value != null) { - result - ..add('message') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.totalitems; - if (value != null) { - result - ..add('totalitems') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.itemsperpage; - if (value != null) { - result - ..add('itemsperpage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - OCSMeta deserialize(Serializers serializers, Iterable serialized, + AutocompleteResult deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OCSMetaBuilder(); + final result = new AutocompleteResultBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -471,20 +547,34 @@ class _$OCSMetaSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'statuscode': - result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'label': + result.label = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'icon': + result.icon = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'totalitems': - result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'source': + result.source = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'itemsperpage': - result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'status': + result.status.replace(serializers.deserialize(value, + specifiedType: const FullType(AutocompleteResult_Status))! + as AutocompleteResult_Status); + break; + case 'subline': + result.subline = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'shareWithDisplayNameUnique': + result.shareWithDisplayNameUnique = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -493,32 +583,47 @@ class _$OCSMetaSerializer implements StructuredSerializer { } } -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$OpenGraphObjectSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data, - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data - ]; + final Iterable types = const [OpenGraphObject, _$OpenGraphObject]; @override - final String wireName = 'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data'; + final String wireName = 'OpenGraphObject'; @override - Iterable serialize(Serializers serializers, AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, OpenGraphObject object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'apppassword', - serializers.serialize(object.apppassword, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.thumb; + if (value != null) { + result + ..add('thumb') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } return result; } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data deserialize( + OpenGraphObject deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + final result = new OpenGraphObjectBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -526,8 +631,25 @@ class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'apppassword': - result.apppassword = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'thumb': + result.thumb = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'link': + result.link = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -536,35 +658,38 @@ class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer } } -class _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ResourceSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordGetAppPasswordResponseApplicationJson_Ocs, - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs - ]; + final Iterable types = const [Resource, _$Resource]; @override - final String wireName = 'AppPasswordGetAppPasswordResponseApplicationJson_Ocs'; + final String wireName = 'Resource'; @override - Iterable serialize(Serializers serializers, AppPasswordGetAppPasswordResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, Resource object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data)), + 'richObjectType', + serializers.serialize(object.richObjectType, + specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, + specifiedType: const FullType(OpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, + specifiedType: const FullType(bool)), ]; return result; } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + Resource deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + final result = new ResourceBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -572,13 +697,25 @@ class _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'richObjectType': + result.richObjectType = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data))! - as AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data); + case 'richObject': + result.richObject.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, const [ + const FullType(String), + const FullType(JsonObject) + ]))!); + break; + case 'openGraphObject': + result.openGraphObject.replace(serializers.deserialize(value, + specifiedType: const FullType(OpenGraphObject))! + as OpenGraphObject); + break; + case 'accessible': + result.accessible = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -587,32 +724,33 @@ class _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer } } -class _$AppPasswordGetAppPasswordResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$CollectionSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordGetAppPasswordResponseApplicationJson, - _$AppPasswordGetAppPasswordResponseApplicationJson - ]; + final Iterable types = const [Collection, _$Collection]; @override - final String wireName = 'AppPasswordGetAppPasswordResponseApplicationJson'; + final String wireName = 'Collection'; @override - Iterable serialize(Serializers serializers, AppPasswordGetAppPasswordResponseApplicationJson object, + Iterable serialize(Serializers serializers, Collection object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'resources', + serializers.serialize(object.resources, + specifiedType: + const FullType(BuiltList, const [const FullType(Resource)])), ]; return result; } @override - AppPasswordGetAppPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + Collection deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + final result = new CollectionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -620,45 +758,59 @@ class _$AppPasswordGetAppPasswordResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AppPasswordGetAppPasswordResponseApplicationJson_Ocs))! - as AppPasswordGetAppPasswordResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; - } - } - - return result.build(); + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'resources': + result.resources.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(Resource)]))! + as BuiltList); + break; + } + } + + return result.build(); } } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ContactsActionSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data, - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - ]; + final Iterable types = const [ContactsAction, _$ContactsAction]; @override - final String wireName = 'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data'; + final String wireName = 'ContactsAction'; @override - Iterable serialize( - Serializers serializers, AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, ContactsAction object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'apppassword', - serializers.serialize(object.apppassword, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, + specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'hyperlink', + serializers.serialize(object.hyperlink, + specifiedType: const FullType(String)), + 'appId', + serializers.serialize(object.appId, + specifiedType: const FullType(String)), ]; return result; } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data deserialize( + ContactsAction deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + final result = new ContactsActionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -666,8 +818,21 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'apppassword': - result.apppassword = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'title': + result.title = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'hyperlink': + result.hyperlink = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'appId': + result.appId = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -676,35 +841,33 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer } } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$LoginFlowV2_PollSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs, - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - ]; + final Iterable types = const [LoginFlowV2_Poll, _$LoginFlowV2_Poll]; @override - final String wireName = 'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs'; + final String wireName = 'LoginFlowV2_Poll'; @override - Iterable serialize(Serializers serializers, AppPasswordRotateAppPasswordResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, LoginFlowV2_Poll object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data)), + 'token', + serializers.serialize(object.token, + specifiedType: const FullType(String)), + 'endpoint', + serializers.serialize(object.endpoint, + specifiedType: const FullType(String)), ]; return result; } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs deserialize( + LoginFlowV2_Poll deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + final result = new LoginFlowV2_PollBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -712,13 +875,13 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'token': + result.token = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data))! - as AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data); + case 'endpoint': + result.endpoint = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -727,32 +890,31 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer } } -class _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$LoginFlowV2Serializer implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordRotateAppPasswordResponseApplicationJson, - _$AppPasswordRotateAppPasswordResponseApplicationJson - ]; + final Iterable types = const [LoginFlowV2, _$LoginFlowV2]; @override - final String wireName = 'AppPasswordRotateAppPasswordResponseApplicationJson'; + final String wireName = 'LoginFlowV2'; @override - Iterable serialize(Serializers serializers, AppPasswordRotateAppPasswordResponseApplicationJson object, + Iterable serialize(Serializers serializers, LoginFlowV2 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs)), + 'poll', + serializers.serialize(object.poll, + specifiedType: const FullType(LoginFlowV2_Poll)), + 'login', + serializers.serialize(object.login, + specifiedType: const FullType(String)), ]; return result; } @override - AppPasswordRotateAppPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + LoginFlowV2 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + final result = new LoginFlowV2Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -760,10 +922,14 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs))! - as AppPasswordRotateAppPasswordResponseApplicationJson_Ocs); + case 'poll': + result.poll.replace(serializers.deserialize(value, + specifiedType: const FullType(LoginFlowV2_Poll))! + as LoginFlowV2_Poll); + break; + case 'login': + result.login = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -772,34 +938,40 @@ class _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer } } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$LoginFlowV2CredentialsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs, - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + LoginFlowV2Credentials, + _$LoginFlowV2Credentials ]; @override - final String wireName = 'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs'; + final String wireName = 'LoginFlowV2Credentials'; @override - Iterable serialize(Serializers serializers, AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, LoginFlowV2Credentials object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'server', + serializers.serialize(object.server, + specifiedType: const FullType(String)), + 'loginName', + serializers.serialize(object.loginName, + specifiedType: const FullType(String)), + 'appPassword', + serializers.serialize(object.appPassword, + specifiedType: const FullType(String)), ]; return result; } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs deserialize( + LoginFlowV2Credentials deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + final result = new LoginFlowV2CredentialsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -807,11 +979,17 @@ class _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'server': + result.server = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'loginName': + result.loginName = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'appPassword': + result.appPassword = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -820,32 +998,47 @@ class _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer } } -class _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$NavigationEntrySerializer + implements StructuredSerializer { @override - final Iterable types = const [ - AppPasswordDeleteAppPasswordResponseApplicationJson, - _$AppPasswordDeleteAppPasswordResponseApplicationJson - ]; + final Iterable types = const [NavigationEntry, _$NavigationEntry]; @override - final String wireName = 'AppPasswordDeleteAppPasswordResponseApplicationJson'; + final String wireName = 'NavigationEntry'; @override - Iterable serialize(Serializers serializers, AppPasswordDeleteAppPasswordResponseApplicationJson object, + Iterable serialize(Serializers serializers, NavigationEntry object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, + specifiedType: const FullType(NavigationEntry_Order)), + 'href', + serializers.serialize(object.href, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'active', + serializers.serialize(object.active, specifiedType: const FullType(bool)), + 'classes', + serializers.serialize(object.classes, + specifiedType: const FullType(String)), + 'unread', + serializers.serialize(object.unread, specifiedType: const FullType(int)), ]; return result; } @override - AppPasswordDeleteAppPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + NavigationEntry deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); + final result = new NavigationEntryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -853,10 +1046,42 @@ class _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs))! - as AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'order': + result.order.replace(serializers.deserialize(value, + specifiedType: const FullType(NavigationEntry_Order))! + as NavigationEntry_Order); + break; + case 'href': + result.href = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'active': + result.active = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'classes': + result.classes = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'unread': + result.unread = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; } } @@ -865,45 +1090,52 @@ class _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer } } -class _$AutocompleteResult_Status0Serializer implements StructuredSerializer { +class _$OCSMetaSerializer implements StructuredSerializer { @override - final Iterable types = const [AutocompleteResult_Status0, _$AutocompleteResult_Status0]; + final Iterable types = const [OCSMeta, _$OCSMeta]; @override - final String wireName = 'AutocompleteResult_Status0'; + final String wireName = 'OCSMeta'; @override - Iterable serialize(Serializers serializers, AutocompleteResult_Status0 object, + Iterable serialize(Serializers serializers, OCSMeta object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'status', - serializers.serialize(object.status, specifiedType: const FullType(String)), + serializers.serialize(object.status, + specifiedType: const FullType(String)), + 'statuscode', + serializers.serialize(object.statuscode, + specifiedType: const FullType(int)), ]; Object? value; value = object.message; if (value != null) { result ..add('message') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } - value = object.icon; + value = object.totalitems; if (value != null) { result - ..add('icon') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('totalitems') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } - value = object.clearAt; + value = object.itemsperpage; if (value != null) { result - ..add('clearAt') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + ..add('itemsperpage') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } return result; } @override - AutocompleteResult_Status0 deserialize(Serializers serializers, Iterable serialized, + OCSMeta deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AutocompleteResult_Status0Builder(); + final result = new OCSMetaBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -912,16 +1144,24 @@ class _$AutocompleteResult_Status0Serializer implements StructuredSerializer { +class _$ReferenceSerializer implements StructuredSerializer { @override - final Iterable types = const [AutocompleteResult, _$AutocompleteResult]; + final Iterable types = const [Reference, _$Reference]; @override - final String wireName = 'AutocompleteResult'; + final String wireName = 'Reference'; @override - Iterable serialize(Serializers serializers, AutocompleteResult object, + Iterable serialize(Serializers serializers, Reference object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'label', - serializers.serialize(object.label, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'source', - serializers.serialize(object.source, specifiedType: const FullType(String)), - 'status', - serializers.serialize(object.status, specifiedType: const FullType(AutocompleteResult_Status)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'shareWithDisplayNameUnique', - serializers.serialize(object.shareWithDisplayNameUnique, specifiedType: const FullType(String)), + 'richObjectType', + serializers.serialize(object.richObjectType, + specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, + specifiedType: const FullType(OpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, + specifiedType: const FullType(bool)), ]; return result; } @override - AutocompleteResult deserialize(Serializers serializers, Iterable serialized, + Reference deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AutocompleteResultBuilder(); + final result = new ReferenceBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -970,28 +1209,25 @@ class _$AutocompleteResultSerializer implements StructuredSerializer { +class _$ReferenceProviderSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - AutoCompleteGetResponseApplicationJson_Ocs, - _$AutoCompleteGetResponseApplicationJson_Ocs - ]; + final Iterable types = const [ReferenceProvider, _$ReferenceProvider]; @override - final String wireName = 'AutoCompleteGetResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceProvider'; @override - Iterable serialize(Serializers serializers, AutoCompleteGetResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReferenceProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(AutocompleteResult)])), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, + specifiedType: const FullType(String)), + 'icon_url', + serializers.serialize(object.iconUrl, + specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.searchProvidersIds; + if (value != null) { + result + ..add('search_providers_ids') + ..add(serializers.serialize(value, + specifiedType: + const FullType(BuiltList, const [const FullType(String)]))); + } return result; } @override - AutoCompleteGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ReferenceProvider deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AutoCompleteGetResponseApplicationJson_OcsBuilder(); + final result = new ReferenceProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1034,12 +1282,27 @@ class _$AutoCompleteGetResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(AutocompleteResult)]))! as BuiltList); + case 'title': + result.title = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'icon_url': + result.iconUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'order': + result.order = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; + break; + case 'search_providers_ids': + result.searchProvidersIds.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; } } @@ -1048,28 +1311,49 @@ class _$AutoCompleteGetResponseApplicationJson_OcsSerializer } } -class _$AutoCompleteGetResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$StatusSerializer implements StructuredSerializer { @override - final Iterable types = const [AutoCompleteGetResponseApplicationJson, _$AutoCompleteGetResponseApplicationJson]; + final Iterable types = const [Status, _$Status]; @override - final String wireName = 'AutoCompleteGetResponseApplicationJson'; + final String wireName = 'Status'; @override - Iterable serialize(Serializers serializers, AutoCompleteGetResponseApplicationJson object, + Iterable serialize(Serializers serializers, Status object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(AutoCompleteGetResponseApplicationJson_Ocs)), - ]; - - return result; - } - + 'installed', + serializers.serialize(object.installed, + specifiedType: const FullType(bool)), + 'maintenance', + serializers.serialize(object.maintenance, + specifiedType: const FullType(bool)), + 'needsDbUpgrade', + serializers.serialize(object.needsDbUpgrade, + specifiedType: const FullType(bool)), + 'version', + serializers.serialize(object.version, + specifiedType: const FullType(String)), + 'versionstring', + serializers.serialize(object.versionstring, + specifiedType: const FullType(String)), + 'edition', + serializers.serialize(object.edition, + specifiedType: const FullType(String)), + 'productname', + serializers.serialize(object.productname, + specifiedType: const FullType(String)), + 'extendedSupport', + serializers.serialize(object.extendedSupport, + specifiedType: const FullType(bool)), + ]; + + return result; + } + @override - AutoCompleteGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + Status deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AutoCompleteGetResponseApplicationJsonBuilder(); + final result = new StatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1077,10 +1361,37 @@ class _$AutoCompleteGetResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(AutoCompleteGetResponseApplicationJson_Ocs))! - as AutoCompleteGetResponseApplicationJson_Ocs); + case 'installed': + result.installed = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'maintenance': + result.maintenance = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'needsDbUpgrade': + result.needsDbUpgrade = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'version': + result.version = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'versionstring': + result.versionstring = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'edition': + result.edition = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'productname': + result.productname = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'extendedSupport': + result.extendedSupport = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -1089,31 +1400,61 @@ class _$AutoCompleteGetResponseApplicationJsonSerializer } } -class _$LoginFlowV2CredentialsSerializer implements StructuredSerializer { +class _$TextProcessingTaskSerializer + implements StructuredSerializer { @override - final Iterable types = const [LoginFlowV2Credentials, _$LoginFlowV2Credentials]; + final Iterable types = const [TextProcessingTask, _$TextProcessingTask]; @override - final String wireName = 'LoginFlowV2Credentials'; + final String wireName = 'TextProcessingTask'; @override - Iterable serialize(Serializers serializers, LoginFlowV2Credentials object, + Iterable serialize( + Serializers serializers, TextProcessingTask object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'server', - serializers.serialize(object.server, specifiedType: const FullType(String)), - 'loginName', - serializers.serialize(object.loginName, specifiedType: const FullType(String)), - 'appPassword', - serializers.serialize(object.appPassword, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(int)), + 'appId', + serializers.serialize(object.appId, + specifiedType: const FullType(String)), + 'input', + serializers.serialize(object.input, + specifiedType: const FullType(String)), + 'identifier', + serializers.serialize(object.identifier, + specifiedType: const FullType(String)), ]; - + Object? value; + value = object.id; + if (value != null) { + result + ..add('id') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.userId; + if (value != null) { + result + ..add('userId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.output; + if (value != null) { + result + ..add('output') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } return result; } @override - LoginFlowV2Credentials deserialize(Serializers serializers, Iterable serialized, + TextProcessingTask deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = LoginFlowV2CredentialsBuilder(); + final result = new TextProcessingTaskBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1121,14 +1462,37 @@ class _$LoginFlowV2CredentialsSerializer implements StructuredSerializer { +class _$UnifiedSearchProviderSerializer + implements StructuredSerializer { @override - final Iterable types = const [LoginFlowV2_Poll, _$LoginFlowV2_Poll]; + final Iterable types = const [ + UnifiedSearchProvider, + _$UnifiedSearchProvider + ]; @override - final String wireName = 'LoginFlowV2_Poll'; + final String wireName = 'UnifiedSearchProvider'; @override - Iterable serialize(Serializers serializers, LoginFlowV2_Poll object, + Iterable serialize( + Serializers serializers, UnifiedSearchProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'endpoint', - serializers.serialize(object.endpoint, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; return result; } @override - LoginFlowV2_Poll deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchProvider deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = LoginFlowV2_PollBuilder(); + final result = new UnifiedSearchProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1167,11 +1539,17 @@ class _$LoginFlowV2_PollSerializer implements StructuredSerializer { +class _$UnifiedSearchResultEntrySerializer + implements StructuredSerializer { @override - final Iterable types = const [LoginFlowV2, _$LoginFlowV2]; + final Iterable types = const [ + UnifiedSearchResultEntry, + _$UnifiedSearchResultEntry + ]; @override - final String wireName = 'LoginFlowV2'; + final String wireName = 'UnifiedSearchResultEntry'; @override - Iterable serialize(Serializers serializers, LoginFlowV2 object, + Iterable serialize( + Serializers serializers, UnifiedSearchResultEntry object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'poll', - serializers.serialize(object.poll, specifiedType: const FullType(LoginFlowV2_Poll)), - 'login', - serializers.serialize(object.login, specifiedType: const FullType(String)), + 'thumbnailUrl', + serializers.serialize(object.thumbnailUrl, + specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, + specifiedType: const FullType(String)), + 'subline', + serializers.serialize(object.subline, + specifiedType: const FullType(String)), + 'resourceUrl', + serializers.serialize(object.resourceUrl, + specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'rounded', + serializers.serialize(object.rounded, + specifiedType: const FullType(bool)), + 'attributes', + serializers.serialize(object.attributes, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), ]; return result; } @override - LoginFlowV2 deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchResultEntry deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = LoginFlowV2Builder(); + final result = new UnifiedSearchResultEntryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1210,12 +1611,35 @@ class _$LoginFlowV2Serializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'poll': - result.poll.replace( - serializers.deserialize(value, specifiedType: const FullType(LoginFlowV2_Poll))! as LoginFlowV2_Poll); + case 'thumbnailUrl': + result.thumbnailUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'login': - result.login = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'title': + result.title = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'subline': + result.subline = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'resourceUrl': + result.resourceUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'rounded': + result.rounded = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'attributes': + result.attributes.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; } } @@ -1224,43 +1648,47 @@ class _$LoginFlowV2Serializer implements StructuredSerializer { } } -class _$OpenGraphObjectSerializer implements StructuredSerializer { +class _$UnifiedSearchResultSerializer + implements StructuredSerializer { @override - final Iterable types = const [OpenGraphObject, _$OpenGraphObject]; + final Iterable types = const [ + UnifiedSearchResult, + _$UnifiedSearchResult + ]; @override - final String wireName = 'OpenGraphObject'; + final String wireName = 'UnifiedSearchResult'; @override - Iterable serialize(Serializers serializers, OpenGraphObject object, + Iterable serialize( + Serializers serializers, UnifiedSearchResult object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), - 'link', - serializers.serialize(object.link, specifiedType: const FullType(String)), + 'isPaginated', + serializers.serialize(object.isPaginated, + specifiedType: const FullType(bool)), + 'entries', + serializers.serialize(object.entries, + specifiedType: const FullType( + BuiltList, const [const FullType(UnifiedSearchResultEntry)])), ]; Object? value; - value = object.description; - if (value != null) { - result - ..add('description') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.thumb; + value = object.cursor; if (value != null) { result - ..add('thumb') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('cursor') + ..add(serializers.serialize(value, + specifiedType: const FullType(UnifiedSearchResult_Cursor))); } return result; } @override - OpenGraphObject deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchResult deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OpenGraphObjectBuilder(); + final result = new UnifiedSearchResultBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1268,20 +1696,24 @@ class _$OpenGraphObjectSerializer implements StructuredSerializer); break; - case 'link': - result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchResult_Cursor))! + as UnifiedSearchResult_Cursor); break; } } @@ -1290,34 +1722,34 @@ class _$OpenGraphObjectSerializer implements StructuredSerializer { +class _$CommentsCapabilities_FilesSerializer + implements StructuredSerializer { @override - final Iterable types = const [Resource, _$Resource]; + final Iterable types = const [ + CommentsCapabilities_Files, + _$CommentsCapabilities_Files + ]; @override - final String wireName = 'Resource'; + final String wireName = 'CommentsCapabilities_Files'; @override - Iterable serialize(Serializers serializers, Resource object, + Iterable serialize( + Serializers serializers, CommentsCapabilities_Files object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'richObjectType', - serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), - 'richObject', - serializers.serialize(object.richObject, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), - 'openGraphObject', - serializers.serialize(object.openGraphObject, specifiedType: const FullType(OpenGraphObject)), - 'accessible', - serializers.serialize(object.accessible, specifiedType: const FullType(bool)), + 'comments', + serializers.serialize(object.comments, + specifiedType: const FullType(bool)), ]; return result; } @override - Resource deserialize(Serializers serializers, Iterable serialized, + CommentsCapabilities_Files deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ResourceBuilder(); + final result = new CommentsCapabilities_FilesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1325,19 +1757,9 @@ class _$ResourceSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'richObjectType': - result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'richObject': - result.richObject.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); - break; - case 'openGraphObject': - result.openGraphObject.replace( - serializers.deserialize(value, specifiedType: const FullType(OpenGraphObject))! as OpenGraphObject); - break; - case 'accessible': - result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'comments': + result.comments = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -1346,31 +1768,34 @@ class _$ResourceSerializer implements StructuredSerializer { } } -class _$CollectionSerializer implements StructuredSerializer { +class _$CommentsCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [Collection, _$Collection]; + final Iterable types = const [ + CommentsCapabilities, + _$CommentsCapabilities + ]; @override - final String wireName = 'Collection'; + final String wireName = 'CommentsCapabilities'; @override - Iterable serialize(Serializers serializers, Collection object, + Iterable serialize( + Serializers serializers, CommentsCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'resources', - serializers.serialize(object.resources, specifiedType: const FullType(BuiltList, [FullType(Resource)])), + 'files', + serializers.serialize(object.files, + specifiedType: const FullType(CommentsCapabilities_Files)), ]; return result; } @override - Collection deserialize(Serializers serializers, Iterable serialized, + CommentsCapabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollectionBuilder(); + final result = new CommentsCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1378,15 +1803,10 @@ class _$CollectionSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'resources': - result.resources.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Resource)]))! as BuiltList); + case 'files': + result.files.replace(serializers.deserialize(value, + specifiedType: const FullType(CommentsCapabilities_Files))! + as CommentsCapabilities_Files); break; } } @@ -1395,35 +1815,41 @@ class _$CollectionSerializer implements StructuredSerializer { } } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$DavCapabilities_DavSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs, - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + DavCapabilities_Dav, + _$DavCapabilities_Dav ]; @override - final String wireName = 'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs'; + final String wireName = 'DavCapabilities_Dav'; @override Iterable serialize( - Serializers serializers, CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs object, + Serializers serializers, DavCapabilities_Dav object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Collection)])), + 'chunking', + serializers.serialize(object.chunking, + specifiedType: const FullType(String)), ]; - + Object? value; + value = object.bulkupload; + if (value != null) { + result + ..add('bulkupload') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } return result; } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs deserialize( + DavCapabilities_Dav deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + final result = new DavCapabilities_DavBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1431,12 +1857,13 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerial iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'chunking': + result.chunking = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Collection)]))! as BuiltList); + case 'bulkupload': + result.bulkupload = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -1445,34 +1872,30 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerial } } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$DavCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - CollaborationResourcesSearchCollectionsResponseApplicationJson, - _$CollaborationResourcesSearchCollectionsResponseApplicationJson - ]; + final Iterable types = const [DavCapabilities, _$DavCapabilities]; @override - final String wireName = 'CollaborationResourcesSearchCollectionsResponseApplicationJson'; + final String wireName = 'DavCapabilities'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesSearchCollectionsResponseApplicationJson object, + Iterable serialize(Serializers serializers, DavCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs)), + 'dav', + serializers.serialize(object.dav, + specifiedType: const FullType(DavCapabilities_Dav)), ]; return result; } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson deserialize( + DavCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); + final result = new DavCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1480,10 +1903,10 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs))! - as CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs); + case 'dav': + result.dav.replace(serializers.deserialize(value, + specifiedType: const FullType(DavCapabilities_Dav))! + as DavCapabilities_Dav); break; } } @@ -1492,35 +1915,38 @@ class _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer } } -class _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesCapabilities_Files_DirectEditingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesListCollectionResponseApplicationJson_Ocs, - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + FilesCapabilities_Files_DirectEditing, + _$FilesCapabilities_Files_DirectEditing ]; @override - final String wireName = 'CollaborationResourcesListCollectionResponseApplicationJson_Ocs'; + final String wireName = 'FilesCapabilities_Files_DirectEditing'; @override Iterable serialize( - Serializers serializers, CollaborationResourcesListCollectionResponseApplicationJson_Ocs object, + Serializers serializers, FilesCapabilities_Files_DirectEditing object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Collection)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'etag', + serializers.serialize(object.etag, specifiedType: const FullType(String)), + 'supportsFileId', + serializers.serialize(object.supportsFileId, + specifiedType: const FullType(bool)), ]; return result; } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs deserialize( + FilesCapabilities_Files_DirectEditing deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + final result = new FilesCapabilities_Files_DirectEditingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1528,11 +1954,17 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'url': + result.url = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Collection))! as Collection); + case 'etag': + result.etag = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'supportsFileId': + result.supportsFileId = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -1541,34 +1973,41 @@ class _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerialize } } -class _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesCapabilities_FilesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesListCollectionResponseApplicationJson, - _$CollaborationResourcesListCollectionResponseApplicationJson + FilesCapabilities_Files, + _$FilesCapabilities_Files ]; @override - final String wireName = 'CollaborationResourcesListCollectionResponseApplicationJson'; + final String wireName = 'FilesCapabilities_Files'; @override Iterable serialize( - Serializers serializers, CollaborationResourcesListCollectionResponseApplicationJson object, + Serializers serializers, FilesCapabilities_Files object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesListCollectionResponseApplicationJson_Ocs)), + 'bigfilechunking', + serializers.serialize(object.bigfilechunking, + specifiedType: const FullType(bool)), + 'blacklisted_files', + serializers.serialize(object.blacklistedFiles, + specifiedType: + const FullType(BuiltList, const [const FullType(JsonObject)])), + 'directEditing', + serializers.serialize(object.directEditing, + specifiedType: const FullType(FilesCapabilities_Files_DirectEditing)), ]; return result; } @override - CollaborationResourcesListCollectionResponseApplicationJson deserialize( + FilesCapabilities_Files deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); + final result = new FilesCapabilities_FilesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1576,10 +2015,21 @@ class _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CollaborationResourcesListCollectionResponseApplicationJson_Ocs))! - as CollaborationResourcesListCollectionResponseApplicationJson_Ocs); + case 'bigfilechunking': + result.bigfilechunking = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'blacklisted_files': + result.blacklistedFiles.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(JsonObject)]))! + as BuiltList); + break; + case 'directEditing': + result.directEditing.replace(serializers.deserialize(value, + specifiedType: + const FullType(FilesCapabilities_Files_DirectEditing))! + as FilesCapabilities_Files_DirectEditing); break; } } @@ -1588,35 +2038,30 @@ class _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer } } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs, - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs - ]; + final Iterable types = const [FilesCapabilities, _$FilesCapabilities]; @override - final String wireName = 'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs'; + final String wireName = 'FilesCapabilities'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, FilesCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Collection)), + 'files', + serializers.serialize(object.files, + specifiedType: const FullType(FilesCapabilities_Files)), ]; return result; } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs deserialize( + FilesCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + final result = new FilesCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1624,11 +2069,10 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Collection))! as Collection); + case 'files': + result.files.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesCapabilities_Files))! + as FilesCapabilities_Files); break; } } @@ -1637,34 +2081,41 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSeriali } } -class _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Public_Password> { @override final Iterable types = const [ - CollaborationResourcesRenameCollectionResponseApplicationJson, - _$CollaborationResourcesRenameCollectionResponseApplicationJson + FilesSharingCapabilities_FilesSharing_Public_Password, + _$FilesSharingCapabilities_FilesSharing_Public_Password ]; @override - final String wireName = 'CollaborationResourcesRenameCollectionResponseApplicationJson'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Public_Password'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesRenameCollectionResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Public_Password object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs)), + 'enforced', + serializers.serialize(object.enforced, + specifiedType: const FullType(bool)), + 'askForOptionalPassword', + serializers.serialize(object.askForOptionalPassword, + specifiedType: const FullType(bool)), ]; return result; } @override - CollaborationResourcesRenameCollectionResponseApplicationJson deserialize( + FilesSharingCapabilities_FilesSharing_Public_Password deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1672,10 +2123,13 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs))! - as CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs); + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'askForOptionalPassword': + result.askForOptionalPassword = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -1684,35 +2138,51 @@ class _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer } } -class _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Public_ExpireDate> { @override final Iterable types = const [ - CollaborationResourcesAddResourceResponseApplicationJson_Ocs, - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs + FilesSharingCapabilities_FilesSharing_Public_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate ]; @override - final String wireName = 'CollaborationResourcesAddResourceResponseApplicationJson_Ocs'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Public_ExpireDate'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesAddResourceResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Public_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Collection)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.days; + if (value != null) { + result + ..add('days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.enforced; + if (value != null) { + result + ..add('enforced') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } return result; } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs deserialize( + FilesSharingCapabilities_FilesSharing_Public_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1720,11 +2190,17 @@ class _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Collection))! as Collection); + case 'days': + result.days = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; break; } } @@ -1733,33 +2209,51 @@ class _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer } } -class _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal> { @override final Iterable types = const [ - CollaborationResourcesAddResourceResponseApplicationJson, - _$CollaborationResourcesAddResourceResponseApplicationJson + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal ]; @override - final String wireName = 'CollaborationResourcesAddResourceResponseApplicationJson'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal'; @override - Iterable serialize(Serializers serializers, CollaborationResourcesAddResourceResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesAddResourceResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.days; + if (value != null) { + result + ..add('days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.enforced; + if (value != null) { + result + ..add('enforced') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } return result; } @override - CollaborationResourcesAddResourceResponseApplicationJson deserialize( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1767,10 +2261,17 @@ class _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CollaborationResourcesAddResourceResponseApplicationJson_Ocs))! - as CollaborationResourcesAddResourceResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'days': + result.days = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; break; } } @@ -1779,35 +2280,51 @@ class _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer } } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote> { @override final Iterable types = const [ - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs, - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote ]; @override - final String wireName = 'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Collection)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.days; + if (value != null) { + result + ..add('days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.enforced; + if (value != null) { + result + ..add('enforced') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } return result; } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs deserialize( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1815,11 +2332,17 @@ class _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Collection))! as Collection); + case 'days': + result.days = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; break; } } @@ -1828,34 +2351,95 @@ class _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerialize } } -class _$CollaborationResourcesRemoveResourceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_PublicSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesRemoveResourceResponseApplicationJson, - _$CollaborationResourcesRemoveResourceResponseApplicationJson + FilesSharingCapabilities_FilesSharing_Public, + _$FilesSharingCapabilities_FilesSharing_Public ]; @override - final String wireName = 'CollaborationResourcesRemoveResourceResponseApplicationJson'; + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesRemoveResourceResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Public object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.password; + if (value != null) { + result + ..add('password') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_Password))); + } + value = object.multipleLinks; + if (value != null) { + result + ..add('multiple_links') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.expireDate; + if (value != null) { + result + ..add('expire_date') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDate))); + } + value = object.expireDateInternal; + if (value != null) { + result + ..add('expire_date_internal') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))); + } + value = object.expireDateRemote; + if (value != null) { + result + ..add('expire_date_remote') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))); + } + value = object.sendMail; + if (value != null) { + result + ..add('send_mail') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.upload; + if (value != null) { + result + ..add('upload') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.uploadFilesDrop; + if (value != null) { + result + ..add('upload_files_drop') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } return result; } @override - CollaborationResourcesRemoveResourceResponseApplicationJson deserialize( + FilesSharingCapabilities_FilesSharing_Public deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); + final result = new FilesSharingCapabilities_FilesSharing_PublicBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1863,47 +2447,89 @@ class _$CollaborationResourcesRemoveResourceResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs))! - as CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - } - } - - return result.build(); - } -} + case 'password': + result.password.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_Password))! + as FilesSharingCapabilities_FilesSharing_Public_Password); + break; + case 'multiple_links': + result.multipleLinks = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDate))! + as FilesSharingCapabilities_FilesSharing_Public_ExpireDate); + break; + case 'expire_date_internal': + result.expireDateInternal.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))! + as FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal); + break; + case 'expire_date_remote': + result.expireDateRemote.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))! + as FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote); + break; + case 'send_mail': + result.sendMail = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'upload': + result.upload = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'upload_files_drop': + result.uploadFilesDrop = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + } + } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_User_ExpireDate> { @override final Iterable types = const [ - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs, - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + FilesSharingCapabilities_FilesSharing_User_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate ]; @override - final String wireName = 'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_User_ExpireDate'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_User_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Collection)])), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; return result; } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs deserialize( + FilesSharingCapabilities_FilesSharing_User_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1911,12 +2537,9 @@ class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Oc iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Collection)]))! as BuiltList); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -1925,34 +2548,43 @@ class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Oc } } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_UserSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson, - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + FilesSharingCapabilities_FilesSharing_User, + _$FilesSharingCapabilities_FilesSharing_User ]; @override - final String wireName = 'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson'; + final String wireName = 'FilesSharingCapabilities_FilesSharing_User'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesGetCollectionsByResourceResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_User object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs)), + 'send_mail', + serializers.serialize(object.sendMail, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.expireDate; + if (value != null) { + result + ..add('expire_date') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_User_ExpireDate))); + } return result; } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson deserialize( + FilesSharingCapabilities_FilesSharing_User deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); + final result = new FilesSharingCapabilities_FilesSharing_UserBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1960,11 +2592,15 @@ class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: - const FullType(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs))! - as CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs); + case 'send_mail': + result.sendMail = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_User_ExpireDate))! + as FilesSharingCapabilities_FilesSharing_User_ExpireDate); break; } } @@ -1973,35 +2609,38 @@ class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSer } } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Group_ExpireDate> { @override final Iterable types = const [ - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs, - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + FilesSharingCapabilities_FilesSharing_Group_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate ]; @override - final String wireName = 'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Group_ExpireDate'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Group_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Collection)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; return result; } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs deserialize( + FilesSharingCapabilities_FilesSharing_Group_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2009,11 +2648,9 @@ class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Collection))! as Collection); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2022,34 +2659,43 @@ class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_ } } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_GroupSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson, - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + FilesSharingCapabilities_FilesSharing_Group, + _$FilesSharingCapabilities_FilesSharing_Group ]; @override - final String wireName = 'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson'; + final String wireName = 'FilesSharingCapabilities_FilesSharing_Group'; @override - Iterable serialize( - Serializers serializers, CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Group object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.expireDate; + if (value != null) { + result + ..add('expire_date') + ..add(serializers.serialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Group_ExpireDate))); + } return result; } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson deserialize( + FilesSharingCapabilities_FilesSharing_Group deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); + final result = new FilesSharingCapabilities_FilesSharing_GroupBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2057,11 +2703,15 @@ class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonS iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: - const FullType(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs))! - as CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Group_ExpireDate))! + as FilesSharingCapabilities_FilesSharing_Group_ExpireDate); break; } } @@ -2070,33 +2720,38 @@ class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonS } } -class _$ContactsActionSerializer implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate> { @override - final Iterable types = const [ContactsAction, _$ContactsAction]; + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + ]; @override - final String wireName = 'ContactsAction'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate'; @override - Iterable serialize(Serializers serializers, ContactsAction object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'hyperlink', - serializers.serialize(object.hyperlink, specifiedType: const FullType(String)), - 'appId', - serializers.serialize(object.appId, specifiedType: const FullType(String)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; return result; } @override - ContactsAction deserialize(Serializers serializers, Iterable serialized, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ContactsActionBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2104,17 +2759,9 @@ class _$ContactsActionSerializer implements StructuredSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'title': - result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'icon': - result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'hyperlink': - result.hyperlink = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'appId': - result.appId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2123,35 +2770,40 @@ class _$ContactsActionSerializer implements StructuredSerializer } } -class _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer + implements + StructuredSerializer< + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported> { @override final Iterable types = const [ - HoverCardGetUserResponseApplicationJson_Ocs_Data, - _$HoverCardGetUserResponseApplicationJson_Ocs_Data + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported, + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported ]; @override - final String wireName = 'HoverCardGetUserResponseApplicationJson_Ocs_Data'; + final String wireName = + 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported'; @override - Iterable serialize(Serializers serializers, HoverCardGetUserResponseApplicationJson_Ocs_Data object, + Iterable serialize( + Serializers serializers, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'userId', - serializers.serialize(object.userId, specifiedType: const FullType(String)), - 'displayName', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), - 'actions', - serializers.serialize(object.actions, specifiedType: const FullType(BuiltList, [FullType(ContactsAction)])), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; return result; } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2159,15 +2811,9 @@ class _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'displayName': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actions': - result.actions.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ContactsAction)]))! as BuiltList); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2176,34 +2822,47 @@ class _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer } } -class _$HoverCardGetUserResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_FederationSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - HoverCardGetUserResponseApplicationJson_Ocs, - _$HoverCardGetUserResponseApplicationJson_Ocs + FilesSharingCapabilities_FilesSharing_Federation, + _$FilesSharingCapabilities_FilesSharing_Federation ]; @override - final String wireName = 'HoverCardGetUserResponseApplicationJson_Ocs'; + final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation'; @override - Iterable serialize(Serializers serializers, HoverCardGetUserResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Federation object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(HoverCardGetUserResponseApplicationJson_Ocs_Data)), + 'outgoing', + serializers.serialize(object.outgoing, + specifiedType: const FullType(bool)), + 'incoming', + serializers.serialize(object.incoming, + specifiedType: const FullType(bool)), + 'expire_date', + serializers.serialize(object.expireDate, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate)), + 'expire_date_supported', + serializers.serialize(object.expireDateSupported, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported)), ]; return result; } @override - HoverCardGetUserResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + FilesSharingCapabilities_FilesSharing_Federation deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HoverCardGetUserResponseApplicationJson_OcsBuilder(); + final result = + new FilesSharingCapabilities_FilesSharing_FederationBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2211,13 +2870,25 @@ class _$HoverCardGetUserResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'outgoing': + result.outgoing = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(HoverCardGetUserResponseApplicationJson_Ocs_Data))! - as HoverCardGetUserResponseApplicationJson_Ocs_Data); + case 'incoming': + result.incoming = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate))! + as FilesSharingCapabilities_FilesSharing_Federation_ExpireDate); + break; + case 'expire_date_supported': + result.expireDateSupported.replace(serializers.deserialize(value, + specifiedType: const FullType( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported))! + as FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported); break; } } @@ -2226,31 +2897,38 @@ class _$HoverCardGetUserResponseApplicationJson_OcsSerializer } } -class _$HoverCardGetUserResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharing_ShareeSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - HoverCardGetUserResponseApplicationJson, - _$HoverCardGetUserResponseApplicationJson + FilesSharingCapabilities_FilesSharing_Sharee, + _$FilesSharingCapabilities_FilesSharing_Sharee ]; @override - final String wireName = 'HoverCardGetUserResponseApplicationJson'; + final String wireName = 'FilesSharingCapabilities_FilesSharing_Sharee'; @override - Iterable serialize(Serializers serializers, HoverCardGetUserResponseApplicationJson object, + Iterable serialize(Serializers serializers, + FilesSharingCapabilities_FilesSharing_Sharee object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(HoverCardGetUserResponseApplicationJson_Ocs)), + 'query_lookup_default', + serializers.serialize(object.queryLookupDefault, + specifiedType: const FullType(bool)), + 'always_show_unique', + serializers.serialize(object.alwaysShowUnique, + specifiedType: const FullType(bool)), ]; return result; } @override - HoverCardGetUserResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + FilesSharingCapabilities_FilesSharing_Sharee deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HoverCardGetUserResponseApplicationJsonBuilder(); + final result = new FilesSharingCapabilities_FilesSharing_ShareeBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2258,10 +2936,13 @@ class _$HoverCardGetUserResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(HoverCardGetUserResponseApplicationJson_Ocs))! - as HoverCardGetUserResponseApplicationJson_Ocs); + case 'query_lookup_default': + result.queryLookupDefault = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'always_show_unique': + result.alwaysShowUnique = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2270,43 +2951,74 @@ class _$HoverCardGetUserResponseApplicationJsonSerializer } } -class _$NavigationEntrySerializer implements StructuredSerializer { +class _$FilesSharingCapabilities_FilesSharingSerializer + implements StructuredSerializer { @override - final Iterable types = const [NavigationEntry, _$NavigationEntry]; + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing, + _$FilesSharingCapabilities_FilesSharing + ]; @override - final String wireName = 'NavigationEntry'; + final String wireName = 'FilesSharingCapabilities_FilesSharing'; @override - Iterable serialize(Serializers serializers, NavigationEntry object, + Iterable serialize( + Serializers serializers, FilesSharingCapabilities_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(NavigationEntry_Order)), - 'href', - serializers.serialize(object.href, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'type', - serializers.serialize(object.type, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'active', - serializers.serialize(object.active, specifiedType: const FullType(bool)), - 'classes', - serializers.serialize(object.classes, specifiedType: const FullType(String)), - 'unread', - serializers.serialize(object.unread, specifiedType: const FullType(int)), - ]; - - return result; + 'api_enabled', + serializers.serialize(object.apiEnabled, + specifiedType: const FullType(bool)), + 'public', + serializers.serialize(object.public, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing_Public)), + 'user', + serializers.serialize(object.user, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing_User)), + 'resharing', + serializers.serialize(object.resharing, + specifiedType: const FullType(bool)), + 'federation', + serializers.serialize(object.federation, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing_Federation)), + 'sharee', + serializers.serialize(object.sharee, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing_Sharee)), + ]; + Object? value; + value = object.groupSharing; + if (value != null) { + result + ..add('group_sharing') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.group; + if (value != null) { + result + ..add('group') + ..add(serializers.serialize(value, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing_Group))); + } + value = object.defaultPermissions; + if (value != null) { + result + ..add('default_permissions') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; } @override - NavigationEntry deserialize(Serializers serializers, Iterable serialized, + FilesSharingCapabilities_FilesSharing deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NavigationEntryBuilder(); + final result = new FilesSharingCapabilities_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2314,33 +3026,51 @@ class _$NavigationEntrySerializer implements StructuredSerializer { +class _$FilesSharingCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - NavigationGetAppsNavigationResponseApplicationJson_Ocs, - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs + FilesSharingCapabilities, + _$FilesSharingCapabilities ]; @override - final String wireName = 'NavigationGetAppsNavigationResponseApplicationJson_Ocs'; + final String wireName = 'FilesSharingCapabilities'; @override - Iterable serialize(Serializers serializers, NavigationGetAppsNavigationResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, FilesSharingCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(NavigationEntry)])), + 'files_sharing', + serializers.serialize(object.filesSharing, + specifiedType: const FullType(FilesSharingCapabilities_FilesSharing)), ]; return result; } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs deserialize( + FilesSharingCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + final result = new FilesSharingCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2384,12 +3114,11 @@ class _$NavigationGetAppsNavigationResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(NavigationEntry)]))! as BuiltList); + case 'files_sharing': + result.filesSharing.replace(serializers.deserialize(value, + specifiedType: + const FullType(FilesSharingCapabilities_FilesSharing))! + as FilesSharingCapabilities_FilesSharing); break; } } @@ -2398,32 +3127,34 @@ class _$NavigationGetAppsNavigationResponseApplicationJson_OcsSerializer } } -class _$NavigationGetAppsNavigationResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesTrashbinCapabilities_FilesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - NavigationGetAppsNavigationResponseApplicationJson, - _$NavigationGetAppsNavigationResponseApplicationJson + FilesTrashbinCapabilities_Files, + _$FilesTrashbinCapabilities_Files ]; @override - final String wireName = 'NavigationGetAppsNavigationResponseApplicationJson'; + final String wireName = 'FilesTrashbinCapabilities_Files'; @override - Iterable serialize(Serializers serializers, NavigationGetAppsNavigationResponseApplicationJson object, + Iterable serialize( + Serializers serializers, FilesTrashbinCapabilities_Files object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(NavigationGetAppsNavigationResponseApplicationJson_Ocs)), + 'undelete', + serializers.serialize(object.undelete, + specifiedType: const FullType(bool)), ]; return result; } @override - NavigationGetAppsNavigationResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + FilesTrashbinCapabilities_Files deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NavigationGetAppsNavigationResponseApplicationJsonBuilder(); + final result = new FilesTrashbinCapabilities_FilesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2431,10 +3162,9 @@ class _$NavigationGetAppsNavigationResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(NavigationGetAppsNavigationResponseApplicationJson_Ocs))! - as NavigationGetAppsNavigationResponseApplicationJson_Ocs); + case 'undelete': + result.undelete = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2443,35 +3173,34 @@ class _$NavigationGetAppsNavigationResponseApplicationJsonSerializer } } -class _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesTrashbinCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - NavigationGetSettingsNavigationResponseApplicationJson_Ocs, - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs + FilesTrashbinCapabilities, + _$FilesTrashbinCapabilities ]; @override - final String wireName = 'NavigationGetSettingsNavigationResponseApplicationJson_Ocs'; + final String wireName = 'FilesTrashbinCapabilities'; @override Iterable serialize( - Serializers serializers, NavigationGetSettingsNavigationResponseApplicationJson_Ocs object, + Serializers serializers, FilesTrashbinCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(NavigationEntry)])), + 'files', + serializers.serialize(object.files, + specifiedType: const FullType(FilesTrashbinCapabilities_Files)), ]; return result; } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs deserialize( + FilesTrashbinCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + final result = new FilesTrashbinCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2479,12 +3208,11 @@ class _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(NavigationEntry)]))! as BuiltList); + case 'files': + result.files.replace(serializers.deserialize(value, + specifiedType: + const FullType(FilesTrashbinCapabilities_Files))! + as FilesTrashbinCapabilities_Files); break; } } @@ -2493,33 +3221,40 @@ class _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer } } -class _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesVersionsCapabilities_FilesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - NavigationGetSettingsNavigationResponseApplicationJson, - _$NavigationGetSettingsNavigationResponseApplicationJson + FilesVersionsCapabilities_Files, + _$FilesVersionsCapabilities_Files ]; @override - final String wireName = 'NavigationGetSettingsNavigationResponseApplicationJson'; + final String wireName = 'FilesVersionsCapabilities_Files'; @override - Iterable serialize(Serializers serializers, NavigationGetSettingsNavigationResponseApplicationJson object, + Iterable serialize( + Serializers serializers, FilesVersionsCapabilities_Files object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(NavigationGetSettingsNavigationResponseApplicationJson_Ocs)), + 'versioning', + serializers.serialize(object.versioning, + specifiedType: const FullType(bool)), + 'version_labeling', + serializers.serialize(object.versionLabeling, + specifiedType: const FullType(bool)), + 'version_deletion', + serializers.serialize(object.versionDeletion, + specifiedType: const FullType(bool)), ]; return result; } @override - NavigationGetSettingsNavigationResponseApplicationJson deserialize( + FilesVersionsCapabilities_Files deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); + final result = new FilesVersionsCapabilities_FilesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2527,10 +3262,17 @@ class _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(NavigationGetSettingsNavigationResponseApplicationJson_Ocs))! - as NavigationGetSettingsNavigationResponseApplicationJson_Ocs); + case 'versioning': + result.versioning = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'version_labeling': + result.versionLabeling = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'version_deletion': + result.versionDeletion = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2539,33 +3281,34 @@ class _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer } } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer - implements StructuredSerializer { +class _$FilesVersionsCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols, - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols + FilesVersionsCapabilities, + _$FilesVersionsCapabilities ]; @override - final String wireName = 'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols'; + final String wireName = 'FilesVersionsCapabilities'; @override Iterable serialize( - Serializers serializers, OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols object, + Serializers serializers, FilesVersionsCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'webdav', - serializers.serialize(object.webdav, specifiedType: const FullType(String)), + 'files', + serializers.serialize(object.files, + specifiedType: const FullType(FilesVersionsCapabilities_Files)), ]; return result; } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols deserialize( + FilesVersionsCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + final result = new FilesVersionsCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2573,8 +3316,11 @@ class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'webdav': - result.webdav = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'files': + result.files.replace(serializers.deserialize(value, + specifiedType: + const FullType(FilesVersionsCapabilities_Files))! + as FilesVersionsCapabilities_Files); break; } } @@ -2583,36 +3329,45 @@ class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer } } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer - implements StructuredSerializer { +class _$NotesCapabilities_NotesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - OcmDiscoveryResponseApplicationJson_ResourceTypes, - _$OcmDiscoveryResponseApplicationJson_ResourceTypes + NotesCapabilities_Notes, + _$NotesCapabilities_Notes ]; @override - final String wireName = 'OcmDiscoveryResponseApplicationJson_ResourceTypes'; + final String wireName = 'NotesCapabilities_Notes'; @override - Iterable serialize(Serializers serializers, OcmDiscoveryResponseApplicationJson_ResourceTypes object, + Iterable serialize( + Serializers serializers, NotesCapabilities_Notes object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'shareTypes', - serializers.serialize(object.shareTypes, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'protocols', - serializers.serialize(object.protocols, - specifiedType: const FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols)), - ]; - + final result = []; + Object? value; + value = object.apiVersion; + if (value != null) { + result + ..add('api_version') + ..add(serializers.serialize(value, + specifiedType: + const FullType(BuiltList, const [const FullType(String)]))); + } + value = object.version; + if (value != null) { + result + ..add('version') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } return result; } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes deserialize(Serializers serializers, Iterable serialized, + NotesCapabilities_Notes deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); + final result = new NotesCapabilities_NotesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2620,17 +3375,15 @@ class _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'shareTypes': - result.shareTypes.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'api_version': + result.apiVersion.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; - case 'protocols': - result.protocols.replace(serializers.deserialize(value, - specifiedType: const FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols))! - as OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols); + case 'version': + result.version = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -2639,35 +3392,30 @@ class _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer } } -class _$OcmDiscoveryResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$NotesCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [OcmDiscoveryResponseApplicationJson, _$OcmDiscoveryResponseApplicationJson]; + final Iterable types = const [NotesCapabilities, _$NotesCapabilities]; @override - final String wireName = 'OcmDiscoveryResponseApplicationJson'; + final String wireName = 'NotesCapabilities'; @override - Iterable serialize(Serializers serializers, OcmDiscoveryResponseApplicationJson object, + Iterable serialize(Serializers serializers, NotesCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'apiVersion', - serializers.serialize(object.apiVersion, specifiedType: const FullType(String)), - 'endPoint', - serializers.serialize(object.endPoint, specifiedType: const FullType(String)), - 'resourceTypes', - serializers.serialize(object.resourceTypes, - specifiedType: const FullType(BuiltList, [FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes)])), + 'notes', + serializers.serialize(object.notes, + specifiedType: const FullType(NotesCapabilities_Notes)), ]; return result; } @override - OcmDiscoveryResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + NotesCapabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcmDiscoveryResponseApplicationJsonBuilder(); + final result = new NotesCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2675,20 +3423,10 @@ class _$OcmDiscoveryResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'apiVersion': - result.apiVersion = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'endPoint': - result.endPoint = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'resourceTypes': - result.resourceTypes.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, [FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes)]))! - as BuiltList); + case 'notes': + result.notes.replace(serializers.deserialize(value, + specifiedType: const FullType(NotesCapabilities_Notes))! + as NotesCapabilities_Notes); break; } } @@ -2697,43 +3435,43 @@ class _$OcmDiscoveryResponseApplicationJsonSerializer } } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer - implements StructuredSerializer { +class _$NotificationsCapabilities_NotificationsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + NotificationsCapabilities_Notifications, + _$NotificationsCapabilities_Notifications ]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version'; + final String wireName = 'NotificationsCapabilities_Notifications'; @override Iterable serialize( - Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version object, + Serializers serializers, NotificationsCapabilities_Notifications object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'major', - serializers.serialize(object.major, specifiedType: const FullType(int)), - 'minor', - serializers.serialize(object.minor, specifiedType: const FullType(int)), - 'micro', - serializers.serialize(object.micro, specifiedType: const FullType(int)), - 'string', - serializers.serialize(object.string, specifiedType: const FullType(String)), - 'edition', - serializers.serialize(object.edition, specifiedType: const FullType(String)), - 'extendedSupport', - serializers.serialize(object.extendedSupport, specifiedType: const FullType(bool)), + 'ocs-endpoints', + serializers.serialize(object.ocsEndpoints, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), + 'push', + serializers.serialize(object.push, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), + 'admin-notifications', + serializers.serialize(object.adminNotifications, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version deserialize( + NotificationsCapabilities_Notifications deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + final result = new NotificationsCapabilities_NotificationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2741,23 +3479,23 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'major': - result.major = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'minor': - result.minor = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'micro': - result.micro = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'string': - result.string = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'ocs-endpoints': + result.ocsEndpoints.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; - case 'edition': - result.edition = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'push': + result.push.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; - case 'extendedSupport': - result.extendedSupport = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'admin-notifications': + result.adminNotifications.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; } } @@ -2766,27 +3504,35 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer } } -class _$CommentsCapabilities_FilesSerializer implements StructuredSerializer { +class _$NotificationsCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [CommentsCapabilities_Files, _$CommentsCapabilities_Files]; + final Iterable types = const [ + NotificationsCapabilities, + _$NotificationsCapabilities + ]; @override - final String wireName = 'CommentsCapabilities_Files'; + final String wireName = 'NotificationsCapabilities'; @override - Iterable serialize(Serializers serializers, CommentsCapabilities_Files object, + Iterable serialize( + Serializers serializers, NotificationsCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'comments', - serializers.serialize(object.comments, specifiedType: const FullType(bool)), - ]; + 'notifications', + serializers.serialize(object.notifications, + specifiedType: + const FullType(NotificationsCapabilities_Notifications)), + ]; return result; } @override - CommentsCapabilities_Files deserialize(Serializers serializers, Iterable serialized, + NotificationsCapabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CommentsCapabilities_FilesBuilder(); + final result = new NotificationsCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2794,8 +3540,11 @@ class _$CommentsCapabilities_FilesSerializer implements StructuredSerializer { +class _$ProvisioningApiCapabilities_ProvisioningApiSerializer + implements + StructuredSerializer { @override - final Iterable types = const [CommentsCapabilities, _$CommentsCapabilities]; + final Iterable types = const [ + ProvisioningApiCapabilities_ProvisioningApi, + _$ProvisioningApiCapabilities_ProvisioningApi + ]; @override - final String wireName = 'CommentsCapabilities'; + final String wireName = 'ProvisioningApiCapabilities_ProvisioningApi'; @override - Iterable serialize(Serializers serializers, CommentsCapabilities object, + Iterable serialize(Serializers serializers, + ProvisioningApiCapabilities_ProvisioningApi object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files', - serializers.serialize(object.files, specifiedType: const FullType(CommentsCapabilities_Files)), + 'version', + serializers.serialize(object.version, + specifiedType: const FullType(String)), + 'AccountPropertyScopesVersion', + serializers.serialize(object.accountPropertyScopesVersion, + specifiedType: const FullType(int)), + 'AccountPropertyScopesFederatedEnabled', + serializers.serialize(object.accountPropertyScopesFederatedEnabled, + specifiedType: const FullType(bool)), + 'AccountPropertyScopesPublishedEnabled', + serializers.serialize(object.accountPropertyScopesPublishedEnabled, + specifiedType: const FullType(bool)), ]; return result; } @override - CommentsCapabilities deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiCapabilities_ProvisioningApi deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CommentsCapabilitiesBuilder(); + final result = new ProvisioningApiCapabilities_ProvisioningApiBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2832,9 +3598,21 @@ class _$CommentsCapabilitiesSerializer implements StructuredSerializer { +class _$ProvisioningApiCapabilitiesSerializer + implements StructuredSerializer { @override - final Iterable types = const [DavCapabilities_Dav, _$DavCapabilities_Dav]; + final Iterable types = const [ + ProvisioningApiCapabilities, + _$ProvisioningApiCapabilities + ]; @override - final String wireName = 'DavCapabilities_Dav'; + final String wireName = 'ProvisioningApiCapabilities'; @override - Iterable serialize(Serializers serializers, DavCapabilities_Dav object, + Iterable serialize( + Serializers serializers, ProvisioningApiCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'chunking', - serializers.serialize(object.chunking, specifiedType: const FullType(String)), + 'provisioning_api', + serializers.serialize(object.provisioningApi, + specifiedType: + const FullType(ProvisioningApiCapabilities_ProvisioningApi)), ]; - Object? value; - value = object.bulkupload; - if (value != null) { - result - ..add('bulkupload') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - DavCapabilities_Dav deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiCapabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DavCapabilities_DavBuilder(); + final result = new ProvisioningApiCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2877,11 +3657,11 @@ class _$DavCapabilities_DavSerializer implements StructuredSerializer { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer + implements + StructuredSerializer< + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop> { @override - final Iterable types = const [DavCapabilities, _$DavCapabilities]; + final Iterable types = const [ + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop, + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + ]; @override - final String wireName = 'DavCapabilities'; + final String wireName = + 'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop'; @override - Iterable serialize(Serializers serializers, DavCapabilities object, + Iterable serialize(Serializers serializers, + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'dav', - serializers.serialize(object.dav, specifiedType: const FullType(DavCapabilities_Dav)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; return result; } @override - DavCapabilities deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DavCapabilitiesBuilder(); + final result = + new SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2918,9 +3709,9 @@ class _$DavCapabilitiesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer + implements + StructuredSerializer< + SharebymailCapabilities_FilesSharing_Sharebymail_Password> { @override - final Iterable types = const [FilesCapabilities_Files_DirectEditing, _$FilesCapabilities_Files_DirectEditing]; + final Iterable types = const [ + SharebymailCapabilities_FilesSharing_Sharebymail_Password, + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password + ]; @override - final String wireName = 'FilesCapabilities_Files_DirectEditing'; + final String wireName = + 'SharebymailCapabilities_FilesSharing_Sharebymail_Password'; @override - Iterable serialize(Serializers serializers, FilesCapabilities_Files_DirectEditing object, + Iterable serialize(Serializers serializers, + SharebymailCapabilities_FilesSharing_Sharebymail_Password object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'url', - serializers.serialize(object.url, specifiedType: const FullType(String)), - 'etag', - serializers.serialize(object.etag, specifiedType: const FullType(String)), - 'supportsFileId', - serializers.serialize(object.supportsFileId, specifiedType: const FullType(bool)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'enforced', + serializers.serialize(object.enforced, + specifiedType: const FullType(bool)), ]; return result; } @override - FilesCapabilities_Files_DirectEditing deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities_FilesSharing_Sharebymail_Password deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesCapabilities_Files_DirectEditingBuilder(); + final result = + new SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2962,14 +3762,13 @@ class _$FilesCapabilities_Files_DirectEditingSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'etag': - result.etag = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'supportsFileId': - result.supportsFileId = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -2978,31 +3777,41 @@ class _$FilesCapabilities_Files_DirectEditingSerializer } } -class _$FilesCapabilities_FilesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer + implements + StructuredSerializer< + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate> { @override - final Iterable types = const [FilesCapabilities_Files, _$FilesCapabilities_Files]; + final Iterable types = const [ + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate, + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + ]; @override - final String wireName = 'FilesCapabilities_Files'; + final String wireName = + 'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate'; @override - Iterable serialize(Serializers serializers, FilesCapabilities_Files object, + Iterable serialize(Serializers serializers, + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'bigfilechunking', - serializers.serialize(object.bigfilechunking, specifiedType: const FullType(bool)), - 'blacklisted_files', - serializers.serialize(object.blacklistedFiles, specifiedType: const FullType(BuiltList, [FullType(JsonObject)])), - 'directEditing', - serializers.serialize(object.directEditing, specifiedType: const FullType(FilesCapabilities_Files_DirectEditing)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'enforced', + serializers.serialize(object.enforced, + specifiedType: const FullType(bool)), ]; return result; } @override - FilesCapabilities_Files deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesCapabilities_FilesBuilder(); + final result = + new SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3010,17 +3819,13 @@ class _$FilesCapabilities_FilesSerializer implements StructuredSerializer); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'directEditing': - result.directEditing.replace( - serializers.deserialize(value, specifiedType: const FullType(FilesCapabilities_Files_DirectEditing))! - as FilesCapabilities_Files_DirectEditing); + case 'enforced': + result.enforced = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -3029,27 +3834,51 @@ class _$FilesCapabilities_FilesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer + implements + StructuredSerializer { @override - final Iterable types = const [FilesCapabilities, _$FilesCapabilities]; + final Iterable types = const [ + SharebymailCapabilities_FilesSharing_Sharebymail, + _$SharebymailCapabilities_FilesSharing_Sharebymail + ]; @override - final String wireName = 'FilesCapabilities'; + final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail'; @override - Iterable serialize(Serializers serializers, FilesCapabilities object, + Iterable serialize(Serializers serializers, + SharebymailCapabilities_FilesSharing_Sharebymail object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files', - serializers.serialize(object.files, specifiedType: const FullType(FilesCapabilities_Files)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'send_password_by_mail', + serializers.serialize(object.sendPasswordByMail, + specifiedType: const FullType(bool)), + 'upload_files_drop', + serializers.serialize(object.uploadFilesDrop, + specifiedType: const FullType( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop)), + 'password', + serializers.serialize(object.password, + specifiedType: const FullType( + SharebymailCapabilities_FilesSharing_Sharebymail_Password)), + 'expire_date', + serializers.serialize(object.expireDate, + specifiedType: const FullType( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate)), ]; return result; } @override - FilesCapabilities deserialize(Serializers serializers, Iterable serialized, + SharebymailCapabilities_FilesSharing_Sharebymail deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesCapabilitiesBuilder(); + final result = + new SharebymailCapabilities_FilesSharing_SharebymailBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3057,9 +3886,31 @@ class _$FilesCapabilitiesSerializer implements StructuredSerializer { +class _$SharebymailCapabilities_FilesSharingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Public_Password, - _$FilesSharingCapabilities_FilesSharing_Public_Password + SharebymailCapabilities_FilesSharing, + _$SharebymailCapabilities_FilesSharing ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_Password'; + final String wireName = 'SharebymailCapabilities_FilesSharing'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_Password object, + Iterable serialize( + Serializers serializers, SharebymailCapabilities_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enforced', - serializers.serialize(object.enforced, specifiedType: const FullType(bool)), - 'askForOptionalPassword', - serializers.serialize(object.askForOptionalPassword, specifiedType: const FullType(bool)), + 'sharebymail', + serializers.serialize(object.sharebymail, + specifiedType: + const FullType(SharebymailCapabilities_FilesSharing_Sharebymail)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Public_Password deserialize( + SharebymailCapabilities_FilesSharing deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + final result = new SharebymailCapabilities_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3103,11 +3955,11 @@ class _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'askForOptionalPassword': - result.askForOptionalPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'sharebymail': + result.sharebymail.replace(serializers.deserialize(value, + specifiedType: const FullType( + SharebymailCapabilities_FilesSharing_Sharebymail))! + as SharebymailCapabilities_FilesSharing_Sharebymail); break; } } @@ -3116,44 +3968,34 @@ class _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer } } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer - implements StructuredSerializer { +class _$SharebymailCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Public_ExpireDate, - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + SharebymailCapabilities, + _$SharebymailCapabilities ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDate'; + final String wireName = 'SharebymailCapabilities'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDate object, + Iterable serialize( + Serializers serializers, SharebymailCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'files_sharing', + serializers.serialize(object.filesSharing, + specifiedType: const FullType(SharebymailCapabilities_FilesSharing)), ]; - Object? value; - value = object.days; - if (value != null) { - result - ..add('days') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate deserialize( + SharebymailCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + final result = new SharebymailCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3161,14 +4003,11 @@ class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'days': - result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'files_sharing': + result.filesSharing.replace(serializers.deserialize(value, + specifiedType: + const FullType(SharebymailCapabilities_FilesSharing))! + as SharebymailCapabilities_FilesSharing); break; } } @@ -3177,45 +4016,70 @@ class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer } } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer - implements StructuredSerializer { +class _$ThemingPublicCapabilities_ThemingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal, - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + ThemingPublicCapabilities_Theming, + _$ThemingPublicCapabilities_Theming ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal'; + final String wireName = 'ThemingPublicCapabilities_Theming'; @override Iterable serialize( - Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal object, + Serializers serializers, ThemingPublicCapabilities_Theming object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'slogan', + serializers.serialize(object.slogan, + specifiedType: const FullType(String)), + 'color', + serializers.serialize(object.color, + specifiedType: const FullType(String)), + 'color-text', + serializers.serialize(object.colorText, + specifiedType: const FullType(String)), + 'color-element', + serializers.serialize(object.colorElement, + specifiedType: const FullType(String)), + 'color-element-bright', + serializers.serialize(object.colorElementBright, + specifiedType: const FullType(String)), + 'color-element-dark', + serializers.serialize(object.colorElementDark, + specifiedType: const FullType(String)), + 'logo', + serializers.serialize(object.logo, specifiedType: const FullType(String)), + 'background', + serializers.serialize(object.background, + specifiedType: const FullType(String)), + 'background-plain', + serializers.serialize(object.backgroundPlain, + specifiedType: const FullType(bool)), + 'background-default', + serializers.serialize(object.backgroundDefault, + specifiedType: const FullType(bool)), + 'logoheader', + serializers.serialize(object.logoheader, + specifiedType: const FullType(String)), + 'favicon', + serializers.serialize(object.favicon, + specifiedType: const FullType(String)), ]; - Object? value; - value = object.days; - if (value != null) { - result - ..add('days') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal deserialize( + ThemingPublicCapabilities_Theming deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + final result = new ThemingPublicCapabilities_ThemingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3223,61 +4087,97 @@ class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'days': - result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'url': + result.url = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'slogan': + result.slogan = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - } - } - - return result.build(); - } -} - -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer - implements StructuredSerializer { - @override + case 'color': + result.color = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'color-text': + result.colorText = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'color-element': + result.colorElement = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'color-element-bright': + result.colorElementBright = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'color-element-dark': + result.colorElementDark = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'logo': + result.logo = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'background': + result.background = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'background-plain': + result.backgroundPlain = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'background-default': + result.backgroundDefault = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'logoheader': + result.logoheader = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'favicon': + result.favicon = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ThemingPublicCapabilitiesSerializer + implements StructuredSerializer { + @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote, - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + ThemingPublicCapabilities, + _$ThemingPublicCapabilities ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote'; + final String wireName = 'ThemingPublicCapabilities'; @override Iterable serialize( - Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote object, + Serializers serializers, ThemingPublicCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'theming', + serializers.serialize(object.theming, + specifiedType: const FullType(ThemingPublicCapabilities_Theming)), ]; - Object? value; - value = object.days; - if (value != null) { - result - ..add('days') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote deserialize( + ThemingPublicCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + final result = new ThemingPublicCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3285,14 +4185,11 @@ class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'days': - result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'theming': + result.theming.replace(serializers.deserialize(value, + specifiedType: + const FullType(ThemingPublicCapabilities_Theming))! + as ThemingPublicCapabilities_Theming); break; } } @@ -3301,83 +4198,40 @@ class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer } } -class _$FilesSharingCapabilities_FilesSharing_PublicSerializer - implements StructuredSerializer { +class _$UserStatusCapabilities_UserStatusSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Public, - _$FilesSharingCapabilities_FilesSharing_Public + UserStatusCapabilities_UserStatus, + _$UserStatusCapabilities_UserStatus ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Public'; + final String wireName = 'UserStatusCapabilities_UserStatus'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public object, + Iterable serialize( + Serializers serializers, UserStatusCapabilities_UserStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'restore', + serializers.serialize(object.restore, + specifiedType: const FullType(bool)), + 'supports_emoji', + serializers.serialize(object.supportsEmoji, + specifiedType: const FullType(bool)), ]; - Object? value; - value = object.password; - if (value != null) { - result - ..add('password') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_Password))); - } - value = object.multipleLinks; - if (value != null) { - result - ..add('multiple_links') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDate))); - } - value = object.expireDateInternal; - if (value != null) { - result - ..add('expire_date_internal') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))); - } - value = object.expireDateRemote; - if (value != null) { - result - ..add('expire_date_remote') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))); - } - value = object.sendMail; - if (value != null) { - result - ..add('send_mail') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.upload; - if (value != null) { - result - ..add('upload') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.uploadFilesDrop; - if (value != null) { - result - ..add('upload_files_drop') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_Public deserialize(Serializers serializers, Iterable serialized, + UserStatusCapabilities_UserStatus deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_PublicBuilder(); + final result = new UserStatusCapabilities_UserStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3386,39 +4240,16 @@ class _$FilesSharingCapabilities_FilesSharing_PublicSerializer final Object? value = iterator.current; switch (key) { case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'password': - result.password.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_Password))! - as FilesSharingCapabilities_FilesSharing_Public_Password); - break; - case 'multiple_links': - result.multipleLinks = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDate))! - as FilesSharingCapabilities_FilesSharing_Public_ExpireDate); - break; - case 'expire_date_internal': - result.expireDateInternal.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal))! - as FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal); - break; - case 'expire_date_remote': - result.expireDateRemote.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote))! - as FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote); - break; - case 'send_mail': - result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'upload': - result.upload = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'restore': + result.restore = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; - case 'upload_files_drop': - result.uploadFilesDrop = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'supports_emoji': + result.supportsEmoji = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -3427,32 +4258,34 @@ class _$FilesSharingCapabilities_FilesSharing_PublicSerializer } } -class _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer - implements StructuredSerializer { +class _$UserStatusCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_User_ExpireDate, - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + UserStatusCapabilities, + _$UserStatusCapabilities ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_User_ExpireDate'; + final String wireName = 'UserStatusCapabilities'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_User_ExpireDate object, + Iterable serialize( + Serializers serializers, UserStatusCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'user_status', + serializers.serialize(object.userStatus, + specifiedType: const FullType(UserStatusCapabilities_UserStatus)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate deserialize( + UserStatusCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + final result = new UserStatusCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3460,8 +4293,11 @@ class _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'user_status': + result.userStatus.replace(serializers.deserialize(value, + specifiedType: + const FullType(UserStatusCapabilities_UserStatus))! + as UserStatusCapabilities_UserStatus); break; } } @@ -3470,38 +4306,34 @@ class _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer } } -class _$FilesSharingCapabilities_FilesSharing_UserSerializer - implements StructuredSerializer { +class _$WeatherStatusCapabilities_WeatherStatusSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_User, - _$FilesSharingCapabilities_FilesSharing_User + WeatherStatusCapabilities_WeatherStatus, + _$WeatherStatusCapabilities_WeatherStatus ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_User'; + final String wireName = 'WeatherStatusCapabilities_WeatherStatus'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_User object, + Iterable serialize( + Serializers serializers, WeatherStatusCapabilities_WeatherStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'send_mail', - serializers.serialize(object.sendMail, specifiedType: const FullType(bool)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), ]; - Object? value; - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_User_ExpireDate))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_User deserialize(Serializers serializers, Iterable serialized, + WeatherStatusCapabilities_WeatherStatus deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_UserBuilder(); + final result = new WeatherStatusCapabilities_WeatherStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3509,13 +4341,9 @@ class _$FilesSharingCapabilities_FilesSharing_UserSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'send_mail': - result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_User_ExpireDate))! - as FilesSharingCapabilities_FilesSharing_User_ExpireDate); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -3524,32 +4352,35 @@ class _$FilesSharingCapabilities_FilesSharing_UserSerializer } } -class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer - implements StructuredSerializer { +class _$WeatherStatusCapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Group_ExpireDate, - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + WeatherStatusCapabilities, + _$WeatherStatusCapabilities ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Group_ExpireDate'; + final String wireName = 'WeatherStatusCapabilities'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Group_ExpireDate object, + Iterable serialize( + Serializers serializers, WeatherStatusCapabilities object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'weather_status', + serializers.serialize(object.weatherStatus, + specifiedType: + const FullType(WeatherStatusCapabilities_WeatherStatus)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate deserialize( + WeatherStatusCapabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + final result = new WeatherStatusCapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3557,8 +4388,11 @@ class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'weather_status': + result.weatherStatus.replace(serializers.deserialize(value, + specifiedType: + const FullType(WeatherStatusCapabilities_WeatherStatus))! + as WeatherStatusCapabilities_WeatherStatus); break; } } @@ -3567,38 +4401,38 @@ class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer } } -class _$FilesSharingCapabilities_FilesSharing_GroupSerializer - implements StructuredSerializer { +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Group, - _$FilesSharingCapabilities_FilesSharing_Group + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data, + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Group'; + final String wireName = + 'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Group object, + Iterable serialize(Serializers serializers, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'apppassword', + serializers.serialize(object.apppassword, + specifiedType: const FullType(String)), ]; - Object? value; - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Group_ExpireDate))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing_Group deserialize(Serializers serializers, Iterable serialized, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_GroupBuilder(); + final result = + new AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3606,13 +4440,9 @@ class _$FilesSharingCapabilities_FilesSharing_GroupSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Group_ExpireDate))! - as FilesSharingCapabilities_FilesSharing_Group_ExpireDate); + case 'apppassword': + result.apppassword = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -3621,33 +4451,42 @@ class _$FilesSharingCapabilities_FilesSharing_GroupSerializer } } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer - implements StructuredSerializer { +class _$AppPasswordGetAppPasswordResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + AppPasswordGetAppPasswordResponseApplicationJson_Ocs> { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate, - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + AppPasswordGetAppPasswordResponseApplicationJson_Ocs, + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate'; + final String wireName = + 'AppPasswordGetAppPasswordResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation_ExpireDate object, + Iterable serialize(Serializers serializers, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate deserialize( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + final result = + new AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3655,8 +4494,15 @@ class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data))! + as AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data); break; } } @@ -3665,33 +4511,37 @@ class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer } } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer - implements StructuredSerializer { +class _$AppPasswordGetAppPasswordResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported, - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + AppPasswordGetAppPasswordResponseApplicationJson, + _$AppPasswordGetAppPasswordResponseApplicationJson ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported'; + final String wireName = 'AppPasswordGetAppPasswordResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported object, + Iterable serialize(Serializers serializers, + AppPasswordGetAppPasswordResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported deserialize( + AppPasswordGetAppPasswordResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + final result = + new AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3699,8 +4549,11 @@ class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSeri iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs))! + as AppPasswordGetAppPasswordResponseApplicationJson_Ocs); break; } } @@ -3709,39 +4562,38 @@ class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSeri } } -class _$FilesSharingCapabilities_FilesSharing_FederationSerializer - implements StructuredSerializer { +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Federation, - _$FilesSharingCapabilities_FilesSharing_Federation + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data, + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation'; + final String wireName = + 'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation object, + Iterable serialize(Serializers serializers, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'outgoing', - serializers.serialize(object.outgoing, specifiedType: const FullType(bool)), - 'incoming', - serializers.serialize(object.incoming, specifiedType: const FullType(bool)), - 'expire_date', - serializers.serialize(object.expireDate, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate)), - 'expire_date_supported', - serializers.serialize(object.expireDateSupported, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported)), + 'apppassword', + serializers.serialize(object.apppassword, + specifiedType: const FullType(String)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Federation deserialize(Serializers serializers, Iterable serialized, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_FederationBuilder(); + final result = + new AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3749,21 +4601,9 @@ class _$FilesSharingCapabilities_FilesSharing_FederationSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'outgoing': - result.outgoing = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'incoming': - result.incoming = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate))! - as FilesSharingCapabilities_FilesSharing_Federation_ExpireDate); - break; - case 'expire_date_supported': - result.expireDateSupported.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported))! - as FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported); + case 'apppassword': + result.apppassword = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -3772,33 +4612,42 @@ class _$FilesSharingCapabilities_FilesSharing_FederationSerializer } } -class _$FilesSharingCapabilities_FilesSharing_ShareeSerializer - implements StructuredSerializer { +class _$AppPasswordRotateAppPasswordResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs> { @override final Iterable types = const [ - FilesSharingCapabilities_FilesSharing_Sharee, - _$FilesSharingCapabilities_FilesSharing_Sharee + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs, + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing_Sharee'; + final String wireName = + 'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Sharee object, + Iterable serialize(Serializers serializers, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'query_lookup_default', - serializers.serialize(object.queryLookupDefault, specifiedType: const FullType(bool)), - 'always_show_unique', - serializers.serialize(object.alwaysShowUnique, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data)), ]; return result; } @override - FilesSharingCapabilities_FilesSharing_Sharee deserialize(Serializers serializers, Iterable serialized, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + final result = + new AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3806,11 +4655,15 @@ class _$FilesSharingCapabilities_FilesSharing_ShareeSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'query_lookup_default': - result.queryLookupDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'always_show_unique': - result.alwaysShowUnique = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data))! + as AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data); break; } } @@ -3819,57 +4672,38 @@ class _$FilesSharingCapabilities_FilesSharing_ShareeSerializer } } -class _$FilesSharingCapabilities_FilesSharingSerializer - implements StructuredSerializer { +class _$AppPasswordRotateAppPasswordResponseApplicationJsonSerializer + implements + StructuredSerializer< + AppPasswordRotateAppPasswordResponseApplicationJson> { @override - final Iterable types = const [FilesSharingCapabilities_FilesSharing, _$FilesSharingCapabilities_FilesSharing]; + final Iterable types = const [ + AppPasswordRotateAppPasswordResponseApplicationJson, + _$AppPasswordRotateAppPasswordResponseApplicationJson + ]; @override - final String wireName = 'FilesSharingCapabilities_FilesSharing'; + final String wireName = 'AppPasswordRotateAppPasswordResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing object, + Iterable serialize(Serializers serializers, + AppPasswordRotateAppPasswordResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'api_enabled', - serializers.serialize(object.apiEnabled, specifiedType: const FullType(bool)), - 'public', - serializers.serialize(object.public, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public)), - 'user', - serializers.serialize(object.user, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_User)), - 'resharing', - serializers.serialize(object.resharing, specifiedType: const FullType(bool)), - 'federation', - serializers.serialize(object.federation, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation)), - 'sharee', - serializers.serialize(object.sharee, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Sharee)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs)), ]; - Object? value; - value = object.groupSharing; - if (value != null) { - result - ..add('group_sharing') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.group; - if (value != null) { - result - ..add('group') - ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Group))); - } - value = object.defaultPermissions; - if (value != null) { - result - ..add('default_permissions') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } + return result; } @override - FilesSharingCapabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, + AppPasswordRotateAppPasswordResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilities_FilesSharingBuilder(); + final result = + new AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3877,42 +4711,11 @@ class _$FilesSharingCapabilities_FilesSharingSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'api_enabled': - result.apiEnabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'public': - result.public.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Public))! - as FilesSharingCapabilities_FilesSharing_Public); - break; - case 'user': - result.user.replace( - serializers.deserialize(value, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_User))! - as FilesSharingCapabilities_FilesSharing_User); - break; - case 'resharing': - result.resharing = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'group_sharing': - result.groupSharing = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'group': - result.group.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Group))! - as FilesSharingCapabilities_FilesSharing_Group); - break; - case 'default_permissions': - result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'federation': - result.federation.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Federation))! - as FilesSharingCapabilities_FilesSharing_Federation); - break; - case 'sharee': - result.sharee.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Sharee))! - as FilesSharingCapabilities_FilesSharing_Sharee); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs))! + as AppPasswordRotateAppPasswordResponseApplicationJson_Ocs); break; } } @@ -3921,27 +4724,41 @@ class _$FilesSharingCapabilities_FilesSharingSerializer } } -class _$FilesSharingCapabilitiesSerializer implements StructuredSerializer { +class _$AppPasswordDeleteAppPasswordResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs> { @override - final Iterable types = const [FilesSharingCapabilities, _$FilesSharingCapabilities]; + final Iterable types = const [ + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs, + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + ]; @override - final String wireName = 'FilesSharingCapabilities'; + final String wireName = + 'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, FilesSharingCapabilities object, + Iterable serialize(Serializers serializers, + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files_sharing', - serializers.serialize(object.filesSharing, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(JsonObject)), ]; return result; } @override - FilesSharingCapabilities deserialize(Serializers serializers, Iterable serialized, + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesSharingCapabilitiesBuilder(); + final result = + new AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3949,10 +4766,13 @@ class _$FilesSharingCapabilitiesSerializer implements StructuredSerializer { +class _$AppPasswordDeleteAppPasswordResponseApplicationJsonSerializer + implements + StructuredSerializer< + AppPasswordDeleteAppPasswordResponseApplicationJson> { @override - final Iterable types = const [FilesTrashbinCapabilities_Files, _$FilesTrashbinCapabilities_Files]; + final Iterable types = const [ + AppPasswordDeleteAppPasswordResponseApplicationJson, + _$AppPasswordDeleteAppPasswordResponseApplicationJson + ]; @override - final String wireName = 'FilesTrashbinCapabilities_Files'; + final String wireName = 'AppPasswordDeleteAppPasswordResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, FilesTrashbinCapabilities_Files object, + Iterable serialize(Serializers serializers, + AppPasswordDeleteAppPasswordResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'undelete', - serializers.serialize(object.undelete, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs)), ]; return result; } @override - FilesTrashbinCapabilities_Files deserialize(Serializers serializers, Iterable serialized, + AppPasswordDeleteAppPasswordResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesTrashbinCapabilities_FilesBuilder(); + final result = + new AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3989,8 +4820,11 @@ class _$FilesTrashbinCapabilities_FilesSerializer implements StructuredSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'undelete': - result.undelete = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs))! + as AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs); break; } } @@ -3999,27 +4833,39 @@ class _$FilesTrashbinCapabilities_FilesSerializer implements StructuredSerialize } } -class _$FilesTrashbinCapabilitiesSerializer implements StructuredSerializer { +class _$AutoCompleteGetResponseApplicationJson_OcsSerializer + implements + StructuredSerializer { @override - final Iterable types = const [FilesTrashbinCapabilities, _$FilesTrashbinCapabilities]; + final Iterable types = const [ + AutoCompleteGetResponseApplicationJson_Ocs, + _$AutoCompleteGetResponseApplicationJson_Ocs + ]; @override - final String wireName = 'FilesTrashbinCapabilities'; + final String wireName = 'AutoCompleteGetResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, FilesTrashbinCapabilities object, + Iterable serialize(Serializers serializers, + AutoCompleteGetResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files', - serializers.serialize(object.files, specifiedType: const FullType(FilesTrashbinCapabilities_Files)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + BuiltList, const [const FullType(AutocompleteResult)])), ]; return result; } @override - FilesTrashbinCapabilities deserialize(Serializers serializers, Iterable serialized, + AutoCompleteGetResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesTrashbinCapabilitiesBuilder(); + final result = new AutoCompleteGetResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4027,9 +4873,15 @@ class _$FilesTrashbinCapabilitiesSerializer implements StructuredSerializer); break; } } @@ -4038,31 +4890,35 @@ class _$FilesTrashbinCapabilitiesSerializer implements StructuredSerializer { +class _$AutoCompleteGetResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [FilesVersionsCapabilities_Files, _$FilesVersionsCapabilities_Files]; + final Iterable types = const [ + AutoCompleteGetResponseApplicationJson, + _$AutoCompleteGetResponseApplicationJson + ]; @override - final String wireName = 'FilesVersionsCapabilities_Files'; + final String wireName = 'AutoCompleteGetResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, FilesVersionsCapabilities_Files object, + Iterable serialize( + Serializers serializers, AutoCompleteGetResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'versioning', - serializers.serialize(object.versioning, specifiedType: const FullType(bool)), - 'version_labeling', - serializers.serialize(object.versionLabeling, specifiedType: const FullType(bool)), - 'version_deletion', - serializers.serialize(object.versionDeletion, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(AutoCompleteGetResponseApplicationJson_Ocs)), ]; return result; } @override - FilesVersionsCapabilities_Files deserialize(Serializers serializers, Iterable serialized, + AutoCompleteGetResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesVersionsCapabilities_FilesBuilder(); + final result = new AutoCompleteGetResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4070,14 +4926,11 @@ class _$FilesVersionsCapabilities_FilesSerializer implements StructuredSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'versioning': - result.versioning = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'version_labeling': - result.versionLabeling = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'version_deletion': - result.versionDeletion = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + AutoCompleteGetResponseApplicationJson_Ocs))! + as AutoCompleteGetResponseApplicationJson_Ocs); break; } } @@ -4086,27 +4939,42 @@ class _$FilesVersionsCapabilities_FilesSerializer implements StructuredSerialize } } -class _$FilesVersionsCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs> { @override - final Iterable types = const [FilesVersionsCapabilities, _$FilesVersionsCapabilities]; + final Iterable types = const [ + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs, + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + ]; @override - final String wireName = 'FilesVersionsCapabilities'; + final String wireName = + 'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, FilesVersionsCapabilities object, + Iterable serialize(Serializers serializers, + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files', - serializers.serialize(object.files, specifiedType: const FullType(FilesVersionsCapabilities_Files)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: + const FullType(BuiltList, const [const FullType(Collection)])), ]; return result; } @override - FilesVersionsCapabilities deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = FilesVersionsCapabilitiesBuilder(); + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4114,9 +4982,15 @@ class _$FilesVersionsCapabilitiesSerializer implements StructuredSerializer); break; } } @@ -4125,36 +4999,39 @@ class _$FilesVersionsCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesSearchCollectionsResponseApplicationJson> { @override - final Iterable types = const [NotesCapabilities_Notes, _$NotesCapabilities_Notes]; + final Iterable types = const [ + CollaborationResourcesSearchCollectionsResponseApplicationJson, + _$CollaborationResourcesSearchCollectionsResponseApplicationJson + ]; @override - final String wireName = 'NotesCapabilities_Notes'; + final String wireName = + 'CollaborationResourcesSearchCollectionsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, NotesCapabilities_Notes object, + Iterable serialize(Serializers serializers, + CollaborationResourcesSearchCollectionsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.apiVersion; - if (value != null) { - result - ..add('api_version') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.version; - if (value != null) { - result - ..add('version') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs)), + ]; + return result; } @override - NotesCapabilities_Notes deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesSearchCollectionsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NotesCapabilities_NotesBuilder(); + final result = + new CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4162,12 +5039,11 @@ class _$NotesCapabilities_NotesSerializer implements StructuredSerializer); - break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs))! + as CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs); break; } } @@ -4176,27 +5052,41 @@ class _$NotesCapabilities_NotesSerializer implements StructuredSerializer { +class _$CollaborationResourcesListCollectionResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesListCollectionResponseApplicationJson_Ocs> { @override - final Iterable types = const [NotesCapabilities, _$NotesCapabilities]; + final Iterable types = const [ + CollaborationResourcesListCollectionResponseApplicationJson_Ocs, + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + ]; @override - final String wireName = 'NotesCapabilities'; + final String wireName = + 'CollaborationResourcesListCollectionResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, NotesCapabilities object, + Iterable serialize(Serializers serializers, + CollaborationResourcesListCollectionResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'notes', - serializers.serialize(object.notes, specifiedType: const FullType(NotesCapabilities_Notes)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(Collection)), ]; return result; } @override - NotesCapabilities deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesListCollectionResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NotesCapabilitiesBuilder(); + final result = + new CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4204,9 +5094,13 @@ class _$NotesCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesListCollectionResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesListCollectionResponseApplicationJson> { @override final Iterable types = const [ - NotificationsCapabilities_Notifications, - _$NotificationsCapabilities_Notifications + CollaborationResourcesListCollectionResponseApplicationJson, + _$CollaborationResourcesListCollectionResponseApplicationJson ]; @override - final String wireName = 'NotificationsCapabilities_Notifications'; + final String wireName = + 'CollaborationResourcesListCollectionResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, NotificationsCapabilities_Notifications object, + Iterable serialize(Serializers serializers, + CollaborationResourcesListCollectionResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs-endpoints', - serializers.serialize(object.ocsEndpoints, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'push', - serializers.serialize(object.push, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'admin-notifications', - serializers.serialize(object.adminNotifications, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesListCollectionResponseApplicationJson_Ocs)), ]; return result; } @override - NotificationsCapabilities_Notifications deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesListCollectionResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NotificationsCapabilities_NotificationsBuilder(); + final result = + new CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4251,17 +5149,11 @@ class _$NotificationsCapabilities_NotificationsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs-endpoints': - result.ocsEndpoints.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'push': - result.push.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'admin-notifications': - result.adminNotifications.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesListCollectionResponseApplicationJson_Ocs))! + as CollaborationResourcesListCollectionResponseApplicationJson_Ocs); break; } } @@ -4270,28 +5162,41 @@ class _$NotificationsCapabilities_NotificationsSerializer } } -class _$NotificationsCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesRenameCollectionResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs> { @override - final Iterable types = const [NotificationsCapabilities, _$NotificationsCapabilities]; + final Iterable types = const [ + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs, + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + ]; @override - final String wireName = 'NotificationsCapabilities'; + final String wireName = + 'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, NotificationsCapabilities object, + Iterable serialize(Serializers serializers, + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'notifications', - serializers.serialize(object.notifications, - specifiedType: const FullType(NotificationsCapabilities_Notifications)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(Collection)), ]; return result; } @override - NotificationsCapabilities deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = NotificationsCapabilitiesBuilder(); + final result = + new CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4299,10 +5204,13 @@ class _$NotificationsCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesRenameCollectionResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesRenameCollectionResponseApplicationJson> { @override final Iterable types = const [ - ProvisioningApiCapabilities_ProvisioningApi, - _$ProvisioningApiCapabilities_ProvisioningApi + CollaborationResourcesRenameCollectionResponseApplicationJson, + _$CollaborationResourcesRenameCollectionResponseApplicationJson ]; @override - final String wireName = 'ProvisioningApiCapabilities_ProvisioningApi'; + final String wireName = + 'CollaborationResourcesRenameCollectionResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ProvisioningApiCapabilities_ProvisioningApi object, + Iterable serialize(Serializers serializers, + CollaborationResourcesRenameCollectionResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), - 'AccountPropertyScopesVersion', - serializers.serialize(object.accountPropertyScopesVersion, specifiedType: const FullType(int)), - 'AccountPropertyScopesFederatedEnabled', - serializers.serialize(object.accountPropertyScopesFederatedEnabled, specifiedType: const FullType(bool)), - 'AccountPropertyScopesPublishedEnabled', - serializers.serialize(object.accountPropertyScopesPublishedEnabled, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs)), ]; return result; } @override - ProvisioningApiCapabilities_ProvisioningApi deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesRenameCollectionResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiCapabilities_ProvisioningApiBuilder(); + final result = + new CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4349,20 +5259,11 @@ class _$ProvisioningApiCapabilities_ProvisioningApiSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'AccountPropertyScopesVersion': - result.accountPropertyScopesVersion = - serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'AccountPropertyScopesFederatedEnabled': - result.accountPropertyScopesFederatedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'AccountPropertyScopesPublishedEnabled': - result.accountPropertyScopesPublishedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs))! + as CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs); break; } } @@ -4371,28 +5272,41 @@ class _$ProvisioningApiCapabilities_ProvisioningApiSerializer } } -class _$ProvisioningApiCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesAddResourceResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesAddResourceResponseApplicationJson_Ocs> { @override - final Iterable types = const [ProvisioningApiCapabilities, _$ProvisioningApiCapabilities]; + final Iterable types = const [ + CollaborationResourcesAddResourceResponseApplicationJson_Ocs, + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs + ]; @override - final String wireName = 'ProvisioningApiCapabilities'; + final String wireName = + 'CollaborationResourcesAddResourceResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ProvisioningApiCapabilities object, + Iterable serialize(Serializers serializers, + CollaborationResourcesAddResourceResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'provisioning_api', - serializers.serialize(object.provisioningApi, - specifiedType: const FullType(ProvisioningApiCapabilities_ProvisioningApi)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(Collection)), ]; return result; } @override - ProvisioningApiCapabilities deserialize(Serializers serializers, Iterable serialized, + CollaborationResourcesAddResourceResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiCapabilitiesBuilder(); + final result = + new CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4400,10 +5314,13 @@ class _$ProvisioningApiCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesAddResourceResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesAddResourceResponseApplicationJson> { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop, - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + CollaborationResourcesAddResourceResponseApplicationJson, + _$CollaborationResourcesAddResourceResponseApplicationJson ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop'; + final String wireName = + 'CollaborationResourcesAddResourceResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop object, + Iterable serialize(Serializers serializers, + CollaborationResourcesAddResourceResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesAddResourceResponseApplicationJson_Ocs)), ]; return result; } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop deserialize( + CollaborationResourcesAddResourceResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + final result = + new CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4446,8 +5369,11 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesAddResourceResponseApplicationJson_Ocs))! + as CollaborationResourcesAddResourceResponseApplicationJson_Ocs); break; } } @@ -4456,34 +5382,41 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropSerializ } } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer - implements StructuredSerializer { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs> { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_Password, - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs, + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_Password'; + final String wireName = + 'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_Password object, + Iterable serialize(Serializers serializers, + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'enforced', - serializers.serialize(object.enforced, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(Collection)), ]; return result; } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password deserialize( + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + final result = + new CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4491,11 +5424,13 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(Collection))! as Collection); break; } } @@ -4504,35 +5439,39 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_PasswordSerializer } } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer - implements StructuredSerializer { +class _$CollaborationResourcesRemoveResourceResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesRemoveResourceResponseApplicationJson> { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate, - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + CollaborationResourcesRemoveResourceResponseApplicationJson, + _$CollaborationResourcesRemoveResourceResponseApplicationJson ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate'; + final String wireName = + 'CollaborationResourcesRemoveResourceResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate object, + Iterable serialize(Serializers serializers, + CollaborationResourcesRemoveResourceResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'enforced', - serializers.serialize(object.enforced, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs)), ]; return result; } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate deserialize( + CollaborationResourcesRemoveResourceResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + final result = + new CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4540,11 +5479,11 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs))! + as CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs); break; } } @@ -4553,42 +5492,44 @@ class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateSerializer } } -class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer - implements StructuredSerializer { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs> { @override final Iterable types = const [ - SharebymailCapabilities_FilesSharing_Sharebymail, - _$SharebymailCapabilities_FilesSharing_Sharebymail + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs, + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing_Sharebymail'; + final String wireName = + 'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing_Sharebymail object, + Iterable serialize( + Serializers serializers, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'send_password_by_mail', - serializers.serialize(object.sendPasswordByMail, specifiedType: const FullType(bool)), - 'upload_files_drop', - serializers.serialize(object.uploadFilesDrop, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop)), - 'password', - serializers.serialize(object.password, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password)), - 'expire_date', - serializers.serialize(object.expireDate, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: + const FullType(BuiltList, const [const FullType(Collection)])), ]; return result; } @override - SharebymailCapabilities_FilesSharing_Sharebymail deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4596,26 +5537,15 @@ class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'send_password_by_mail': - result.sendPasswordByMail = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'upload_files_drop': - result.uploadFilesDrop.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop))! - as SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop); - break; - case 'password': - result.password.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_Password))! - as SharebymailCapabilities_FilesSharing_Sharebymail_Password); + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate))! - as SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(Collection)]))! + as BuiltList); break; } } @@ -4624,29 +5554,41 @@ class _$SharebymailCapabilities_FilesSharing_SharebymailSerializer } } -class _$SharebymailCapabilities_FilesSharingSerializer - implements StructuredSerializer { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson> { @override - final Iterable types = const [SharebymailCapabilities_FilesSharing, _$SharebymailCapabilities_FilesSharing]; + final Iterable types = const [ + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson, + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + ]; @override - final String wireName = 'SharebymailCapabilities_FilesSharing'; + final String wireName = + 'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities_FilesSharing object, + Iterable serialize( + Serializers serializers, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'sharebymail', - serializers.serialize(object.sharebymail, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs)), ]; return result; } @override - SharebymailCapabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilities_FilesSharingBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4654,10 +5596,11 @@ class _$SharebymailCapabilities_FilesSharingSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'sharebymail': - result.sharebymail.replace(serializers.deserialize(value, - specifiedType: const FullType(SharebymailCapabilities_FilesSharing_Sharebymail))! - as SharebymailCapabilities_FilesSharing_Sharebymail); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs))! + as CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs); break; } } @@ -4666,27 +5609,43 @@ class _$SharebymailCapabilities_FilesSharingSerializer } } -class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs> { @override - final Iterable types = const [SharebymailCapabilities, _$SharebymailCapabilities]; + final Iterable types = const [ + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs, + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + ]; @override - final String wireName = 'SharebymailCapabilities'; + final String wireName = + 'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, SharebymailCapabilities object, + Iterable serialize( + Serializers serializers, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'files_sharing', - serializers.serialize(object.filesSharing, specifiedType: const FullType(SharebymailCapabilities_FilesSharing)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(Collection)), ]; return result; } @override - SharebymailCapabilities deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SharebymailCapabilitiesBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4694,10 +5653,13 @@ class _$SharebymailCapabilitiesSerializer implements StructuredSerializer { +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonSerializer + implements + StructuredSerializer< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson> { @override - final Iterable types = const [ThemingPublicCapabilities_Theming, _$ThemingPublicCapabilities_Theming]; + final Iterable types = const [ + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson, + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + ]; @override - final String wireName = 'ThemingPublicCapabilities_Theming'; + final String wireName = + 'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ThemingPublicCapabilities_Theming object, + Iterable serialize( + Serializers serializers, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'url', - serializers.serialize(object.url, specifiedType: const FullType(String)), - 'slogan', - serializers.serialize(object.slogan, specifiedType: const FullType(String)), - 'color', - serializers.serialize(object.color, specifiedType: const FullType(String)), - 'color-text', - serializers.serialize(object.colorText, specifiedType: const FullType(String)), - 'color-element', - serializers.serialize(object.colorElement, specifiedType: const FullType(String)), - 'color-element-bright', - serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), - 'color-element-dark', - serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), - 'logo', - serializers.serialize(object.logo, specifiedType: const FullType(String)), - 'background', - serializers.serialize(object.background, specifiedType: const FullType(String)), - 'background-plain', - serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), - 'background-default', - serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), - 'logoheader', - serializers.serialize(object.logoheader, specifiedType: const FullType(String)), - 'favicon', - serializers.serialize(object.favicon, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs)), ]; return result; } @override - ThemingPublicCapabilities_Theming deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = ThemingPublicCapabilities_ThemingBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4760,47 +5710,11 @@ class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'slogan': - result.slogan = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color': - result.color = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-text': - result.colorText = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element': - result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element-bright': - result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'color-element-dark': - result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'logo': - result.logo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'background': - result.background = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'background-plain': - result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'background-default': - result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'logoheader': - result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'favicon': - result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs))! + as CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs); break; } } @@ -4809,27 +5723,43 @@ class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSeriali } } -class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { +class _$HoverCardGetUserResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer { @override - final Iterable types = const [ThemingPublicCapabilities, _$ThemingPublicCapabilities]; + final Iterable types = const [ + HoverCardGetUserResponseApplicationJson_Ocs_Data, + _$HoverCardGetUserResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ThemingPublicCapabilities'; + final String wireName = 'HoverCardGetUserResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ThemingPublicCapabilities object, + Iterable serialize(Serializers serializers, + HoverCardGetUserResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'theming', - serializers.serialize(object.theming, specifiedType: const FullType(ThemingPublicCapabilities_Theming)), + 'userId', + serializers.serialize(object.userId, + specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, + specifiedType: const FullType(String)), + 'actions', + serializers.serialize(object.actions, + specifiedType: const FullType( + BuiltList, const [const FullType(ContactsAction)])), ]; return result; } @override - ThemingPublicCapabilities deserialize(Serializers serializers, Iterable serialized, + HoverCardGetUserResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ThemingPublicCapabilitiesBuilder(); + final result = + new HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4837,9 +5767,19 @@ class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer); break; } } @@ -4848,31 +5788,39 @@ class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { +class _$HoverCardGetUserResponseApplicationJson_OcsSerializer + implements + StructuredSerializer { @override - final Iterable types = const [UserStatusCapabilities_UserStatus, _$UserStatusCapabilities_UserStatus]; + final Iterable types = const [ + HoverCardGetUserResponseApplicationJson_Ocs, + _$HoverCardGetUserResponseApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusCapabilities_UserStatus'; + final String wireName = 'HoverCardGetUserResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusCapabilities_UserStatus object, + Iterable serialize(Serializers serializers, + HoverCardGetUserResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'restore', - serializers.serialize(object.restore, specifiedType: const FullType(bool)), - 'supports_emoji', - serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: + const FullType(HoverCardGetUserResponseApplicationJson_Ocs_Data)), ]; return result; } @override - UserStatusCapabilities_UserStatus deserialize(Serializers serializers, Iterable serialized, + HoverCardGetUserResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusCapabilities_UserStatusBuilder(); + final result = new HoverCardGetUserResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4880,14 +5828,15 @@ class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'restore': - result.restore = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'supports_emoji': - result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + HoverCardGetUserResponseApplicationJson_Ocs_Data))! + as HoverCardGetUserResponseApplicationJson_Ocs_Data); break; } } @@ -4896,27 +5845,35 @@ class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSeriali } } -class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { +class _$HoverCardGetUserResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusCapabilities, _$UserStatusCapabilities]; + final Iterable types = const [ + HoverCardGetUserResponseApplicationJson, + _$HoverCardGetUserResponseApplicationJson + ]; @override - final String wireName = 'UserStatusCapabilities'; + final String wireName = 'HoverCardGetUserResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusCapabilities object, + Iterable serialize( + Serializers serializers, HoverCardGetUserResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'user_status', - serializers.serialize(object.userStatus, specifiedType: const FullType(UserStatusCapabilities_UserStatus)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(HoverCardGetUserResponseApplicationJson_Ocs)), ]; return result; } @override - UserStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + HoverCardGetUserResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusCapabilitiesBuilder(); + final result = new HoverCardGetUserResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4924,9 +5881,11 @@ class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { +class _$NavigationGetAppsNavigationResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + NavigationGetAppsNavigationResponseApplicationJson_Ocs> { @override final Iterable types = const [ - WeatherStatusCapabilities_WeatherStatus, - _$WeatherStatusCapabilities_WeatherStatus + NavigationGetAppsNavigationResponseApplicationJson_Ocs, + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs ]; @override - final String wireName = 'WeatherStatusCapabilities_WeatherStatus'; + final String wireName = + 'NavigationGetAppsNavigationResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WeatherStatusCapabilities_WeatherStatus object, + Iterable serialize(Serializers serializers, + NavigationGetAppsNavigationResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + BuiltList, const [const FullType(NavigationEntry)])), ]; return result; } @override - WeatherStatusCapabilities_WeatherStatus deserialize(Serializers serializers, Iterable serialized, + NavigationGetAppsNavigationResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WeatherStatusCapabilities_WeatherStatusBuilder(); + final result = + new NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4967,8 +5937,15 @@ class _$WeatherStatusCapabilities_WeatherStatusSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(NavigationEntry)]))! + as BuiltList); break; } } @@ -4977,28 +5954,38 @@ class _$WeatherStatusCapabilities_WeatherStatusSerializer } } -class _$WeatherStatusCapabilitiesSerializer implements StructuredSerializer { +class _$NavigationGetAppsNavigationResponseApplicationJsonSerializer + implements + StructuredSerializer< + NavigationGetAppsNavigationResponseApplicationJson> { @override - final Iterable types = const [WeatherStatusCapabilities, _$WeatherStatusCapabilities]; + final Iterable types = const [ + NavigationGetAppsNavigationResponseApplicationJson, + _$NavigationGetAppsNavigationResponseApplicationJson + ]; @override - final String wireName = 'WeatherStatusCapabilities'; + final String wireName = 'NavigationGetAppsNavigationResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WeatherStatusCapabilities object, + Iterable serialize(Serializers serializers, + NavigationGetAppsNavigationResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'weather_status', - serializers.serialize(object.weatherStatus, - specifiedType: const FullType(WeatherStatusCapabilities_WeatherStatus)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + NavigationGetAppsNavigationResponseApplicationJson_Ocs)), ]; return result; } @override - WeatherStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + NavigationGetAppsNavigationResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WeatherStatusCapabilitiesBuilder(); + final result = + new NavigationGetAppsNavigationResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5006,10 +5993,11 @@ class _$WeatherStatusCapabilitiesSerializer implements StructuredSerializer { +class _$NavigationGetSettingsNavigationResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + NavigationGetSettingsNavigationResponseApplicationJson_Ocs> { @override final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data + NavigationGetSettingsNavigationResponseApplicationJson_Ocs, + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs ]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data'; + final String wireName = + 'NavigationGetSettingsNavigationResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + NavigationGetSettingsNavigationResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'version', - serializers.serialize(object.version, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version)), - 'capabilities', - serializers.serialize(object.capabilities, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + BuiltList, const [const FullType(NavigationEntry)])), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + NavigationGetSettingsNavigationResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + final result = + new NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5054,15 +6049,15 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version); + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'capabilities': - result.capabilities.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(NavigationEntry)]))! + as BuiltList); break; } } @@ -5071,34 +6066,39 @@ class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer } } -class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$NavigationGetSettingsNavigationResponseApplicationJsonSerializer + implements + StructuredSerializer< + NavigationGetSettingsNavigationResponseApplicationJson> { @override final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson_Ocs, - _$OcsGetCapabilitiesResponseApplicationJson_Ocs + NavigationGetSettingsNavigationResponseApplicationJson, + _$NavigationGetSettingsNavigationResponseApplicationJson ]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs'; + final String wireName = + 'NavigationGetSettingsNavigationResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + NavigationGetSettingsNavigationResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + NavigationGetSettingsNavigationResponseApplicationJson_Ocs)), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + NavigationGetSettingsNavigationResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + final result = + new NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5106,13 +6106,11 @@ class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + NavigationGetSettingsNavigationResponseApplicationJson_Ocs))! + as NavigationGetSettingsNavigationResponseApplicationJson_Ocs); break; } } @@ -5121,31 +6119,38 @@ class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer } } -class _$OcsGetCapabilitiesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsSerializer + implements + StructuredSerializer< + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols> { @override final Iterable types = const [ - OcsGetCapabilitiesResponseApplicationJson, - _$OcsGetCapabilitiesResponseApplicationJson + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols, + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols ]; @override - final String wireName = 'OcsGetCapabilitiesResponseApplicationJson'; + final String wireName = + 'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols'; @override - Iterable serialize(Serializers serializers, OcsGetCapabilitiesResponseApplicationJson object, + Iterable serialize(Serializers serializers, + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs)), + 'webdav', + serializers.serialize(object.webdav, + specifiedType: const FullType(String)), ]; return result; } @override - OcsGetCapabilitiesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OcsGetCapabilitiesResponseApplicationJsonBuilder(); + final result = + new OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5153,10 +6158,9 @@ class _$OcsGetCapabilitiesResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs))! - as OcsGetCapabilitiesResponseApplicationJson_Ocs); + case 'webdav': + result.webdav = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -5165,33 +6169,44 @@ class _$OcsGetCapabilitiesResponseApplicationJsonSerializer } } -class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypesSerializer + implements + StructuredSerializer< + OcmDiscoveryResponseApplicationJson_ResourceTypes> { @override final Iterable types = const [ - ProfileApiSetVisibilityResponseApplicationJson_Ocs, - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs + OcmDiscoveryResponseApplicationJson_ResourceTypes, + _$OcmDiscoveryResponseApplicationJson_ResourceTypes ]; @override - final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson_Ocs'; + final String wireName = 'OcmDiscoveryResponseApplicationJson_ResourceTypes'; @override - Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + OcmDiscoveryResponseApplicationJson_ResourceTypes object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'shareTypes', + serializers.serialize(object.shareTypes, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), + 'protocols', + serializers.serialize(object.protocols, + specifiedType: const FullType( + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols)), ]; return result; } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + OcmDiscoveryResponseApplicationJson_ResourceTypes deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + final result = + new OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5199,11 +6214,21 @@ class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'shareTypes': + result.shareTypes.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); + break; + case 'protocols': + result.protocols.replace(serializers.deserialize(value, + specifiedType: const FullType( + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols))! + as OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols); break; } } @@ -5212,32 +6237,45 @@ class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer } } -class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$OcmDiscoveryResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ProfileApiSetVisibilityResponseApplicationJson, - _$ProfileApiSetVisibilityResponseApplicationJson + OcmDiscoveryResponseApplicationJson, + _$OcmDiscoveryResponseApplicationJson ]; @override - final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson'; + final String wireName = 'OcmDiscoveryResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ProfileApiSetVisibilityResponseApplicationJson object, + Iterable serialize( + Serializers serializers, OcmDiscoveryResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'apiVersion', + serializers.serialize(object.apiVersion, + specifiedType: const FullType(String)), + 'endPoint', + serializers.serialize(object.endPoint, + specifiedType: const FullType(String)), + 'resourceTypes', + serializers.serialize(object.resourceTypes, + specifiedType: const FullType(BuiltList, const [ + const FullType(OcmDiscoveryResponseApplicationJson_ResourceTypes) + ])), ]; return result; } @override - ProfileApiSetVisibilityResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + OcmDiscoveryResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProfileApiSetVisibilityResponseApplicationJsonBuilder(); + final result = new OcmDiscoveryResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5245,10 +6283,24 @@ class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ProfileApiSetVisibilityResponseApplicationJson_Ocs))! - as ProfileApiSetVisibilityResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; + break; + case 'apiVersion': + result.apiVersion = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'endPoint': + result.endPoint = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'resourceTypes': + result.resourceTypes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + OcmDiscoveryResponseApplicationJson_ResourceTypes) + ]))! as BuiltList); break; } } @@ -5257,34 +6309,50 @@ class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer } } -class _$ReferenceSerializer implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionSerializer + implements + StructuredSerializer< + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version> { @override - final Iterable types = const [Reference, _$Reference]; + final Iterable types = const [ + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + ]; @override - final String wireName = 'Reference'; + final String wireName = + 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version'; @override - Iterable serialize(Serializers serializers, Reference object, + Iterable serialize(Serializers serializers, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'richObjectType', - serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), - 'richObject', - serializers.serialize(object.richObject, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), - 'openGraphObject', - serializers.serialize(object.openGraphObject, specifiedType: const FullType(OpenGraphObject)), - 'accessible', - serializers.serialize(object.accessible, specifiedType: const FullType(bool)), + 'major', + serializers.serialize(object.major, specifiedType: const FullType(int)), + 'minor', + serializers.serialize(object.minor, specifiedType: const FullType(int)), + 'micro', + serializers.serialize(object.micro, specifiedType: const FullType(int)), + 'string', + serializers.serialize(object.string, + specifiedType: const FullType(String)), + 'edition', + serializers.serialize(object.edition, + specifiedType: const FullType(String)), + 'extendedSupport', + serializers.serialize(object.extendedSupport, + specifiedType: const FullType(bool)), ]; return result; } @override - Reference deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceBuilder(); + final result = + new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5292,19 +6360,29 @@ class _$ReferenceSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'richObjectType': - result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'major': + result.major = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; - case 'richObject': - result.richObject.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + case 'minor': + result.minor = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; - case 'openGraphObject': - result.openGraphObject.replace( - serializers.deserialize(value, specifiedType: const FullType(OpenGraphObject))! as OpenGraphObject); + case 'micro': + result.micro = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; - case 'accessible': - result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'string': + result.string = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'edition': + result.edition = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'extendedSupport': + result.extendedSupport = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -5313,33 +6391,42 @@ class _$ReferenceSerializer implements StructuredSerializer { } } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data, - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), + 'version', + serializers.serialize(object.version, + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version)), + 'capabilities', + serializers.serialize(object.capabilities, + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data deserialize( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + final result = + new OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5347,9 +6434,17 @@ class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'references': - result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + case 'version': + result.version.replace(serializers.deserialize(value, + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version); + break; + case 'capabilities': + result.capabilities.replace(serializers.deserialize(value, + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities); break; } } @@ -5358,34 +6453,39 @@ class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJson_OcsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson_Ocs, - _$ReferenceApiResolveOneResponseApplicationJson_Ocs + OcsGetCapabilitiesResponseApplicationJson_Ocs, + _$OcsGetCapabilitiesResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + OcsGetCapabilitiesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + final result = new OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5394,12 +6494,14 @@ class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs_Data))! - as ReferenceApiResolveOneResponseApplicationJson_Ocs_Data); + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs_Data); break; } } @@ -5408,32 +6510,35 @@ class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiResolveOneResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$OcsGetCapabilitiesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveOneResponseApplicationJson, - _$ReferenceApiResolveOneResponseApplicationJson + OcsGetCapabilitiesResponseApplicationJson, + _$OcsGetCapabilitiesResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiResolveOneResponseApplicationJson'; + final String wireName = 'OcsGetCapabilitiesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveOneResponseApplicationJson object, + Iterable serialize( + Serializers serializers, OcsGetCapabilitiesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs)), + specifiedType: + const FullType(OcsGetCapabilitiesResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiResolveOneResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + OcsGetCapabilitiesResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveOneResponseApplicationJsonBuilder(); + final result = new OcsGetCapabilitiesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5443,52 +6548,9 @@ class _$ReferenceApiResolveOneResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveOneResponseApplicationJson_Ocs))! - as ReferenceApiResolveOneResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson_Ocs_Data, - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data - ]; - @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs_Data'; - - @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), - ]; - - return result; - } - - @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'references': - result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + specifiedType: const FullType( + OcsGetCapabilitiesResponseApplicationJson_Ocs))! + as OcsGetCapabilitiesResponseApplicationJson_Ocs); break; } } @@ -5497,34 +6559,40 @@ class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ProfileApiSetVisibilityResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + ProfileApiSetVisibilityResponseApplicationJson_Ocs> { @override final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson_Ocs, - _$ReferenceApiResolveResponseApplicationJson_Ocs + ProfileApiSetVisibilityResponseApplicationJson_Ocs, + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs'; + final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + ProfileApiSetVisibilityResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType(JsonObject)), ]; return result; } @override - ReferenceApiResolveResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ProfileApiSetVisibilityResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + final result = + new ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5533,12 +6601,12 @@ class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs_Data))! - as ReferenceApiResolveResponseApplicationJson_Ocs_Data); + result.data = serializers.deserialize(value, + specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -5547,31 +6615,36 @@ class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiResolveResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ProfileApiSetVisibilityResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiResolveResponseApplicationJson, - _$ReferenceApiResolveResponseApplicationJson + ProfileApiSetVisibilityResponseApplicationJson, + _$ProfileApiSetVisibilityResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiResolveResponseApplicationJson'; + final String wireName = 'ProfileApiSetVisibilityResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiResolveResponseApplicationJson object, + Iterable serialize(Serializers serializers, + ProfileApiSetVisibilityResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType( + ProfileApiSetVisibilityResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiResolveResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ProfileApiSetVisibilityResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiResolveResponseApplicationJsonBuilder(); + final result = new ProfileApiSetVisibilityResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5581,8 +6654,9 @@ class _$ReferenceApiResolveResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiResolveResponseApplicationJson_Ocs))! - as ReferenceApiResolveResponseApplicationJson_Ocs); + specifiedType: const FullType( + ProfileApiSetVisibilityResponseApplicationJson_Ocs))! + as ProfileApiSetVisibilityResponseApplicationJson_Ocs); break; } } @@ -5591,32 +6665,39 @@ class _$ReferenceApiResolveResponseApplicationJsonSerializer } } -class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson_Ocs_Data, - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data, + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs_Data'; + final String wireName = + 'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'references', serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)])), + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)])), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + final result = + new ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5626,7 +6707,8 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer switch (key) { case 'references': result.references.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Reference)]))!); + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)]))!); break; } } @@ -5635,34 +6717,41 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + ReferenceApiResolveOneResponseApplicationJson_Ocs> { @override final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson_Ocs, - _$ReferenceApiExtractResponseApplicationJson_Ocs + ReferenceApiResolveOneResponseApplicationJson_Ocs, + _$ReferenceApiResolveOneResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiResolveOneResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveOneResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + final result = + new ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5671,12 +6760,14 @@ class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs_Data))! - as ReferenceApiExtractResponseApplicationJson_Ocs_Data); + specifiedType: const FullType( + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data))! + as ReferenceApiResolveOneResponseApplicationJson_Ocs_Data); break; } } @@ -5685,31 +6776,36 @@ class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiExtractResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveOneResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiExtractResponseApplicationJson, - _$ReferenceApiExtractResponseApplicationJson + ReferenceApiResolveOneResponseApplicationJson, + _$ReferenceApiResolveOneResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiExtractResponseApplicationJson'; + final String wireName = 'ReferenceApiResolveOneResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiExtractResponseApplicationJson object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveOneResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType( + ReferenceApiResolveOneResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiExtractResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveOneResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiExtractResponseApplicationJsonBuilder(); + final result = new ReferenceApiResolveOneResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5719,8 +6815,9 @@ class _$ReferenceApiExtractResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiExtractResponseApplicationJson_Ocs))! - as ReferenceApiExtractResponseApplicationJson_Ocs); + specifiedType: const FullType( + ReferenceApiResolveOneResponseApplicationJson_Ocs))! + as ReferenceApiResolveOneResponseApplicationJson_Ocs); break; } } @@ -5729,39 +6826,38 @@ class _$ReferenceApiExtractResponseApplicationJsonSerializer } } -class _$ReferenceProviderSerializer implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + ReferenceApiResolveResponseApplicationJson_Ocs_Data> { @override - final Iterable types = const [ReferenceProvider, _$ReferenceProvider]; + final Iterable types = const [ + ReferenceApiResolveResponseApplicationJson_Ocs_Data, + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ReferenceProvider'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceProvider object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'icon_url', - serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(int)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)])), ]; - Object? value; - value = object.searchProvidersIds; - if (value != null) { - result - ..add('search_providers_ids') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } + return result; } @override - ReferenceProvider deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceProviderBuilder(); + final result = + new ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5769,21 +6865,10 @@ class _$ReferenceProviderSerializer implements StructuredSerializer); + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)]))!); break; } } @@ -5792,34 +6877,39 @@ class _$ReferenceProviderSerializer implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJson_OcsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs, - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs + ReferenceApiResolveResponseApplicationJson_Ocs, + _$ReferenceApiResolveResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType( + ReferenceApiResolveResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs deserialize( + ReferenceApiResolveResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + final result = new ReferenceApiResolveResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5828,11 +6918,14 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ReferenceProvider)]))! as BuiltList); + specifiedType: const FullType( + ReferenceApiResolveResponseApplicationJson_Ocs_Data))! + as ReferenceApiResolveResponseApplicationJson_Ocs_Data); break; } } @@ -5841,32 +6934,36 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiResolveResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiGetProvidersInfoResponseApplicationJson, - _$ReferenceApiGetProvidersInfoResponseApplicationJson + ReferenceApiResolveResponseApplicationJson, + _$ReferenceApiResolveResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson'; + final String wireName = 'ReferenceApiResolveResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiGetProvidersInfoResponseApplicationJson object, + Iterable serialize(Serializers serializers, + ReferenceApiResolveResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs)), + specifiedType: + const FullType(ReferenceApiResolveResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiGetProvidersInfoResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiResolveResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); + final result = new ReferenceApiResolveResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5876,8 +6973,9 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs))! - as ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs); + specifiedType: const FullType( + ReferenceApiResolveResponseApplicationJson_Ocs))! + as ReferenceApiResolveResponseApplicationJson_Ocs); break; } } @@ -5886,32 +6984,38 @@ class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + ReferenceApiExtractResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data, - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data + ReferenceApiExtractResponseApplicationJson_Ocs_Data, + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + ReferenceApiExtractResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'success', - serializers.serialize(object.success, specifiedType: const FullType(bool)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)])), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data deserialize( + ReferenceApiExtractResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + final result = + new ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5919,8 +7023,10 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'success': - result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Reference)]))!); break; } } @@ -5929,35 +7035,39 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJson_OcsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson_Ocs, - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs + ReferenceApiExtractResponseApplicationJson_Ocs, + _$ReferenceApiExtractResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson_Ocs'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + ReferenceApiExtractResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + ReferenceApiExtractResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs deserialize( + ReferenceApiExtractResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + final result = new ReferenceApiExtractResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5966,12 +7076,14 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data))! - as ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data); + specifiedType: const FullType( + ReferenceApiExtractResponseApplicationJson_Ocs_Data))! + as ReferenceApiExtractResponseApplicationJson_Ocs_Data); break; } } @@ -5980,32 +7092,36 @@ class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer } } -class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiExtractResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - ReferenceApiTouchProviderResponseApplicationJson, - _$ReferenceApiTouchProviderResponseApplicationJson + ReferenceApiExtractResponseApplicationJson, + _$ReferenceApiExtractResponseApplicationJson ]; @override - final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson'; + final String wireName = 'ReferenceApiExtractResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReferenceApiTouchProviderResponseApplicationJson object, + Iterable serialize(Serializers serializers, + ReferenceApiExtractResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs)), + specifiedType: + const FullType(ReferenceApiExtractResponseApplicationJson_Ocs)), ]; return result; } @override - ReferenceApiTouchProviderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiExtractResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReferenceApiTouchProviderResponseApplicationJsonBuilder(); + final result = new ReferenceApiExtractResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6015,8 +7131,9 @@ class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReferenceApiTouchProviderResponseApplicationJson_Ocs))! - as ReferenceApiTouchProviderResponseApplicationJson_Ocs); + specifiedType: const FullType( + ReferenceApiExtractResponseApplicationJson_Ocs))! + as ReferenceApiExtractResponseApplicationJson_Ocs); break; } } @@ -6025,37 +7142,42 @@ class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer - implements StructuredSerializer { +class _$ReferenceApiGetProvidersInfoResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs> { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs, + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types'; + final String wireName = + 'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types object, + Iterable serialize(Serializers serializers, + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'description', - serializers.serialize(object.description, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + BuiltList, const [const FullType(ReferenceProvider)])), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types deserialize( + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); + final result = + new ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6063,14 +7185,15 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(ReferenceProvider)]))! + as BuiltList); break; } } @@ -6079,35 +7202,38 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializ } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$ReferenceApiGetProvidersInfoResponseApplicationJsonSerializer + implements + StructuredSerializer< + ReferenceApiGetProvidersInfoResponseApplicationJson> { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data + ReferenceApiGetProvidersInfoResponseApplicationJson, + _$ReferenceApiGetProvidersInfoResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data'; + final String wireName = 'ReferenceApiGetProvidersInfoResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + ReferenceApiGetProvidersInfoResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'types', - serializers.serialize(object.types, - specifiedType: - const FullType(BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data deserialize( + ReferenceApiGetProvidersInfoResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + final result = + new ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6115,11 +7241,11 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'types': - result.types.replace(serializers.deserialize(value, + case 'ocs': + result.ocs.replace(serializers.deserialize(value, specifiedType: const FullType( - BuiltList, [FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types)]))! - as BuiltList); + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs))! + as ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs); break; } } @@ -6128,35 +7254,38 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson_Ocs, - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data, + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs'; + final String wireName = + 'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data)), + 'success', + serializers.serialize(object.success, + specifiedType: const FullType(bool)), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs deserialize( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + final result = + new ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6164,13 +7293,9 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data))! - as TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data); + case 'success': + result.success = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -6179,32 +7304,42 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer } } -class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + ReferenceApiTouchProviderResponseApplicationJson_Ocs> { @override final Iterable types = const [ - TextProcessingApiTaskTypesResponseApplicationJson, - _$TextProcessingApiTaskTypesResponseApplicationJson + ReferenceApiTouchProviderResponseApplicationJson_Ocs, + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson'; + final String wireName = + 'ReferenceApiTouchProviderResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiTaskTypesResponseApplicationJson object, + Iterable serialize(Serializers serializers, + ReferenceApiTouchProviderResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TextProcessingApiTaskTypesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReferenceApiTouchProviderResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); + final result = + new ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6212,10 +7347,15 @@ class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiTaskTypesResponseApplicationJson_Ocs))! - as TextProcessingApiTaskTypesResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data))! + as ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data); break; } } @@ -6224,53 +7364,37 @@ class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer } } -class _$TextProcessingTaskSerializer implements StructuredSerializer { +class _$ReferenceApiTouchProviderResponseApplicationJsonSerializer + implements + StructuredSerializer { @override - final Iterable types = const [TextProcessingTask, _$TextProcessingTask]; + final Iterable types = const [ + ReferenceApiTouchProviderResponseApplicationJson, + _$ReferenceApiTouchProviderResponseApplicationJson + ]; @override - final String wireName = 'TextProcessingTask'; + final String wireName = 'ReferenceApiTouchProviderResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingTask object, + Iterable serialize(Serializers serializers, + ReferenceApiTouchProviderResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'type', - serializers.serialize(object.type, specifiedType: const FullType(String)), - 'status', - serializers.serialize(object.status, specifiedType: const FullType(int)), - 'appId', - serializers.serialize(object.appId, specifiedType: const FullType(String)), - 'input', - serializers.serialize(object.input, specifiedType: const FullType(String)), - 'identifier', - serializers.serialize(object.identifier, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + ReferenceApiTouchProviderResponseApplicationJson_Ocs)), ]; - Object? value; - value = object.id; - if (value != null) { - result - ..add('id') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.userId; - if (value != null) { - result - ..add('userId') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.output; - if (value != null) { - result - ..add('output') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - TextProcessingTask deserialize(Serializers serializers, Iterable serialized, + ReferenceApiTouchProviderResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingTaskBuilder(); + final result = + new ReferenceApiTouchProviderResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6278,29 +7402,11 @@ class _$TextProcessingTaskSerializer implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesSerializer + implements + StructuredSerializer< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types> { @override final Iterable types = const [ - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data, - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types ]; @override - final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types'; @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'description', + serializers.serialize(object.description, + specifiedType: const FullType(String)), ]; return result; } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data deserialize( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6342,9 +7458,17 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -6353,35 +7477,41 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer } } -class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ - TextProcessingApiScheduleResponseApplicationJson_Ocs, - _$TextProcessingApiScheduleResponseApplicationJson_Ocs + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiScheduleResponseApplicationJson_Ocs'; + final String wireName = + 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data)), + 'types', + serializers.serialize(object.types, + specifiedType: const FullType(BuiltList, const [ + const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types) + ])), ]; return result; } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs deserialize( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + final result = + new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6389,12 +7519,234 @@ class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'types': + result.types.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, const [ + const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types) + ]))! as BuiltList); break; - case 'data': + } + } + + return result.build(); + } +} + +class _$TextProcessingApiTaskTypesResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs> { + @override + final Iterable types = const [ + TextProcessingApiTaskTypesResponseApplicationJson_Ocs, + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs + ]; + @override + final String wireName = + 'TextProcessingApiTaskTypesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + TextProcessingApiTaskTypesResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data))! + as TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$TextProcessingApiTaskTypesResponseApplicationJsonSerializer + implements + StructuredSerializer< + TextProcessingApiTaskTypesResponseApplicationJson> { + @override + final Iterable types = const [ + TextProcessingApiTaskTypesResponseApplicationJson, + _$TextProcessingApiTaskTypesResponseApplicationJson + ]; + @override + final String wireName = 'TextProcessingApiTaskTypesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, + TextProcessingApiTaskTypesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + TextProcessingApiTaskTypesResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs))! + as TextProcessingApiTaskTypesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_DataSerializer + implements + StructuredSerializer< + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data> { + @override + final Iterable types = const [ + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data, + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = + 'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'task', + serializers.serialize(object.task, + specifiedType: const FullType(TextProcessingTask)), + ]; + + return result; + } + + @override + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'task': + result.task.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingTask))! + as TextProcessingTask); + break; + } + } + + return result.build(); + } +} + +class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + TextProcessingApiScheduleResponseApplicationJson_Ocs> { + @override + final Iterable types = const [ + TextProcessingApiScheduleResponseApplicationJson_Ocs, + _$TextProcessingApiScheduleResponseApplicationJson_Ocs + ]; + @override + final String wireName = + 'TextProcessingApiScheduleResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, + TextProcessingApiScheduleResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType( + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + TextProcessingApiScheduleResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data))! as TextProcessingApiScheduleResponseApplicationJson_Ocs_Data); break; } @@ -6405,7 +7757,8 @@ class _$TextProcessingApiScheduleResponseApplicationJson_OcsSerializer } class _$TextProcessingApiScheduleResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ TextProcessingApiScheduleResponseApplicationJson, @@ -6415,21 +7768,25 @@ class _$TextProcessingApiScheduleResponseApplicationJsonSerializer final String wireName = 'TextProcessingApiScheduleResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiScheduleResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TextProcessingApiScheduleResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TextProcessingApiScheduleResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiScheduleResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiScheduleResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiScheduleResponseApplicationJsonBuilder(); + final result = + new TextProcessingApiScheduleResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6439,7 +7796,8 @@ class _$TextProcessingApiScheduleResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiScheduleResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TextProcessingApiScheduleResponseApplicationJson_Ocs))! as TextProcessingApiScheduleResponseApplicationJson_Ocs); break; } @@ -6450,21 +7808,26 @@ class _$TextProcessingApiScheduleResponseApplicationJsonSerializer } class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data, _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), + serializers.serialize(object.task, + specifiedType: const FullType(TextProcessingTask)), ]; return result; @@ -6474,7 +7837,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6483,8 +7847,9 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer final Object? value = iterator.current; switch (key) { case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + result.task.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingTask))! + as TextProcessingTask); break; } } @@ -6494,7 +7859,9 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataSerializer } class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiGetTaskResponseApplicationJson_Ocs> { @override final Iterable types = const [ TextProcessingApiGetTaskResponseApplicationJson_Ocs, @@ -6504,23 +7871,28 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TextProcessingApiGetTaskResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiGetTaskResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + final result = + new TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6529,11 +7901,13 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data))! as TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data); break; } @@ -6544,7 +7918,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_OcsSerializer } class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ TextProcessingApiGetTaskResponseApplicationJson, @@ -6554,21 +7929,24 @@ class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer final String wireName = 'TextProcessingApiGetTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiGetTaskResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TextProcessingApiGetTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TextProcessingApiGetTaskResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiGetTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiGetTaskResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiGetTaskResponseApplicationJsonBuilder(); + final result = new TextProcessingApiGetTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6578,7 +7956,8 @@ class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiGetTaskResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TextProcessingApiGetTaskResponseApplicationJson_Ocs))! as TextProcessingApiGetTaskResponseApplicationJson_Ocs); break; } @@ -6589,22 +7968,26 @@ class _$TextProcessingApiGetTaskResponseApplicationJsonSerializer } class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data, _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'task', - serializers.serialize(object.task, specifiedType: const FullType(TextProcessingTask)), + serializers.serialize(object.task, + specifiedType: const FullType(TextProcessingTask)), ]; return result; @@ -6614,7 +7997,8 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6623,8 +8007,9 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer final Object? value = iterator.current; switch (key) { case 'task': - result.task.replace( - serializers.deserialize(value, specifiedType: const FullType(TextProcessingTask))! as TextProcessingTask); + result.task.replace(serializers.deserialize(value, + specifiedType: const FullType(TextProcessingTask))! + as TextProcessingTask); break; } } @@ -6634,24 +8019,30 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataSerializer } class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs> { @override final Iterable types = const [ TextProcessingApiDeleteTaskResponseApplicationJson_Ocs, _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs'; + final String wireName = + 'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data)), ]; return result; @@ -6661,7 +8052,8 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer TextProcessingApiDeleteTaskResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + final result = + new TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6670,11 +8062,13 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data))! as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data); break; } @@ -6685,7 +8079,9 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_OcsSerializer } class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiDeleteTaskResponseApplicationJson> { @override final Iterable types = const [ TextProcessingApiDeleteTaskResponseApplicationJson, @@ -6695,21 +8091,25 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer final String wireName = 'TextProcessingApiDeleteTaskResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiDeleteTaskResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TextProcessingApiDeleteTaskResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs)), ]; return result; } @override - TextProcessingApiDeleteTaskResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TextProcessingApiDeleteTaskResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); + final result = + new TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6719,7 +8119,8 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs))! as TextProcessingApiDeleteTaskResponseApplicationJson_Ocs); break; } @@ -6730,22 +8131,27 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJsonSerializer } class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data, _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'tasks', - serializers.serialize(object.tasks, specifiedType: const FullType(BuiltList, [FullType(TextProcessingTask)])), + serializers.serialize(object.tasks, + specifiedType: const FullType( + BuiltList, const [const FullType(TextProcessingTask)])), ]; return result; @@ -6755,7 +8161,8 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerialize TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6765,7 +8172,9 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerialize switch (key) { case 'tasks': result.tasks.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(TextProcessingTask)]))! as BuiltList); + specifiedType: const FullType( + BuiltList, const [const FullType(TextProcessingTask)]))! + as BuiltList); break; } } @@ -6775,25 +8184,30 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataSerialize } class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs> { @override final Iterable types = const [ TextProcessingApiListTasksByAppResponseApplicationJson_Ocs, _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs'; + final String wireName = + 'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data)), ]; return result; @@ -6803,7 +8217,8 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer TextProcessingApiListTasksByAppResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + final result = + new TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6812,11 +8227,13 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data))! as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data); break; } @@ -6827,22 +8244,27 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_OcsSerializer } class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TextProcessingApiListTasksByAppResponseApplicationJson> { @override final Iterable types = const [ TextProcessingApiListTasksByAppResponseApplicationJson, _$TextProcessingApiListTasksByAppResponseApplicationJson ]; @override - final String wireName = 'TextProcessingApiListTasksByAppResponseApplicationJson'; + final String wireName = + 'TextProcessingApiListTasksByAppResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TextProcessingApiListTasksByAppResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TextProcessingApiListTasksByAppResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs)), ]; return result; @@ -6852,7 +8274,8 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer TextProcessingApiListTasksByAppResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); + final result = + new TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6862,7 +8285,8 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs))! as TextProcessingApiListTasksByAppResponseApplicationJson_Ocs); break; } @@ -6873,28 +8297,33 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJsonSerializer } class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages> { @override final Iterable types = const [ TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; + final String wireName = + 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages'; @override - Iterable serialize( - Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, + Iterable serialize(Serializers serializers, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'from', serializers.serialize(object.from, specifiedType: const FullType(String)), 'fromLabel', - serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), + serializers.serialize(object.fromLabel, + specifiedType: const FullType(String)), 'to', serializers.serialize(object.to, specifiedType: const FullType(String)), 'toLabel', - serializers.serialize(object.toLabel, specifiedType: const FullType(String)), + serializers.serialize(object.toLabel, + specifiedType: const FullType(String)), ]; return result; @@ -6904,7 +8333,8 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); + final result = + new TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6913,16 +8343,20 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali final Object? value = iterator.current; switch (key) { case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.from = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'fromLabel': - result.fromLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.fromLabel = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'to': - result.to = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.to = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'toLabel': - result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.toLabel = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -6932,25 +8366,32 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesSeriali } class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ TranslationApiLanguagesResponseApplicationJson_Ocs_Data, _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TranslationApiLanguagesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'languages', serializers.serialize(object.languages, - specifiedType: - const FullType(BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)])), + specifiedType: const FullType(BuiltList, const [ + const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages) + ])), 'languageDetection', - serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), + serializers.serialize(object.languageDetection, + specifiedType: const FullType(bool)), ]; return result; @@ -6960,7 +8401,8 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer TranslationApiLanguagesResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -6970,12 +8412,14 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer switch (key) { case 'languages': result.languages.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages)]))! - as BuiltList); + specifiedType: const FullType(BuiltList, const [ + const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages) + ]))! as BuiltList); break; case 'languageDetection': - result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + result.languageDetection = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -6985,7 +8429,9 @@ class _$TranslationApiLanguagesResponseApplicationJson_Ocs_DataSerializer } class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TranslationApiLanguagesResponseApplicationJson_Ocs> { @override final Iterable types = const [ TranslationApiLanguagesResponseApplicationJson_Ocs, @@ -6995,23 +8441,28 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer final String wireName = 'TranslationApiLanguagesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TranslationApiLanguagesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); + final result = + new TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7020,11 +8471,13 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data))! as TranslationApiLanguagesResponseApplicationJson_Ocs_Data); break; } @@ -7035,7 +8488,8 @@ class _$TranslationApiLanguagesResponseApplicationJson_OcsSerializer } class _$TranslationApiLanguagesResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ TranslationApiLanguagesResponseApplicationJson, @@ -7045,21 +8499,24 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer final String wireName = 'TranslationApiLanguagesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiLanguagesResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TranslationApiLanguagesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiLanguagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiLanguagesResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiLanguagesResponseApplicationJsonBuilder(); + final result = new TranslationApiLanguagesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7069,7 +8526,8 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiLanguagesResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TranslationApiLanguagesResponseApplicationJson_Ocs))! as TranslationApiLanguagesResponseApplicationJson_Ocs); break; } @@ -7080,17 +8538,21 @@ class _$TranslationApiLanguagesResponseApplicationJsonSerializer } class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TranslationApiTranslateResponseApplicationJson_Ocs_Data> { @override final Iterable types = const [ TranslationApiTranslateResponseApplicationJson_Ocs_Data, _$TranslationApiTranslateResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; + final String wireName = + 'TranslationApiTranslateResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + TranslationApiTranslateResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'text', @@ -7101,7 +8563,8 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer if (value != null) { result ..add('from') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } return result; } @@ -7110,7 +8573,8 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer TranslationApiTranslateResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); + final result = + new TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7119,10 +8583,12 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer final Object? value = iterator.current; switch (key) { case 'text': - result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.text = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.from = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -7132,7 +8598,9 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs_DataSerializer } class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + TranslationApiTranslateResponseApplicationJson_Ocs> { @override final Iterable types = const [ TranslationApiTranslateResponseApplicationJson_Ocs, @@ -7142,23 +8610,28 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer final String wireName = 'TranslationApiTranslateResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + TranslationApiTranslateResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data)), + specifiedType: const FullType( + TranslationApiTranslateResponseApplicationJson_Ocs_Data)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TranslationApiTranslateResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJson_OcsBuilder(); + final result = + new TranslationApiTranslateResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7167,11 +8640,13 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + TranslationApiTranslateResponseApplicationJson_Ocs_Data))! as TranslationApiTranslateResponseApplicationJson_Ocs_Data); break; } @@ -7182,7 +8657,8 @@ class _$TranslationApiTranslateResponseApplicationJson_OcsSerializer } class _$TranslationApiTranslateResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ TranslationApiTranslateResponseApplicationJson, @@ -7192,21 +8668,24 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer final String wireName = 'TranslationApiTranslateResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, TranslationApiTranslateResponseApplicationJson object, + Iterable serialize(Serializers serializers, + TranslationApiTranslateResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs)), + specifiedType: const FullType( + TranslationApiTranslateResponseApplicationJson_Ocs)), ]; return result; } @override - TranslationApiTranslateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TranslationApiTranslateResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = TranslationApiTranslateResponseApplicationJsonBuilder(); + final result = new TranslationApiTranslateResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7216,7 +8695,8 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(TranslationApiTranslateResponseApplicationJson_Ocs))! + specifiedType: const FullType( + TranslationApiTranslateResponseApplicationJson_Ocs))! as TranslationApiTranslateResponseApplicationJson_Ocs); break; } @@ -7226,72 +8706,31 @@ class _$TranslationApiTranslateResponseApplicationJsonSerializer } } -class _$UnifiedSearchProviderSerializer implements StructuredSerializer { - @override - final Iterable types = const [UnifiedSearchProvider, _$UnifiedSearchProvider]; - @override - final String wireName = 'UnifiedSearchProvider'; - - @override - Iterable serialize(Serializers serializers, UnifiedSearchProvider object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(int)), - ]; - - return result; - } - - @override - UnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchProviderBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'order': - result.order = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - } - } - - return result.build(); - } -} - class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + UnifiedSearchGetProvidersResponseApplicationJson_Ocs> { @override final Iterable types = const [ UnifiedSearchGetProvidersResponseApplicationJson_Ocs, _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs ]; @override - final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; + final String wireName = + 'UnifiedSearchGetProvidersResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + UnifiedSearchGetProvidersResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType( + BuiltList, const [const FullType(UnifiedSearchProvider)])), ]; return result; @@ -7301,7 +8740,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer UnifiedSearchGetProvidersResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); + final result = + new UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7310,11 +8750,14 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchProvider)]))! as BuiltList); + specifiedType: const FullType(BuiltList, const [ + const FullType(UnifiedSearchProvider) + ]))! as BuiltList); break; } } @@ -7324,7 +8767,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_OcsSerializer } class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ UnifiedSearchGetProvidersResponseApplicationJson, @@ -7334,21 +8778,25 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer final String wireName = 'UnifiedSearchGetProvidersResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchGetProvidersResponseApplicationJson object, + Iterable serialize(Serializers serializers, + UnifiedSearchGetProvidersResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), + specifiedType: const FullType( + UnifiedSearchGetProvidersResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchGetProvidersResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchGetProvidersResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); + final result = + new UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7358,7 +8806,8 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! + specifiedType: const FullType( + UnifiedSearchGetProvidersResponseApplicationJson_Ocs))! as UnifiedSearchGetProvidersResponseApplicationJson_Ocs); break; } @@ -7368,137 +8817,9 @@ class _$UnifiedSearchGetProvidersResponseApplicationJsonSerializer } } -class _$UnifiedSearchResultEntrySerializer implements StructuredSerializer { - @override - final Iterable types = const [UnifiedSearchResultEntry, _$UnifiedSearchResultEntry]; - @override - final String wireName = 'UnifiedSearchResultEntry'; - - @override - Iterable serialize(Serializers serializers, UnifiedSearchResultEntry object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'thumbnailUrl', - serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'resourceUrl', - serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'rounded', - serializers.serialize(object.rounded, specifiedType: const FullType(bool)), - 'attributes', - serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), - ]; - - return result; - } - - @override - UnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultEntryBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'thumbnailUrl': - result.thumbnailUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'title': - result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'subline': - result.subline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'resourceUrl': - result.resourceUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'icon': - result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'rounded': - result.rounded = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'attributes': - result.attributes.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - } - } - - return result.build(); - } -} - -class _$UnifiedSearchResultSerializer implements StructuredSerializer { - @override - final Iterable types = const [UnifiedSearchResult, _$UnifiedSearchResult]; - @override - final String wireName = 'UnifiedSearchResult'; - - @override - Iterable serialize(Serializers serializers, UnifiedSearchResult object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'isPaginated', - serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), - 'entries', - serializers.serialize(object.entries, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)])), - ]; - Object? value; - value = object.cursor; - if (value != null) { - result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(UnifiedSearchResult_Cursor))); - } - return result; - } - - @override - UnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchResultBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'isPaginated': - result.isPaginated = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'entries': - result.entries.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UnifiedSearchResultEntry)]))! as BuiltList); - break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchResult_Cursor))! as UnifiedSearchResult_Cursor); - break; - } - } - - return result.build(); - } -} - class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ UnifiedSearchSearchResponseApplicationJson_Ocs, @@ -7508,22 +8829,26 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer final String wireName = 'UnifiedSearchSearchResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + UnifiedSearchSearchResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(UnifiedSearchResult)), + serializers.serialize(object.data, + specifiedType: const FullType(UnifiedSearchResult)), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchSearchResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); + final result = new UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7532,10 +8857,12 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(UnifiedSearchResult))! + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(UnifiedSearchResult))! as UnifiedSearchResult); break; } @@ -7546,7 +8873,8 @@ class _$UnifiedSearchSearchResponseApplicationJson_OcsSerializer } class _$UnifiedSearchSearchResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ UnifiedSearchSearchResponseApplicationJson, @@ -7556,20 +8884,24 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer final String wireName = 'UnifiedSearchSearchResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, UnifiedSearchSearchResponseApplicationJson object, + Iterable serialize(Serializers serializers, + UnifiedSearchSearchResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: + const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs)), ]; return result; } @override - UnifiedSearchSearchResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + UnifiedSearchSearchResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UnifiedSearchSearchResponseApplicationJsonBuilder(); + final result = new UnifiedSearchSearchResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7579,7 +8911,8 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(UnifiedSearchSearchResponseApplicationJson_Ocs))! + specifiedType: const FullType( + UnifiedSearchSearchResponseApplicationJson_Ocs))! as UnifiedSearchSearchResponseApplicationJson_Ocs); break; } @@ -7590,23 +8923,31 @@ class _$UnifiedSearchSearchResponseApplicationJsonSerializer } class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew> { @override final Iterable types = const [ WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew, _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew ]; @override - final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; + final String wireName = + 'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew object, + Iterable serialize(Serializers serializers, + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'regular', - serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), + serializers.serialize(object.regular, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), 'admin', - serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + serializers.serialize(object.admin, + specifiedType: + const FullType(BuiltList, const [const FullType(String)])), ]; return result; @@ -7616,7 +8957,8 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); + final result = + new WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7626,11 +8968,15 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer switch (key) { case 'regular': result.regular.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; case 'admin': result.admin.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); break; } } @@ -7640,7 +8986,8 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewSerializer } class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ WhatsNewGetResponseApplicationJson_Ocs_Data, @@ -7650,15 +8997,19 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + WhatsNewGetResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'changelogURL', - serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), + serializers.serialize(object.changelogURL, + specifiedType: const FullType(String)), 'product', - serializers.serialize(object.product, specifiedType: const FullType(String)), + serializers.serialize(object.product, + specifiedType: const FullType(String)), 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), + serializers.serialize(object.version, + specifiedType: const FullType(String)), ]; Object? value; value = object.whatsNew; @@ -7666,15 +9017,17 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer result ..add('whatsNew') ..add(serializers.serialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); + specifiedType: const FullType( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))); } return result; } @override - WhatsNewGetResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + WhatsNewGetResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); + final result = new WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7683,17 +9036,21 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer final Object? value = iterator.current; switch (key) { case 'changelogURL': - result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.changelogURL = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'product': - result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.product = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.version = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'whatsNew': result.whatsNew.replace(serializers.deserialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! + specifiedType: const FullType( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew))! as WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew); break; } @@ -7706,27 +9063,35 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_DataSerializer class _$WhatsNewGetResponseApplicationJson_OcsSerializer implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson_Ocs, _$WhatsNewGetResponseApplicationJson_Ocs]; + final Iterable types = const [ + WhatsNewGetResponseApplicationJson_Ocs, + _$WhatsNewGetResponseApplicationJson_Ocs + ]; @override final String wireName = 'WhatsNewGetResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, WhatsNewGetResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, + specifiedType: + const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data)), ]; return result; } @override - WhatsNewGetResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + WhatsNewGetResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJson_OcsBuilder(); + final result = new WhatsNewGetResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7735,11 +9100,13 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + WhatsNewGetResponseApplicationJson_Ocs_Data))! as WhatsNewGetResponseApplicationJson_Ocs_Data); break; } @@ -7752,25 +9119,32 @@ class _$WhatsNewGetResponseApplicationJson_OcsSerializer class _$WhatsNewGetResponseApplicationJsonSerializer implements StructuredSerializer { @override - final Iterable types = const [WhatsNewGetResponseApplicationJson, _$WhatsNewGetResponseApplicationJson]; + final Iterable types = const [ + WhatsNewGetResponseApplicationJson, + _$WhatsNewGetResponseApplicationJson + ]; @override final String wireName = 'WhatsNewGetResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewGetResponseApplicationJson object, + Iterable serialize( + Serializers serializers, WhatsNewGetResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: + const FullType(WhatsNewGetResponseApplicationJson_Ocs)), ]; return result; } @override - WhatsNewGetResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + WhatsNewGetResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewGetResponseApplicationJsonBuilder(); + final result = new WhatsNewGetResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7779,9 +9153,10 @@ class _$WhatsNewGetResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewGetResponseApplicationJson_Ocs))! - as WhatsNewGetResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(WhatsNewGetResponseApplicationJson_Ocs))! + as WhatsNewGetResponseApplicationJson_Ocs); break; } } @@ -7791,7 +9166,8 @@ class _$WhatsNewGetResponseApplicationJsonSerializer } class _$WhatsNewDismissResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ WhatsNewDismissResponseApplicationJson_Ocs, @@ -7801,22 +9177,26 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer final String wireName = 'WhatsNewDismissResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + WhatsNewDismissResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, + specifiedType: const FullType(JsonObject)), ]; return result; } @override - WhatsNewDismissResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + WhatsNewDismissResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJson_OcsBuilder(); + final result = new WhatsNewDismissResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7825,10 +9205,12 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data = serializers.deserialize(value, + specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -7840,25 +9222,32 @@ class _$WhatsNewDismissResponseApplicationJson_OcsSerializer class _$WhatsNewDismissResponseApplicationJsonSerializer implements StructuredSerializer { @override - final Iterable types = const [WhatsNewDismissResponseApplicationJson, _$WhatsNewDismissResponseApplicationJson]; + final Iterable types = const [ + WhatsNewDismissResponseApplicationJson, + _$WhatsNewDismissResponseApplicationJson + ]; @override final String wireName = 'WhatsNewDismissResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WhatsNewDismissResponseApplicationJson object, + Iterable serialize( + Serializers serializers, WhatsNewDismissResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: + const FullType(WhatsNewDismissResponseApplicationJson_Ocs)), ]; return result; } @override - WhatsNewDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + WhatsNewDismissResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WhatsNewDismissResponseApplicationJsonBuilder(); + final result = new WhatsNewDismissResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7867,9 +9256,10 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(WhatsNewDismissResponseApplicationJson_Ocs))! - as WhatsNewDismissResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + WhatsNewDismissResponseApplicationJson_Ocs))! + as WhatsNewDismissResponseApplicationJson_Ocs); break; } } @@ -7881,12 +9271,16 @@ class _$WhatsNewDismissResponseApplicationJsonSerializer class _$WipeCheckWipeResponseApplicationJsonSerializer implements StructuredSerializer { @override - final Iterable types = const [WipeCheckWipeResponseApplicationJson, _$WipeCheckWipeResponseApplicationJson]; + final Iterable types = const [ + WipeCheckWipeResponseApplicationJson, + _$WipeCheckWipeResponseApplicationJson + ]; @override final String wireName = 'WipeCheckWipeResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WipeCheckWipeResponseApplicationJson object, + Iterable serialize( + Serializers serializers, WipeCheckWipeResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'wipe', @@ -7897,9 +9291,10 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer } @override - WipeCheckWipeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + WipeCheckWipeResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WipeCheckWipeResponseApplicationJsonBuilder(); + final result = new WipeCheckWipeResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -7908,7 +9303,8 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'wipe': - result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + result.wipe = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; } } @@ -7917,566 +9313,507 @@ class _$WipeCheckWipeResponseApplicationJsonSerializer } } -abstract mixin class StatusInterfaceBuilder { - void replace(StatusInterface other); - void update(void Function(StatusInterfaceBuilder) updates); - bool? get installed; - set installed(bool? installed); - - bool? get maintenance; - set maintenance(bool? maintenance); - - bool? get needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade); - - String? get version; - set version(String? version); - - String? get versionstring; - set versionstring(String? versionstring); +abstract mixin class AutocompleteResult_Status0InterfaceBuilder { + void replace(AutocompleteResult_Status0Interface other); + void update( + void Function(AutocompleteResult_Status0InterfaceBuilder) updates); + String? get status; + set status(String? status); - String? get edition; - set edition(String? edition); + String? get message; + set message(String? message); - String? get productname; - set productname(String? productname); + String? get icon; + set icon(String? icon); - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); + int? get clearAt; + set clearAt(int? clearAt); } -class _$Status extends Status { - @override - final bool installed; - @override - final bool maintenance; - @override - final bool needsDbUpgrade; - @override - final String version; +class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { @override - final String versionstring; + final String status; @override - final String edition; + final String? message; @override - final String productname; + final String? icon; @override - final bool extendedSupport; + final int? clearAt; - factory _$Status([void Function(StatusBuilder)? updates]) => (StatusBuilder()..update(updates))._build(); + factory _$AutocompleteResult_Status0( + [void Function(AutocompleteResult_Status0Builder)? updates]) => + (new AutocompleteResult_Status0Builder()..update(updates))._build(); - _$Status._( - {required this.installed, - required this.maintenance, - required this.needsDbUpgrade, - required this.version, - required this.versionstring, - required this.edition, - required this.productname, - required this.extendedSupport}) + _$AutocompleteResult_Status0._( + {required this.status, this.message, this.icon, this.clearAt}) : super._() { - BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport'); + BuiltValueNullFieldError.checkNotNull( + status, r'AutocompleteResult_Status0', 'status'); } @override - Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); + AutocompleteResult_Status0 rebuild( + void Function(AutocompleteResult_Status0Builder) updates) => + (toBuilder()..update(updates)).build(); @override - StatusBuilder toBuilder() => StatusBuilder()..replace(this); + AutocompleteResult_Status0Builder toBuilder() => + new AutocompleteResult_Status0Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Status && - installed == other.installed && - maintenance == other.maintenance && - needsDbUpgrade == other.needsDbUpgrade && - version == other.version && - versionstring == other.versionstring && - edition == other.edition && - productname == other.productname && - extendedSupport == other.extendedSupport; + return other is AutocompleteResult_Status0 && + status == other.status && + message == other.message && + icon == other.icon && + clearAt == other.clearAt; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, installed.hashCode); - _$hash = $jc(_$hash, maintenance.hashCode); - _$hash = $jc(_$hash, needsDbUpgrade.hashCode); - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, versionstring.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, productname.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, clearAt.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Status') - ..add('installed', installed) - ..add('maintenance', maintenance) - ..add('needsDbUpgrade', needsDbUpgrade) - ..add('version', version) - ..add('versionstring', versionstring) - ..add('edition', edition) - ..add('productname', productname) - ..add('extendedSupport', extendedSupport)) - .toString(); - } -} - -class StatusBuilder implements Builder, StatusInterfaceBuilder { - _$Status? _$v; - - bool? _installed; - bool? get installed => _$this._installed; - set installed(covariant bool? installed) => _$this._installed = installed; - - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(covariant bool? maintenance) => _$this._maintenance = maintenance; - - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(covariant bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') + ..add('status', status) + ..add('message', message) + ..add('icon', icon) + ..add('clearAt', clearAt)) + .toString(); + } +} - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; +class AutocompleteResult_Status0Builder + implements + Builder, + AutocompleteResult_Status0InterfaceBuilder { + _$AutocompleteResult_Status0? _$v; - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(covariant String? versionstring) => _$this._versionstring = versionstring; + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; - String? _productname; - String? get productname => _$this._productname; - set productname(covariant String? productname) => _$this._productname = productname; + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; - StatusBuilder(); + AutocompleteResult_Status0Builder(); - StatusBuilder get _$this { + AutocompleteResult_Status0Builder get _$this { final $v = _$v; if ($v != null) { - _installed = $v.installed; - _maintenance = $v.maintenance; - _needsDbUpgrade = $v.needsDbUpgrade; - _version = $v.version; - _versionstring = $v.versionstring; - _edition = $v.edition; - _productname = $v.productname; - _extendedSupport = $v.extendedSupport; + _status = $v.status; + _message = $v.message; + _icon = $v.icon; + _clearAt = $v.clearAt; _$v = null; } return this; } @override - void replace(covariant Status other) { + void replace(covariant AutocompleteResult_Status0 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Status; + _$v = other as _$AutocompleteResult_Status0; } @override - void update(void Function(StatusBuilder)? updates) { + void update(void Function(AutocompleteResult_Status0Builder)? updates) { if (updates != null) updates(this); } @override - Status build() => _build(); + AutocompleteResult_Status0 build() => _build(); - _$Status _build() { + _$AutocompleteResult_Status0 _build() { final _$result = _$v ?? - _$Status._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'Status', 'maintenance'), - needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'Status', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'Status', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'Status', 'productname'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'Status', 'extendedSupport')); + new _$AutocompleteResult_Status0._( + status: BuiltValueNullFieldError.checkNotNull( + status, r'AutocompleteResult_Status0', 'status'), + message: message, + icon: icon, + clearAt: clearAt); replace(_$result); return _$result; } } -abstract mixin class OCSMetaInterfaceBuilder { - void replace(OCSMetaInterface other); - void update(void Function(OCSMetaInterfaceBuilder) updates); - String? get status; - set status(String? status); - - int? get statuscode; - set statuscode(int? statuscode); - - String? get message; - set message(String? message); - - String? get totalitems; - set totalitems(String? totalitems); +abstract mixin class AutocompleteResult_StatusInterfaceBuilder { + void replace(AutocompleteResult_StatusInterface other); + void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); + AutocompleteResult_Status0Builder get autocompleteResultStatus0; + set autocompleteResultStatus0( + AutocompleteResult_Status0Builder? autocompleteResultStatus0); - String? get itemsperpage; - set itemsperpage(String? itemsperpage); + String? get string; + set string(String? string); } -class _$OCSMeta extends OCSMeta { - @override - final String status; - @override - final int statuscode; +class _$AutocompleteResult_Status extends AutocompleteResult_Status { @override - final String? message; + final JsonObject data; @override - final String? totalitems; + final AutocompleteResult_Status0? autocompleteResultStatus0; @override - final String? itemsperpage; + final String? string; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$AutocompleteResult_Status( + [void Function(AutocompleteResult_StatusBuilder)? updates]) => + (new AutocompleteResult_StatusBuilder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + _$AutocompleteResult_Status._( + {required this.data, this.autocompleteResultStatus0, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + BuiltValueNullFieldError.checkNotNull( + data, r'AutocompleteResult_Status', 'data'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + AutocompleteResult_Status rebuild( + void Function(AutocompleteResult_StatusBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + AutocompleteResult_StatusBuilder toBuilder() => + new AutocompleteResult_StatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is AutocompleteResult_Status && + data == other.data && + autocompleteResultStatus0 == other.autocompleteResultStatus0 && + string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, statuscode.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, totalitems.hashCode); - _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, autocompleteResultStatus0.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') + ..add('data', data) + ..add('autocompleteResultStatus0', autocompleteResultStatus0) + ..add('string', string)) .toString(); } } -class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { - _$OCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; +class AutocompleteResult_StatusBuilder + implements + Builder, + AutocompleteResult_StatusInterfaceBuilder { + _$AutocompleteResult_Status? _$v; - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + AutocompleteResult_Status0Builder? _autocompleteResultStatus0; + AutocompleteResult_Status0Builder get autocompleteResultStatus0 => + _$this._autocompleteResultStatus0 ??= + new AutocompleteResult_Status0Builder(); + set autocompleteResultStatus0( + covariant AutocompleteResult_Status0Builder? + autocompleteResultStatus0) => + _$this._autocompleteResultStatus0 = autocompleteResultStatus0; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - OCSMetaBuilder(); + AutocompleteResult_StatusBuilder(); - OCSMetaBuilder get _$this { + AutocompleteResult_StatusBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _data = $v.data; + _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); + _string = $v.string; _$v = null; } return this; } @override - void replace(covariant OCSMeta other) { + void replace(covariant AutocompleteResult_Status other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OCSMeta; + _$v = other as _$AutocompleteResult_Status; } @override - void update(void Function(OCSMetaBuilder)? updates) { + void update(void Function(AutocompleteResult_StatusBuilder)? updates) { if (updates != null) updates(this); } @override - OCSMeta build() => _build(); + AutocompleteResult_Status build() => _build(); - _$OCSMeta _build() { - final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$AutocompleteResult_Status _build() { + AutocompleteResult_Status._validate(this); + _$AutocompleteResult_Status _$result; + try { + _$result = _$v ?? + new _$AutocompleteResult_Status._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'AutocompleteResult_Status', 'data'), + autocompleteResultStatus0: _autocompleteResultStatus0?.build(), + string: string); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'autocompleteResultStatus0'; + _autocompleteResultStatus0?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'AutocompleteResult_Status', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); -} +abstract mixin class AutocompleteResultInterfaceBuilder { + void replace(AutocompleteResultInterface other); + void update(void Function(AutocompleteResultInterfaceBuilder) updates); + String? get id; + set id(String? id); -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { - @override - final String apppassword; + String? get label; + set label(String? label); - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + String? get icon; + set icon(String? icon); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); - } + String? get source; + set source(String? source); - @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => - (toBuilder()..update(updates)).build(); + AutocompleteResult_StatusBuilder get status; + set status(AutocompleteResult_StatusBuilder? status); - @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + String? get subline; + set subline(String? subline); - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; - } + String? get shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); +} +class _$AutocompleteResult extends AutocompleteResult { @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - + final String id; @override - String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) - .toString(); - } -} - -class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder - implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; - - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; - - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { - final $v = _$v; - if ($v != null) { - _apppassword = $v.apppassword; - _$v = null; - } - return this; - } - + final String label; @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; - } - + final String icon; @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { - if (updates != null) updates(this); - } - + final String source; @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); - - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); - replace(_$result); - return _$result; - } -} - -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); -} - -class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs - extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { + final AutocompleteResult_Status status; @override - final OCSMeta meta; + final String subline; @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; + final String shareWithDisplayNameUnique; - factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$AutocompleteResult( + [void Function(AutocompleteResultBuilder)? updates]) => + (new AutocompleteResultBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); + _$AutocompleteResult._( + {required this.id, + required this.label, + required this.icon, + required this.source, + required this.status, + required this.subline, + required this.shareWithDisplayNameUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull( + label, r'AutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull( + source, r'AutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull( + status, r'AutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull( + subline, r'AutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull(shareWithDisplayNameUnique, + r'AutocompleteResult', 'shareWithDisplayNameUnique'); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) updates) => + AutocompleteResult rebuild( + void Function(AutocompleteResultBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + AutocompleteResultBuilder toBuilder() => + new AutocompleteResultBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is AutocompleteResult && + id == other.id && + label == other.label && + icon == other.icon && + source == other.source && + status == other.status && + subline == other.subline && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'AutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder +class AutocompleteResultBuilder implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; + Builder, + AutocompleteResultInterfaceBuilder { + _$AutocompleteResult? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _label; + String? get label => _$this._label; + set label(covariant String? label) => _$this._label = label; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { + String? _source; + String? get source => _$this._source; + set source(covariant String? source) => _$this._source = source; + + AutocompleteResult_StatusBuilder? _status; + AutocompleteResult_StatusBuilder get status => + _$this._status ??= new AutocompleteResult_StatusBuilder(); + set status(covariant AutocompleteResult_StatusBuilder? status) => + _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(covariant String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique( + covariant String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + AutocompleteResultBuilder(); + + AutocompleteResultBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _id = $v.id; + _label = $v.label; + _icon = $v.icon; + _source = $v.source; + _status = $v.status.toBuilder(); + _subline = $v.subline; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant AutocompleteResult other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$AutocompleteResult; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(AutocompleteResultBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); + AutocompleteResult build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; + _$AutocompleteResult _build() { + _$AutocompleteResult _$result; try { - _$result = - _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$AutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'AutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull( + label, r'AutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull( + icon, r'AutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull( + source, r'AutocompleteResult', 'source'), + status: status.build(), + subline: BuiltValueNullFieldError.checkNotNull( + subline, r'AutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, + r'AutocompleteResult', + 'shareWithDisplayNameUnique')); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'status'; + status.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AutocompleteResult', _$failedField, e.toString()); } rethrow; } @@ -8485,326 +9822,467 @@ class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OpenGraphObjectInterfaceBuilder { + void replace(OpenGraphObjectInterface other); + void update(void Function(OpenGraphObjectInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get description; + set description(String? description); + + String? get thumb; + set thumb(String? thumb); + + String? get link; + set link(String? link); } -class _$AppPasswordGetAppPasswordResponseApplicationJson extends AppPasswordGetAppPasswordResponseApplicationJson { +class _$OpenGraphObject extends OpenGraphObject { @override - final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; + final String id; + @override + final String name; + @override + final String? description; + @override + final String? thumb; + @override + final String link; - factory _$AppPasswordGetAppPasswordResponseApplicationJson( - [void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => + (new OpenGraphObjectBuilder()..update(updates))._build(); - _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); + _$OpenGraphObject._( + {required this.id, + required this.name, + this.description, + this.thumb, + required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); } @override - AppPasswordGetAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) updates) => + OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordGetAppPasswordResponseApplicationJsonBuilder()..replace(this); + OpenGraphObjectBuilder toBuilder() => + new OpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordGetAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is OpenGraphObject && + id == other.id && + name == other.name && + description == other.description && + thumb == other.thumb && + link == other.link; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, thumb.hashCode); + _$hash = $jc(_$hash, link.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordGetAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'OpenGraphObject') + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) .toString(); } } -class AppPasswordGetAppPasswordResponseApplicationJsonBuilder +class OpenGraphObjectBuilder implements - Builder, - AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; + Builder, + OpenGraphObjectInterfaceBuilder { + _$OpenGraphObject? _$v; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { - final $v = _$v; + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => + _$this._description = description; + + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(covariant String? thumb) => _$this._thumb = thumb; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + OpenGraphObjectBuilder(); + + OpenGraphObjectBuilder get _$this { + final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _id = $v.id; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _link = $v.link; _$v = null; } return this; } @override - void replace(covariant AppPasswordGetAppPasswordResponseApplicationJson other) { + void replace(covariant OpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; + _$v = other as _$OpenGraphObject; } @override - void update(void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(OpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); + OpenGraphObject build() => _build(); - _$AppPasswordGetAppPasswordResponseApplicationJson _build() { - _$AppPasswordGetAppPasswordResponseApplicationJson _$result; - try { - _$result = _$v ?? _$AppPasswordGetAppPasswordResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordGetAppPasswordResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$OpenGraphObject _build() { + final _$result = _$v ?? + new _$OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull( + link, r'OpenGraphObject', 'link')); replace(_$result); return _$result; } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get apppassword; - set apppassword(String? apppassword); +abstract mixin class ResourceInterfaceBuilder { + void replace(ResourceInterface other); + void update(void Function(ResourceInterfaceBuilder) updates); + String? get richObjectType; + set richObjectType(String? richObjectType); + + MapBuilder get richObject; + set richObject(MapBuilder? richObject); + + OpenGraphObjectBuilder get openGraphObject; + set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + + bool? get accessible; + set accessible(bool? accessible); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { +class _$Resource extends Resource { @override - final String apppassword; + final String richObjectType; + @override + final BuiltMap richObject; + @override + final OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$Resource([void Function(ResourceBuilder)? updates]) => + (new ResourceBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + _$Resource._( + {required this.richObjectType, + required this.richObject, + required this.openGraphObject, + required this.accessible}) + : super._() { BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword'); + richObjectType, r'Resource', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull( + richObject, r'Resource', 'richObject'); + BuiltValueNullFieldError.checkNotNull( + openGraphObject, r'Resource', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull( + accessible, r'Resource', 'accessible'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) updates) => + Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder()..replace(this); + ResourceBuilder toBuilder() => new ResourceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data && apppassword == other.apppassword; + return other is Resource && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, richObjectType.hashCode); + _$hash = $jc(_$hash, richObject.hashCode); + _$hash = $jc(_$hash, openGraphObject.hashCode); + _$hash = $jc(_$hash, accessible.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'Resource') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder - implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; +class ResourceBuilder + implements Builder, ResourceInterfaceBuilder { + _$Resource? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(covariant String? apppassword) => _$this._apppassword = apppassword; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(covariant String? richObjectType) => + _$this._richObjectType = richObjectType; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + MapBuilder? _richObject; + MapBuilder get richObject => + _$this._richObject ??= new MapBuilder(); + set richObject(covariant MapBuilder? richObject) => + _$this._richObject = richObject; + + OpenGraphObjectBuilder? _openGraphObject; + OpenGraphObjectBuilder get openGraphObject => + _$this._openGraphObject ??= new OpenGraphObjectBuilder(); + set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => + _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(covariant bool? accessible) => _$this._accessible = accessible; + + ResourceBuilder(); - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { + ResourceBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data other) { + void replace(covariant Resource other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; + _$v = other as _$Resource; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(ResourceBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); + Resource build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', 'apppassword')); + _$Resource _build() { + _$Resource _$result; + try { + _$result = _$v ?? + new _$Resource._( + richObjectType: BuiltValueNullFieldError.checkNotNull( + richObjectType, r'Resource', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull( + accessible, r'Resource', 'accessible')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'Resource', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class CollectionInterfaceBuilder { + void replace(CollectionInterface other); + void update(void Function(CollectionInterfaceBuilder) updates); + int? get id; + set id(int? id); - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; - set data(AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); + String? get name; + set name(String? name); + + ListBuilder get resources; + set resources(ListBuilder? resources); } -class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs - extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { +class _$Collection extends Collection { @override - final OCSMeta meta; + final int id; @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; + final String name; + @override + final BuiltList resources; - factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$Collection([void Function(CollectionBuilder)? updates]) => + (new CollectionBuilder()..update(updates))._build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); + _$Collection._( + {required this.id, required this.name, required this.resources}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); + BuiltValueNullFieldError.checkNotNull( + resources, r'Collection', 'resources'); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) updates) => + Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + CollectionBuilder toBuilder() => new CollectionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is Collection && + id == other.id && + name == other.name && + resources == other.resources; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, resources.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'Collection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder +class CollectionBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; + Builder, + CollectionInterfaceBuilder { + _$Collection? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + ListBuilder? _resources; + ListBuilder get resources => + _$this._resources ??= new ListBuilder(); + set resources(covariant ListBuilder? resources) => + _$this._resources = resources; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { + CollectionBuilder(); + + CollectionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _id = $v.id; + _name = $v.name; + _resources = $v.resources.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant Collection other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$Collection; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CollectionBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); + Collection build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; + _$Collection _build() { + _$Collection _$result; try { - _$result = - _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$Collection._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'Collection', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'Collection', 'name'), + resources: resources.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'resources'; + resources.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'Collection', _$failedField, e.toString()); } rethrow; } @@ -8813,336 +10291,379 @@ class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder } } -abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); -} - -class _$AppPasswordRotateAppPasswordResponseApplicationJson - extends AppPasswordRotateAppPasswordResponseApplicationJson { - @override - final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; +abstract mixin class ContactsActionInterfaceBuilder { + void replace(ContactsActionInterface other); + void update(void Function(ContactsActionInterfaceBuilder) updates); + String? get title; + set title(String? title); - factory _$AppPasswordRotateAppPasswordResponseApplicationJson( - [void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + String? get icon; + set icon(String? icon); - _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); - } + String? get hyperlink; + set hyperlink(String? hyperlink); + String? get appId; + set appId(String? appId); +} + +class _$ContactsAction extends ContactsAction { @override - AppPasswordRotateAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) updates) => + final String title; + @override + final String icon; + @override + final String hyperlink; + @override + final String appId; + + factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => + (new ContactsActionBuilder()..update(updates))._build(); + + _$ContactsAction._( + {required this.title, + required this.icon, + required this.hyperlink, + required this.appId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull( + hyperlink, r'ContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); + } + + @override + ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder()..replace(this); + ContactsActionBuilder toBuilder() => + new ContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordRotateAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is ContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, hyperlink.hashCode); + _$hash = $jc(_$hash, appId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordRotateAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'ContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder +class ContactsActionBuilder implements - Builder, - AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; + Builder, + ContactsActionInterfaceBuilder { + _$ContactsAction? _$v; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; - AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; + + String? _appId; + String? get appId => _$this._appId; + set appId(covariant String? appId) => _$this._appId = appId; + + ContactsActionBuilder(); + + ContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { + void replace(covariant ContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; + _$v = other as _$ContactsAction; } @override - void update(void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(ContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); + ContactsAction build() => _build(); - _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { - _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; - try { - _$result = _$v ?? _$AppPasswordRotateAppPasswordResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordRotateAppPasswordResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$ContactsAction _build() { + final _$result = _$v ?? + new _$ContactsAction._( + title: BuiltValueNullFieldError.checkNotNull( + title, r'ContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull( + icon, r'ContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull( + hyperlink, r'ContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull( + appId, r'ContactsAction', 'appId')); replace(_$result); return _$result; } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class LoginFlowV2_PollInterfaceBuilder { + void replace(LoginFlowV2_PollInterface other); + void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); + String? get token; + set token(String? token); - JsonObject? get data; - set data(JsonObject? data); + String? get endpoint; + set endpoint(String? endpoint); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs - extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { +class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { @override - final OCSMeta meta; + final String token; @override - final JsonObject data; + final String endpoint; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$LoginFlowV2_Poll( + [void Function(LoginFlowV2_PollBuilder)? updates]) => + (new LoginFlowV2_PollBuilder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); + _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) + : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull( + endpoint, r'LoginFlowV2_Poll', 'endpoint'); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) updates) => + LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder()..replace(this); + LoginFlowV2_PollBuilder toBuilder() => + new LoginFlowV2_PollBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is LoginFlowV2_Poll && + token == other.token && + endpoint == other.endpoint; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, endpoint.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'LoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder +class LoginFlowV2_PollBuilder implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; + Builder, + LoginFlowV2_PollInterfaceBuilder { + _$LoginFlowV2_Poll? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _token; + String? get token => _$this._token; + set token(covariant String? token) => _$this._token = token; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + LoginFlowV2_PollBuilder(); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { + LoginFlowV2_PollBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _token = $v.token; + _endpoint = $v.endpoint; _$v = null; } return this; } @override - void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { + void replace(covariant LoginFlowV2_Poll other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; + _$v = other as _$LoginFlowV2_Poll; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(LoginFlowV2_PollBuilder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); + LoginFlowV2_Poll build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$LoginFlowV2_Poll _build() { + final _$result = _$v ?? + new _$LoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull( + token, r'LoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull( + endpoint, r'LoginFlowV2_Poll', 'endpoint')); replace(_$result); return _$result; } } -abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - void replace(AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) updates); - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; - set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class LoginFlowV2InterfaceBuilder { + void replace(LoginFlowV2Interface other); + void update(void Function(LoginFlowV2InterfaceBuilder) updates); + LoginFlowV2_PollBuilder get poll; + set poll(LoginFlowV2_PollBuilder? poll); + + String? get login; + set login(String? login); } -class _$AppPasswordDeleteAppPasswordResponseApplicationJson - extends AppPasswordDeleteAppPasswordResponseApplicationJson { +class _$LoginFlowV2 extends LoginFlowV2 { @override - final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; + final LoginFlowV2_Poll poll; + @override + final String login; - factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( - [void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates]) => - (AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => + (new LoginFlowV2Builder()..update(updates))._build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); + _$LoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( - void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) updates) => + LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); @override - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder()..replace(this); + LoginFlowV2Builder toBuilder() => new LoginFlowV2Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AppPasswordDeleteAppPasswordResponseApplicationJson && ocs == other.ocs; + return other is LoginFlowV2 && poll == other.poll && login == other.login; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AppPasswordDeleteAppPasswordResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'LoginFlowV2') + ..add('poll', poll) + ..add('login', login)) .toString(); } } -class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder +class LoginFlowV2Builder implements - Builder, - AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { - _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; + Builder, + LoginFlowV2InterfaceBuilder { + _$LoginFlowV2? _$v; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; - AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); - set ocs(covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + LoginFlowV2_PollBuilder? _poll; + LoginFlowV2_PollBuilder get poll => + _$this._poll ??= new LoginFlowV2_PollBuilder(); + set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); + String? _login; + String? get login => _$this._login; + set login(covariant String? login) => _$this._login = login; - AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { + LoginFlowV2Builder(); + + LoginFlowV2Builder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _poll = $v.poll.toBuilder(); + _login = $v.login; _$v = null; } return this; } @override - void replace(covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { + void replace(covariant LoginFlowV2 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; + _$v = other as _$LoginFlowV2; } @override - void update(void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? updates) { + void update(void Function(LoginFlowV2Builder)? updates) { if (updates != null) updates(this); } @override - AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); + LoginFlowV2 build() => _build(); - _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { - _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; + _$LoginFlowV2 _build() { + _$LoginFlowV2 _$result; try { - _$result = _$v ?? _$AppPasswordDeleteAppPasswordResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$LoginFlowV2._( + poll: poll.build(), + login: BuiltValueNullFieldError.checkNotNull( + login, r'LoginFlowV2', 'login')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'poll'; + poll.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'AppPasswordDeleteAppPasswordResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'LoginFlowV2', _$failedField, e.toString()); } rethrow; } @@ -9151,178 +10672,185 @@ class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder } } -abstract mixin class AutocompleteResult_Status0InterfaceBuilder { - void replace(AutocompleteResult_Status0Interface other); - void update(void Function(AutocompleteResult_Status0InterfaceBuilder) updates); - String? get status; - set status(String? status); - - String? get message; - set message(String? message); +abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { + void replace(LoginFlowV2CredentialsInterface other); + void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); + String? get server; + set server(String? server); - String? get icon; - set icon(String? icon); + String? get loginName; + set loginName(String? loginName); - int? get clearAt; - set clearAt(int? clearAt); + String? get appPassword; + set appPassword(String? appPassword); } -class _$AutocompleteResult_Status0 extends AutocompleteResult_Status0 { - @override - final String status; +class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { @override - final String? message; + final String server; @override - final String? icon; + final String loginName; @override - final int? clearAt; + final String appPassword; - factory _$AutocompleteResult_Status0([void Function(AutocompleteResult_Status0Builder)? updates]) => - (AutocompleteResult_Status0Builder()..update(updates))._build(); + factory _$LoginFlowV2Credentials( + [void Function(LoginFlowV2CredentialsBuilder)? updates]) => + (new LoginFlowV2CredentialsBuilder()..update(updates))._build(); - _$AutocompleteResult_Status0._({required this.status, this.message, this.icon, this.clearAt}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'); + _$LoginFlowV2Credentials._( + {required this.server, + required this.loginName, + required this.appPassword}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + server, r'LoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull( + loginName, r'LoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull( + appPassword, r'LoginFlowV2Credentials', 'appPassword'); } @override - AutocompleteResult_Status0 rebuild(void Function(AutocompleteResult_Status0Builder) updates) => + LoginFlowV2Credentials rebuild( + void Function(LoginFlowV2CredentialsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_Status0Builder toBuilder() => AutocompleteResult_Status0Builder()..replace(this); + LoginFlowV2CredentialsBuilder toBuilder() => + new LoginFlowV2CredentialsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status0 && - status == other.status && - message == other.message && - icon == other.icon && - clearAt == other.clearAt; + return other is LoginFlowV2Credentials && + server == other.server && + loginName == other.loginName && + appPassword == other.appPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jc(_$hash, loginName.hashCode); + _$hash = $jc(_$hash, appPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status0') - ..add('status', status) - ..add('message', message) - ..add('icon', icon) - ..add('clearAt', clearAt)) + return (newBuiltValueToStringHelper(r'LoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) .toString(); } } -class AutocompleteResult_Status0Builder +class LoginFlowV2CredentialsBuilder implements - Builder, - AutocompleteResult_Status0InterfaceBuilder { - _$AutocompleteResult_Status0? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; + Builder, + LoginFlowV2CredentialsInterfaceBuilder { + _$LoginFlowV2Credentials? _$v; - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; + String? _server; + String? get server => _$this._server; + set server(covariant String? server) => _$this._server = server; - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(covariant String? loginName) => _$this._loginName = loginName; - int? _clearAt; - int? get clearAt => _$this._clearAt; - set clearAt(covariant int? clearAt) => _$this._clearAt = clearAt; + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(covariant String? appPassword) => + _$this._appPassword = appPassword; - AutocompleteResult_Status0Builder(); + LoginFlowV2CredentialsBuilder(); - AutocompleteResult_Status0Builder get _$this { + LoginFlowV2CredentialsBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _message = $v.message; - _icon = $v.icon; - _clearAt = $v.clearAt; + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; _$v = null; } return this; } @override - void replace(covariant AutocompleteResult_Status0 other) { + void replace(covariant LoginFlowV2Credentials other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status0; + _$v = other as _$LoginFlowV2Credentials; } @override - void update(void Function(AutocompleteResult_Status0Builder)? updates) { + void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status0 build() => _build(); + LoginFlowV2Credentials build() => _build(); - _$AutocompleteResult_Status0 _build() { + _$LoginFlowV2Credentials _build() { final _$result = _$v ?? - _$AutocompleteResult_Status0._( - status: BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult_Status0', 'status'), - message: message, - icon: icon, - clearAt: clearAt); + new _$LoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull( + server, r'LoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull( + loginName, r'LoginFlowV2Credentials', 'loginName'), + appPassword: BuiltValueNullFieldError.checkNotNull( + appPassword, r'LoginFlowV2Credentials', 'appPassword')); replace(_$result); return _$result; } } -abstract mixin class AutocompleteResult_StatusInterfaceBuilder { - void replace(AutocompleteResult_StatusInterface other); - void update(void Function(AutocompleteResult_StatusInterfaceBuilder) updates); - AutocompleteResult_Status0Builder get autocompleteResultStatus0; - set autocompleteResultStatus0(AutocompleteResult_Status0Builder? autocompleteResultStatus0); +abstract mixin class NavigationEntry_OrderInterfaceBuilder { + void replace(NavigationEntry_OrderInterface other); + void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); + int? get $int; + set $int(int? $int); String? get string; set string(String? string); } -class _$AutocompleteResult_Status extends AutocompleteResult_Status { +class _$NavigationEntry_Order extends NavigationEntry_Order { @override final JsonObject data; @override - final AutocompleteResult_Status0? autocompleteResultStatus0; + final int? $int; @override final String? string; - factory _$AutocompleteResult_Status([void Function(AutocompleteResult_StatusBuilder)? updates]) => - (AutocompleteResult_StatusBuilder()..update(updates))._build(); + factory _$NavigationEntry_Order( + [void Function(NavigationEntry_OrderBuilder)? updates]) => + (new NavigationEntry_OrderBuilder()..update(updates))._build(); - _$AutocompleteResult_Status._({required this.data, this.autocompleteResultStatus0, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'); + _$NavigationEntry_Order._({required this.data, this.$int, this.string}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'NavigationEntry_Order', 'data'); } @override - AutocompleteResult_Status rebuild(void Function(AutocompleteResult_StatusBuilder) updates) => + NavigationEntry_Order rebuild( + void Function(NavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResult_StatusBuilder toBuilder() => AutocompleteResult_StatusBuilder()..replace(this); + NavigationEntry_OrderBuilder toBuilder() => + new NavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult_Status && + return other is NavigationEntry_Order && data == other.data && - autocompleteResultStatus0 == other.autocompleteResultStatus0 && + $int == other.$int && string == other.string; } @@ -9330,7 +10858,7 @@ class _$AutocompleteResult_Status extends AutocompleteResult_Status { int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, autocompleteResultStatus0.hashCode); + _$hash = $jc(_$hash, $int.hashCode); _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; @@ -9338,41 +10866,39 @@ class _$AutocompleteResult_Status extends AutocompleteResult_Status { @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult_Status') + return (newBuiltValueToStringHelper(r'NavigationEntry_Order') ..add('data', data) - ..add('autocompleteResultStatus0', autocompleteResultStatus0) + ..add('\$int', $int) ..add('string', string)) .toString(); } } -class AutocompleteResult_StatusBuilder +class NavigationEntry_OrderBuilder implements - Builder, - AutocompleteResult_StatusInterfaceBuilder { - _$AutocompleteResult_Status? _$v; + Builder, + NavigationEntry_OrderInterfaceBuilder { + _$NavigationEntry_Order? _$v; JsonObject? _data; JsonObject? get data => _$this._data; set data(covariant JsonObject? data) => _$this._data = data; - AutocompleteResult_Status0Builder? _autocompleteResultStatus0; - AutocompleteResult_Status0Builder get autocompleteResultStatus0 => - _$this._autocompleteResultStatus0 ??= AutocompleteResult_Status0Builder(); - set autocompleteResultStatus0(covariant AutocompleteResult_Status0Builder? autocompleteResultStatus0) => - _$this._autocompleteResultStatus0 = autocompleteResultStatus0; + int? _$int; + int? get $int => _$this._$int; + set $int(covariant int? $int) => _$this._$int = $int; String? _string; String? get string => _$this._string; set string(covariant String? string) => _$this._string = string; - AutocompleteResult_StatusBuilder(); + NavigationEntry_OrderBuilder(); - AutocompleteResult_StatusBuilder get _$this { + NavigationEntry_OrderBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data; - _autocompleteResultStatus0 = $v.autocompleteResultStatus0?.toBuilder(); + _$int = $v.$int; _string = $v.string; _$v = null; } @@ -9380,237 +10906,271 @@ class AutocompleteResult_StatusBuilder } @override - void replace(covariant AutocompleteResult_Status other) { + void replace(covariant NavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult_Status; + _$v = other as _$NavigationEntry_Order; } @override - void update(void Function(AutocompleteResult_StatusBuilder)? updates) { + void update(void Function(NavigationEntry_OrderBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult_Status build() => _build(); + NavigationEntry_Order build() => _build(); - _$AutocompleteResult_Status _build() { - _$AutocompleteResult_Status _$result; - try { - _$result = _$v ?? - _$AutocompleteResult_Status._( - data: BuiltValueNullFieldError.checkNotNull(data, r'AutocompleteResult_Status', 'data'), - autocompleteResultStatus0: _autocompleteResultStatus0?.build(), - string: string); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'autocompleteResultStatus0'; - _autocompleteResultStatus0?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult_Status', _$failedField, e.toString()); - } - rethrow; - } + _$NavigationEntry_Order _build() { + NavigationEntry_Order._validate(this); + final _$result = _$v ?? + new _$NavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'NavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -abstract mixin class AutocompleteResultInterfaceBuilder { - void replace(AutocompleteResultInterface other); - void update(void Function(AutocompleteResultInterfaceBuilder) updates); +abstract mixin class NavigationEntryInterfaceBuilder { + void replace(NavigationEntryInterface other); + void update(void Function(NavigationEntryInterfaceBuilder) updates); String? get id; set id(String? id); - String? get label; - set label(String? label); + NavigationEntry_OrderBuilder get order; + set order(NavigationEntry_OrderBuilder? order); + + String? get href; + set href(String? href); String? get icon; set icon(String? icon); - String? get source; - set source(String? source); + String? get type; + set type(String? type); - AutocompleteResult_StatusBuilder get status; - set status(AutocompleteResult_StatusBuilder? status); + String? get name; + set name(String? name); - String? get subline; - set subline(String? subline); + bool? get active; + set active(bool? active); - String? get shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique); + String? get classes; + set classes(String? classes); + + int? get unread; + set unread(int? unread); } -class _$AutocompleteResult extends AutocompleteResult { +class _$NavigationEntry extends NavigationEntry { @override final String id; @override - final String label; + final NavigationEntry_Order order; + @override + final String href; @override final String icon; @override - final String source; + final String type; @override - final AutocompleteResult_Status status; + final String name; @override - final String subline; + final bool active; @override - final String shareWithDisplayNameUnique; + final String classes; + @override + final int unread; - factory _$AutocompleteResult([void Function(AutocompleteResultBuilder)? updates]) => - (AutocompleteResultBuilder()..update(updates))._build(); + factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => + (new NavigationEntryBuilder()..update(updates))._build(); - _$AutocompleteResult._( + _$NavigationEntry._( {required this.id, - required this.label, + required this.order, + required this.href, required this.icon, - required this.source, - required this.status, - required this.subline, - required this.shareWithDisplayNameUnique}) + required this.type, + required this.name, + required this.active, + required this.classes, + required this.unread}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'AutocompleteResult', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique'); + classes, r'NavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); } @override - AutocompleteResult rebuild(void Function(AutocompleteResultBuilder) updates) => + NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutocompleteResultBuilder toBuilder() => AutocompleteResultBuilder()..replace(this); + NavigationEntryBuilder toBuilder() => + new NavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutocompleteResult && + return other is NavigationEntry && id == other.id && - label == other.label && + order == other.order && + href == other.href && icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + type == other.type && + name == other.name && + active == other.active && + classes == other.classes && + unread == other.unread; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, href.hashCode); _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, source.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, active.hashCode); + _$hash = $jc(_$hash, classes.hashCode); + _$hash = $jc(_$hash, unread.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutocompleteResult') + return (newBuiltValueToStringHelper(r'NavigationEntry') ..add('id', id) - ..add('label', label) + ..add('order', order) + ..add('href', href) ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + ..add('type', type) + ..add('name', name) + ..add('active', active) + ..add('classes', classes) + ..add('unread', unread)) .toString(); } } -class AutocompleteResultBuilder - implements Builder, AutocompleteResultInterfaceBuilder { - _$AutocompleteResult? _$v; +class NavigationEntryBuilder + implements + Builder, + NavigationEntryInterfaceBuilder { + _$NavigationEntry? _$v; String? _id; String? get id => _$this._id; set id(covariant String? id) => _$this._id = id; - String? _label; - String? get label => _$this._label; - set label(covariant String? label) => _$this._label = label; + NavigationEntry_OrderBuilder? _order; + NavigationEntry_OrderBuilder get order => + _$this._order ??= new NavigationEntry_OrderBuilder(); + set order(covariant NavigationEntry_OrderBuilder? order) => + _$this._order = order; + + String? _href; + String? get href => _$this._href; + set href(covariant String? href) => _$this._href = href; String? _icon; String? get icon => _$this._icon; set icon(covariant String? icon) => _$this._icon = icon; - String? _source; - String? get source => _$this._source; - set source(covariant String? source) => _$this._source = source; + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - AutocompleteResult_StatusBuilder? _status; - AutocompleteResult_StatusBuilder get status => _$this._status ??= AutocompleteResult_StatusBuilder(); - set status(covariant AutocompleteResult_StatusBuilder? status) => _$this._status = status; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - String? _subline; - String? get subline => _$this._subline; - set subline(covariant String? subline) => _$this._subline = subline; + bool? _active; + bool? get active => _$this._active; + set active(covariant bool? active) => _$this._active = active; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(covariant String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + String? _classes; + String? get classes => _$this._classes; + set classes(covariant String? classes) => _$this._classes = classes; - AutocompleteResultBuilder(); + int? _unread; + int? get unread => _$this._unread; + set unread(covariant int? unread) => _$this._unread = unread; - AutocompleteResultBuilder get _$this { + NavigationEntryBuilder(); + + NavigationEntryBuilder get _$this { final $v = _$v; if ($v != null) { _id = $v.id; - _label = $v.label; + _order = $v.order.toBuilder(); + _href = $v.href; _icon = $v.icon; - _source = $v.source; - _status = $v.status.toBuilder(); - _subline = $v.subline; - _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _type = $v.type; + _name = $v.name; + _active = $v.active; + _classes = $v.classes; + _unread = $v.unread; _$v = null; } return this; } @override - void replace(covariant AutocompleteResult other) { + void replace(covariant NavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutocompleteResult; + _$v = other as _$NavigationEntry; } @override - void update(void Function(AutocompleteResultBuilder)? updates) { + void update(void Function(NavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - AutocompleteResult build() => _build(); + NavigationEntry build() => _build(); - _$AutocompleteResult _build() { - _$AutocompleteResult _$result; + _$NavigationEntry _build() { + _$NavigationEntry _$result; try { _$result = _$v ?? - _$AutocompleteResult._( - id: BuiltValueNullFieldError.checkNotNull(id, r'AutocompleteResult', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'AutocompleteResult', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'AutocompleteResult', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'AutocompleteResult', 'source'), - status: status.build(), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'AutocompleteResult', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'AutocompleteResult', 'shareWithDisplayNameUnique')); + new _$NavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'NavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull( + href, r'NavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull( + icon, r'NavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull( + type, r'NavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'NavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull( + active, r'NavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull( + classes, r'NavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull( + unread, r'NavigationEntry', 'unread')); } catch (_) { late String _$failedField; try { - _$failedField = 'status'; - status.build(); + _$failedField = 'order'; + order.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutocompleteResult', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NavigationEntry', _$failedField, e.toString()); } rethrow; } @@ -9619,220 +11179,321 @@ class AutocompleteResultBuilder } } -abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class OCSMetaInterfaceBuilder { + void replace(OCSMetaInterface other); + void update(void Function(OCSMetaInterfaceBuilder) updates); + String? get status; + set status(String? status); - ListBuilder get data; - set data(ListBuilder? data); + int? get statuscode; + set statuscode(int? statuscode); + + String? get message; + set message(String? message); + + String? get totalitems; + set totalitems(String? totalitems); + + String? get itemsperpage; + set itemsperpage(String? itemsperpage); } -class _$AutoCompleteGetResponseApplicationJson_Ocs extends AutoCompleteGetResponseApplicationJson_Ocs { +class _$OCSMeta extends OCSMeta { @override - final OCSMeta meta; + final String status; @override - final BuiltList data; + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; - factory _$AutoCompleteGetResponseApplicationJson_Ocs( - [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => + (new OCSMetaBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); + _$OCSMeta._( + {required this.status, + required this.statuscode, + this.message, + this.totalitems, + this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); } @override - AutoCompleteGetResponseApplicationJson_Ocs rebuild( - void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) updates) => + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => - AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); + OCSMetaBuilder toBuilder() => new OCSMetaBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is OCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) .toString(); } } -class AutoCompleteGetResponseApplicationJson_OcsBuilder - implements - Builder, - AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; +class OCSMetaBuilder + implements Builder, OCSMetaInterfaceBuilder { + _$OCSMeta? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; - AutoCompleteGetResponseApplicationJson_OcsBuilder(); + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; - AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(covariant String? totalitems) => + _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(covariant String? itemsperpage) => + _$this._itemsperpage = itemsperpage; + + OCSMetaBuilder(); + + OCSMetaBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; _$v = null; } return this; } @override - void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { + void replace(covariant OCSMeta other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; + _$v = other as _$OCSMeta; } @override - void update(void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OCSMetaBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); + OCSMeta build() => _build(); - _$AutoCompleteGetResponseApplicationJson_Ocs _build() { - _$AutoCompleteGetResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$OCSMeta _build() { + final _$result = _$v ?? + new _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull( + status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull( + statuscode, r'OCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); replace(_$result); return _$result; } } -abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - void replace(AutoCompleteGetResponseApplicationJsonInterface other); - void update(void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) updates); - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; - set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceInterfaceBuilder { + void replace(ReferenceInterface other); + void update(void Function(ReferenceInterfaceBuilder) updates); + String? get richObjectType; + set richObjectType(String? richObjectType); + + MapBuilder get richObject; + set richObject(MapBuilder? richObject); + + OpenGraphObjectBuilder get openGraphObject; + set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + + bool? get accessible; + set accessible(bool? accessible); } -class _$AutoCompleteGetResponseApplicationJson extends AutoCompleteGetResponseApplicationJson { +class _$Reference extends Reference { @override - final AutoCompleteGetResponseApplicationJson_Ocs ocs; + final String richObjectType; + @override + final BuiltMap richObject; + @override + final OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$AutoCompleteGetResponseApplicationJson( - [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates]) => - (AutoCompleteGetResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$Reference([void Function(ReferenceBuilder)? updates]) => + (new ReferenceBuilder()..update(updates))._build(); - _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); + _$Reference._( + {required this.richObjectType, + required this.richObject, + required this.openGraphObject, + required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + richObjectType, r'Reference', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull( + richObject, r'Reference', 'richObject'); + BuiltValueNullFieldError.checkNotNull( + openGraphObject, r'Reference', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull( + accessible, r'Reference', 'accessible'); } @override - AutoCompleteGetResponseApplicationJson rebuild( - void Function(AutoCompleteGetResponseApplicationJsonBuilder) updates) => + Reference rebuild(void Function(ReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => - AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); + ReferenceBuilder toBuilder() => new ReferenceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AutoCompleteGetResponseApplicationJson && ocs == other.ocs; + return other is Reference && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, richObjectType.hashCode); + _$hash = $jc(_$hash, richObject.hashCode); + _$hash = $jc(_$hash, openGraphObject.hashCode); + _$hash = $jc(_$hash, accessible.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AutoCompleteGetResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'Reference') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) + .toString(); } } -class AutoCompleteGetResponseApplicationJsonBuilder - implements - Builder, - AutoCompleteGetResponseApplicationJsonInterfaceBuilder { - _$AutoCompleteGetResponseApplicationJson? _$v; +class ReferenceBuilder + implements Builder, ReferenceInterfaceBuilder { + _$Reference? _$v; - AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; - AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= AutoCompleteGetResponseApplicationJson_OcsBuilder(); - set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(covariant String? richObjectType) => + _$this._richObjectType = richObjectType; - AutoCompleteGetResponseApplicationJsonBuilder(); + MapBuilder? _richObject; + MapBuilder get richObject => + _$this._richObject ??= new MapBuilder(); + set richObject(covariant MapBuilder? richObject) => + _$this._richObject = richObject; - AutoCompleteGetResponseApplicationJsonBuilder get _$this { + OpenGraphObjectBuilder? _openGraphObject; + OpenGraphObjectBuilder get openGraphObject => + _$this._openGraphObject ??= new OpenGraphObjectBuilder(); + set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => + _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(covariant bool? accessible) => _$this._accessible = accessible; + + ReferenceBuilder(); + + ReferenceBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(covariant AutoCompleteGetResponseApplicationJson other) { + void replace(covariant Reference other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AutoCompleteGetResponseApplicationJson; + _$v = other as _$Reference; } @override - void update(void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { + void update(void Function(ReferenceBuilder)? updates) { if (updates != null) updates(this); } @override - AutoCompleteGetResponseApplicationJson build() => _build(); + Reference build() => _build(); - _$AutoCompleteGetResponseApplicationJson _build() { - _$AutoCompleteGetResponseApplicationJson _$result; + _$Reference _build() { + _$Reference _$result; try { - _$result = _$v ?? _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$Reference._( + richObjectType: BuiltValueNullFieldError.checkNotNull( + richObjectType, r'Reference', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull( + accessible, r'Reference', 'accessible')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'AutoCompleteGetResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'Reference', _$failedField, e.toString()); } rethrow; } @@ -9841,505 +11502,970 @@ class AutoCompleteGetResponseApplicationJsonBuilder } } -abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class ReferenceProviderInterfaceBuilder { + void replace(ReferenceProviderInterface other); + void update(void Function(ReferenceProviderInterfaceBuilder) updates); + String? get id; + set id(String? id); + + String? get title; + set title(String? title); + + String? get iconUrl; + set iconUrl(String? iconUrl); + + int? get order; + set order(int? order); + + ListBuilder get searchProvidersIds; + set searchProvidersIds(ListBuilder? searchProvidersIds); } -class _$AvatarAvatarGetAvatarDarkHeaders extends AvatarAvatarGetAvatarDarkHeaders { +class _$ReferenceProvider extends ReferenceProvider { @override - final int? xNcIscustomavatar; + final String id; + @override + final String title; + @override + final String iconUrl; + @override + final int order; + @override + final BuiltList? searchProvidersIds; - factory _$AvatarAvatarGetAvatarDarkHeaders([void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + factory _$ReferenceProvider( + [void Function(ReferenceProviderBuilder)? updates]) => + (new ReferenceProviderBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + _$ReferenceProvider._( + {required this.id, + required this.title, + required this.iconUrl, + required this.order, + this.searchProvidersIds}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'); + BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'); + BuiltValueNullFieldError.checkNotNull( + iconUrl, r'ReferenceProvider', 'iconUrl'); + BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'); + } @override - AvatarAvatarGetAvatarDarkHeaders rebuild(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + ReferenceProvider rebuild(void Function(ReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + ReferenceProviderBuilder toBuilder() => + new ReferenceProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is ReferenceProvider && + id == other.id && + title == other.title && + iconUrl == other.iconUrl && + order == other.order && + searchProvidersIds == other.searchProvidersIds; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, iconUrl.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, searchProvidersIds.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarDarkHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'ReferenceProvider') + ..add('id', id) + ..add('title', title) + ..add('iconUrl', iconUrl) + ..add('order', order) + ..add('searchProvidersIds', searchProvidersIds)) .toString(); } } -class AvatarAvatarGetAvatarDarkHeadersBuilder +class ReferenceProviderBuilder implements - Builder, - AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarDarkHeaders? _$v; + Builder, + ReferenceProviderInterfaceBuilder { + _$ReferenceProvider? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - AvatarAvatarGetAvatarDarkHeadersBuilder(); + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; + + int? _order; + int? get order => _$this._order; + set order(covariant int? order) => _$this._order = order; + + ListBuilder? _searchProvidersIds; + ListBuilder get searchProvidersIds => + _$this._searchProvidersIds ??= new ListBuilder(); + set searchProvidersIds(covariant ListBuilder? searchProvidersIds) => + _$this._searchProvidersIds = searchProvidersIds; + + ReferenceProviderBuilder(); + + ReferenceProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _id = $v.id; + _title = $v.title; + _iconUrl = $v.iconUrl; + _order = $v.order; + _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { + void replace(covariant ReferenceProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; + _$v = other as _$ReferenceProvider; } @override - void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + void update(void Function(ReferenceProviderBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarDarkHeaders build() => _build(); + ReferenceProvider build() => _build(); - _$AvatarAvatarGetAvatarDarkHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$ReferenceProvider _build() { + _$ReferenceProvider _$result; + try { + _$result = _$v ?? + new _$ReferenceProvider._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'ReferenceProvider', 'id'), + title: BuiltValueNullFieldError.checkNotNull( + title, r'ReferenceProvider', 'title'), + iconUrl: BuiltValueNullFieldError.checkNotNull( + iconUrl, r'ReferenceProvider', 'iconUrl'), + order: BuiltValueNullFieldError.checkNotNull( + order, r'ReferenceProvider', 'order'), + searchProvidersIds: _searchProvidersIds?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'searchProvidersIds'; + _searchProvidersIds?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'ReferenceProvider', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { - void replace(AvatarAvatarGetAvatarHeadersInterface other); - void update(void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); - int? get xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar); +abstract mixin class StatusInterfaceBuilder { + void replace(StatusInterface other); + void update(void Function(StatusInterfaceBuilder) updates); + bool? get installed; + set installed(bool? installed); + + bool? get maintenance; + set maintenance(bool? maintenance); + + bool? get needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade); + + String? get version; + set version(String? version); + + String? get versionstring; + set versionstring(String? versionstring); + + String? get edition; + set edition(String? edition); + + String? get productname; + set productname(String? productname); + + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); } -class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { +class _$Status extends Status { @override - final int? xNcIscustomavatar; + final bool installed; + @override + final bool maintenance; + @override + final bool needsDbUpgrade; + @override + final String version; + @override + final String versionstring; + @override + final String edition; + @override + final String productname; + @override + final bool extendedSupport; - factory _$AvatarAvatarGetAvatarHeaders([void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => - (AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + factory _$Status([void Function(StatusBuilder)? updates]) => + (new StatusBuilder()..update(updates))._build(); - _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + _$Status._( + {required this.installed, + required this.maintenance, + required this.needsDbUpgrade, + required this.version, + required this.versionstring, + required this.edition, + required this.productname, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull(installed, r'Status', 'installed'); + BuiltValueNullFieldError.checkNotNull( + maintenance, r'Status', 'maintenance'); + BuiltValueNullFieldError.checkNotNull( + needsDbUpgrade, r'Status', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'Status', 'version'); + BuiltValueNullFieldError.checkNotNull( + versionstring, r'Status', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'Status', 'edition'); + BuiltValueNullFieldError.checkNotNull( + productname, r'Status', 'productname'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'Status', 'extendedSupport'); + } @override - AvatarAvatarGetAvatarHeaders rebuild(void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => + Status rebuild(void Function(StatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - AvatarAvatarGetAvatarHeadersBuilder toBuilder() => AvatarAvatarGetAvatarHeadersBuilder()..replace(this); + StatusBuilder toBuilder() => new StatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is AvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; - } - - @override + return other is Status && + installed == other.installed && + maintenance == other.maintenance && + needsDbUpgrade == other.needsDbUpgrade && + version == other.version && + versionstring == other.versionstring && + edition == other.edition && + productname == other.productname && + extendedSupport == other.extendedSupport; + } + + @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, installed.hashCode); + _$hash = $jc(_$hash, maintenance.hashCode); + _$hash = $jc(_$hash, needsDbUpgrade.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, versionstring.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, productname.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarHeaders')..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'Status') + ..add('installed', installed) + ..add('maintenance', maintenance) + ..add('needsDbUpgrade', needsDbUpgrade) + ..add('version', version) + ..add('versionstring', versionstring) + ..add('edition', edition) + ..add('productname', productname) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class AvatarAvatarGetAvatarHeadersBuilder - implements - Builder, - AvatarAvatarGetAvatarHeadersInterfaceBuilder { - _$AvatarAvatarGetAvatarHeaders? _$v; +class StatusBuilder + implements Builder, StatusInterfaceBuilder { + _$Status? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(covariant int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + bool? _installed; + bool? get installed => _$this._installed; + set installed(covariant bool? installed) => _$this._installed = installed; - AvatarAvatarGetAvatarHeadersBuilder(); + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(covariant bool? maintenance) => + _$this._maintenance = maintenance; - AvatarAvatarGetAvatarHeadersBuilder get _$this { + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(covariant bool? needsDbUpgrade) => + _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(covariant String? versionstring) => + _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(covariant String? productname) => + _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => + _$this._extendedSupport = extendedSupport; + + StatusBuilder(); + + StatusBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _installed = $v.installed; + _maintenance = $v.maintenance; + _needsDbUpgrade = $v.needsDbUpgrade; + _version = $v.version; + _versionstring = $v.versionstring; + _edition = $v.edition; + _productname = $v.productname; + _extendedSupport = $v.extendedSupport; _$v = null; } return this; } @override - void replace(covariant AvatarAvatarGetAvatarHeaders other) { + void replace(covariant Status other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$AvatarAvatarGetAvatarHeaders; + _$v = other as _$Status; } @override - void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { + void update(void Function(StatusBuilder)? updates) { if (updates != null) updates(this); } @override - AvatarAvatarGetAvatarHeaders build() => _build(); + Status build() => _build(); - _$AvatarAvatarGetAvatarHeaders _build() { - final _$result = _$v ?? _$AvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$Status _build() { + final _$result = _$v ?? + new _$Status._( + installed: BuiltValueNullFieldError.checkNotNull( + installed, r'Status', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull( + maintenance, r'Status', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull( + needsDbUpgrade, r'Status', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull( + version, r'Status', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull( + versionstring, r'Status', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'Status', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull( + productname, r'Status', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'Status', 'extendedSupport')); replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2CredentialsInterfaceBuilder { - void replace(LoginFlowV2CredentialsInterface other); - void update(void Function(LoginFlowV2CredentialsInterfaceBuilder) updates); - String? get server; - set server(String? server); +abstract mixin class TextProcessingTaskInterfaceBuilder { + void replace(TextProcessingTaskInterface other); + void update(void Function(TextProcessingTaskInterfaceBuilder) updates); + int? get id; + set id(int? id); - String? get loginName; - set loginName(String? loginName); + String? get type; + set type(String? type); - String? get appPassword; - set appPassword(String? appPassword); + int? get status; + set status(int? status); + + String? get userId; + set userId(String? userId); + + String? get appId; + set appId(String? appId); + + String? get input; + set input(String? input); + + String? get output; + set output(String? output); + + String? get identifier; + set identifier(String? identifier); } -class _$LoginFlowV2Credentials extends LoginFlowV2Credentials { +class _$TextProcessingTask extends TextProcessingTask { @override - final String server; + final int? id; @override - final String loginName; + final String type; @override - final String appPassword; + final int status; + @override + final String? userId; + @override + final String appId; + @override + final String input; + @override + final String? output; + @override + final String identifier; - factory _$LoginFlowV2Credentials([void Function(LoginFlowV2CredentialsBuilder)? updates]) => - (LoginFlowV2CredentialsBuilder()..update(updates))._build(); + factory _$TextProcessingTask( + [void Function(TextProcessingTaskBuilder)? updates]) => + (new TextProcessingTaskBuilder()..update(updates))._build(); - _$LoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword'); + _$TextProcessingTask._( + {this.id, + required this.type, + required this.status, + this.userId, + required this.appId, + required this.input, + this.output, + required this.identifier}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'TextProcessingTask', 'type'); + BuiltValueNullFieldError.checkNotNull( + status, r'TextProcessingTask', 'status'); + BuiltValueNullFieldError.checkNotNull( + appId, r'TextProcessingTask', 'appId'); + BuiltValueNullFieldError.checkNotNull( + input, r'TextProcessingTask', 'input'); + BuiltValueNullFieldError.checkNotNull( + identifier, r'TextProcessingTask', 'identifier'); } @override - LoginFlowV2Credentials rebuild(void Function(LoginFlowV2CredentialsBuilder) updates) => + TextProcessingTask rebuild( + void Function(TextProcessingTaskBuilder) updates) => (toBuilder()..update(updates)).build(); @override - LoginFlowV2CredentialsBuilder toBuilder() => LoginFlowV2CredentialsBuilder()..replace(this); + TextProcessingTaskBuilder toBuilder() => + new TextProcessingTaskBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2Credentials && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is TextProcessingTask && + id == other.id && + type == other.type && + status == other.status && + userId == other.userId && + appId == other.appId && + input == other.input && + output == other.output && + identifier == other.identifier; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, server.hashCode); - _$hash = $jc(_$hash, loginName.hashCode); - _$hash = $jc(_$hash, appPassword.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, input.hashCode); + _$hash = $jc(_$hash, output.hashCode); + _$hash = $jc(_$hash, identifier.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2Credentials') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'TextProcessingTask') + ..add('id', id) + ..add('type', type) + ..add('status', status) + ..add('userId', userId) + ..add('appId', appId) + ..add('input', input) + ..add('output', output) + ..add('identifier', identifier)) .toString(); } } -class LoginFlowV2CredentialsBuilder - implements Builder, LoginFlowV2CredentialsInterfaceBuilder { - _$LoginFlowV2Credentials? _$v; +class TextProcessingTaskBuilder + implements + Builder, + TextProcessingTaskInterfaceBuilder { + _$TextProcessingTask? _$v; - String? _server; - String? get server => _$this._server; - set server(covariant String? server) => _$this._server = server; + int? _id; + int? get id => _$this._id; + set id(covariant int? id) => _$this._id = id; - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(covariant String? loginName) => _$this._loginName = loginName; + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(covariant String? appPassword) => _$this._appPassword = appPassword; + int? _status; + int? get status => _$this._status; + set status(covariant int? status) => _$this._status = status; - LoginFlowV2CredentialsBuilder(); + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; - LoginFlowV2CredentialsBuilder get _$this { + String? _appId; + String? get appId => _$this._appId; + set appId(covariant String? appId) => _$this._appId = appId; + + String? _input; + String? get input => _$this._input; + set input(covariant String? input) => _$this._input = input; + + String? _output; + String? get output => _$this._output; + set output(covariant String? output) => _$this._output = output; + + String? _identifier; + String? get identifier => _$this._identifier; + set identifier(covariant String? identifier) => + _$this._identifier = identifier; + + TextProcessingTaskBuilder(); + + TextProcessingTaskBuilder get _$this { final $v = _$v; if ($v != null) { - _server = $v.server; - _loginName = $v.loginName; - _appPassword = $v.appPassword; + _id = $v.id; + _type = $v.type; + _status = $v.status; + _userId = $v.userId; + _appId = $v.appId; + _input = $v.input; + _output = $v.output; + _identifier = $v.identifier; _$v = null; } return this; } @override - void replace(covariant LoginFlowV2Credentials other) { + void replace(covariant TextProcessingTask other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2Credentials; + _$v = other as _$TextProcessingTask; } @override - void update(void Function(LoginFlowV2CredentialsBuilder)? updates) { + void update(void Function(TextProcessingTaskBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2Credentials build() => _build(); + TextProcessingTask build() => _build(); - _$LoginFlowV2Credentials _build() { + _$TextProcessingTask _build() { final _$result = _$v ?? - _$LoginFlowV2Credentials._( - server: BuiltValueNullFieldError.checkNotNull(server, r'LoginFlowV2Credentials', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'LoginFlowV2Credentials', 'loginName'), - appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'LoginFlowV2Credentials', 'appPassword')); + new _$TextProcessingTask._( + id: id, + type: BuiltValueNullFieldError.checkNotNull( + type, r'TextProcessingTask', 'type'), + status: BuiltValueNullFieldError.checkNotNull( + status, r'TextProcessingTask', 'status'), + userId: userId, + appId: BuiltValueNullFieldError.checkNotNull( + appId, r'TextProcessingTask', 'appId'), + input: BuiltValueNullFieldError.checkNotNull( + input, r'TextProcessingTask', 'input'), + output: output, + identifier: BuiltValueNullFieldError.checkNotNull( + identifier, r'TextProcessingTask', 'identifier')); replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2_PollInterfaceBuilder { - void replace(LoginFlowV2_PollInterface other); - void update(void Function(LoginFlowV2_PollInterfaceBuilder) updates); - String? get token; - set token(String? token); +abstract mixin class UnifiedSearchProviderInterfaceBuilder { + void replace(UnifiedSearchProviderInterface other); + void update(void Function(UnifiedSearchProviderInterfaceBuilder) updates); + String? get id; + set id(String? id); - String? get endpoint; - set endpoint(String? endpoint); + String? get name; + set name(String? name); + + int? get order; + set order(int? order); } -class _$LoginFlowV2_Poll extends LoginFlowV2_Poll { +class _$UnifiedSearchProvider extends UnifiedSearchProvider { @override - final String token; + final String id; @override - final String endpoint; + final String name; + @override + final int order; - factory _$LoginFlowV2_Poll([void Function(LoginFlowV2_PollBuilder)? updates]) => - (LoginFlowV2_PollBuilder()..update(updates))._build(); + factory _$UnifiedSearchProvider( + [void Function(UnifiedSearchProviderBuilder)? updates]) => + (new UnifiedSearchProviderBuilder()..update(updates))._build(); - _$LoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint'); + _$UnifiedSearchProvider._( + {required this.id, required this.name, required this.order}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'UnifiedSearchProvider', 'id'); + BuiltValueNullFieldError.checkNotNull( + name, r'UnifiedSearchProvider', 'name'); + BuiltValueNullFieldError.checkNotNull( + order, r'UnifiedSearchProvider', 'order'); } @override - LoginFlowV2_Poll rebuild(void Function(LoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); + UnifiedSearchProvider rebuild( + void Function(UnifiedSearchProviderBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - LoginFlowV2_PollBuilder toBuilder() => LoginFlowV2_PollBuilder()..replace(this); + UnifiedSearchProviderBuilder toBuilder() => + new UnifiedSearchProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + return other is UnifiedSearchProvider && + id == other.id && + name == other.name && + order == other.order; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, token.hashCode); - _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, order.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'UnifiedSearchProvider') + ..add('id', id) + ..add('name', name) + ..add('order', order)) .toString(); } } -class LoginFlowV2_PollBuilder - implements Builder, LoginFlowV2_PollInterfaceBuilder { - _$LoginFlowV2_Poll? _$v; +class UnifiedSearchProviderBuilder + implements + Builder, + UnifiedSearchProviderInterfaceBuilder { + _$UnifiedSearchProvider? _$v; - String? _token; - String? get token => _$this._token; - set token(covariant String? token) => _$this._token = token; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(covariant String? endpoint) => _$this._endpoint = endpoint; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - LoginFlowV2_PollBuilder(); + int? _order; + int? get order => _$this._order; + set order(covariant int? order) => _$this._order = order; - LoginFlowV2_PollBuilder get _$this { + UnifiedSearchProviderBuilder(); + + UnifiedSearchProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _token = $v.token; - _endpoint = $v.endpoint; + _id = $v.id; + _name = $v.name; + _order = $v.order; _$v = null; } return this; } @override - void replace(covariant LoginFlowV2_Poll other) { + void replace(covariant UnifiedSearchProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2_Poll; + _$v = other as _$UnifiedSearchProvider; } @override - void update(void Function(LoginFlowV2_PollBuilder)? updates) { + void update(void Function(UnifiedSearchProviderBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2_Poll build() => _build(); + UnifiedSearchProvider build() => _build(); - _$LoginFlowV2_Poll _build() { + _$UnifiedSearchProvider _build() { final _$result = _$v ?? - _$LoginFlowV2_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'LoginFlowV2_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'LoginFlowV2_Poll', 'endpoint')); + new _$UnifiedSearchProvider._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'UnifiedSearchProvider', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'UnifiedSearchProvider', 'name'), + order: BuiltValueNullFieldError.checkNotNull( + order, r'UnifiedSearchProvider', 'order')); replace(_$result); return _$result; } } -abstract mixin class LoginFlowV2InterfaceBuilder { - void replace(LoginFlowV2Interface other); - void update(void Function(LoginFlowV2InterfaceBuilder) updates); - LoginFlowV2_PollBuilder get poll; - set poll(LoginFlowV2_PollBuilder? poll); +abstract mixin class UnifiedSearchResultEntryInterfaceBuilder { + void replace(UnifiedSearchResultEntryInterface other); + void update(void Function(UnifiedSearchResultEntryInterfaceBuilder) updates); + String? get thumbnailUrl; + set thumbnailUrl(String? thumbnailUrl); - String? get login; - set login(String? login); + String? get title; + set title(String? title); + + String? get subline; + set subline(String? subline); + + String? get resourceUrl; + set resourceUrl(String? resourceUrl); + + String? get icon; + set icon(String? icon); + + bool? get rounded; + set rounded(bool? rounded); + + ListBuilder get attributes; + set attributes(ListBuilder? attributes); } -class _$LoginFlowV2 extends LoginFlowV2 { +class _$UnifiedSearchResultEntry extends UnifiedSearchResultEntry { @override - final LoginFlowV2_Poll poll; + final String thumbnailUrl; @override - final String login; + final String title; + @override + final String subline; + @override + final String resourceUrl; + @override + final String icon; + @override + final bool rounded; + @override + final BuiltList attributes; - factory _$LoginFlowV2([void Function(LoginFlowV2Builder)? updates]) => - (LoginFlowV2Builder()..update(updates))._build(); + factory _$UnifiedSearchResultEntry( + [void Function(UnifiedSearchResultEntryBuilder)? updates]) => + (new UnifiedSearchResultEntryBuilder()..update(updates))._build(); - _$LoginFlowV2._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'LoginFlowV2', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login'); + _$UnifiedSearchResultEntry._( + {required this.thumbnailUrl, + required this.title, + required this.subline, + required this.resourceUrl, + required this.icon, + required this.rounded, + required this.attributes}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + thumbnailUrl, r'UnifiedSearchResultEntry', 'thumbnailUrl'); + BuiltValueNullFieldError.checkNotNull( + title, r'UnifiedSearchResultEntry', 'title'); + BuiltValueNullFieldError.checkNotNull( + subline, r'UnifiedSearchResultEntry', 'subline'); + BuiltValueNullFieldError.checkNotNull( + resourceUrl, r'UnifiedSearchResultEntry', 'resourceUrl'); + BuiltValueNullFieldError.checkNotNull( + icon, r'UnifiedSearchResultEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull( + rounded, r'UnifiedSearchResultEntry', 'rounded'); + BuiltValueNullFieldError.checkNotNull( + attributes, r'UnifiedSearchResultEntry', 'attributes'); } @override - LoginFlowV2 rebuild(void Function(LoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + UnifiedSearchResultEntry rebuild( + void Function(UnifiedSearchResultEntryBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - LoginFlowV2Builder toBuilder() => LoginFlowV2Builder()..replace(this); + UnifiedSearchResultEntryBuilder toBuilder() => + new UnifiedSearchResultEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is LoginFlowV2 && poll == other.poll && login == other.login; + return other is UnifiedSearchResultEntry && + thumbnailUrl == other.thumbnailUrl && + title == other.title && + subline == other.subline && + resourceUrl == other.resourceUrl && + icon == other.icon && + rounded == other.rounded && + attributes == other.attributes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.hashCode); + _$hash = $jc(_$hash, thumbnailUrl.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, resourceUrl.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, rounded.hashCode); + _$hash = $jc(_$hash, attributes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'LoginFlowV2') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper(r'UnifiedSearchResultEntry') + ..add('thumbnailUrl', thumbnailUrl) + ..add('title', title) + ..add('subline', subline) + ..add('resourceUrl', resourceUrl) + ..add('icon', icon) + ..add('rounded', rounded) + ..add('attributes', attributes)) .toString(); } } -class LoginFlowV2Builder implements Builder, LoginFlowV2InterfaceBuilder { - _$LoginFlowV2? _$v; +class UnifiedSearchResultEntryBuilder + implements + Builder, + UnifiedSearchResultEntryInterfaceBuilder { + _$UnifiedSearchResultEntry? _$v; - LoginFlowV2_PollBuilder? _poll; - LoginFlowV2_PollBuilder get poll => _$this._poll ??= LoginFlowV2_PollBuilder(); - set poll(covariant LoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + String? _thumbnailUrl; + String? get thumbnailUrl => _$this._thumbnailUrl; + set thumbnailUrl(covariant String? thumbnailUrl) => + _$this._thumbnailUrl = thumbnailUrl; - String? _login; - String? get login => _$this._login; - set login(covariant String? login) => _$this._login = login; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - LoginFlowV2Builder(); + String? _subline; + String? get subline => _$this._subline; + set subline(covariant String? subline) => _$this._subline = subline; - LoginFlowV2Builder get _$this { + String? _resourceUrl; + String? get resourceUrl => _$this._resourceUrl; + set resourceUrl(covariant String? resourceUrl) => + _$this._resourceUrl = resourceUrl; + + String? _icon; + String? get icon => _$this._icon; + set icon(covariant String? icon) => _$this._icon = icon; + + bool? _rounded; + bool? get rounded => _$this._rounded; + set rounded(covariant bool? rounded) => _$this._rounded = rounded; + + ListBuilder? _attributes; + ListBuilder get attributes => + _$this._attributes ??= new ListBuilder(); + set attributes(covariant ListBuilder? attributes) => + _$this._attributes = attributes; + + UnifiedSearchResultEntryBuilder(); + + UnifiedSearchResultEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _thumbnailUrl = $v.thumbnailUrl; + _title = $v.title; + _subline = $v.subline; + _resourceUrl = $v.resourceUrl; + _icon = $v.icon; + _rounded = $v.rounded; + _attributes = $v.attributes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant LoginFlowV2 other) { + void replace(covariant UnifiedSearchResultEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$LoginFlowV2; + _$v = other as _$UnifiedSearchResultEntry; } @override - void update(void Function(LoginFlowV2Builder)? updates) { + void update(void Function(UnifiedSearchResultEntryBuilder)? updates) { if (updates != null) updates(this); } @override - LoginFlowV2 build() => _build(); + UnifiedSearchResultEntry build() => _build(); - _$LoginFlowV2 _build() { - _$LoginFlowV2 _$result; + _$UnifiedSearchResultEntry _build() { + _$UnifiedSearchResultEntry _$result; try { _$result = _$v ?? - _$LoginFlowV2._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'LoginFlowV2', 'login')); + new _$UnifiedSearchResultEntry._( + thumbnailUrl: BuiltValueNullFieldError.checkNotNull( + thumbnailUrl, r'UnifiedSearchResultEntry', 'thumbnailUrl'), + title: BuiltValueNullFieldError.checkNotNull( + title, r'UnifiedSearchResultEntry', 'title'), + subline: BuiltValueNullFieldError.checkNotNull( + subline, r'UnifiedSearchResultEntry', 'subline'), + resourceUrl: BuiltValueNullFieldError.checkNotNull( + resourceUrl, r'UnifiedSearchResultEntry', 'resourceUrl'), + icon: BuiltValueNullFieldError.checkNotNull( + icon, r'UnifiedSearchResultEntry', 'icon'), + rounded: BuiltValueNullFieldError.checkNotNull( + rounded, r'UnifiedSearchResultEntry', 'rounded'), + attributes: attributes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'poll'; - poll.build(); + _$failedField = 'attributes'; + attributes.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'LoginFlowV2', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UnifiedSearchResultEntry', _$failedField, e.toString()); } rethrow; } @@ -10348,294 +12474,291 @@ class LoginFlowV2Builder implements Builder, Lo } } -abstract mixin class OpenGraphObjectInterfaceBuilder { - void replace(OpenGraphObjectInterface other); - void update(void Function(OpenGraphObjectInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); - - String? get description; - set description(String? description); - - String? get thumb; - set thumb(String? thumb); +abstract mixin class UnifiedSearchResult_CursorInterfaceBuilder { + void replace(UnifiedSearchResult_CursorInterface other); + void update( + void Function(UnifiedSearchResult_CursorInterfaceBuilder) updates); + int? get $int; + set $int(int? $int); - String? get link; - set link(String? link); + String? get string; + set string(String? string); } -class _$OpenGraphObject extends OpenGraphObject { - @override - final String id; - @override - final String name; +class _$UnifiedSearchResult_Cursor extends UnifiedSearchResult_Cursor { @override - final String? description; + final JsonObject data; @override - final String? thumb; + final int? $int; @override - final String link; + final String? string; - factory _$OpenGraphObject([void Function(OpenGraphObjectBuilder)? updates]) => - (OpenGraphObjectBuilder()..update(updates))._build(); + factory _$UnifiedSearchResult_Cursor( + [void Function(UnifiedSearchResult_CursorBuilder)? updates]) => + (new UnifiedSearchResult_CursorBuilder()..update(updates))._build(); - _$OpenGraphObject._({required this.id, required this.name, this.description, this.thumb, required this.link}) + _$UnifiedSearchResult_Cursor._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'); - BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link'); + BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchResult_Cursor', 'data'); } @override - OpenGraphObject rebuild(void Function(OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); + UnifiedSearchResult_Cursor rebuild( + void Function(UnifiedSearchResult_CursorBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OpenGraphObjectBuilder toBuilder() => OpenGraphObjectBuilder()..replace(this); + UnifiedSearchResult_CursorBuilder toBuilder() => + new UnifiedSearchResult_CursorBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OpenGraphObject && - id == other.id && - name == other.name && - description == other.description && - thumb == other.thumb && - link == other.link; + return other is UnifiedSearchResult_Cursor && + data == other.data && + $int == other.$int && + string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, description.hashCode); - _$hash = $jc(_$hash, thumb.hashCode); - _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OpenGraphObject') - ..add('id', id) - ..add('name', name) - ..add('description', description) - ..add('thumb', thumb) - ..add('link', link)) + return (newBuiltValueToStringHelper(r'UnifiedSearchResult_Cursor') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class OpenGraphObjectBuilder - implements Builder, OpenGraphObjectInterfaceBuilder { - _$OpenGraphObject? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; +class UnifiedSearchResult_CursorBuilder + implements + Builder, + UnifiedSearchResult_CursorInterfaceBuilder { + _$UnifiedSearchResult_Cursor? _$v; - String? _description; - String? get description => _$this._description; - set description(covariant String? description) => _$this._description = description; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - String? _thumb; - String? get thumb => _$this._thumb; - set thumb(covariant String? thumb) => _$this._thumb = thumb; + int? _$int; + int? get $int => _$this._$int; + set $int(covariant int? $int) => _$this._$int = $int; - String? _link; - String? get link => _$this._link; - set link(covariant String? link) => _$this._link = link; + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - OpenGraphObjectBuilder(); + UnifiedSearchResult_CursorBuilder(); - OpenGraphObjectBuilder get _$this { + UnifiedSearchResult_CursorBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; - _thumb = $v.thumb; - _link = $v.link; + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(covariant OpenGraphObject other) { + void replace(covariant UnifiedSearchResult_Cursor other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OpenGraphObject; + _$v = other as _$UnifiedSearchResult_Cursor; } @override - void update(void Function(OpenGraphObjectBuilder)? updates) { + void update(void Function(UnifiedSearchResult_CursorBuilder)? updates) { if (updates != null) updates(this); } @override - OpenGraphObject build() => _build(); + UnifiedSearchResult_Cursor build() => _build(); - _$OpenGraphObject _build() { + _$UnifiedSearchResult_Cursor _build() { + UnifiedSearchResult_Cursor._validate(this); final _$result = _$v ?? - _$OpenGraphObject._( - id: BuiltValueNullFieldError.checkNotNull(id, r'OpenGraphObject', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'OpenGraphObject', 'name'), - description: description, - thumb: thumb, - link: BuiltValueNullFieldError.checkNotNull(link, r'OpenGraphObject', 'link')); + new _$UnifiedSearchResult_Cursor._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchResult_Cursor', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -abstract mixin class ResourceInterfaceBuilder { - void replace(ResourceInterface other); - void update(void Function(ResourceInterfaceBuilder) updates); - String? get richObjectType; - set richObjectType(String? richObjectType); +abstract mixin class UnifiedSearchResultInterfaceBuilder { + void replace(UnifiedSearchResultInterface other); + void update(void Function(UnifiedSearchResultInterfaceBuilder) updates); + String? get name; + set name(String? name); - MapBuilder get richObject; - set richObject(MapBuilder? richObject); + bool? get isPaginated; + set isPaginated(bool? isPaginated); - OpenGraphObjectBuilder get openGraphObject; - set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + ListBuilder get entries; + set entries(ListBuilder? entries); - bool? get accessible; - set accessible(bool? accessible); + UnifiedSearchResult_CursorBuilder get cursor; + set cursor(UnifiedSearchResult_CursorBuilder? cursor); } -class _$Resource extends Resource { +class _$UnifiedSearchResult extends UnifiedSearchResult { @override - final String richObjectType; + final String name; @override - final BuiltMap richObject; + final bool isPaginated; @override - final OpenGraphObject openGraphObject; + final BuiltList entries; @override - final bool accessible; + final UnifiedSearchResult_Cursor? cursor; - factory _$Resource([void Function(ResourceBuilder)? updates]) => (ResourceBuilder()..update(updates))._build(); + factory _$UnifiedSearchResult( + [void Function(UnifiedSearchResultBuilder)? updates]) => + (new UnifiedSearchResultBuilder()..update(updates))._build(); - _$Resource._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$UnifiedSearchResult._( + {required this.name, + required this.isPaginated, + required this.entries, + this.cursor}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'Resource', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Resource', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible'); + BuiltValueNullFieldError.checkNotNull(name, r'UnifiedSearchResult', 'name'); + BuiltValueNullFieldError.checkNotNull( + isPaginated, r'UnifiedSearchResult', 'isPaginated'); + BuiltValueNullFieldError.checkNotNull( + entries, r'UnifiedSearchResult', 'entries'); } @override - Resource rebuild(void Function(ResourceBuilder) updates) => (toBuilder()..update(updates)).build(); + UnifiedSearchResult rebuild( + void Function(UnifiedSearchResultBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - ResourceBuilder toBuilder() => ResourceBuilder()..replace(this); + UnifiedSearchResultBuilder toBuilder() => + new UnifiedSearchResultBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Resource && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is UnifiedSearchResult && + name == other.name && + isPaginated == other.isPaginated && + entries == other.entries && + cursor == other.cursor; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, richObjectType.hashCode); - _$hash = $jc(_$hash, richObject.hashCode); - _$hash = $jc(_$hash, openGraphObject.hashCode); - _$hash = $jc(_$hash, accessible.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, isPaginated.hashCode); + _$hash = $jc(_$hash, entries.hashCode); + _$hash = $jc(_$hash, cursor.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Resource') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper(r'UnifiedSearchResult') + ..add('name', name) + ..add('isPaginated', isPaginated) + ..add('entries', entries) + ..add('cursor', cursor)) .toString(); } } -class ResourceBuilder implements Builder, ResourceInterfaceBuilder { - _$Resource? _$v; +class UnifiedSearchResultBuilder + implements + Builder, + UnifiedSearchResultInterfaceBuilder { + _$UnifiedSearchResult? _$v; - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; + bool? _isPaginated; + bool? get isPaginated => _$this._isPaginated; + set isPaginated(covariant bool? isPaginated) => + _$this._isPaginated = isPaginated; - OpenGraphObjectBuilder? _openGraphObject; - OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); - set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + ListBuilder? _entries; + ListBuilder get entries => + _$this._entries ??= new ListBuilder(); + set entries(covariant ListBuilder? entries) => + _$this._entries = entries; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(covariant bool? accessible) => _$this._accessible = accessible; + UnifiedSearchResult_CursorBuilder? _cursor; + UnifiedSearchResult_CursorBuilder get cursor => + _$this._cursor ??= new UnifiedSearchResult_CursorBuilder(); + set cursor(covariant UnifiedSearchResult_CursorBuilder? cursor) => + _$this._cursor = cursor; - ResourceBuilder(); + UnifiedSearchResultBuilder(); - ResourceBuilder get _$this { + UnifiedSearchResultBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _name = $v.name; + _isPaginated = $v.isPaginated; + _entries = $v.entries.toBuilder(); + _cursor = $v.cursor?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant Resource other) { + void replace(covariant UnifiedSearchResult other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Resource; + _$v = other as _$UnifiedSearchResult; } @override - void update(void Function(ResourceBuilder)? updates) { + void update(void Function(UnifiedSearchResultBuilder)? updates) { if (updates != null) updates(this); } @override - Resource build() => _build(); + UnifiedSearchResult build() => _build(); - _$Resource _build() { - _$Resource _$result; + _$UnifiedSearchResult _build() { + _$UnifiedSearchResult _$result; try { _$result = _$v ?? - _$Resource._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Resource', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Resource', 'accessible')); + new _$UnifiedSearchResult._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'UnifiedSearchResult', 'name'), + isPaginated: BuiltValueNullFieldError.checkNotNull( + isPaginated, r'UnifiedSearchResult', 'isPaginated'), + entries: entries.build(), + cursor: _cursor?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); + _$failedField = 'entries'; + entries.build(); + _$failedField = 'cursor'; + _cursor?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Resource', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UnifiedSearchResult', _$failedField, e.toString()); } rethrow; } @@ -10644,254 +12767,203 @@ class ResourceBuilder implements Builder, ResourceInt } } -abstract mixin class CollectionInterfaceBuilder { - void replace(CollectionInterface other); - void update(void Function(CollectionInterfaceBuilder) updates); - int? get id; - set id(int? id); - - String? get name; - set name(String? name); +abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { + void replace(CommentsCapabilities_FilesInterface other); + void update( + void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); + bool? get comments; + set comments(bool? comments); +} - ListBuilder get resources; - set resources(ListBuilder? resources); -} - -class _$Collection extends Collection { - @override - final int id; - @override - final String name; +class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { @override - final BuiltList resources; + final bool comments; - factory _$Collection([void Function(CollectionBuilder)? updates]) => (CollectionBuilder()..update(updates))._build(); + factory _$CommentsCapabilities_Files( + [void Function(CommentsCapabilities_FilesBuilder)? updates]) => + (new CommentsCapabilities_FilesBuilder()..update(updates))._build(); - _$Collection._({required this.id, required this.name, required this.resources}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'); - BuiltValueNullFieldError.checkNotNull(resources, r'Collection', 'resources'); + _$CommentsCapabilities_Files._({required this.comments}) : super._() { + BuiltValueNullFieldError.checkNotNull( + comments, r'CommentsCapabilities_Files', 'comments'); } @override - Collection rebuild(void Function(CollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + CommentsCapabilities_Files rebuild( + void Function(CommentsCapabilities_FilesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CollectionBuilder toBuilder() => CollectionBuilder()..replace(this); + CommentsCapabilities_FilesBuilder toBuilder() => + new CommentsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Collection && id == other.id && name == other.name && resources == other.resources; + return other is CommentsCapabilities_Files && comments == other.comments; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, resources.hashCode); + _$hash = $jc(_$hash, comments.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Collection') - ..add('id', id) - ..add('name', name) - ..add('resources', resources)) + return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files') + ..add('comments', comments)) .toString(); } } -class CollectionBuilder implements Builder, CollectionInterfaceBuilder { - _$Collection? _$v; - - int? _id; - int? get id => _$this._id; - set id(covariant int? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; +class CommentsCapabilities_FilesBuilder + implements + Builder, + CommentsCapabilities_FilesInterfaceBuilder { + _$CommentsCapabilities_Files? _$v; - ListBuilder? _resources; - ListBuilder get resources => _$this._resources ??= ListBuilder(); - set resources(covariant ListBuilder? resources) => _$this._resources = resources; + bool? _comments; + bool? get comments => _$this._comments; + set comments(covariant bool? comments) => _$this._comments = comments; - CollectionBuilder(); + CommentsCapabilities_FilesBuilder(); - CollectionBuilder get _$this { + CommentsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _resources = $v.resources.toBuilder(); + _comments = $v.comments; _$v = null; } return this; } @override - void replace(covariant Collection other) { + void replace(covariant CommentsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Collection; + _$v = other as _$CommentsCapabilities_Files; } @override - void update(void Function(CollectionBuilder)? updates) { + void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - Collection build() => _build(); + CommentsCapabilities_Files build() => _build(); - _$Collection _build() { - _$Collection _$result; - try { - _$result = _$v ?? - _$Collection._( - id: BuiltValueNullFieldError.checkNotNull(id, r'Collection', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'Collection', 'name'), - resources: resources.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'resources'; - resources.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'Collection', _$failedField, e.toString()); - } - rethrow; - } + _$CommentsCapabilities_Files _build() { + final _$result = _$v ?? + new _$CommentsCapabilities_Files._( + comments: BuiltValueNullFieldError.checkNotNull( + comments, r'CommentsCapabilities_Files', 'comments')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface other); - void update( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class CommentsCapabilitiesInterfaceBuilder { + void replace(CommentsCapabilitiesInterface other); + void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); + CommentsCapabilities_FilesBuilder get files; + set files(CommentsCapabilities_FilesBuilder? files); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs - extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$CommentsCapabilities extends CommentsCapabilities { @override - final BuiltList data; + final CommentsCapabilities_Files files; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CommentsCapabilities( + [void Function(CommentsCapabilitiesBuilder)? updates]) => + (new CommentsCapabilitiesBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'meta'); + _$CommentsCapabilities._({required this.files}) : super._() { BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', 'data'); + files, r'CommentsCapabilities', 'files'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) updates) => + CommentsCapabilities rebuild( + void Function(CommentsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder()..replace(this); + CommentsCapabilitiesBuilder toBuilder() => + new CommentsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CommentsCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CommentsCapabilities') + ..add('files', files)) .toString(); } } -class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder +class CommentsCapabilitiesBuilder implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + CommentsCapabilitiesInterfaceBuilder { + _$CommentsCapabilities? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + CommentsCapabilities_FilesBuilder? _files; + CommentsCapabilities_FilesBuilder get files => + _$this._files ??= new CommentsCapabilities_FilesBuilder(); + set files(covariant CommentsCapabilities_FilesBuilder? files) => + _$this._files = files; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + CommentsCapabilitiesBuilder(); - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get _$this { + CommentsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs other) { + void replace(covariant CommentsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; + _$v = other as _$CommentsCapabilities; } @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(CommentsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => _build(); + CommentsCapabilities build() => _build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs _$result; + _$CommentsCapabilities _build() { + _$CommentsCapabilities _$result; try { - _$result = _$v ?? - _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$result = _$v ?? new _$CommentsCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CommentsCapabilities', _$failedField, e.toString()); } rethrow; } @@ -10900,236 +12972,214 @@ class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class DavCapabilities_DavInterfaceBuilder { + void replace(DavCapabilities_DavInterface other); + void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); + String? get chunking; + set chunking(String? chunking); + + String? get bulkupload; + set bulkupload(String? bulkupload); } -class _$CollaborationResourcesSearchCollectionsResponseApplicationJson - extends CollaborationResourcesSearchCollectionsResponseApplicationJson { +class _$DavCapabilities_Dav extends DavCapabilities_Dav { @override - final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; + final String chunking; + @override + final String? bulkupload; - factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( - [void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$DavCapabilities_Dav( + [void Function(DavCapabilities_DavBuilder)? updates]) => + (new DavCapabilities_DavBuilder()..update(updates))._build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson._({required this.ocs}) : super._() { + _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) + : super._() { BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesSearchCollectionsResponseApplicationJson', 'ocs'); + chunking, r'DavCapabilities_Dav', 'chunking'); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( - void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) updates) => + DavCapabilities_Dav rebuild( + void Function(DavCapabilities_DavBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder()..replace(this); + DavCapabilities_DavBuilder toBuilder() => + new DavCapabilities_DavBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesSearchCollectionsResponseApplicationJson && ocs == other.ocs; + return other is DavCapabilities_Dav && + chunking == other.chunking && + bulkupload == other.bulkupload; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, chunking.hashCode); + _$hash = $jc(_$hash, bulkupload.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesSearchCollectionsResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') + ..add('chunking', chunking) + ..add('bulkupload', bulkupload)) .toString(); } } -class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder +class DavCapabilities_DavBuilder implements - Builder, - CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; + Builder, + DavCapabilities_DavInterfaceBuilder { + _$DavCapabilities_Dav? _$v; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + String? _chunking; + String? get chunking => _$this._chunking; + set chunking(covariant String? chunking) => _$this._chunking = chunking; - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); + String? _bulkupload; + String? get bulkupload => _$this._bulkupload; + set bulkupload(covariant String? bulkupload) => + _$this._bulkupload = bulkupload; + + DavCapabilities_DavBuilder(); - CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder get _$this { + DavCapabilities_DavBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _chunking = $v.chunking; + _bulkupload = $v.bulkupload; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesSearchCollectionsResponseApplicationJson other) { + void replace(covariant DavCapabilities_Dav other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; + _$v = other as _$DavCapabilities_Dav; } @override - void update(void Function(CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? updates) { + void update(void Function(DavCapabilities_DavBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesSearchCollectionsResponseApplicationJson build() => _build(); + DavCapabilities_Dav build() => _build(); - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { - _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesSearchCollectionsResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesSearchCollectionsResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$DavCapabilities_Dav _build() { + final _$result = _$v ?? + new _$DavCapabilities_Dav._( + chunking: BuiltValueNullFieldError.checkNotNull( + chunking, r'DavCapabilities_Dav', 'chunking'), + bulkupload: bulkupload); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - CollectionBuilder get data; - set data(CollectionBuilder? data); +abstract mixin class DavCapabilitiesInterfaceBuilder { + void replace(DavCapabilitiesInterface other); + void update(void Function(DavCapabilitiesInterfaceBuilder) updates); + DavCapabilities_DavBuilder get dav; + set dav(DavCapabilities_DavBuilder? dav); } -class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$DavCapabilities extends DavCapabilities { @override - final Collection data; + final DavCapabilities_Dav dav; - factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => + (new DavCapabilitiesBuilder()..update(updates))._build(); - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', 'data'); + _$DavCapabilities._({required this.dav}) : super._() { + BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) updates) => + DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder()..replace(this); + DavCapabilitiesBuilder toBuilder() => + new DavCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is DavCapabilities && dav == other.dav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, dav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder +class DavCapabilitiesBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + DavCapabilitiesInterfaceBuilder { + _$DavCapabilities? _$v; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + DavCapabilities_DavBuilder? _dav; + DavCapabilities_DavBuilder get dav => + _$this._dav ??= new DavCapabilities_DavBuilder(); + set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + DavCapabilitiesBuilder(); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get _$this { + DavCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _dav = $v.dav.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs other) { + void replace(covariant DavCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; + _$v = other as _$DavCapabilities; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(DavCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => _build(); + DavCapabilities build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; + _$DavCapabilities _build() { + _$DavCapabilities _$result; try { - _$result = _$v ?? - _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? new _$DavCapabilities._(dav: dav.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'dav'; + dav.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DavCapabilities', _$failedField, e.toString()); } rethrow; } @@ -11138,234 +13188,302 @@ class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesListCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { + void replace(FilesCapabilities_Files_DirectEditingInterface other); + void update( + void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) + updates); + String? get url; + set url(String? url); + + String? get etag; + set etag(String? etag); + + bool? get supportsFileId; + set supportsFileId(bool? supportsFileId); } -class _$CollaborationResourcesListCollectionResponseApplicationJson - extends CollaborationResourcesListCollectionResponseApplicationJson { +class _$FilesCapabilities_Files_DirectEditing + extends FilesCapabilities_Files_DirectEditing { @override - final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; + final String url; + @override + final String etag; + @override + final bool supportsFileId; - factory _$CollaborationResourcesListCollectionResponseApplicationJson( - [void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files_DirectEditing( + [void Function(FilesCapabilities_Files_DirectEditingBuilder)? + updates]) => + (new FilesCapabilities_Files_DirectEditingBuilder()..update(updates)) + ._build(); - _$CollaborationResourcesListCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); + _$FilesCapabilities_Files_DirectEditing._( + {required this.url, required this.etag, required this.supportsFileId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + url, r'FilesCapabilities_Files_DirectEditing', 'url'); + BuiltValueNullFieldError.checkNotNull( + etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); + BuiltValueNullFieldError.checkNotNull(supportsFileId, + r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); } @override - CollaborationResourcesListCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder) updates) => + FilesCapabilities_Files_DirectEditing rebuild( + void Function(FilesCapabilities_Files_DirectEditingBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesListCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesListCollectionResponseApplicationJsonBuilder()..replace(this); + FilesCapabilities_Files_DirectEditingBuilder toBuilder() => + new FilesCapabilities_Files_DirectEditingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesListCollectionResponseApplicationJson && ocs == other.ocs; + return other is FilesCapabilities_Files_DirectEditing && + url == other.url && + etag == other.etag && + supportsFileId == other.supportsFileId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, etag.hashCode); + _$hash = $jc(_$hash, supportsFileId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesListCollectionResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'FilesCapabilities_Files_DirectEditing') + ..add('url', url) + ..add('etag', etag) + ..add('supportsFileId', supportsFileId)) .toString(); } } -class CollaborationResourcesListCollectionResponseApplicationJsonBuilder +class FilesCapabilities_Files_DirectEditingBuilder implements - Builder, - CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; + Builder, + FilesCapabilities_Files_DirectEditingInterfaceBuilder { + _$FilesCapabilities_Files_DirectEditing? _$v; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; - CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); + String? _etag; + String? get etag => _$this._etag; + set etag(covariant String? etag) => _$this._etag = etag; + + bool? _supportsFileId; + bool? get supportsFileId => _$this._supportsFileId; + set supportsFileId(covariant bool? supportsFileId) => + _$this._supportsFileId = supportsFileId; + + FilesCapabilities_Files_DirectEditingBuilder(); - CollaborationResourcesListCollectionResponseApplicationJsonBuilder get _$this { + FilesCapabilities_Files_DirectEditingBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _url = $v.url; + _etag = $v.etag; + _supportsFileId = $v.supportsFileId; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesListCollectionResponseApplicationJson other) { + void replace(covariant FilesCapabilities_Files_DirectEditing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesListCollectionResponseApplicationJson; + _$v = other as _$FilesCapabilities_Files_DirectEditing; } @override - void update(void Function(CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? updates) { + void update( + void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesListCollectionResponseApplicationJson build() => _build(); + FilesCapabilities_Files_DirectEditing build() => _build(); - _$CollaborationResourcesListCollectionResponseApplicationJson _build() { - _$CollaborationResourcesListCollectionResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesListCollectionResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesListCollectionResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesCapabilities_Files_DirectEditing _build() { + final _$result = _$v ?? + new _$FilesCapabilities_Files_DirectEditing._( + url: BuiltValueNullFieldError.checkNotNull( + url, r'FilesCapabilities_Files_DirectEditing', 'url'), + etag: BuiltValueNullFieldError.checkNotNull( + etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), + supportsFileId: BuiltValueNullFieldError.checkNotNull( + supportsFileId, + r'FilesCapabilities_Files_DirectEditing', + 'supportsFileId')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesCapabilities_FilesInterfaceBuilder { + void replace(FilesCapabilities_FilesInterface other); + void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); + bool? get bigfilechunking; + set bigfilechunking(bool? bigfilechunking); - CollectionBuilder get data; - set data(CollectionBuilder? data); + ListBuilder get blacklistedFiles; + set blacklistedFiles(ListBuilder? blacklistedFiles); + + FilesCapabilities_Files_DirectEditingBuilder get directEditing; + set directEditing( + FilesCapabilities_Files_DirectEditingBuilder? directEditing); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs - extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { +class _$FilesCapabilities_Files extends FilesCapabilities_Files { @override - final OCSMeta meta; + final bool bigfilechunking; @override - final Collection data; + final BuiltList blacklistedFiles; + @override + final FilesCapabilities_Files_DirectEditing directEditing; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesCapabilities_Files( + [void Function(FilesCapabilities_FilesBuilder)? updates]) => + (new FilesCapabilities_FilesBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$FilesCapabilities_Files._( + {required this.bigfilechunking, + required this.blacklistedFiles, + required this.directEditing}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'meta'); + bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', 'data'); + blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); + BuiltValueNullFieldError.checkNotNull( + directEditing, r'FilesCapabilities_Files', 'directEditing'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) updates) => + FilesCapabilities_Files rebuild( + void Function(FilesCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder()..replace(this); + FilesCapabilities_FilesBuilder toBuilder() => + new FilesCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesCapabilities_Files && + bigfilechunking == other.bigfilechunking && + blacklistedFiles == other.blacklistedFiles && + directEditing == other.directEditing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, bigfilechunking.hashCode); + _$hash = $jc(_$hash, blacklistedFiles.hashCode); + _$hash = $jc(_$hash, directEditing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') + ..add('bigfilechunking', bigfilechunking) + ..add('blacklistedFiles', blacklistedFiles) + ..add('directEditing', directEditing)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder +class FilesCapabilities_FilesBuilder implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; + Builder, + FilesCapabilities_FilesInterfaceBuilder { + _$FilesCapabilities_Files? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _bigfilechunking; + bool? get bigfilechunking => _$this._bigfilechunking; + set bigfilechunking(covariant bool? bigfilechunking) => + _$this._bigfilechunking = bigfilechunking; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + ListBuilder? _blacklistedFiles; + ListBuilder get blacklistedFiles => + _$this._blacklistedFiles ??= new ListBuilder(); + set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => + _$this._blacklistedFiles = blacklistedFiles; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + FilesCapabilities_Files_DirectEditingBuilder? _directEditing; + FilesCapabilities_Files_DirectEditingBuilder get directEditing => + _$this._directEditing ??= + new FilesCapabilities_Files_DirectEditingBuilder(); + set directEditing( + covariant FilesCapabilities_Files_DirectEditingBuilder? + directEditing) => + _$this._directEditing = directEditing; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get _$this { + FilesCapabilities_FilesBuilder(); + + FilesCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _bigfilechunking = $v.bigfilechunking; + _blacklistedFiles = $v.blacklistedFiles.toBuilder(); + _directEditing = $v.directEditing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs other) { + void replace(covariant FilesCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; + _$v = other as _$FilesCapabilities_Files; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => _build(); + FilesCapabilities_Files build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _$result; + _$FilesCapabilities_Files _build() { + _$FilesCapabilities_Files _$result; try { _$result = _$v ?? - _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + new _$FilesCapabilities_Files._( + bigfilechunking: BuiltValueNullFieldError.checkNotNull( + bigfilechunking, + r'FilesCapabilities_Files', + 'bigfilechunking'), + blacklistedFiles: blacklistedFiles.build(), + directEditing: directEditing.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'blacklistedFiles'; + blacklistedFiles.build(); + _$failedField = 'directEditing'; + directEditing.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesCapabilities_Files', _$failedField, e.toString()); } rethrow; } @@ -11374,106 +13492,104 @@ class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder } } -abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRenameCollectionResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesCapabilitiesInterfaceBuilder { + void replace(FilesCapabilitiesInterface other); + void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); + FilesCapabilities_FilesBuilder get files; + set files(FilesCapabilities_FilesBuilder? files); } -class _$CollaborationResourcesRenameCollectionResponseApplicationJson - extends CollaborationResourcesRenameCollectionResponseApplicationJson { +class _$FilesCapabilities extends FilesCapabilities { @override - final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; + final FilesCapabilities_Files files; - factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( - [void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesCapabilities( + [void Function(FilesCapabilitiesBuilder)? updates]) => + (new FilesCapabilitiesBuilder()..update(updates))._build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRenameCollectionResponseApplicationJson', 'ocs'); + _$FilesCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( - void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) updates) => + FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder()..replace(this); + FilesCapabilitiesBuilder toBuilder() => + new FilesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRenameCollectionResponseApplicationJson && ocs == other.ocs; + return other is FilesCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRenameCollectionResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'FilesCapabilities') + ..add('files', files)) .toString(); } } -class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder +class FilesCapabilitiesBuilder implements - Builder, - CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; + Builder, + FilesCapabilitiesInterfaceBuilder { + _$FilesCapabilities? _$v; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + FilesCapabilities_FilesBuilder? _files; + FilesCapabilities_FilesBuilder get files => + _$this._files ??= new FilesCapabilities_FilesBuilder(); + set files(covariant FilesCapabilities_FilesBuilder? files) => + _$this._files = files; - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); + FilesCapabilitiesBuilder(); - CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder get _$this { + FilesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRenameCollectionResponseApplicationJson other) { + void replace(covariant FilesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRenameCollectionResponseApplicationJson; + _$v = other as _$FilesCapabilities; } @override - void update(void Function(CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRenameCollectionResponseApplicationJson build() => _build(); + FilesCapabilities build() => _build(); - _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { - _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; + _$FilesCapabilities _build() { + _$FilesCapabilities _$result; try { - _$result = _$v ?? _$CollaborationResourcesRenameCollectionResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? new _$FilesCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRenameCollectionResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -11482,601 +13598,886 @@ class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) + updates); + bool? get enforced; + set enforced(bool? enforced); - CollectionBuilder get data; - set data(CollectionBuilder? data); + bool? get askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword); } -class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs - extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_Public_Password + extends FilesSharingCapabilities_FilesSharing_Public_Password { @override - final OCSMeta meta; + final bool enforced; @override - final Collection data; + final bool askForOptionalPassword; - factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_Password( + [void Function( + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) : super._() { + BuiltValueNullFieldError.checkNotNull(enforced, + r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', 'data'); + askForOptionalPassword, + r'FilesSharingCapabilities_FilesSharing_Public_Password', + 'askForOptionalPassword'); } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_Password rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesSharingCapabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(covariant bool? askForOptionalPassword) => + _$this._askForOptionalPassword = askForOptionalPassword; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Public_Password._( + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, + r'FilesSharingCapabilities_FilesSharing_Public_Password', + 'enforced'), + askForOptionalPassword: BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, + r'FilesSharingCapabilities_FilesSharing_Public_Password', + 'askForOptionalPassword')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesAddResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); + + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$CollaborationResourcesAddResourceResponseApplicationJson - extends CollaborationResourcesAddResourceResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { @override - final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$CollaborationResourcesAddResourceResponseApplicationJson( - [void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesAddResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + {required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); } @override - CollaborationResourcesAddResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesAddResourceResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesAddResourceResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesAddResourceResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CollaborationResourcesAddResourceResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder implements - Builder, - CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - CollaborationResourcesAddResourceResponseApplicationJsonBuilder get _$this { + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesAddResourceResponseApplicationJson other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; } @override - void update(void Function(CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); - _$CollaborationResourcesAddResourceResponseApplicationJson _build() { - _$CollaborationResourcesAddResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesAddResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesAddResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface + other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); - CollectionBuilder get data; - set data(CollectionBuilder? data); + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs - extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { @override - final OCSMeta meta; + final bool enabled; @override - final Collection data; + final int? days; + @override + final bool? enforced; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._({required this.meta, required this.data}) + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + {required this.enabled, this.days, this.enforced}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', 'data'); + enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', + 'enabled'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder + toBuilder() => + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other + is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder + get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; + _$v = other + as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => + _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesRemoveResourceResponseApplicationJsonInterface other); - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface + other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); + + int? get days; + set days(int? days); + + bool? get enforced; + set enforced(bool? enforced); } -class _$CollaborationResourcesRemoveResourceResponseApplicationJson - extends CollaborationResourcesRemoveResourceResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { @override - final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( - [void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + {required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', + 'enabled'); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + toBuilder() => + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesRemoveResourceResponseApplicationJson && ocs == other.ocs; + return other + is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesRemoveResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder implements - Builder, - CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); + int? _days; + int? get days => _$this._days; + set days(covariant int? days) => _$this._days = days; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesRemoveResourceResponseApplicationJson other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; + _$v = other + as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; } @override - void update(void Function(CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesRemoveResourceResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => + _build(); - _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { - _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesRemoveResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesRemoveResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface other); +abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); + void Function( + FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); - ListBuilder get data; - set data(ListBuilder? data); + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; + set password( + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); + + bool? get multipleLinks; + set multipleLinks(bool? multipleLinks); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; + set expireDate( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? + expireDate); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder + get expireDateInternal; + set expireDateInternal( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? + expireDateInternal); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + get expireDateRemote; + set expireDateRemote( + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? + expireDateRemote); + + bool? get sendMail; + set sendMail(bool? sendMail); + + bool? get upload; + set upload(bool? upload); + + bool? get uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_Public + extends FilesSharingCapabilities_FilesSharing_Public { @override - final OCSMeta meta; + final bool enabled; @override - final BuiltList data; + final FilesSharingCapabilities_FilesSharing_Public_Password? password; + @override + final bool? multipleLinks; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? + expireDateInternal; + @override + final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? + expireDateRemote; + @override + final bool? sendMail; + @override + final bool? upload; + @override + final bool? uploadFilesDrop; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Public( + [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_PublicBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$FilesSharingCapabilities_FilesSharing_Public._( + {required this.enabled, + this.password, + this.multipleLinks, + this.expireDate, + this.expireDateInternal, + this.expireDateRemote, + this.sendMail, + this.upload, + this.uploadFilesDrop}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', 'data'); + enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Public rebuild( + void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesSharingCapabilities_FilesSharing_Public && + enabled == other.enabled && + password == other.password && + multipleLinks == other.multipleLinks && + expireDate == other.expireDate && + expireDateInternal == other.expireDateInternal && + expireDateRemote == other.expireDateRemote && + sendMail == other.sendMail && + upload == other.upload && + uploadFilesDrop == other.uploadFilesDrop; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, multipleLinks.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateInternal.hashCode); + _$hash = $jc(_$hash, expireDateRemote.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, upload.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Public') + ..add('enabled', enabled) + ..add('password', password) + ..add('multipleLinks', multipleLinks) + ..add('expireDate', expireDate) + ..add('expireDateInternal', expireDateInternal) + ..add('expireDateRemote', expireDateRemote) + ..add('sendMail', sendMail) + ..add('upload', upload) + ..add('uploadFilesDrop', uploadFilesDrop)) .toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_PublicBuilder implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Public? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => + _$this._password ??= + new FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + set password( + covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? + password) => + _$this._password = password; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(covariant bool? multipleLinks) => + _$this._multipleLinks = multipleLinks; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? + _expireDateInternal; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder + get expireDateInternal => _$this._expireDateInternal ??= + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + set expireDateInternal( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? + expireDateInternal) => + _$this._expireDateInternal = expireDateInternal; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? + _expireDateRemote; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + get expireDateRemote => _$this._expireDateRemote ??= + new FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + set expireDateRemote( + covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? + expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(covariant bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(covariant bool? uploadFilesDrop) => + _$this._uploadFilesDrop = uploadFilesDrop; + + FilesSharingCapabilities_FilesSharing_PublicBuilder(); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; + _password = $v.password?.toBuilder(); + _multipleLinks = $v.multipleLinks; + _expireDate = $v.expireDate?.toBuilder(); + _expireDateInternal = $v.expireDateInternal?.toBuilder(); + _expireDateRemote = $v.expireDateRemote?.toBuilder(); + _sendMail = $v.sendMail; + _upload = $v.upload; + _uploadFilesDrop = $v.uploadFilesDrop; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; } @override void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? updates) { + void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Public build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs _$result; + _$FilesSharingCapabilities_FilesSharing_Public _build() { + _$FilesSharingCapabilities_FilesSharing_Public _$result; try { _$result = _$v ?? - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { + new _$FilesSharingCapabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, + r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), + password: _password?.build(), + multipleLinks: multipleLinks, + expireDate: _expireDate?.build(), + expireDateInternal: _expireDateInternal?.build(), + expireDateRemote: _expireDateRemote?.build(), + sendMail: sendMail, + upload: upload, + uploadFilesDrop: uploadFilesDrop); + } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Public', + _$failedField, + e.toString()); } rethrow; } @@ -12085,243 +14486,261 @@ class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsB } } -abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface other); +abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); void update( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs); + void Function( + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson - extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { @override - final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs ocs; + final bool enabled; - factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( - [void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function( + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, + r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder implements - Builder, - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; } @override - void update(void Function(CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesGetCollectionsByResourceResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _build() { - _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface other); +abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) + void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); + bool? get sendMail; + set sendMail(bool? sendMail); - CollectionBuilder get data; - set data(CollectionBuilder? data); + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; + set expireDate( + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { +class _$FilesSharingCapabilities_FilesSharing_User + extends FilesSharingCapabilities_FilesSharing_User { @override - final OCSMeta meta; + final bool sendMail; @override - final Collection data; + final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? + factory _$FilesSharingCapabilities_FilesSharing_User( + [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..update(updates))._build(); + (new FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates)) + ._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$FilesSharingCapabilities_FilesSharing_User._( + {required this.sendMail, this.expireDate}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', 'data'); + sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_User rebuild( + void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesSharingCapabilities_FilesSharing_User && + sendMail == other.sendMail && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) .toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_UserBuilder implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_User? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; - CollectionBuilder? _data; - CollectionBuilder get data => _$this._data ??= CollectionBuilder(); - set data(covariant CollectionBuilder? data) => _$this._data = data; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => + _$this._expireDate ??= + new FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate( + covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + FilesSharingCapabilities_FilesSharing_UserBuilder(); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities_FilesSharing_User; } @override void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? updates) { + void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_User build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs _$result; + _$FilesSharingCapabilities_FilesSharing_User _build() { + _$FilesSharingCapabilities_FilesSharing_User _$result; try { _$result = _$v ?? - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + new _$FilesSharingCapabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull(sendMail, + r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', - _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_User', + _$failedField, + e.toString()); } rethrow; } @@ -12330,610 +14749,730 @@ class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Oc } } -abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - void replace(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface other); +abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); void update( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) updates); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs; - set ocs(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs); + void Function( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson - extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { @override - final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs ocs; + final bool enabled; - factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( - [void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates]) => - (CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', 'ocs'); + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, + r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( - void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder toBuilder() => - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder implements - Builder, - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? _ocs; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); - set ocs(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; } @override - void update(void Function(CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _build() { - _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson _$result; - try { - _$result = _$v ?? _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -abstract mixin class ContactsActionInterfaceBuilder { - void replace(ContactsActionInterface other); - void update(void Function(ContactsActionInterfaceBuilder) updates); - String? get title; - set title(String? title); - - String? get icon; - set icon(String? icon); - - String? get hyperlink; - set hyperlink(String? hyperlink); +abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); + void update( + void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); - String? get appId; - set appId(String? appId); + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; + set expireDate( + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? + expireDate); } -class _$ContactsAction extends ContactsAction { - @override - final String title; +class _$FilesSharingCapabilities_FilesSharing_Group + extends FilesSharingCapabilities_FilesSharing_Group { @override - final String icon; - @override - final String hyperlink; + final bool enabled; @override - final String appId; + final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; - factory _$ContactsAction([void Function(ContactsActionBuilder)? updates]) => - (ContactsActionBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Group( + [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_GroupBuilder() + ..update(updates)) + ._build(); - _$ContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) + _$FilesSharingCapabilities_FilesSharing_Group._( + {required this.enabled, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'); - BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'); - BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'); - BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId'); + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); } @override - ContactsAction rebuild(void Function(ContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesSharingCapabilities_FilesSharing_Group rebuild( + void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - ContactsActionBuilder toBuilder() => ContactsActionBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ContactsAction && - title == other.title && - icon == other.icon && - hyperlink == other.hyperlink && - appId == other.appId; + return other is FilesSharingCapabilities_FilesSharing_Group && + enabled == other.enabled && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, hyperlink.hashCode); - _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ContactsAction') - ..add('title', title) - ..add('icon', icon) - ..add('hyperlink', hyperlink) - ..add('appId', appId)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) .toString(); } } -class ContactsActionBuilder implements Builder, ContactsActionInterfaceBuilder { - _$ContactsAction? _$v; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; +class FilesSharingCapabilities_FilesSharing_GroupBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Group? _$v; - String? _hyperlink; - String? get hyperlink => _$this._hyperlink; - set hyperlink(covariant String? hyperlink) => _$this._hyperlink = hyperlink; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - String? _appId; - String? get appId => _$this._appId; - set appId(covariant String? appId) => _$this._appId = appId; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + new FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate( + covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; - ContactsActionBuilder(); + FilesSharingCapabilities_FilesSharing_GroupBuilder(); - ContactsActionBuilder get _$this { + FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { final $v = _$v; if ($v != null) { - _title = $v.title; - _icon = $v.icon; - _hyperlink = $v.hyperlink; - _appId = $v.appId; + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ContactsAction other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ContactsAction; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; } @override - void update(void Function(ContactsActionBuilder)? updates) { + void update( + void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? + updates) { if (updates != null) updates(this); } @override - ContactsAction build() => _build(); + FilesSharingCapabilities_FilesSharing_Group build() => _build(); - _$ContactsAction _build() { - final _$result = _$v ?? - _$ContactsAction._( - title: BuiltValueNullFieldError.checkNotNull(title, r'ContactsAction', 'title'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'ContactsAction', 'icon'), - hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'ContactsAction', 'hyperlink'), - appId: BuiltValueNullFieldError.checkNotNull(appId, r'ContactsAction', 'appId')); + _$FilesSharingCapabilities_FilesSharing_Group _build() { + _$FilesSharingCapabilities_FilesSharing_Group _$result; + try { + _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, + r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), + expireDate: _expireDate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + _expireDate?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Group', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get userId; - set userId(String? userId); - - String? get displayName; - set displayName(String? displayName); - - ListBuilder get actions; - set actions(ListBuilder? actions); +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface + other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$HoverCardGetUserResponseApplicationJson_Ocs_Data extends HoverCardGetUserResponseApplicationJson_Ocs_Data { - @override - final String userId; - @override - final String displayName; +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { @override - final BuiltList actions; + final bool enabled; - factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( - [void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - {required this.userId, required this.displayName, required this.actions}) + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + {required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); - BuiltValueNullFieldError.checkNotNull(actions, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); + enabled, + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', + 'enabled'); } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( - void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + toBuilder() => + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && - userId == other.userId && - displayName == other.displayName && - actions == other.actions; + return other + is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, displayName.hashCode); - _$hash = $jc(_$hash, actions.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs_Data') - ..add('userId', userId) - ..add('displayName', displayName) - ..add('actions', actions)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder implements - Builder, - HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; - - String? _userId; - String? get userId => _$this._userId; - set userId(covariant String? userId) => _$this._userId = userId; - - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(covariant String? displayName) => _$this._displayName = displayName; + Builder, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; - ListBuilder? _actions; - ListBuilder get actions => _$this._actions ??= ListBuilder(); - set actions(covariant ListBuilder? actions) => _$this._actions = actions; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _displayName = $v.displayName; - _actions = $v.actions.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; + _$v = + other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => + _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? - _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( - userId: BuiltValueNullFieldError.checkNotNull( - userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'), - displayName: BuiltValueNullFieldError.checkNotNull( - displayName, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'), - actions: actions.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'actions'; - actions.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'HoverCardGetUserResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; - set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + void replace( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface + other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$HoverCardGetUserResponseApplicationJson_Ocs extends HoverCardGetUserResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { @override - final HoverCardGetUserResponseApplicationJson_Ocs_Data data; + final bool enabled; - factory _$HoverCardGetUserResponseApplicationJson_Ocs( - [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() + ..update(updates)) + ._build(); - _$HoverCardGetUserResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', + 'enabled'); } @override - HoverCardGetUserResponseApplicationJson_Ocs rebuild( - void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => - HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + toBuilder() => + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other + is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) .toString(); } } -class HoverCardGetUserResponseApplicationJson_OcsBuilder +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder implements - Builder, - HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder< + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder>, + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; - HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - HoverCardGetUserResponseApplicationJson_OcsBuilder(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; + _$v = other + as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; } @override - void update(void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? + updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + build() => _build(); - _$HoverCardGetUserResponseApplicationJson_Ocs _build() { - _$HoverCardGetUserResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + _build() { + final _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + ._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', + 'enabled')); replace(_$result); return _$result; } } -abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - void replace(HoverCardGetUserResponseApplicationJsonInterface other); - void update(void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) updates); - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; - set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); -} +abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) + updates); + bool? get outgoing; + set outgoing(bool? outgoing); -class _$HoverCardGetUserResponseApplicationJson extends HoverCardGetUserResponseApplicationJson { - @override - final HoverCardGetUserResponseApplicationJson_Ocs ocs; + bool? get incoming; + set incoming(bool? incoming); - factory _$HoverCardGetUserResponseApplicationJson( - [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates]) => - (HoverCardGetUserResponseApplicationJsonBuilder()..update(updates))._build(); + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + get expireDate; + set expireDate( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? + expireDate); - _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); - } + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + get expireDateSupported; + set expireDateSupported( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? + expireDateSupported); +} +class _$FilesSharingCapabilities_FilesSharing_Federation + extends FilesSharingCapabilities_FilesSharing_Federation { @override - HoverCardGetUserResponseApplicationJson rebuild( - void Function(HoverCardGetUserResponseApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); - + final bool outgoing; @override - HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => - HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); + final bool incoming; + @override + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; + @override + final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + expireDateSupported; + + factory _$FilesSharingCapabilities_FilesSharing_Federation( + [void Function( + FilesSharingCapabilities_FilesSharing_FederationBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_FederationBuilder() + ..update(updates)) + ._build(); + + _$FilesSharingCapabilities_FilesSharing_Federation._( + {required this.outgoing, + required this.incoming, + required this.expireDate, + required this.expireDateSupported}) + : super._() { + BuiltValueNullFieldError.checkNotNull(outgoing, + r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); + BuiltValueNullFieldError.checkNotNull(incoming, + r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); + BuiltValueNullFieldError.checkNotNull(expireDate, + r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); + BuiltValueNullFieldError.checkNotNull( + expireDateSupported, + r'FilesSharingCapabilities_FilesSharing_Federation', + 'expireDateSupported'); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation rebuild( + void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_FederationBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; + return other is FilesSharingCapabilities_FilesSharing_Federation && + outgoing == other.outgoing && + incoming == other.incoming && + expireDate == other.expireDate && + expireDateSupported == other.expireDateSupported; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, outgoing.hashCode); + _$hash = $jc(_$hash, incoming.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateSupported.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'HoverCardGetUserResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) + .toString(); } } -class HoverCardGetUserResponseApplicationJsonBuilder +class FilesSharingCapabilities_FilesSharing_FederationBuilder implements - Builder, - HoverCardGetUserResponseApplicationJsonInterfaceBuilder { - _$HoverCardGetUserResponseApplicationJson? _$v; + Builder, + FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; - HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= HoverCardGetUserResponseApplicationJson_OcsBuilder(); - set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - HoverCardGetUserResponseApplicationJsonBuilder(); + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(covariant bool? incoming) => _$this._incoming = incoming; - HoverCardGetUserResponseApplicationJsonBuilder get _$this { + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? + _expireDate; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? + _expireDateSupported; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + get expireDateSupported => _$this._expireDateSupported ??= + new FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? + expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; + + FilesSharingCapabilities_FilesSharing_FederationBuilder(); + + FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _outgoing = $v.outgoing; + _incoming = $v.incoming; + _expireDate = $v.expireDate.toBuilder(); + _expireDateSupported = $v.expireDateSupported.toBuilder(); _$v = null; } return this; } @override - void replace(covariant HoverCardGetUserResponseApplicationJson other) { + void replace( + covariant FilesSharingCapabilities_FilesSharing_Federation other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$HoverCardGetUserResponseApplicationJson; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; } @override - void update(void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { + void update( + void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? + updates) { if (updates != null) updates(this); } @override - HoverCardGetUserResponseApplicationJson build() => _build(); + FilesSharingCapabilities_FilesSharing_Federation build() => _build(); - _$HoverCardGetUserResponseApplicationJson _build() { - _$HoverCardGetUserResponseApplicationJson _$result; + _$FilesSharingCapabilities_FilesSharing_Federation _build() { + _$FilesSharingCapabilities_FilesSharing_Federation _$result; try { - _$result = _$v ?? _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$FilesSharingCapabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, + r'FilesSharingCapabilities_FilesSharing_Federation', + 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, + r'FilesSharingCapabilities_FilesSharing_Federation', + 'incoming'), + expireDate: expireDate.build(), + expireDateSupported: expireDateSupported.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'expireDate'; + expireDate.build(); + _$failedField = 'expireDateSupported'; + expireDateSupported.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'HoverCardGetUserResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Federation', + _$failedField, + e.toString()); } rethrow; } @@ -12942,341 +15481,421 @@ class HoverCardGetUserResponseApplicationJsonBuilder } } -abstract mixin class NavigationEntry_OrderInterfaceBuilder { - void replace(NavigationEntry_OrderInterface other); - void update(void Function(NavigationEntry_OrderInterfaceBuilder) updates); - int? get $int; - set $int(int? $int); +abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); + void update( + void Function( + FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) + updates); + bool? get queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault); - String? get string; - set string(String? string); + bool? get alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique); } -class _$NavigationEntry_Order extends NavigationEntry_Order { - @override - final JsonObject data; +class _$FilesSharingCapabilities_FilesSharing_Sharee + extends FilesSharingCapabilities_FilesSharing_Sharee { @override - final int? $int; + final bool queryLookupDefault; @override - final String? string; + final bool alwaysShowUnique; - factory _$NavigationEntry_Order([void Function(NavigationEntry_OrderBuilder)? updates]) => - (NavigationEntry_OrderBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing_Sharee( + [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharing_ShareeBuilder() + ..update(updates)) + ._build(); - _$NavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'); + _$FilesSharingCapabilities_FilesSharing_Sharee._( + {required this.queryLookupDefault, required this.alwaysShowUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(queryLookupDefault, + r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); + BuiltValueNullFieldError.checkNotNull(alwaysShowUnique, + r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); } @override - NavigationEntry_Order rebuild(void Function(NavigationEntry_OrderBuilder) updates) => + FilesSharingCapabilities_FilesSharing_Sharee rebuild( + void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - NavigationEntry_OrderBuilder toBuilder() => NavigationEntry_OrderBuilder()..replace(this); + FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; + return other is FilesSharingCapabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) .toString(); } } -class NavigationEntry_OrderBuilder - implements Builder, NavigationEntry_OrderInterfaceBuilder { - _$NavigationEntry_Order? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; +class FilesSharingCapabilities_FilesSharing_ShareeBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; - int? _$int; - int? get $int => _$this._$int; - set $int(covariant int? $int) => _$this._$int = $int; + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(covariant bool? queryLookupDefault) => + _$this._queryLookupDefault = queryLookupDefault; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(covariant bool? alwaysShowUnique) => + _$this._alwaysShowUnique = alwaysShowUnique; - NavigationEntry_OrderBuilder(); + FilesSharingCapabilities_FilesSharing_ShareeBuilder(); - NavigationEntry_OrderBuilder get _$this { + FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; _$v = null; } return this; } @override - void replace(covariant NavigationEntry_Order other) { + void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry_Order; + _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; } @override - void update(void Function(NavigationEntry_OrderBuilder)? updates) { + void update( + void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? + updates) { if (updates != null) updates(this); } @override - NavigationEntry_Order build() => _build(); + FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); - _$NavigationEntry_Order _build() { + _$FilesSharingCapabilities_FilesSharing_Sharee _build() { final _$result = _$v ?? - _$NavigationEntry_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'NavigationEntry_Order', 'data'), - $int: $int, - string: string); + new _$FilesSharingCapabilities_FilesSharing_Sharee._( + queryLookupDefault: BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, + r'FilesSharingCapabilities_FilesSharing_Sharee', + 'queryLookupDefault'), + alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, + r'FilesSharingCapabilities_FilesSharing_Sharee', + 'alwaysShowUnique')); replace(_$result); return _$result; } } -abstract mixin class NavigationEntryInterfaceBuilder { - void replace(NavigationEntryInterface other); - void update(void Function(NavigationEntryInterfaceBuilder) updates); - String? get id; - set id(String? id); +abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { + void replace(FilesSharingCapabilities_FilesSharingInterface other); + void update( + void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) + updates); + bool? get apiEnabled; + set apiEnabled(bool? apiEnabled); - NavigationEntry_OrderBuilder get order; - set order(NavigationEntry_OrderBuilder? order); + FilesSharingCapabilities_FilesSharing_PublicBuilder get public; + set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); - String? get href; - set href(String? href); + FilesSharingCapabilities_FilesSharing_UserBuilder get user; + set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); - String? get icon; - set icon(String? icon); + bool? get resharing; + set resharing(bool? resharing); - String? get type; - set type(String? type); + bool? get groupSharing; + set groupSharing(bool? groupSharing); - String? get name; - set name(String? name); + FilesSharingCapabilities_FilesSharing_GroupBuilder get group; + set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); - bool? get active; - set active(bool? active); + int? get defaultPermissions; + set defaultPermissions(int? defaultPermissions); - String? get classes; - set classes(String? classes); + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; + set federation( + FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); - int? get unread; - set unread(int? unread); + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; + set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); } -class _$NavigationEntry extends NavigationEntry { +class _$FilesSharingCapabilities_FilesSharing + extends FilesSharingCapabilities_FilesSharing { @override - final String id; + final bool apiEnabled; @override - final NavigationEntry_Order order; + final FilesSharingCapabilities_FilesSharing_Public public; @override - final String href; + final FilesSharingCapabilities_FilesSharing_User user; @override - final String icon; + final bool resharing; @override - final String type; + final bool? groupSharing; @override - final String name; + final FilesSharingCapabilities_FilesSharing_Group? group; @override - final bool active; + final int? defaultPermissions; @override - final String classes; + final FilesSharingCapabilities_FilesSharing_Federation federation; @override - final int unread; + final FilesSharingCapabilities_FilesSharing_Sharee sharee; - factory _$NavigationEntry([void Function(NavigationEntryBuilder)? updates]) => - (NavigationEntryBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities_FilesSharing( + [void Function(FilesSharingCapabilities_FilesSharingBuilder)? + updates]) => + (new FilesSharingCapabilities_FilesSharingBuilder()..update(updates)) + ._build(); - _$NavigationEntry._( - {required this.id, - required this.order, - required this.href, - required this.icon, - required this.type, - required this.name, - required this.active, - required this.classes, - required this.unread}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'NavigationEntry', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread'); + _$FilesSharingCapabilities_FilesSharing._( + {required this.apiEnabled, + required this.public, + required this.user, + required this.resharing, + this.groupSharing, + this.group, + this.defaultPermissions, + required this.federation, + required this.sharee}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); + BuiltValueNullFieldError.checkNotNull( + public, r'FilesSharingCapabilities_FilesSharing', 'public'); + BuiltValueNullFieldError.checkNotNull( + user, r'FilesSharingCapabilities_FilesSharing', 'user'); + BuiltValueNullFieldError.checkNotNull( + resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); + BuiltValueNullFieldError.checkNotNull( + federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); + BuiltValueNullFieldError.checkNotNull( + sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); } @override - NavigationEntry rebuild(void Function(NavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); + FilesSharingCapabilities_FilesSharing rebuild( + void Function(FilesSharingCapabilities_FilesSharingBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - NavigationEntryBuilder toBuilder() => NavigationEntryBuilder()..replace(this); + FilesSharingCapabilities_FilesSharingBuilder toBuilder() => + new FilesSharingCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationEntry && - id == other.id && - order == other.order && - href == other.href && - icon == other.icon && - type == other.type && - name == other.name && - active == other.active && - classes == other.classes && - unread == other.unread; + return other is FilesSharingCapabilities_FilesSharing && + apiEnabled == other.apiEnabled && + public == other.public && + user == other.user && + resharing == other.resharing && + groupSharing == other.groupSharing && + group == other.group && + defaultPermissions == other.defaultPermissions && + federation == other.federation && + sharee == other.sharee; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, order.hashCode); - _$hash = $jc(_$hash, href.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, type.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, active.hashCode); - _$hash = $jc(_$hash, classes.hashCode); - _$hash = $jc(_$hash, unread.hashCode); + _$hash = $jc(_$hash, apiEnabled.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, user.hashCode); + _$hash = $jc(_$hash, resharing.hashCode); + _$hash = $jc(_$hash, groupSharing.hashCode); + _$hash = $jc(_$hash, group.hashCode); + _$hash = $jc(_$hash, defaultPermissions.hashCode); + _$hash = $jc(_$hash, federation.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationEntry') - ..add('id', id) - ..add('order', order) - ..add('href', href) - ..add('icon', icon) - ..add('type', type) - ..add('name', name) - ..add('active', active) - ..add('classes', classes) - ..add('unread', unread)) + return (newBuiltValueToStringHelper( + r'FilesSharingCapabilities_FilesSharing') + ..add('apiEnabled', apiEnabled) + ..add('public', public) + ..add('user', user) + ..add('resharing', resharing) + ..add('groupSharing', groupSharing) + ..add('group', group) + ..add('defaultPermissions', defaultPermissions) + ..add('federation', federation) + ..add('sharee', sharee)) .toString(); } } -class NavigationEntryBuilder - implements Builder, NavigationEntryInterfaceBuilder { - _$NavigationEntry? _$v; +class FilesSharingCapabilities_FilesSharingBuilder + implements + Builder, + FilesSharingCapabilities_FilesSharingInterfaceBuilder { + _$FilesSharingCapabilities_FilesSharing? _$v; - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - NavigationEntry_OrderBuilder? _order; - NavigationEntry_OrderBuilder get order => _$this._order ??= NavigationEntry_OrderBuilder(); - set order(covariant NavigationEntry_OrderBuilder? order) => _$this._order = order; + FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; + FilesSharingCapabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= + new FilesSharingCapabilities_FilesSharing_PublicBuilder(); + set public( + covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? + public) => + _$this._public = public; - String? _href; - String? get href => _$this._href; - set href(covariant String? href) => _$this._href = href; + FilesSharingCapabilities_FilesSharing_UserBuilder? _user; + FilesSharingCapabilities_FilesSharing_UserBuilder get user => + _$this._user ??= new FilesSharingCapabilities_FilesSharing_UserBuilder(); + set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => + _$this._user = user; - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(covariant bool? resharing) => _$this._resharing = resharing; - String? _type; - String? get type => _$this._type; - set type(covariant String? type) => _$this._type = type; + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(covariant bool? groupSharing) => + _$this._groupSharing = groupSharing; - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; + FilesSharingCapabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= + new FilesSharingCapabilities_FilesSharing_GroupBuilder(); + set group( + covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? + group) => + _$this._group = group; - bool? _active; - bool? get active => _$this._active; - set active(covariant bool? active) => _$this._active = active; + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(covariant int? defaultPermissions) => + _$this._defaultPermissions = defaultPermissions; - String? _classes; - String? get classes => _$this._classes; - set classes(covariant String? classes) => _$this._classes = classes; + FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => + _$this._federation ??= + new FilesSharingCapabilities_FilesSharing_FederationBuilder(); + set federation( + covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? + federation) => + _$this._federation = federation; - int? _unread; - int? get unread => _$this._unread; - set unread(covariant int? unread) => _$this._unread = unread; + FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= + new FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + set sharee( + covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? + sharee) => + _$this._sharee = sharee; - NavigationEntryBuilder(); + FilesSharingCapabilities_FilesSharingBuilder(); - NavigationEntryBuilder get _$this { + FilesSharingCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _order = $v.order.toBuilder(); - _href = $v.href; - _icon = $v.icon; - _type = $v.type; - _name = $v.name; - _active = $v.active; - _classes = $v.classes; - _unread = $v.unread; + _apiEnabled = $v.apiEnabled; + _public = $v.public.toBuilder(); + _user = $v.user.toBuilder(); + _resharing = $v.resharing; + _groupSharing = $v.groupSharing; + _group = $v.group?.toBuilder(); + _defaultPermissions = $v.defaultPermissions; + _federation = $v.federation.toBuilder(); + _sharee = $v.sharee.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationEntry other) { + void replace(covariant FilesSharingCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationEntry; + _$v = other as _$FilesSharingCapabilities_FilesSharing; } @override - void update(void Function(NavigationEntryBuilder)? updates) { + void update( + void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationEntry build() => _build(); + FilesSharingCapabilities_FilesSharing build() => _build(); - _$NavigationEntry _build() { - _$NavigationEntry _$result; + _$FilesSharingCapabilities_FilesSharing _build() { + _$FilesSharingCapabilities_FilesSharing _$result; try { _$result = _$v ?? - _$NavigationEntry._( - id: BuiltValueNullFieldError.checkNotNull(id, r'NavigationEntry', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'NavigationEntry', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'NavigationEntry', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'NavigationEntry', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'NavigationEntry', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'NavigationEntry', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'NavigationEntry', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'NavigationEntry', 'unread')); + new _$FilesSharingCapabilities_FilesSharing._( + apiEnabled: BuiltValueNullFieldError.checkNotNull(apiEnabled, + r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), + public: public.build(), + user: user.build(), + resharing: BuiltValueNullFieldError.checkNotNull(resharing, + r'FilesSharingCapabilities_FilesSharing', 'resharing'), + groupSharing: groupSharing, + group: _group?.build(), + defaultPermissions: defaultPermissions, + federation: federation.build(), + sharee: sharee.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'order'; - order.build(); + _$failedField = 'public'; + public.build(); + _$failedField = 'user'; + user.build(); + + _$failedField = 'group'; + _group?.build(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NavigationEntry', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing', + _$failedField, + e.toString()); } rethrow; } @@ -13285,121 +15904,111 @@ class NavigationEntryBuilder } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { + void replace(FilesSharingCapabilitiesInterface other); + void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); + FilesSharingCapabilities_FilesSharingBuilder get filesSharing; + set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); } -class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs - extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$FilesSharingCapabilities extends FilesSharingCapabilities { @override - final BuiltList data; + final FilesSharingCapabilities_FilesSharing filesSharing; - factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesSharingCapabilities( + [void Function(FilesSharingCapabilitiesBuilder)? updates]) => + (new FilesSharingCapabilitiesBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); + _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull( + filesSharing, r'FilesSharingCapabilities', 'filesSharing'); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) updates) => + FilesSharingCapabilities rebuild( + void Function(FilesSharingCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + FilesSharingCapabilitiesBuilder toBuilder() => + new FilesSharingCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is FilesSharingCapabilities && + filesSharing == other.filesSharing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities') + ..add('filesSharing', filesSharing)) .toString(); } } -class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder +class FilesSharingCapabilitiesBuilder implements - Builder, - NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + FilesSharingCapabilitiesInterfaceBuilder { + _$FilesSharingCapabilities? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; + FilesSharingCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= + new FilesSharingCapabilities_FilesSharingBuilder(); + set filesSharing( + covariant FilesSharingCapabilities_FilesSharingBuilder? + filesSharing) => + _$this._filesSharing = filesSharing; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + FilesSharingCapabilitiesBuilder(); - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { + FilesSharingCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant FilesSharingCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; + _$v = other as _$FilesSharingCapabilities; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); + FilesSharingCapabilities build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; + _$FilesSharingCapabilities _build() { + _$FilesSharingCapabilities _$result; try { - _$result = - _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'filesSharing'; + filesSharing.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesSharingCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13408,229 +16017,206 @@ class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder } } -abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetAppsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { + void replace(FilesTrashbinCapabilities_FilesInterface other); + void update( + void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); + bool? get undelete; + set undelete(bool? undelete); } -class _$NavigationGetAppsNavigationResponseApplicationJson extends NavigationGetAppsNavigationResponseApplicationJson { +class _$FilesTrashbinCapabilities_Files + extends FilesTrashbinCapabilities_Files { @override - final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; + final bool undelete; - factory _$NavigationGetAppsNavigationResponseApplicationJson( - [void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetAppsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities_Files( + [void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => + (new FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); - _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); + _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { + BuiltValueNullFieldError.checkNotNull( + undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); } @override - NavigationGetAppsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder) updates) => + FilesTrashbinCapabilities_Files rebuild( + void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetAppsNavigationResponseApplicationJsonBuilder()..replace(this); + FilesTrashbinCapabilities_FilesBuilder toBuilder() => + new FilesTrashbinCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetAppsNavigationResponseApplicationJson && ocs == other.ocs; + return other is FilesTrashbinCapabilities_Files && + undelete == other.undelete; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, undelete.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetAppsNavigationResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files') + ..add('undelete', undelete)) .toString(); } } -class NavigationGetAppsNavigationResponseApplicationJsonBuilder +class FilesTrashbinCapabilities_FilesBuilder implements - Builder, - NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetAppsNavigationResponseApplicationJson? _$v; + Builder, + FilesTrashbinCapabilities_FilesInterfaceBuilder { + _$FilesTrashbinCapabilities_Files? _$v; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _undelete; + bool? get undelete => _$this._undelete; + set undelete(covariant bool? undelete) => _$this._undelete = undelete; - NavigationGetAppsNavigationResponseApplicationJsonBuilder(); + FilesTrashbinCapabilities_FilesBuilder(); - NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { + FilesTrashbinCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _undelete = $v.undelete; _$v = null; } return this; } @override - void replace(covariant NavigationGetAppsNavigationResponseApplicationJson other) { + void replace(covariant FilesTrashbinCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; + _$v = other as _$FilesTrashbinCapabilities_Files; } @override - void update(void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetAppsNavigationResponseApplicationJson build() => _build(); + FilesTrashbinCapabilities_Files build() => _build(); - _$NavigationGetAppsNavigationResponseApplicationJson _build() { - _$NavigationGetAppsNavigationResponseApplicationJson _$result; - try { - _$result = _$v ?? _$NavigationGetAppsNavigationResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetAppsNavigationResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesTrashbinCapabilities_Files _build() { + final _$result = _$v ?? + new _$FilesTrashbinCapabilities_Files._( + undelete: BuiltValueNullFieldError.checkNotNull( + undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); replace(_$result); return _$result; } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { + void replace(FilesTrashbinCapabilitiesInterface other); + void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); + FilesTrashbinCapabilities_FilesBuilder get files; + set files(FilesTrashbinCapabilities_FilesBuilder? files); } -class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs - extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { @override - final BuiltList data; + final FilesTrashbinCapabilities_Files files; - factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( - [void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$FilesTrashbinCapabilities( + [void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => + (new FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); + _$FilesTrashbinCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull( + files, r'FilesTrashbinCapabilities', 'files'); } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) updates) => + FilesTrashbinCapabilities rebuild( + void Function(FilesTrashbinCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder()..replace(this); + FilesTrashbinCapabilitiesBuilder toBuilder() => + new FilesTrashbinCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is FilesTrashbinCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities') + ..add('files', files)) .toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder +class FilesTrashbinCapabilitiesBuilder implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + FilesTrashbinCapabilitiesInterfaceBuilder { + _$FilesTrashbinCapabilities? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + FilesTrashbinCapabilities_FilesBuilder? _files; + FilesTrashbinCapabilities_FilesBuilder get files => + _$this._files ??= new FilesTrashbinCapabilities_FilesBuilder(); + set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => + _$this._files = files; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + FilesTrashbinCapabilitiesBuilder(); - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { + FilesTrashbinCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs other) { + void replace(covariant FilesTrashbinCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; + _$v = other as _$FilesTrashbinCapabilities; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => _build(); + FilesTrashbinCapabilities build() => _build(); - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; + _$FilesTrashbinCapabilities _build() { + _$FilesTrashbinCapabilities _$result; try { - _$result = - _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? new _$FilesTrashbinCapabilities._(files: files.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'files'; + files.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'FilesTrashbinCapabilities', _$failedField, e.toString()); } rethrow; } @@ -13639,436 +16225,477 @@ class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder } } -abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - void replace(NavigationGetSettingsNavigationResponseApplicationJsonInterface other); - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) updates); - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; - set ocs(NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { + void replace(FilesVersionsCapabilities_FilesInterface other); + void update( + void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); + bool? get versioning; + set versioning(bool? versioning); + + bool? get versionLabeling; + set versionLabeling(bool? versionLabeling); + + bool? get versionDeletion; + set versionDeletion(bool? versionDeletion); } -class _$NavigationGetSettingsNavigationResponseApplicationJson - extends NavigationGetSettingsNavigationResponseApplicationJson { +class _$FilesVersionsCapabilities_Files + extends FilesVersionsCapabilities_Files { @override - final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; + final bool versioning; + @override + final bool versionLabeling; + @override + final bool versionDeletion; - factory _$NavigationGetSettingsNavigationResponseApplicationJson( - [void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates]) => - (NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities_Files( + [void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => + (new FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); - _$NavigationGetSettingsNavigationResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); + _$FilesVersionsCapabilities_Files._( + {required this.versioning, + required this.versionLabeling, + required this.versionDeletion}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + versioning, r'FilesVersionsCapabilities_Files', 'versioning'); + BuiltValueNullFieldError.checkNotNull( + versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); + BuiltValueNullFieldError.checkNotNull( + versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); } @override - NavigationGetSettingsNavigationResponseApplicationJson rebuild( - void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder) updates) => + FilesVersionsCapabilities_Files rebuild( + void Function(FilesVersionsCapabilities_FilesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => - NavigationGetSettingsNavigationResponseApplicationJsonBuilder()..replace(this); + FilesVersionsCapabilities_FilesBuilder toBuilder() => + new FilesVersionsCapabilities_FilesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NavigationGetSettingsNavigationResponseApplicationJson && ocs == other.ocs; + return other is FilesVersionsCapabilities_Files && + versioning == other.versioning && + versionLabeling == other.versionLabeling && + versionDeletion == other.versionDeletion; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, versioning.hashCode); + _$hash = $jc(_$hash, versionLabeling.hashCode); + _$hash = $jc(_$hash, versionDeletion.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NavigationGetSettingsNavigationResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') + ..add('versioning', versioning) + ..add('versionLabeling', versionLabeling) + ..add('versionDeletion', versionDeletion)) .toString(); } } -class NavigationGetSettingsNavigationResponseApplicationJsonBuilder +class FilesVersionsCapabilities_FilesBuilder implements - Builder, - NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { - _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; + Builder, + FilesVersionsCapabilities_FilesInterfaceBuilder { + _$FilesVersionsCapabilities_Files? _$v; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; - NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); - set ocs(covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _versioning; + bool? get versioning => _$this._versioning; + set versioning(covariant bool? versioning) => _$this._versioning = versioning; - NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); + bool? _versionLabeling; + bool? get versionLabeling => _$this._versionLabeling; + set versionLabeling(covariant bool? versionLabeling) => + _$this._versionLabeling = versionLabeling; - NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { + bool? _versionDeletion; + bool? get versionDeletion => _$this._versionDeletion; + set versionDeletion(covariant bool? versionDeletion) => + _$this._versionDeletion = versionDeletion; + + FilesVersionsCapabilities_FilesBuilder(); + + FilesVersionsCapabilities_FilesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _versioning = $v.versioning; + _versionLabeling = $v.versionLabeling; + _versionDeletion = $v.versionDeletion; _$v = null; } return this; } @override - void replace(covariant NavigationGetSettingsNavigationResponseApplicationJson other) { + void replace(covariant FilesVersionsCapabilities_Files other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; + _$v = other as _$FilesVersionsCapabilities_Files; } @override - void update(void Function(NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? updates) { + void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { if (updates != null) updates(this); } @override - NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); + FilesVersionsCapabilities_Files build() => _build(); - _$NavigationGetSettingsNavigationResponseApplicationJson _build() { - _$NavigationGetSettingsNavigationResponseApplicationJson _$result; - try { - _$result = _$v ?? _$NavigationGetSettingsNavigationResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'NavigationGetSettingsNavigationResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$FilesVersionsCapabilities_Files _build() { + final _$result = _$v ?? + new _$FilesVersionsCapabilities_Files._( + versioning: BuiltValueNullFieldError.checkNotNull( + versioning, r'FilesVersionsCapabilities_Files', 'versioning'), + versionLabeling: BuiltValueNullFieldError.checkNotNull( + versionLabeling, + r'FilesVersionsCapabilities_Files', + 'versionLabeling'), + versionDeletion: BuiltValueNullFieldError.checkNotNull( + versionDeletion, + r'FilesVersionsCapabilities_Files', + 'versionDeletion')); replace(_$result); return _$result; } } -abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { - void replace(OcmOcmDiscoveryHeadersInterface other); - void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); - bool? get xNextcloudOcmProviders; - set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); +abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { + void replace(FilesVersionsCapabilitiesInterface other); + void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); + FilesVersionsCapabilities_FilesBuilder get files; + set files(FilesVersionsCapabilities_FilesBuilder? files); } -class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { +class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { @override - final bool? xNextcloudOcmProviders; + final FilesVersionsCapabilities_Files files; - factory _$OcmOcmDiscoveryHeaders([void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => - (OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); + factory _$FilesVersionsCapabilities( + [void Function(FilesVersionsCapabilitiesBuilder)? updates]) => + (new FilesVersionsCapabilitiesBuilder()..update(updates))._build(); - _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); + _$FilesVersionsCapabilities._({required this.files}) : super._() { + BuiltValueNullFieldError.checkNotNull( + files, r'FilesVersionsCapabilities', 'files'); + } @override - OcmOcmDiscoveryHeaders rebuild(void Function(OcmOcmDiscoveryHeadersBuilder) updates) => + FilesVersionsCapabilities rebuild( + void Function(FilesVersionsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmOcmDiscoveryHeadersBuilder toBuilder() => OcmOcmDiscoveryHeadersBuilder()..replace(this); + FilesVersionsCapabilitiesBuilder toBuilder() => + new FilesVersionsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmOcmDiscoveryHeaders && xNextcloudOcmProviders == other.xNextcloudOcmProviders; + return other is FilesVersionsCapabilities && files == other.files; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); + _$hash = $jc(_$hash, files.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') - ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) + return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities') + ..add('files', files)) .toString(); } } -class OcmOcmDiscoveryHeadersBuilder - implements Builder, OcmOcmDiscoveryHeadersInterfaceBuilder { - _$OcmOcmDiscoveryHeaders? _$v; +class FilesVersionsCapabilitiesBuilder + implements + Builder, + FilesVersionsCapabilitiesInterfaceBuilder { + _$FilesVersionsCapabilities? _$v; - bool? _xNextcloudOcmProviders; - bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; - set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => - _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; + FilesVersionsCapabilities_FilesBuilder? _files; + FilesVersionsCapabilities_FilesBuilder get files => + _$this._files ??= new FilesVersionsCapabilities_FilesBuilder(); + set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => + _$this._files = files; - OcmOcmDiscoveryHeadersBuilder(); + FilesVersionsCapabilitiesBuilder(); - OcmOcmDiscoveryHeadersBuilder get _$this { + FilesVersionsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; + _files = $v.files.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmOcmDiscoveryHeaders other) { + void replace(covariant FilesVersionsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmOcmDiscoveryHeaders; + _$v = other as _$FilesVersionsCapabilities; } @override - void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { + void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - OcmOcmDiscoveryHeaders build() => _build(); + FilesVersionsCapabilities build() => _build(); - _$OcmOcmDiscoveryHeaders _build() { - final _$result = _$v ?? _$OcmOcmDiscoveryHeaders._(xNextcloudOcmProviders: xNextcloudOcmProviders); + _$FilesVersionsCapabilities _build() { + _$FilesVersionsCapabilities _$result; + try { + _$result = _$v ?? new _$FilesVersionsCapabilities._(files: files.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'files'; + files.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'FilesVersionsCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) updates); - String? get webdav; - set webdav(String? webdav); +abstract mixin class NotesCapabilities_NotesInterfaceBuilder { + void replace(NotesCapabilities_NotesInterface other); + void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); + ListBuilder get apiVersion; + set apiVersion(ListBuilder? apiVersion); + + String? get version; + set version(String? version); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols - extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { +class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { @override - final String webdav; + final BuiltList? apiVersion; + @override + final String? version; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); + factory _$NotesCapabilities_Notes( + [void Function(NotesCapabilities_NotesBuilder)? updates]) => + (new NotesCapabilities_NotesBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._({required this.webdav}) : super._() { - BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav'); - } + _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) updates) => + NotesCapabilities_Notes rebuild( + void Function(NotesCapabilities_NotesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder()..replace(this); + NotesCapabilities_NotesBuilder toBuilder() => + new NotesCapabilities_NotesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && webdav == other.webdav; + return other is NotesCapabilities_Notes && + apiVersion == other.apiVersion && + version == other.version; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, webdav.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') - ..add('webdav', webdav)) + return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) .toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder +class NotesCapabilities_NotesBuilder implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; + Builder, + NotesCapabilities_NotesInterfaceBuilder { + _$NotesCapabilities_Notes? _$v; - String? _webdav; - String? get webdav => _$this._webdav; - set webdav(covariant String? webdav) => _$this._webdav = webdav; + ListBuilder? _apiVersion; + ListBuilder get apiVersion => + _$this._apiVersion ??= new ListBuilder(); + set apiVersion(covariant ListBuilder? apiVersion) => + _$this._apiVersion = apiVersion; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; + + NotesCapabilities_NotesBuilder(); - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get _$this { + NotesCapabilities_NotesBuilder get _$this { final $v = _$v; if ($v != null) { - _webdav = $v.webdav; + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols other) { + void replace(covariant NotesCapabilities_Notes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; + _$v = other as _$NotesCapabilities_Notes; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? updates) { + void update(void Function(NotesCapabilities_NotesBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => _build(); + NotesCapabilities_Notes build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { - final _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( - webdav: BuiltValueNullFieldError.checkNotNull( - webdav, r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', 'webdav')); + _$NotesCapabilities_Notes _build() { + _$NotesCapabilities_Notes _$result; + try { + _$result = _$v ?? + new _$NotesCapabilities_Notes._( + apiVersion: _apiVersion?.build(), version: version); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'apiVersion'; + _apiVersion?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'NotesCapabilities_Notes', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) updates); - String? get name; - set name(String? name); - - ListBuilder get shareTypes; - set shareTypes(ListBuilder? shareTypes); - - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols; - set protocols(OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols); +abstract mixin class NotesCapabilitiesInterfaceBuilder { + void replace(NotesCapabilitiesInterface other); + void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); + NotesCapabilities_NotesBuilder get notes; + set notes(NotesCapabilities_NotesBuilder? notes); } -class _$OcmDiscoveryResponseApplicationJson_ResourceTypes extends OcmDiscoveryResponseApplicationJson_ResourceTypes { - @override - final String name; - @override - final BuiltList shareTypes; +class _$NotesCapabilities extends NotesCapabilities { @override - final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; + final NotesCapabilities_Notes notes; - factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( - [void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..update(updates))._build(); + factory _$NotesCapabilities( + [void Function(NotesCapabilitiesBuilder)? updates]) => + (new NotesCapabilitiesBuilder()..update(updates))._build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - {required this.name, required this.shareTypes, required this.protocols}) - : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); - BuiltValueNullFieldError.checkNotNull( - shareTypes, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); - BuiltValueNullFieldError.checkNotNull(protocols, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); + _$NotesCapabilities._({required this.notes}) : super._() { + BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( - void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) updates) => + NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder()..replace(this); + NotesCapabilitiesBuilder toBuilder() => + new NotesCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && - name == other.name && - shareTypes == other.shareTypes && - protocols == other.protocols; + return other is NotesCapabilities && notes == other.notes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, shareTypes.hashCode); - _$hash = $jc(_$hash, protocols.hashCode); + _$hash = $jc(_$hash, notes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson_ResourceTypes') - ..add('name', name) - ..add('shareTypes', shareTypes) - ..add('protocols', protocols)) + return (newBuiltValueToStringHelper(r'NotesCapabilities') + ..add('notes', notes)) .toString(); } } -class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder +class NotesCapabilitiesBuilder implements - Builder, - OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - ListBuilder? _shareTypes; - ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); - set shareTypes(covariant ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; + Builder, + NotesCapabilitiesInterfaceBuilder { + _$NotesCapabilities? _$v; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? _protocols; - OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder get protocols => - _$this._protocols ??= OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - set protocols(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? protocols) => - _$this._protocols = protocols; + NotesCapabilities_NotesBuilder? _notes; + NotesCapabilities_NotesBuilder get notes => + _$this._notes ??= new NotesCapabilities_NotesBuilder(); + set notes(covariant NotesCapabilities_NotesBuilder? notes) => + _$this._notes = notes; - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); + NotesCapabilitiesBuilder(); - OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { + NotesCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _shareTypes = $v.shareTypes.toBuilder(); - _protocols = $v.protocols.toBuilder(); + _notes = $v.notes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { + void replace(covariant NotesCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; + _$v = other as _$NotesCapabilities; } @override - void update(void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? updates) { + void update(void Function(NotesCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); + NotesCapabilities build() => _build(); - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { - _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; + _$NotesCapabilities _build() { + _$NotesCapabilities _$result; try { - _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( - name: BuiltValueNullFieldError.checkNotNull( - name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), - shareTypes: shareTypes.build(), - protocols: protocols.build()); + _$result = _$v ?? new _$NotesCapabilities._(notes: notes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'shareTypes'; - shareTypes.build(); - _$failedField = 'protocols'; - protocols.build(); + _$failedField = 'notes'; + notes.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcmDiscoveryResponseApplicationJson_ResourceTypes', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NotesCapabilities', _$failedField, e.toString()); } rethrow; } @@ -14077,154 +16704,162 @@ class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder } } -abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - void replace(OcmDiscoveryResponseApplicationJsonInterface other); - void update(void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - String? get apiVersion; - set apiVersion(String? apiVersion); +abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { + void replace(NotificationsCapabilities_NotificationsInterface other); + void update( + void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) + updates); + ListBuilder get ocsEndpoints; + set ocsEndpoints(ListBuilder? ocsEndpoints); - String? get endPoint; - set endPoint(String? endPoint); + ListBuilder get push; + set push(ListBuilder? push); - ListBuilder get resourceTypes; - set resourceTypes(ListBuilder? resourceTypes); + ListBuilder get adminNotifications; + set adminNotifications(ListBuilder? adminNotifications); } -class _$OcmDiscoveryResponseApplicationJson extends OcmDiscoveryResponseApplicationJson { - @override - final bool enabled; +class _$NotificationsCapabilities_Notifications + extends NotificationsCapabilities_Notifications { @override - final String apiVersion; + final BuiltList ocsEndpoints; @override - final String endPoint; + final BuiltList push; @override - final BuiltList resourceTypes; + final BuiltList adminNotifications; - factory _$OcmDiscoveryResponseApplicationJson([void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates]) => - (OcmDiscoveryResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities_Notifications( + [void Function(NotificationsCapabilities_NotificationsBuilder)? + updates]) => + (new NotificationsCapabilities_NotificationsBuilder()..update(updates)) + ._build(); - _$OcmDiscoveryResponseApplicationJson._( - {required this.enabled, required this.apiVersion, required this.endPoint, required this.resourceTypes}) + _$NotificationsCapabilities_Notifications._( + {required this.ocsEndpoints, + required this.push, + required this.adminNotifications}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); - BuiltValueNullFieldError.checkNotNull(apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); - BuiltValueNullFieldError.checkNotNull(resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); + BuiltValueNullFieldError.checkNotNull(ocsEndpoints, + r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); + BuiltValueNullFieldError.checkNotNull( + push, r'NotificationsCapabilities_Notifications', 'push'); + BuiltValueNullFieldError.checkNotNull(adminNotifications, + r'NotificationsCapabilities_Notifications', 'adminNotifications'); } @override - OcmDiscoveryResponseApplicationJson rebuild(void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => + NotificationsCapabilities_Notifications rebuild( + void Function(NotificationsCapabilities_NotificationsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); + NotificationsCapabilities_NotificationsBuilder toBuilder() => + new NotificationsCapabilities_NotificationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcmDiscoveryResponseApplicationJson && - enabled == other.enabled && - apiVersion == other.apiVersion && - endPoint == other.endPoint && - resourceTypes == other.resourceTypes; + return other is NotificationsCapabilities_Notifications && + ocsEndpoints == other.ocsEndpoints && + push == other.push && + adminNotifications == other.adminNotifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, endPoint.hashCode); - _$hash = $jc(_$hash, resourceTypes.hashCode); + _$hash = $jc(_$hash, ocsEndpoints.hashCode); + _$hash = $jc(_$hash, push.hashCode); + _$hash = $jc(_$hash, adminNotifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') - ..add('enabled', enabled) - ..add('apiVersion', apiVersion) - ..add('endPoint', endPoint) - ..add('resourceTypes', resourceTypes)) + return (newBuiltValueToStringHelper( + r'NotificationsCapabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) .toString(); } } -class OcmDiscoveryResponseApplicationJsonBuilder +class NotificationsCapabilities_NotificationsBuilder implements - Builder, - OcmDiscoveryResponseApplicationJsonInterfaceBuilder { - _$OcmDiscoveryResponseApplicationJson? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + NotificationsCapabilities_NotificationsInterfaceBuilder { + _$NotificationsCapabilities_Notifications? _$v; - String? _apiVersion; - String? get apiVersion => _$this._apiVersion; - set apiVersion(covariant String? apiVersion) => _$this._apiVersion = apiVersion; + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => + _$this._ocsEndpoints ??= new ListBuilder(); + set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => + _$this._ocsEndpoints = ocsEndpoints; - String? _endPoint; - String? get endPoint => _$this._endPoint; - set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; + ListBuilder? _push; + ListBuilder get push => _$this._push ??= new ListBuilder(); + set push(covariant ListBuilder? push) => _$this._push = push; - ListBuilder? _resourceTypes; - ListBuilder get resourceTypes => - _$this._resourceTypes ??= ListBuilder(); - set resourceTypes(covariant ListBuilder? resourceTypes) => - _$this._resourceTypes = resourceTypes; + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => + _$this._adminNotifications ??= new ListBuilder(); + set adminNotifications(covariant ListBuilder? adminNotifications) => + _$this._adminNotifications = adminNotifications; - OcmDiscoveryResponseApplicationJsonBuilder(); + NotificationsCapabilities_NotificationsBuilder(); - OcmDiscoveryResponseApplicationJsonBuilder get _$this { + NotificationsCapabilities_NotificationsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _apiVersion = $v.apiVersion; - _endPoint = $v.endPoint; - _resourceTypes = $v.resourceTypes.toBuilder(); + _ocsEndpoints = $v.ocsEndpoints.toBuilder(); + _push = $v.push.toBuilder(); + _adminNotifications = $v.adminNotifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcmDiscoveryResponseApplicationJson other) { + void replace(covariant NotificationsCapabilities_Notifications other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcmDiscoveryResponseApplicationJson; + _$v = other as _$NotificationsCapabilities_Notifications; } @override - void update(void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { + void update( + void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { if (updates != null) updates(this); } @override - OcmDiscoveryResponseApplicationJson build() => _build(); + NotificationsCapabilities_Notifications build() => _build(); - _$OcmDiscoveryResponseApplicationJson _build() { - _$OcmDiscoveryResponseApplicationJson _$result; + _$NotificationsCapabilities_Notifications _build() { + _$NotificationsCapabilities_Notifications _$result; try { _$result = _$v ?? - _$OcmDiscoveryResponseApplicationJson._( - enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), - apiVersion: BuiltValueNullFieldError.checkNotNull( - apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), - endPoint: - BuiltValueNullFieldError.checkNotNull(endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), - resourceTypes: resourceTypes.build()); + new _$NotificationsCapabilities_Notifications._( + ocsEndpoints: ocsEndpoints.build(), + push: push.build(), + adminNotifications: adminNotifications.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resourceTypes'; - resourceTypes.build(); + _$failedField = 'ocsEndpoints'; + ocsEndpoints.build(); + _$failedField = 'push'; + push.build(); + _$failedField = 'adminNotifications'; + adminNotifications.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'OcmDiscoveryResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NotificationsCapabilities_Notifications', + _$failedField, + e.toString()); } rethrow; } @@ -14233,375 +16868,426 @@ class OcmDiscoveryResponseApplicationJsonBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) updates); - int? get major; - set major(int? major); - - int? get minor; - set minor(int? minor); - - int? get micro; - set micro(int? micro); - - String? get string; - set string(String? string); - - String? get edition; - set edition(String? edition); - - bool? get extendedSupport; - set extendedSupport(bool? extendedSupport); +abstract mixin class NotificationsCapabilitiesInterfaceBuilder { + void replace(NotificationsCapabilitiesInterface other); + void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); + NotificationsCapabilities_NotificationsBuilder get notifications; + set notifications( + NotificationsCapabilities_NotificationsBuilder? notifications); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version - extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { - @override - final int major; - @override - final int minor; - @override - final int micro; - @override - final String string; - @override - final String edition; +class _$NotificationsCapabilities extends NotificationsCapabilities { @override - final bool extendedSupport; + final NotificationsCapabilities_Notifications notifications; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$NotificationsCapabilities( + [void Function(NotificationsCapabilitiesBuilder)? updates]) => + (new NotificationsCapabilitiesBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - {required this.major, - required this.minor, - required this.micro, - required this.string, - required this.edition, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); - BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); - BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); - BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'); - BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'); + _$NotificationsCapabilities._({required this.notifications}) : super._() { BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport'); + notifications, r'NotificationsCapabilities', 'notifications'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) updates) => + NotificationsCapabilities rebuild( + void Function(NotificationsCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder()..replace(this); + NotificationsCapabilitiesBuilder toBuilder() => + new NotificationsCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is NotificationsCapabilities && + notifications == other.notifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, major.hashCode); - _$hash = $jc(_$hash, minor.hashCode); - _$hash = $jc(_$hash, micro.hashCode); - _$hash = $jc(_$hash, string.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, notifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'NotificationsCapabilities') + ..add('notifications', notifications)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder +class NotificationsCapabilitiesBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(covariant int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(covariant int? minor) => _$this._minor = minor; - - int? _micro; - int? get micro => _$this._micro; - set micro(covariant int? micro) => _$this._micro = micro; - - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; - - String? _edition; - String? get edition => _$this._edition; - set edition(covariant String? edition) => _$this._edition = edition; + Builder, + NotificationsCapabilitiesInterfaceBuilder { + _$NotificationsCapabilities? _$v; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(covariant bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + NotificationsCapabilities_NotificationsBuilder? _notifications; + NotificationsCapabilities_NotificationsBuilder get notifications => + _$this._notifications ??= + new NotificationsCapabilities_NotificationsBuilder(); + set notifications( + covariant NotificationsCapabilities_NotificationsBuilder? + notifications) => + _$this._notifications = notifications; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + NotificationsCapabilitiesBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { + NotificationsCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _major = $v.major; - _minor = $v.minor; - _micro = $v.micro; - _string = $v.string; - _edition = $v.edition; - _extendedSupport = $v.extendedSupport; + _notifications = $v.notifications.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version other) { + void replace(covariant NotificationsCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; + _$v = other as _$NotificationsCapabilities; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? updates) { + void update(void Function(NotificationsCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => _build(); + NotificationsCapabilities build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { - final _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( - major: BuiltValueNullFieldError.checkNotNull( - major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), - minor: BuiltValueNullFieldError.checkNotNull( - minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), - micro: BuiltValueNullFieldError.checkNotNull( - micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), - string: BuiltValueNullFieldError.checkNotNull( - string, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'string'), - edition: BuiltValueNullFieldError.checkNotNull( - edition, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'edition'), - extendedSupport: BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'extendedSupport')); + _$NotificationsCapabilities _build() { + _$NotificationsCapabilities _$result; + try { + _$result = _$v ?? + new _$NotificationsCapabilities._( + notifications: notifications.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'notifications'; + notifications.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'NotificationsCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilities_FilesInterfaceBuilder { - void replace(CommentsCapabilities_FilesInterface other); - void update(void Function(CommentsCapabilities_FilesInterfaceBuilder) updates); - bool? get comments; - set comments(bool? comments); +abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); + void update( + void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) + updates); + String? get version; + set version(String? version); + + int? get accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion); + + bool? get accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled( + bool? accountPropertyScopesFederatedEnabled); + + bool? get accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled( + bool? accountPropertyScopesPublishedEnabled); } -class _$CommentsCapabilities_Files extends CommentsCapabilities_Files { +class _$ProvisioningApiCapabilities_ProvisioningApi + extends ProvisioningApiCapabilities_ProvisioningApi { @override - final bool comments; + final String version; + @override + final int accountPropertyScopesVersion; + @override + final bool accountPropertyScopesFederatedEnabled; + @override + final bool accountPropertyScopesPublishedEnabled; - factory _$CommentsCapabilities_Files([void Function(CommentsCapabilities_FilesBuilder)? updates]) => - (CommentsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities_ProvisioningApi( + [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? + updates]) => + (new ProvisioningApiCapabilities_ProvisioningApiBuilder() + ..update(updates)) + ._build(); - _$CommentsCapabilities_Files._({required this.comments}) : super._() { - BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments'); + _$ProvisioningApiCapabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesVersion'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled'); } @override - CommentsCapabilities_Files rebuild(void Function(CommentsCapabilities_FilesBuilder) updates) => + ProvisioningApiCapabilities_ProvisioningApi rebuild( + void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilities_FilesBuilder toBuilder() => CommentsCapabilities_FilesBuilder()..replace(this); + ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => + new ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities_Files && comments == other.comments; + return other is ProvisioningApiCapabilities_ProvisioningApi && + version == other.version && + accountPropertyScopesVersion == other.accountPropertyScopesVersion && + accountPropertyScopesFederatedEnabled == + other.accountPropertyScopesFederatedEnabled && + accountPropertyScopesPublishedEnabled == + other.accountPropertyScopesPublishedEnabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, comments.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities_Files')..add('comments', comments)).toString(); + return (newBuiltValueToStringHelper( + r'ProvisioningApiCapabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', + accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', + accountPropertyScopesPublishedEnabled)) + .toString(); } } -class CommentsCapabilities_FilesBuilder +class ProvisioningApiCapabilities_ProvisioningApiBuilder implements - Builder, - CommentsCapabilities_FilesInterfaceBuilder { - _$CommentsCapabilities_Files? _$v; + Builder, + ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { + _$ProvisioningApiCapabilities_ProvisioningApi? _$v; - bool? _comments; - bool? get comments => _$this._comments; - set comments(covariant bool? comments) => _$this._comments = comments; + String? _version; + String? get version => _$this._version; + set version(covariant String? version) => _$this._version = version; - CommentsCapabilities_FilesBuilder(); + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion( + covariant int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - CommentsCapabilities_FilesBuilder get _$this { + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => + _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled( + covariant bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = + accountPropertyScopesFederatedEnabled; + + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => + _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled( + covariant bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = + accountPropertyScopesPublishedEnabled; + + ProvisioningApiCapabilities_ProvisioningApiBuilder(); + + ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { final $v = _$v; if ($v != null) { - _comments = $v.comments; + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = + $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = + $v.accountPropertyScopesPublishedEnabled; _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities_Files other) { + void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities_Files; + _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; } @override - void update(void Function(CommentsCapabilities_FilesBuilder)? updates) { + void update( + void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? + updates) { if (updates != null) updates(this); } @override - CommentsCapabilities_Files build() => _build(); + ProvisioningApiCapabilities_ProvisioningApi build() => _build(); - _$CommentsCapabilities_Files _build() { + _$ProvisioningApiCapabilities_ProvisioningApi _build() { final _$result = _$v ?? - _$CommentsCapabilities_Files._( - comments: BuiltValueNullFieldError.checkNotNull(comments, r'CommentsCapabilities_Files', 'comments')); + new _$ProvisioningApiCapabilities_ProvisioningApi._( + version: BuiltValueNullFieldError.checkNotNull(version, + r'ProvisioningApiCapabilities_ProvisioningApi', 'version'), + accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesVersion'), + accountPropertyScopesFederatedEnabled: + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'), + accountPropertyScopesPublishedEnabled: + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled')); replace(_$result); return _$result; } } -abstract mixin class CommentsCapabilitiesInterfaceBuilder { - void replace(CommentsCapabilitiesInterface other); - void update(void Function(CommentsCapabilitiesInterfaceBuilder) updates); - CommentsCapabilities_FilesBuilder get files; - set files(CommentsCapabilities_FilesBuilder? files); +abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { + void replace(ProvisioningApiCapabilitiesInterface other); + void update( + void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; + set provisioningApi( + ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); } -class _$CommentsCapabilities extends CommentsCapabilities { +class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { @override - final CommentsCapabilities_Files files; + final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; - factory _$CommentsCapabilities([void Function(CommentsCapabilitiesBuilder)? updates]) => - (CommentsCapabilitiesBuilder()..update(updates))._build(); + factory _$ProvisioningApiCapabilities( + [void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => + (new ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); - _$CommentsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'CommentsCapabilities', 'files'); + _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { + BuiltValueNullFieldError.checkNotNull( + provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); } @override - CommentsCapabilities rebuild(void Function(CommentsCapabilitiesBuilder) updates) => + ProvisioningApiCapabilities rebuild( + void Function(ProvisioningApiCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CommentsCapabilitiesBuilder toBuilder() => CommentsCapabilitiesBuilder()..replace(this); + ProvisioningApiCapabilitiesBuilder toBuilder() => + new ProvisioningApiCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CommentsCapabilities && files == other.files; + return other is ProvisioningApiCapabilities && + provisioningApi == other.provisioningApi; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, provisioningApi.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CommentsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities') + ..add('provisioningApi', provisioningApi)) + .toString(); } } -class CommentsCapabilitiesBuilder - implements Builder, CommentsCapabilitiesInterfaceBuilder { - _$CommentsCapabilities? _$v; +class ProvisioningApiCapabilitiesBuilder + implements + Builder, + ProvisioningApiCapabilitiesInterfaceBuilder { + _$ProvisioningApiCapabilities? _$v; - CommentsCapabilities_FilesBuilder? _files; - CommentsCapabilities_FilesBuilder get files => _$this._files ??= CommentsCapabilities_FilesBuilder(); - set files(covariant CommentsCapabilities_FilesBuilder? files) => _$this._files = files; + ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= + new ProvisioningApiCapabilities_ProvisioningApiBuilder(); + set provisioningApi( + covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? + provisioningApi) => + _$this._provisioningApi = provisioningApi; - CommentsCapabilitiesBuilder(); + ProvisioningApiCapabilitiesBuilder(); - CommentsCapabilitiesBuilder get _$this { + ProvisioningApiCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _provisioningApi = $v.provisioningApi.toBuilder(); _$v = null; } return this; } @override - void replace(covariant CommentsCapabilities other) { + void replace(covariant ProvisioningApiCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CommentsCapabilities; + _$v = other as _$ProvisioningApiCapabilities; } @override - void update(void Function(CommentsCapabilitiesBuilder)? updates) { + void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CommentsCapabilities build() => _build(); + ProvisioningApiCapabilities build() => _build(); - _$CommentsCapabilities _build() { - _$CommentsCapabilities _$result; + _$ProvisioningApiCapabilities _build() { + _$ProvisioningApiCapabilities _$result; try { - _$result = _$v ?? _$CommentsCapabilities._(files: files.build()); + _$result = _$v ?? + new _$ProvisioningApiCapabilities._( + provisioningApi: provisioningApi.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'provisioningApi'; + provisioningApi.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CommentsCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ProvisioningApiCapabilities', _$failedField, e.toString()); } rethrow; } @@ -14610,464 +17296,656 @@ class CommentsCapabilitiesBuilder } } -abstract mixin class DavCapabilities_DavInterfaceBuilder { - void replace(DavCapabilities_DavInterface other); - void update(void Function(DavCapabilities_DavInterfaceBuilder) updates); - String? get chunking; - set chunking(String? chunking); - - String? get bulkupload; - set bulkupload(String? bulkupload); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + void replace( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface + other); + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); } -class _$DavCapabilities_Dav extends DavCapabilities_Dav { - @override - final String chunking; +class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + extends SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop { @override - final String? bulkupload; + final bool enabled; - factory _$DavCapabilities_Dav([void Function(DavCapabilities_DavBuilder)? updates]) => - (DavCapabilities_DavBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( + [void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? + updates]) => + (new SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder() + ..update(updates)) + ._build(); - _$DavCapabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { - BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'); + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', + 'enabled'); } @override - DavCapabilities_Dav rebuild(void Function(DavCapabilities_DavBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - DavCapabilities_DavBuilder toBuilder() => DavCapabilities_DavBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder + toBuilder() => + new SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; + return other + is SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, chunking.hashCode); - _$hash = $jc(_$hash, bulkupload.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities_Dav') - ..add('chunking', chunking) - ..add('bulkupload', bulkupload)) + return (newBuiltValueToStringHelper( + r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop') + ..add('enabled', enabled)) .toString(); } } -class DavCapabilities_DavBuilder - implements Builder, DavCapabilities_DavInterfaceBuilder { - _$DavCapabilities_Dav? _$v; - - String? _chunking; - String? get chunking => _$this._chunking; - set chunking(covariant String? chunking) => _$this._chunking = chunking; +class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder + implements + Builder< + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop, + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder>, + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; - String? _bulkupload; - String? get bulkupload => _$this._bulkupload; - set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - DavCapabilities_DavBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - DavCapabilities_DavBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder + get _$this { final $v = _$v; if ($v != null) { - _chunking = $v.chunking; - _bulkupload = $v.bulkupload; + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(covariant DavCapabilities_Dav other) { + void replace( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities_Dav; + _$v = other + as _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; } @override - void update(void Function(DavCapabilities_DavBuilder)? updates) { + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? + updates) { if (updates != null) updates(this); } @override - DavCapabilities_Dav build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => + _build(); - _$DavCapabilities_Dav _build() { + _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { final _$result = _$v ?? - _$DavCapabilities_Dav._( - chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'DavCapabilities_Dav', 'chunking'), - bulkupload: bulkupload); + new _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + ._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', + 'enabled')); replace(_$result); return _$result; } } -abstract mixin class DavCapabilitiesInterfaceBuilder { - void replace(DavCapabilitiesInterface other); - void update(void Function(DavCapabilitiesInterfaceBuilder) updates); - DavCapabilities_DavBuilder get dav; - set dav(DavCapabilities_DavBuilder? dav); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + void replace( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface other); + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); + + bool? get enforced; + set enforced(bool? enforced); } -class _$DavCapabilities extends DavCapabilities { +class _$SharebymailCapabilities_FilesSharing_Sharebymail_Password + extends SharebymailCapabilities_FilesSharing_Sharebymail_Password { @override - final DavCapabilities_Dav dav; + final bool enabled; + @override + final bool enforced; - factory _$DavCapabilities([void Function(DavCapabilitiesBuilder)? updates]) => - (DavCapabilitiesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_Password( + [void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? + updates]) => + (new SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder() + ..update(updates)) + ._build(); - _$DavCapabilities._({required this.dav}) : super._() { - BuiltValueNullFieldError.checkNotNull(dav, r'DavCapabilities', 'dav'); + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( + {required this.enabled, required this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', + 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, + r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', + 'enforced'); } @override - DavCapabilities rebuild(void Function(DavCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + SharebymailCapabilities_FilesSharing_Sharebymail_Password rebuild( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - DavCapabilitiesBuilder toBuilder() => DavCapabilitiesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder + toBuilder() => + new SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DavCapabilities && dav == other.dav; + return other is SharebymailCapabilities_FilesSharing_Sharebymail_Password && + enabled == other.enabled && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, dav.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DavCapabilities')..add('dav', dav)).toString(); + return (newBuiltValueToStringHelper( + r'SharebymailCapabilities_FilesSharing_Sharebymail_Password') + ..add('enabled', enabled) + ..add('enforced', enforced)) + .toString(); } } -class DavCapabilitiesBuilder - implements Builder, DavCapabilitiesInterfaceBuilder { - _$DavCapabilities? _$v; +class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder + implements + Builder, + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password? _$v; - DavCapabilities_DavBuilder? _dav; - DavCapabilities_DavBuilder get dav => _$this._dav ??= DavCapabilities_DavBuilder(); - set dav(covariant DavCapabilities_DavBuilder? dav) => _$this._dav = dav; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - DavCapabilitiesBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - DavCapabilitiesBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { final $v = _$v; if ($v != null) { - _dav = $v.dav.toBuilder(); + _enabled = $v.enabled; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant DavCapabilities other) { + void replace( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_Password + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DavCapabilities; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; } @override - void update(void Function(DavCapabilitiesBuilder)? updates) { + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? + updates) { if (updates != null) updates(this); } @override - DavCapabilities build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_Password build() => _build(); - _$DavCapabilities _build() { - _$DavCapabilities _$result; - try { - _$result = _$v ?? _$DavCapabilities._(dav: dav.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'dav'; - dav.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'DavCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$SharebymailCapabilities_FilesSharing_Sharebymail_Password _build() { + final _$result = _$v ?? + new _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', + 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, + r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', + 'enforced')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_Files_DirectEditingInterfaceBuilder { - void replace(FilesCapabilities_Files_DirectEditingInterface other); - void update(void Function(FilesCapabilities_Files_DirectEditingInterfaceBuilder) updates); - String? get url; - set url(String? url); - - String? get etag; - set etag(String? etag); +abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + void replace( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface + other); + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); - bool? get supportsFileId; - set supportsFileId(bool? supportsFileId); + bool? get enforced; + set enforced(bool? enforced); } -class _$FilesCapabilities_Files_DirectEditing extends FilesCapabilities_Files_DirectEditing { - @override - final String url; +class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + extends SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate { @override - final String etag; + final bool enabled; @override - final bool supportsFileId; + final bool enforced; - factory _$FilesCapabilities_Files_DirectEditing( - [void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates]) => - (FilesCapabilities_Files_DirectEditingBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( + [void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? + updates]) => + (new SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$FilesCapabilities_Files_DirectEditing._({required this.url, required this.etag, required this.supportsFileId}) + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( + {required this.enabled, required this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'); - BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'); - BuiltValueNullFieldError.checkNotNull(supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId'); + BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', + 'enabled'); + BuiltValueNullFieldError.checkNotNull( + enforced, + r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', + 'enforced'); } @override - FilesCapabilities_Files_DirectEditing rebuild(void Function(FilesCapabilities_Files_DirectEditingBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate rebuild( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_Files_DirectEditingBuilder toBuilder() => - FilesCapabilities_Files_DirectEditingBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder + toBuilder() => + new SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files_DirectEditing && - url == other.url && - etag == other.etag && - supportsFileId == other.supportsFileId; + return other + is SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate && + enabled == other.enabled && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, etag.hashCode); - _$hash = $jc(_$hash, supportsFileId.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files_DirectEditing') - ..add('url', url) - ..add('etag', etag) - ..add('supportsFileId', supportsFileId)) + return (newBuiltValueToStringHelper( + r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate') + ..add('enabled', enabled) + ..add('enforced', enforced)) .toString(); } } -class FilesCapabilities_Files_DirectEditingBuilder +class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder implements - Builder, - FilesCapabilities_Files_DirectEditingInterfaceBuilder { - _$FilesCapabilities_Files_DirectEditing? _$v; - - String? _url; - String? get url => _$this._url; - set url(covariant String? url) => _$this._url = url; + Builder, + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate? _$v; - String? _etag; - String? get etag => _$this._etag; - set etag(covariant String? etag) => _$this._etag = etag; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - bool? _supportsFileId; - bool? get supportsFileId => _$this._supportsFileId; - set supportsFileId(covariant bool? supportsFileId) => _$this._supportsFileId = supportsFileId; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(covariant bool? enforced) => _$this._enforced = enforced; - FilesCapabilities_Files_DirectEditingBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - FilesCapabilities_Files_DirectEditingBuilder get _$this { + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder + get _$this { final $v = _$v; if ($v != null) { - _url = $v.url; - _etag = $v.etag; - _supportsFileId = $v.supportsFileId; + _enabled = $v.enabled; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files_DirectEditing other) { + void replace( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files_DirectEditing; + _$v = + other as _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; } @override - void update(void Function(FilesCapabilities_Files_DirectEditingBuilder)? updates) { + void update( + void Function( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files_DirectEditing build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate build() => + _build(); - _$FilesCapabilities_Files_DirectEditing _build() { + _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate _build() { final _$result = _$v ?? - _$FilesCapabilities_Files_DirectEditing._( - url: BuiltValueNullFieldError.checkNotNull(url, r'FilesCapabilities_Files_DirectEditing', 'url'), - etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesCapabilities_Files_DirectEditing', 'etag'), - supportsFileId: BuiltValueNullFieldError.checkNotNull( - supportsFileId, r'FilesCapabilities_Files_DirectEditing', 'supportsFileId')); + new _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', + 'enabled'), + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, + r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', + 'enforced')); replace(_$result); return _$result; } } -abstract mixin class FilesCapabilities_FilesInterfaceBuilder { - void replace(FilesCapabilities_FilesInterface other); - void update(void Function(FilesCapabilities_FilesInterfaceBuilder) updates); - bool? get bigfilechunking; - set bigfilechunking(bool? bigfilechunking); +abstract mixin class SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharing_SharebymailInterface other); + void update( + void Function( + SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); - ListBuilder get blacklistedFiles; - set blacklistedFiles(ListBuilder? blacklistedFiles); + bool? get sendPasswordByMail; + set sendPasswordByMail(bool? sendPasswordByMail); - FilesCapabilities_Files_DirectEditingBuilder get directEditing; - set directEditing(FilesCapabilities_Files_DirectEditingBuilder? directEditing); + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder + get uploadFilesDrop; + set uploadFilesDrop( + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? + uploadFilesDrop); + + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password; + set password( + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? + password); + + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder + get expireDate; + set expireDate( + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? + expireDate); } -class _$FilesCapabilities_Files extends FilesCapabilities_Files { +class _$SharebymailCapabilities_FilesSharing_Sharebymail + extends SharebymailCapabilities_FilesSharing_Sharebymail { @override - final bool bigfilechunking; + final bool enabled; @override - final BuiltList blacklistedFiles; + final bool sendPasswordByMail; @override - final FilesCapabilities_Files_DirectEditing directEditing; + final SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop + uploadFilesDrop; + @override + final SharebymailCapabilities_FilesSharing_Sharebymail_Password password; + @override + final SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate expireDate; - factory _$FilesCapabilities_Files([void Function(FilesCapabilities_FilesBuilder)? updates]) => - (FilesCapabilities_FilesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing_Sharebymail( + [void Function( + SharebymailCapabilities_FilesSharing_SharebymailBuilder)? + updates]) => + (new SharebymailCapabilities_FilesSharing_SharebymailBuilder() + ..update(updates)) + ._build(); - _$FilesCapabilities_Files._( - {required this.bigfilechunking, required this.blacklistedFiles, required this.directEditing}) + _$SharebymailCapabilities_FilesSharing_Sharebymail._( + {required this.enabled, + required this.sendPasswordByMail, + required this.uploadFilesDrop, + required this.password, + required this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'); - BuiltValueNullFieldError.checkNotNull(blacklistedFiles, r'FilesCapabilities_Files', 'blacklistedFiles'); - BuiltValueNullFieldError.checkNotNull(directEditing, r'FilesCapabilities_Files', 'directEditing'); + BuiltValueNullFieldError.checkNotNull(enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, + r'SharebymailCapabilities_FilesSharing_Sharebymail', + 'sendPasswordByMail'); + BuiltValueNullFieldError.checkNotNull(uploadFilesDrop, + r'SharebymailCapabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); + BuiltValueNullFieldError.checkNotNull(password, + r'SharebymailCapabilities_FilesSharing_Sharebymail', 'password'); + BuiltValueNullFieldError.checkNotNull(expireDate, + r'SharebymailCapabilities_FilesSharing_Sharebymail', 'expireDate'); } @override - FilesCapabilities_Files rebuild(void Function(FilesCapabilities_FilesBuilder) updates) => + SharebymailCapabilities_FilesSharing_Sharebymail rebuild( + void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesCapabilities_FilesBuilder toBuilder() => FilesCapabilities_FilesBuilder()..replace(this); + SharebymailCapabilities_FilesSharing_SharebymailBuilder toBuilder() => + new SharebymailCapabilities_FilesSharing_SharebymailBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities_Files && - bigfilechunking == other.bigfilechunking && - blacklistedFiles == other.blacklistedFiles && - directEditing == other.directEditing; + return other is SharebymailCapabilities_FilesSharing_Sharebymail && + enabled == other.enabled && + sendPasswordByMail == other.sendPasswordByMail && + uploadFilesDrop == other.uploadFilesDrop && + password == other.password && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, bigfilechunking.hashCode); - _$hash = $jc(_$hash, blacklistedFiles.hashCode); - _$hash = $jc(_$hash, directEditing.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, sendPasswordByMail.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities_Files') - ..add('bigfilechunking', bigfilechunking) - ..add('blacklistedFiles', blacklistedFiles) - ..add('directEditing', directEditing)) + return (newBuiltValueToStringHelper( + r'SharebymailCapabilities_FilesSharing_Sharebymail') + ..add('enabled', enabled) + ..add('sendPasswordByMail', sendPasswordByMail) + ..add('uploadFilesDrop', uploadFilesDrop) + ..add('password', password) + ..add('expireDate', expireDate)) .toString(); } } -class FilesCapabilities_FilesBuilder +class SharebymailCapabilities_FilesSharing_SharebymailBuilder implements - Builder, - FilesCapabilities_FilesInterfaceBuilder { - _$FilesCapabilities_Files? _$v; + Builder, + SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing_Sharebymail? _$v; - bool? _bigfilechunking; - bool? get bigfilechunking => _$this._bigfilechunking; - set bigfilechunking(covariant bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - ListBuilder? _blacklistedFiles; - ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); - set blacklistedFiles(covariant ListBuilder? blacklistedFiles) => - _$this._blacklistedFiles = blacklistedFiles; + bool? _sendPasswordByMail; + bool? get sendPasswordByMail => _$this._sendPasswordByMail; + set sendPasswordByMail(covariant bool? sendPasswordByMail) => + _$this._sendPasswordByMail = sendPasswordByMail; + + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? + _uploadFilesDrop; + SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder + get uploadFilesDrop => _$this._uploadFilesDrop ??= + new SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + set uploadFilesDrop( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? + uploadFilesDrop) => + _$this._uploadFilesDrop = uploadFilesDrop; - FilesCapabilities_Files_DirectEditingBuilder? _directEditing; - FilesCapabilities_Files_DirectEditingBuilder get directEditing => - _$this._directEditing ??= FilesCapabilities_Files_DirectEditingBuilder(); - set directEditing(covariant FilesCapabilities_Files_DirectEditingBuilder? directEditing) => - _$this._directEditing = directEditing; + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; + SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder + get password => _$this._password ??= + new SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + set password( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? + password) => + _$this._password = password; - FilesCapabilities_FilesBuilder(); + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? + _expireDate; + SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + new SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + set expireDate( + covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; - FilesCapabilities_FilesBuilder get _$this { + SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + + SharebymailCapabilities_FilesSharing_SharebymailBuilder get _$this { final $v = _$v; if ($v != null) { - _bigfilechunking = $v.bigfilechunking; - _blacklistedFiles = $v.blacklistedFiles.toBuilder(); - _directEditing = $v.directEditing.toBuilder(); + _enabled = $v.enabled; + _sendPasswordByMail = $v.sendPasswordByMail; + _uploadFilesDrop = $v.uploadFilesDrop.toBuilder(); + _password = $v.password.toBuilder(); + _expireDate = $v.expireDate.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesCapabilities_Files other) { + void replace( + covariant SharebymailCapabilities_FilesSharing_Sharebymail other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities_Files; + _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail; } @override - void update(void Function(FilesCapabilities_FilesBuilder)? updates) { + void update( + void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesCapabilities_Files build() => _build(); + SharebymailCapabilities_FilesSharing_Sharebymail build() => _build(); - _$FilesCapabilities_Files _build() { - _$FilesCapabilities_Files _$result; + _$SharebymailCapabilities_FilesSharing_Sharebymail _build() { + _$SharebymailCapabilities_FilesSharing_Sharebymail _$result; try { _$result = _$v ?? - _$FilesCapabilities_Files._( - bigfilechunking: - BuiltValueNullFieldError.checkNotNull(bigfilechunking, r'FilesCapabilities_Files', 'bigfilechunking'), - blacklistedFiles: blacklistedFiles.build(), - directEditing: directEditing.build()); + new _$SharebymailCapabilities_FilesSharing_Sharebymail._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'SharebymailCapabilities_FilesSharing_Sharebymail', + 'enabled'), + sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( + sendPasswordByMail, + r'SharebymailCapabilities_FilesSharing_Sharebymail', + 'sendPasswordByMail'), + uploadFilesDrop: uploadFilesDrop.build(), + password: password.build(), + expireDate: expireDate.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'blacklistedFiles'; - blacklistedFiles.build(); - _$failedField = 'directEditing'; - directEditing.build(); + _$failedField = 'uploadFilesDrop'; + uploadFilesDrop.build(); + _$failedField = 'password'; + password.build(); + _$failedField = 'expireDate'; + expireDate.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities_Files', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'SharebymailCapabilities_FilesSharing_Sharebymail', + _$failedField, + e.toString()); } rethrow; } @@ -15076,94 +17954,123 @@ class FilesCapabilities_FilesBuilder } } -abstract mixin class FilesCapabilitiesInterfaceBuilder { - void replace(FilesCapabilitiesInterface other); - void update(void Function(FilesCapabilitiesInterfaceBuilder) updates); - FilesCapabilities_FilesBuilder get files; - set files(FilesCapabilities_FilesBuilder? files); +abstract mixin class SharebymailCapabilities_FilesSharingInterfaceBuilder { + void replace(SharebymailCapabilities_FilesSharingInterface other); + void update( + void Function(SharebymailCapabilities_FilesSharingInterfaceBuilder) + updates); + SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail; + set sharebymail( + SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail); } -class _$FilesCapabilities extends FilesCapabilities { +class _$SharebymailCapabilities_FilesSharing + extends SharebymailCapabilities_FilesSharing { @override - final FilesCapabilities_Files files; + final SharebymailCapabilities_FilesSharing_Sharebymail sharebymail; - factory _$FilesCapabilities([void Function(FilesCapabilitiesBuilder)? updates]) => - (FilesCapabilitiesBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities_FilesSharing( + [void Function(SharebymailCapabilities_FilesSharingBuilder)? + updates]) => + (new SharebymailCapabilities_FilesSharingBuilder()..update(updates)) + ._build(); - _$FilesCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesCapabilities', 'files'); + _$SharebymailCapabilities_FilesSharing._({required this.sharebymail}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + sharebymail, r'SharebymailCapabilities_FilesSharing', 'sharebymail'); } @override - FilesCapabilities rebuild(void Function(FilesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + SharebymailCapabilities_FilesSharing rebuild( + void Function(SharebymailCapabilities_FilesSharingBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - FilesCapabilitiesBuilder toBuilder() => FilesCapabilitiesBuilder()..replace(this); + SharebymailCapabilities_FilesSharingBuilder toBuilder() => + new SharebymailCapabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesCapabilities && files == other.files; + return other is SharebymailCapabilities_FilesSharing && + sharebymail == other.sharebymail; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, sharebymail.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing') + ..add('sharebymail', sharebymail)) + .toString(); } } -class FilesCapabilitiesBuilder - implements Builder, FilesCapabilitiesInterfaceBuilder { - _$FilesCapabilities? _$v; +class SharebymailCapabilities_FilesSharingBuilder + implements + Builder, + SharebymailCapabilities_FilesSharingInterfaceBuilder { + _$SharebymailCapabilities_FilesSharing? _$v; - FilesCapabilities_FilesBuilder? _files; - FilesCapabilities_FilesBuilder get files => _$this._files ??= FilesCapabilities_FilesBuilder(); - set files(covariant FilesCapabilities_FilesBuilder? files) => _$this._files = files; + SharebymailCapabilities_FilesSharing_SharebymailBuilder? _sharebymail; + SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail => + _$this._sharebymail ??= + new SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + set sharebymail( + covariant SharebymailCapabilities_FilesSharing_SharebymailBuilder? + sharebymail) => + _$this._sharebymail = sharebymail; - FilesCapabilitiesBuilder(); + SharebymailCapabilities_FilesSharingBuilder(); - FilesCapabilitiesBuilder get _$this { + SharebymailCapabilities_FilesSharingBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _sharebymail = $v.sharebymail.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesCapabilities other) { + void replace(covariant SharebymailCapabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesCapabilities; + _$v = other as _$SharebymailCapabilities_FilesSharing; } @override - void update(void Function(FilesCapabilitiesBuilder)? updates) { + void update( + void Function(SharebymailCapabilities_FilesSharingBuilder)? updates) { if (updates != null) updates(this); } @override - FilesCapabilities build() => _build(); + SharebymailCapabilities_FilesSharing build() => _build(); - _$FilesCapabilities _build() { - _$FilesCapabilities _$result; + _$SharebymailCapabilities_FilesSharing _build() { + _$SharebymailCapabilities_FilesSharing _$result; try { - _$result = _$v ?? _$FilesCapabilities._(files: files.build()); + _$result = _$v ?? + new _$SharebymailCapabilities_FilesSharing._( + sharebymail: sharebymail.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'sharebymail'; + sharebymail.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'SharebymailCapabilities_FilesSharing', + _$failedField, + e.toString()); } rethrow; } @@ -15172,748 +18079,810 @@ class FilesCapabilitiesBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_PasswordInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder) updates); - bool? get enforced; - set enforced(bool? enforced); - - bool? get askForOptionalPassword; - set askForOptionalPassword(bool? askForOptionalPassword); +abstract mixin class SharebymailCapabilitiesInterfaceBuilder { + void replace(SharebymailCapabilitiesInterface other); + void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); + SharebymailCapabilities_FilesSharingBuilder get filesSharing; + set filesSharing(SharebymailCapabilities_FilesSharingBuilder? filesSharing); } -class _$FilesSharingCapabilities_FilesSharing_Public_Password - extends FilesSharingCapabilities_FilesSharing_Public_Password { - @override - final bool enforced; +class _$SharebymailCapabilities extends SharebymailCapabilities { @override - final bool askForOptionalPassword; + final SharebymailCapabilities_FilesSharing filesSharing; - factory _$FilesSharingCapabilities_FilesSharing_Public_Password( - [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); + factory _$SharebymailCapabilities( + [void Function(SharebymailCapabilitiesBuilder)? updates]) => + (new SharebymailCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - {required this.enforced, required this.askForOptionalPassword}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + _$SharebymailCapabilities._({required this.filesSharing}) : super._() { BuiltValueNullFieldError.checkNotNull( - askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); + filesSharing, r'SharebymailCapabilities', 'filesSharing'); } @override - FilesSharingCapabilities_FilesSharing_Public_Password rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => + SharebymailCapabilities rebuild( + void Function(SharebymailCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); + SharebymailCapabilitiesBuilder toBuilder() => + new SharebymailCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_Password && - enforced == other.enforced && - askForOptionalPassword == other.askForOptionalPassword; + return other is SharebymailCapabilities && + filesSharing == other.filesSharing; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enforced.hashCode); - _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') - ..add('enforced', enforced) - ..add('askForOptionalPassword', askForOptionalPassword)) + return (newBuiltValueToStringHelper(r'SharebymailCapabilities') + ..add('filesSharing', filesSharing)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder +class SharebymailCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_PasswordInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; - - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + Builder, + SharebymailCapabilitiesInterfaceBuilder { + _$SharebymailCapabilities? _$v; - bool? _askForOptionalPassword; - bool? get askForOptionalPassword => _$this._askForOptionalPassword; - set askForOptionalPassword(covariant bool? askForOptionalPassword) => - _$this._askForOptionalPassword = askForOptionalPassword; + SharebymailCapabilities_FilesSharingBuilder? _filesSharing; + SharebymailCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= + new SharebymailCapabilities_FilesSharingBuilder(); + set filesSharing( + covariant SharebymailCapabilities_FilesSharingBuilder? + filesSharing) => + _$this._filesSharing = filesSharing; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + SharebymailCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { + SharebymailCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enforced = $v.enforced; - _askForOptionalPassword = $v.askForOptionalPassword; + _filesSharing = $v.filesSharing.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_Password other) { + void replace(covariant SharebymailCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; + _$v = other as _$SharebymailCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { + void update(void Function(SharebymailCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_Password build() => _build(); + SharebymailCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_Password _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_Password._( - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'), - askForOptionalPassword: BuiltValueNullFieldError.checkNotNull(askForOptionalPassword, - r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword')); + _$SharebymailCapabilities _build() { + _$SharebymailCapabilities _$result; + try { + _$result = _$v ?? + new _$SharebymailCapabilities._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'SharebymailCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class ThemingPublicCapabilities_ThemingInterfaceBuilder { + void replace(ThemingPublicCapabilities_ThemingInterface other); + void update( + void Function(ThemingPublicCapabilities_ThemingInterfaceBuilder) updates); + String? get name; + set name(String? name); - int? get days; - set days(int? days); + String? get url; + set url(String? url); - bool? get enforced; - set enforced(bool? enforced); + String? get slogan; + set slogan(String? slogan); + + String? get color; + set color(String? color); + + String? get colorText; + set colorText(String? colorText); + + String? get colorElement; + set colorElement(String? colorElement); + + String? get colorElementBright; + set colorElementBright(String? colorElementBright); + + String? get colorElementDark; + set colorElementDark(String? colorElementDark); + + String? get logo; + set logo(String? logo); + + String? get background; + set background(String? background); + + bool? get backgroundPlain; + set backgroundPlain(bool? backgroundPlain); + + bool? get backgroundDefault; + set backgroundDefault(bool? backgroundDefault); + + String? get logoheader; + set logoheader(String? logoheader); + + String? get favicon; + set favicon(String? favicon); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { +class _$ThemingPublicCapabilities_Theming + extends ThemingPublicCapabilities_Theming { @override - final bool enabled; + final String name; @override - final int? days; + final String url; @override - final bool? enforced; + final String slogan; + @override + final String color; + @override + final String colorText; + @override + final String colorElement; + @override + final String colorElementBright; + @override + final String colorElementDark; + @override + final String logo; + @override + final String background; + @override + final bool backgroundPlain; + @override + final bool backgroundDefault; + @override + final String logoheader; + @override + final String favicon; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); + factory _$ThemingPublicCapabilities_Theming( + [void Function(ThemingPublicCapabilities_ThemingBuilder)? updates]) => + (new ThemingPublicCapabilities_ThemingBuilder()..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) + _$ThemingPublicCapabilities_Theming._( + {required this.name, + required this.url, + required this.slogan, + required this.color, + required this.colorText, + required this.colorElement, + required this.colorElementBright, + required this.colorElementDark, + required this.logo, + required this.background, + required this.backgroundPlain, + required this.backgroundDefault, + required this.logoheader, + required this.favicon}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); + name, r'ThemingPublicCapabilities_Theming', 'name'); + BuiltValueNullFieldError.checkNotNull( + url, r'ThemingPublicCapabilities_Theming', 'url'); + BuiltValueNullFieldError.checkNotNull( + slogan, r'ThemingPublicCapabilities_Theming', 'slogan'); + BuiltValueNullFieldError.checkNotNull( + color, r'ThemingPublicCapabilities_Theming', 'color'); + BuiltValueNullFieldError.checkNotNull( + colorText, r'ThemingPublicCapabilities_Theming', 'colorText'); + BuiltValueNullFieldError.checkNotNull( + colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'); + BuiltValueNullFieldError.checkNotNull(colorElementBright, + r'ThemingPublicCapabilities_Theming', 'colorElementBright'); + BuiltValueNullFieldError.checkNotNull(colorElementDark, + r'ThemingPublicCapabilities_Theming', 'colorElementDark'); + BuiltValueNullFieldError.checkNotNull( + logo, r'ThemingPublicCapabilities_Theming', 'logo'); + BuiltValueNullFieldError.checkNotNull( + background, r'ThemingPublicCapabilities_Theming', 'background'); + BuiltValueNullFieldError.checkNotNull(backgroundPlain, + r'ThemingPublicCapabilities_Theming', 'backgroundPlain'); + BuiltValueNullFieldError.checkNotNull(backgroundDefault, + r'ThemingPublicCapabilities_Theming', 'backgroundDefault'); + BuiltValueNullFieldError.checkNotNull( + logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'); + BuiltValueNullFieldError.checkNotNull( + favicon, r'ThemingPublicCapabilities_Theming', 'favicon'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => + ThemingPublicCapabilities_Theming rebuild( + void Function(ThemingPublicCapabilities_ThemingBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); + ThemingPublicCapabilities_ThemingBuilder toBuilder() => + new ThemingPublicCapabilities_ThemingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is ThemingPublicCapabilities_Theming && + name == other.name && + url == other.url && + slogan == other.slogan && + color == other.color && + colorText == other.colorText && + colorElement == other.colorElement && + colorElementBright == other.colorElementBright && + colorElementDark == other.colorElementDark && + logo == other.logo && + background == other.background && + backgroundPlain == other.backgroundPlain && + backgroundDefault == other.backgroundDefault && + logoheader == other.logoheader && + favicon == other.favicon; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, slogan.hashCode); + _$hash = $jc(_$hash, color.hashCode); + _$hash = $jc(_$hash, colorText.hashCode); + _$hash = $jc(_$hash, colorElement.hashCode); + _$hash = $jc(_$hash, colorElementBright.hashCode); + _$hash = $jc(_$hash, colorElementDark.hashCode); + _$hash = $jc(_$hash, logo.hashCode); + _$hash = $jc(_$hash, background.hashCode); + _$hash = $jc(_$hash, backgroundPlain.hashCode); + _$hash = $jc(_$hash, backgroundDefault.hashCode); + _$hash = $jc(_$hash, logoheader.hashCode); + _$hash = $jc(_$hash, favicon.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities_Theming') + ..add('name', name) + ..add('url', url) + ..add('slogan', slogan) + ..add('color', color) + ..add('colorText', colorText) + ..add('colorElement', colorElement) + ..add('colorElementBright', colorElementBright) + ..add('colorElementDark', colorElementDark) + ..add('logo', logo) + ..add('background', background) + ..add('backgroundPlain', backgroundPlain) + ..add('backgroundDefault', backgroundDefault) + ..add('logoheader', logoheader) + ..add('favicon', favicon)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder +class ThemingPublicCapabilities_ThemingBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + ThemingPublicCapabilities_ThemingInterfaceBuilder { + _$ThemingPublicCapabilities_Theming? _$v; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + String? _url; + String? get url => _$this._url; + set url(covariant String? url) => _$this._url = url; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + String? _slogan; + String? get slogan => _$this._slogan; + set slogan(covariant String? slogan) => _$this._slogan = slogan; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + String? _color; + String? get color => _$this._color; + set color(covariant String? color) => _$this._color = color; + + String? _colorText; + String? get colorText => _$this._colorText; + set colorText(covariant String? colorText) => _$this._colorText = colorText; + + String? _colorElement; + String? get colorElement => _$this._colorElement; + set colorElement(covariant String? colorElement) => + _$this._colorElement = colorElement; + + String? _colorElementBright; + String? get colorElementBright => _$this._colorElementBright; + set colorElementBright(covariant String? colorElementBright) => + _$this._colorElementBright = colorElementBright; + + String? _colorElementDark; + String? get colorElementDark => _$this._colorElementDark; + set colorElementDark(covariant String? colorElementDark) => + _$this._colorElementDark = colorElementDark; + + String? _logo; + String? get logo => _$this._logo; + set logo(covariant String? logo) => _$this._logo = logo; + + String? _background; + String? get background => _$this._background; + set background(covariant String? background) => + _$this._background = background; + + bool? _backgroundPlain; + bool? get backgroundPlain => _$this._backgroundPlain; + set backgroundPlain(covariant bool? backgroundPlain) => + _$this._backgroundPlain = backgroundPlain; + + bool? _backgroundDefault; + bool? get backgroundDefault => _$this._backgroundDefault; + set backgroundDefault(covariant bool? backgroundDefault) => + _$this._backgroundDefault = backgroundDefault; + + String? _logoheader; + String? get logoheader => _$this._logoheader; + set logoheader(covariant String? logoheader) => + _$this._logoheader = logoheader; + + String? _favicon; + String? get favicon => _$this._favicon; + set favicon(covariant String? favicon) => _$this._favicon = favicon; + + ThemingPublicCapabilities_ThemingBuilder(); + + ThemingPublicCapabilities_ThemingBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _name = $v.name; + _url = $v.url; + _slogan = $v.slogan; + _color = $v.color; + _colorText = $v.colorText; + _colorElement = $v.colorElement; + _colorElementBright = $v.colorElementBright; + _colorElementDark = $v.colorElementDark; + _logo = $v.logo; + _background = $v.background; + _backgroundPlain = $v.backgroundPlain; + _backgroundDefault = $v.backgroundDefault; + _logoheader = $v.logoheader; + _favicon = $v.favicon; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { + void replace(covariant ThemingPublicCapabilities_Theming other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + _$v = other as _$ThemingPublicCapabilities_Theming; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { + void update( + void Function(ThemingPublicCapabilities_ThemingBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); + ThemingPublicCapabilities_Theming build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { + _$ThemingPublicCapabilities_Theming _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), - days: days, - enforced: enforced); + new _$ThemingPublicCapabilities_Theming._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'ThemingPublicCapabilities_Theming', 'name'), + url: BuiltValueNullFieldError.checkNotNull( + url, r'ThemingPublicCapabilities_Theming', 'url'), + slogan: BuiltValueNullFieldError.checkNotNull( + slogan, r'ThemingPublicCapabilities_Theming', 'slogan'), + color: BuiltValueNullFieldError.checkNotNull( + color, r'ThemingPublicCapabilities_Theming', 'color'), + colorText: BuiltValueNullFieldError.checkNotNull( + colorText, r'ThemingPublicCapabilities_Theming', 'colorText'), + colorElement: BuiltValueNullFieldError.checkNotNull( + colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'), + colorElementBright: BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'ThemingPublicCapabilities_Theming', 'colorElementBright'), + colorElementDark: BuiltValueNullFieldError.checkNotNull( + colorElementDark, r'ThemingPublicCapabilities_Theming', 'colorElementDark'), + logo: BuiltValueNullFieldError.checkNotNull(logo, r'ThemingPublicCapabilities_Theming', 'logo'), + background: BuiltValueNullFieldError.checkNotNull(background, r'ThemingPublicCapabilities_Theming', 'background'), + backgroundPlain: BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'ThemingPublicCapabilities_Theming', 'backgroundPlain'), + backgroundDefault: BuiltValueNullFieldError.checkNotNull(backgroundDefault, r'ThemingPublicCapabilities_Theming', 'backgroundDefault'), + logoheader: BuiltValueNullFieldError.checkNotNull(logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'), + favicon: BuiltValueNullFieldError.checkNotNull(favicon, r'ThemingPublicCapabilities_Theming', 'favicon')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - int? get days; - set days(int? days); - - bool? get enforced; - set enforced(bool? enforced); +abstract mixin class ThemingPublicCapabilitiesInterfaceBuilder { + void replace(ThemingPublicCapabilitiesInterface other); + void update(void Function(ThemingPublicCapabilitiesInterfaceBuilder) updates); + ThemingPublicCapabilities_ThemingBuilder get theming; + set theming(ThemingPublicCapabilities_ThemingBuilder? theming); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { - @override - final bool enabled; - @override - final int? days; +class _$ThemingPublicCapabilities extends ThemingPublicCapabilities { @override - final bool? enforced; + final ThemingPublicCapabilities_Theming theming; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); + factory _$ThemingPublicCapabilities( + [void Function(ThemingPublicCapabilitiesBuilder)? updates]) => + (new ThemingPublicCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) - : super._() { + _$ThemingPublicCapabilities._({required this.theming}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); + theming, r'ThemingPublicCapabilities', 'theming'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => + ThemingPublicCapabilities rebuild( + void Function(ThemingPublicCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); + ThemingPublicCapabilitiesBuilder toBuilder() => + new ThemingPublicCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && - enabled == other.enabled && - days == other.days && - enforced == other.enforced; + return other is ThemingPublicCapabilities && theming == other.theming; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, theming.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') - ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities') + ..add('theming', theming)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder +class ThemingPublicCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + Builder, + ThemingPublicCapabilitiesInterfaceBuilder { + _$ThemingPublicCapabilities? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + ThemingPublicCapabilities_ThemingBuilder? _theming; + ThemingPublicCapabilities_ThemingBuilder get theming => + _$this._theming ??= new ThemingPublicCapabilities_ThemingBuilder(); + set theming(covariant ThemingPublicCapabilities_ThemingBuilder? theming) => + _$this._theming = theming; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + ThemingPublicCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { + ThemingPublicCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _theming = $v.theming.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { + void replace(covariant ThemingPublicCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + _$v = other as _$ThemingPublicCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { + void update(void Function(ThemingPublicCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); + ThemingPublicCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'), - days: days, - enforced: enforced); + _$ThemingPublicCapabilities _build() { + _$ThemingPublicCapabilities _$result; + try { + _$result = + _$v ?? new _$ThemingPublicCapabilities._(theming: theming.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'theming'; + theming.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'ThemingPublicCapabilities', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder) updates); +abstract mixin class UserStatusCapabilities_UserStatusInterfaceBuilder { + void replace(UserStatusCapabilities_UserStatusInterface other); + void update( + void Function(UserStatusCapabilities_UserStatusInterfaceBuilder) updates); bool? get enabled; set enabled(bool? enabled); - int? get days; - set days(int? days); + bool? get restore; + set restore(bool? restore); - bool? get enforced; - set enforced(bool? enforced); + bool? get supportsEmoji; + set supportsEmoji(bool? supportsEmoji); } -class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote - extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { +class _$UserStatusCapabilities_UserStatus + extends UserStatusCapabilities_UserStatus { @override final bool enabled; @override - final int? days; + final bool restore; @override - final bool? enforced; + final bool supportsEmoji; - factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( - [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); + factory _$UserStatusCapabilities_UserStatus( + [void Function(UserStatusCapabilities_UserStatusBuilder)? updates]) => + (new UserStatusCapabilities_UserStatusBuilder()..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) + _$UserStatusCapabilities_UserStatus._( + {required this.enabled, + required this.restore, + required this.supportsEmoji}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); + enabled, r'UserStatusCapabilities_UserStatus', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + restore, r'UserStatusCapabilities_UserStatus', 'restore'); + BuiltValueNullFieldError.checkNotNull( + supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji'); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => + UserStatusCapabilities_UserStatus rebuild( + void Function(UserStatusCapabilities_UserStatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); + UserStatusCapabilities_UserStatusBuilder toBuilder() => + new UserStatusCapabilities_UserStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + return other is UserStatusCapabilities_UserStatus && enabled == other.enabled && - days == other.days && - enforced == other.enforced; + restore == other.restore && + supportsEmoji == other.supportsEmoji; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, days.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, restore.hashCode); + _$hash = $jc(_$hash, supportsEmoji.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + return (newBuiltValueToStringHelper(r'UserStatusCapabilities_UserStatus') ..add('enabled', enabled) - ..add('days', days) - ..add('enforced', enforced)) + ..add('restore', restore) + ..add('supportsEmoji', supportsEmoji)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder +class UserStatusCapabilities_UserStatusBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; + Builder, + UserStatusCapabilities_UserStatusInterfaceBuilder { + _$UserStatusCapabilities_UserStatus? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - int? _days; - int? get days => _$this._days; - set days(covariant int? days) => _$this._days = days; + bool? _restore; + bool? get restore => _$this._restore; + set restore(covariant bool? restore) => _$this._restore = restore; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + bool? _supportsEmoji; + bool? get supportsEmoji => _$this._supportsEmoji; + set supportsEmoji(covariant bool? supportsEmoji) => + _$this._supportsEmoji = supportsEmoji; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + UserStatusCapabilities_UserStatusBuilder(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { + UserStatusCapabilities_UserStatusBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; - _days = $v.days; - _enforced = $v.enforced; + _restore = $v.restore; + _supportsEmoji = $v.supportsEmoji; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { + void replace(covariant UserStatusCapabilities_UserStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + _$v = other as _$UserStatusCapabilities_UserStatus; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { + void update( + void Function(UserStatusCapabilities_UserStatusBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); + UserStatusCapabilities_UserStatus build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + _$UserStatusCapabilities_UserStatus _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + new _$UserStatusCapabilities_UserStatus._( enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), - days: days, - enforced: enforced); + enabled, r'UserStatusCapabilities_UserStatus', 'enabled'), + restore: BuiltValueNullFieldError.checkNotNull( + restore, r'UserStatusCapabilities_UserStatus', 'restore'), + supportsEmoji: BuiltValueNullFieldError.checkNotNull(supportsEmoji, + r'UserStatusCapabilities_UserStatus', 'supportsEmoji')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_PublicInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password; - set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password); - - bool? get multipleLinks; - set multipleLinks(bool? multipleLinks); +abstract mixin class UserStatusCapabilitiesInterfaceBuilder { + void replace(UserStatusCapabilitiesInterface other); + void update(void Function(UserStatusCapabilitiesInterfaceBuilder) updates); + UserStatusCapabilities_UserStatusBuilder get userStatus; + set userStatus(UserStatusCapabilities_UserStatusBuilder? userStatus); +} - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate); +class _$UserStatusCapabilities extends UserStatusCapabilities { + @override + final UserStatusCapabilities_UserStatus userStatus; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal; - set expireDateInternal(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal); + factory _$UserStatusCapabilities( + [void Function(UserStatusCapabilitiesBuilder)? updates]) => + (new UserStatusCapabilitiesBuilder()..update(updates))._build(); - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote; - set expireDateRemote(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote); - - bool? get sendMail; - set sendMail(bool? sendMail); - - bool? get upload; - set upload(bool? upload); - - bool? get uploadFilesDrop; - set uploadFilesDrop(bool? uploadFilesDrop); -} - -class _$FilesSharingCapabilities_FilesSharing_Public extends FilesSharingCapabilities_FilesSharing_Public { - @override - final bool enabled; - @override - final FilesSharingCapabilities_FilesSharing_Public_Password? password; - @override - final bool? multipleLinks; - @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDate? expireDate; - @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; - @override - final FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; - @override - final bool? sendMail; - @override - final bool? upload; - @override - final bool? uploadFilesDrop; - - factory _$FilesSharingCapabilities_FilesSharing_Public( - [void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_PublicBuilder()..update(updates))._build(); - - _$FilesSharingCapabilities_FilesSharing_Public._( - {required this.enabled, - this.password, - this.multipleLinks, - this.expireDate, - this.expireDateInternal, - this.expireDateRemote, - this.sendMail, - this.upload, - this.uploadFilesDrop}) - : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'); + _$UserStatusCapabilities._({required this.userStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull( + userStatus, r'UserStatusCapabilities', 'userStatus'); } @override - FilesSharingCapabilities_FilesSharing_Public rebuild( - void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => + UserStatusCapabilities rebuild( + void Function(UserStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_PublicBuilder()..replace(this); + UserStatusCapabilitiesBuilder toBuilder() => + new UserStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Public && - enabled == other.enabled && - password == other.password && - multipleLinks == other.multipleLinks && - expireDate == other.expireDate && - expireDateInternal == other.expireDateInternal && - expireDateRemote == other.expireDateRemote && - sendMail == other.sendMail && - upload == other.upload && - uploadFilesDrop == other.uploadFilesDrop; + return other is UserStatusCapabilities && userStatus == other.userStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, multipleLinks.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, expireDateInternal.hashCode); - _$hash = $jc(_$hash, expireDateRemote.hashCode); - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, upload.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jc(_$hash, userStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public') - ..add('enabled', enabled) - ..add('password', password) - ..add('multipleLinks', multipleLinks) - ..add('expireDate', expireDate) - ..add('expireDateInternal', expireDateInternal) - ..add('expireDateRemote', expireDateRemote) - ..add('sendMail', sendMail) - ..add('upload', upload) - ..add('uploadFilesDrop', uploadFilesDrop)) + return (newBuiltValueToStringHelper(r'UserStatusCapabilities') + ..add('userStatus', userStatus)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_PublicBuilder +class UserStatusCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_PublicInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Public? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; - - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; - FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => - _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); - set password(covariant FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => - _$this._password = password; - - bool? _multipleLinks; - bool? get multipleLinks => _$this._multipleLinks; - set multipleLinks(covariant bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => - _$this._expireDateInternal ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - set expireDateInternal( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder? expireDateInternal) => - _$this._expireDateInternal = expireDateInternal; - - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; - FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => - _$this._expireDateRemote ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - set expireDateRemote( - covariant FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => - _$this._expireDateRemote = expireDateRemote; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; - - bool? _upload; - bool? get upload => _$this._upload; - set upload(covariant bool? upload) => _$this._upload = upload; + Builder, + UserStatusCapabilitiesInterfaceBuilder { + _$UserStatusCapabilities? _$v; - bool? _uploadFilesDrop; - bool? get uploadFilesDrop => _$this._uploadFilesDrop; - set uploadFilesDrop(covariant bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + UserStatusCapabilities_UserStatusBuilder? _userStatus; + UserStatusCapabilities_UserStatusBuilder get userStatus => + _$this._userStatus ??= new UserStatusCapabilities_UserStatusBuilder(); + set userStatus( + covariant UserStatusCapabilities_UserStatusBuilder? userStatus) => + _$this._userStatus = userStatus; - FilesSharingCapabilities_FilesSharing_PublicBuilder(); + UserStatusCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_PublicBuilder get _$this { + UserStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _password = $v.password?.toBuilder(); - _multipleLinks = $v.multipleLinks; - _expireDate = $v.expireDate?.toBuilder(); - _expireDateInternal = $v.expireDateInternal?.toBuilder(); - _expireDateRemote = $v.expireDateRemote?.toBuilder(); - _sendMail = $v.sendMail; - _upload = $v.upload; - _uploadFilesDrop = $v.uploadFilesDrop; + _userStatus = $v.userStatus.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Public other) { + void replace(covariant UserStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; + _$v = other as _$UserStatusCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { + void update(void Function(UserStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Public build() => _build(); + UserStatusCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Public _build() { - _$FilesSharingCapabilities_FilesSharing_Public _$result; + _$UserStatusCapabilities _build() { + _$UserStatusCapabilities _$result; try { - _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Public._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), - password: _password?.build(), - multipleLinks: multipleLinks, - expireDate: _expireDate?.build(), - expireDateInternal: _expireDateInternal?.build(), - expireDateRemote: _expireDateRemote?.build(), - sendMail: sendMail, - upload: upload, - uploadFilesDrop: uploadFilesDrop); + _$result = + _$v ?? new _$UserStatusCapabilities._(userStatus: userStatus.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'password'; - _password?.build(); - - _$failedField = 'expireDate'; - _expireDate?.build(); - _$failedField = 'expireDateInternal'; - _expireDateInternal?.build(); - _$failedField = 'expireDateRemote'; - _expireDateRemote?.build(); + _$failedField = 'userStatus'; + userStatus.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UserStatusCapabilities', _$failedField, e.toString()); } rethrow; } @@ -15922,39 +18891,47 @@ class FilesSharingCapabilities_FilesSharing_PublicBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder) updates); +abstract mixin class WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { + void replace(WeatherStatusCapabilities_WeatherStatusInterface other); + void update( + void Function(WeatherStatusCapabilities_WeatherStatusInterfaceBuilder) + updates); bool? get enabled; set enabled(bool? enabled); } -class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate - extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { +class _$WeatherStatusCapabilities_WeatherStatus + extends WeatherStatusCapabilities_WeatherStatus { @override final bool enabled; - factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); + factory _$WeatherStatusCapabilities_WeatherStatus( + [void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? + updates]) => + (new WeatherStatusCapabilities_WeatherStatusBuilder()..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); + _$WeatherStatusCapabilities_WeatherStatus._({required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled'); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => + WeatherStatusCapabilities_WeatherStatus rebuild( + void Function(WeatherStatusCapabilities_WeatherStatusBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); + WeatherStatusCapabilities_WeatherStatusBuilder toBuilder() => + new WeatherStatusCapabilities_WeatherStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; + return other is WeatherStatusCapabilities_WeatherStatus && + enabled == other.enabled; } @override @@ -15967,26 +18944,27 @@ class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') + return (newBuiltValueToStringHelper( + r'WeatherStatusCapabilities_WeatherStatus') ..add('enabled', enabled)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder +class WeatherStatusCapabilities_WeatherStatusBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_User_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; + Builder, + WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { + _$WeatherStatusCapabilities_WeatherStatus? _$v; bool? _enabled; bool? get enabled => _$this._enabled; set enabled(covariant bool? enabled) => _$this._enabled = enabled; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + WeatherStatusCapabilities_WeatherStatusBuilder(); - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { + WeatherStatusCapabilities_WeatherStatusBuilder get _$this { final $v = _$v; if ($v != null) { _enabled = $v.enabled; @@ -15996,145 +18974,137 @@ class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { + void replace(covariant WeatherStatusCapabilities_WeatherStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + _$v = other as _$WeatherStatusCapabilities_WeatherStatus; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { + void update( + void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); + WeatherStatusCapabilities_WeatherStatus build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { + _$WeatherStatusCapabilities_WeatherStatus _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); + new _$WeatherStatusCapabilities_WeatherStatus._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, + r'WeatherStatusCapabilities_WeatherStatus', 'enabled')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_UserInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder) updates); - bool? get sendMail; - set sendMail(bool? sendMail); - - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate); +abstract mixin class WeatherStatusCapabilitiesInterfaceBuilder { + void replace(WeatherStatusCapabilitiesInterface other); + void update(void Function(WeatherStatusCapabilitiesInterfaceBuilder) updates); + WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus; + set weatherStatus( + WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus); } -class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { - @override - final bool sendMail; +class _$WeatherStatusCapabilities extends WeatherStatusCapabilities { @override - final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; + final WeatherStatusCapabilities_WeatherStatus weatherStatus; - factory _$FilesSharingCapabilities_FilesSharing_User( - [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); + factory _$WeatherStatusCapabilities( + [void Function(WeatherStatusCapabilitiesBuilder)? updates]) => + (new WeatherStatusCapabilitiesBuilder()..update(updates))._build(); - _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); + _$WeatherStatusCapabilities._({required this.weatherStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull( + weatherStatus, r'WeatherStatusCapabilities', 'weatherStatus'); } @override - FilesSharingCapabilities_FilesSharing_User rebuild( - void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => + WeatherStatusCapabilities rebuild( + void Function(WeatherStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_UserBuilder()..replace(this); + WeatherStatusCapabilitiesBuilder toBuilder() => + new WeatherStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_User && - sendMail == other.sendMail && - expireDate == other.expireDate; + return other is WeatherStatusCapabilities && + weatherStatus == other.weatherStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, weatherStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') - ..add('sendMail', sendMail) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities') + ..add('weatherStatus', weatherStatus)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_UserBuilder +class WeatherStatusCapabilitiesBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_UserInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_User? _$v; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(covariant bool? sendMail) => _$this._sendMail = sendMail; + Builder, + WeatherStatusCapabilitiesInterfaceBuilder { + _$WeatherStatusCapabilities? _$v; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + WeatherStatusCapabilities_WeatherStatusBuilder? _weatherStatus; + WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus => + _$this._weatherStatus ??= + new WeatherStatusCapabilities_WeatherStatusBuilder(); + set weatherStatus( + covariant WeatherStatusCapabilities_WeatherStatusBuilder? + weatherStatus) => + _$this._weatherStatus = weatherStatus; - FilesSharingCapabilities_FilesSharing_UserBuilder(); + WeatherStatusCapabilitiesBuilder(); - FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { + WeatherStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _sendMail = $v.sendMail; - _expireDate = $v.expireDate?.toBuilder(); + _weatherStatus = $v.weatherStatus.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_User other) { + void replace(covariant WeatherStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_User; + _$v = other as _$WeatherStatusCapabilities; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { + void update(void Function(WeatherStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_User build() => _build(); + WeatherStatusCapabilities build() => _build(); - _$FilesSharingCapabilities_FilesSharing_User _build() { - _$FilesSharingCapabilities_FilesSharing_User _$result; + _$WeatherStatusCapabilities _build() { + _$WeatherStatusCapabilities _$result; try { _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_User._( - sendMail: BuiltValueNullFieldError.checkNotNull( - sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), - expireDate: _expireDate?.build()); + new _$WeatherStatusCapabilities._( + weatherStatus: weatherStatus.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); + _$failedField = 'weatherStatus'; + weatherStatus.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WeatherStatusCapabilities', _$failedField, e.toString()); } rethrow; } @@ -16143,220 +19113,276 @@ class FilesSharingCapabilities_FilesSharing_UserBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + String? get apppassword; + set apppassword(String? apppassword); } -class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data { @override - final bool enabled; + final String apppassword; - factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data( + [void Function( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( + {required this.apppassword}) + : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); + apppassword, + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', + 'apppassword'); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; + return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data && + apppassword == other.apppassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apppassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper( + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder +class AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Group_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => + _$this._apppassword = apppassword; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _apppassword = $v.apppassword; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { + void replace( + covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { + void update( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); + new _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data', + 'apppassword')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_GroupInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace( + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterface other); + void update( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate); + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data( + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? data); } -class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { +class _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs + extends AppPasswordGetAppPasswordResponseApplicationJson_Ocs { @override - final bool enabled; + final OCSMeta meta; @override - final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs_Data data; - factory _$FilesSharingCapabilities_FilesSharing_Group( - [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); + factory _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs( + [void Function( + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? + updates]) => + (new AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', 'data'); } @override - FilesSharingCapabilities_FilesSharing_Group rebuild( - void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => + AppPasswordGetAppPasswordResponseApplicationJson_Ocs rebuild( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_GroupBuilder()..replace(this); + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + new AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Group && - enabled == other.enabled && - expireDate == other.expireDate; + return other is AppPasswordGetAppPasswordResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') - ..add('enabled', enabled) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper( + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_GroupBuilder +class AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_GroupInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Group? _$v; + Builder, + AppPasswordGetAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - FilesSharingCapabilities_FilesSharing_GroupBuilder(); + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); - FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _expireDate = $v.expireDate?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Group other) { + void replace( + covariant AppPasswordGetAppPasswordResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { + void update( + void Function( + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Group build() => _build(); + AppPasswordGetAppPasswordResponseApplicationJson_Ocs build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Group _build() { - _$FilesSharingCapabilities_FilesSharing_Group _$result; + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Group._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), - expireDate: _expireDate?.build()); + new _$AppPasswordGetAppPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AppPasswordGetAppPasswordResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -16365,363 +19391,414 @@ class FilesSharingCapabilities_FilesSharing_GroupBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace(AppPasswordGetAppPasswordResponseApplicationJsonInterface other); + void update( + void Function( + AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder) + updates); + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? ocs); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { +class _$AppPasswordGetAppPasswordResponseApplicationJson + extends AppPasswordGetAppPasswordResponseApplicationJson { @override - final bool enabled; + final AppPasswordGetAppPasswordResponseApplicationJson_Ocs ocs; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); + factory _$AppPasswordGetAppPasswordResponseApplicationJson( + [void Function( + AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? + updates]) => + (new AppPasswordGetAppPasswordResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { + _$AppPasswordGetAppPasswordResponseApplicationJson._({required this.ocs}) + : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); + ocs, r'AppPasswordGetAppPasswordResponseApplicationJson', 'ocs'); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => + AppPasswordGetAppPasswordResponseApplicationJson rebuild( + void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + AppPasswordGetAppPasswordResponseApplicationJsonBuilder toBuilder() => + new AppPasswordGetAppPasswordResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; + return other is AppPasswordGetAppPasswordResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper( + r'AppPasswordGetAppPasswordResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder +class AppPasswordGetAppPasswordResponseApplicationJsonBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; + Builder, + AppPasswordGetAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordGetAppPasswordResponseApplicationJson? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs( + covariant AppPasswordGetAppPasswordResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + AppPasswordGetAppPasswordResponseApplicationJsonBuilder(); - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + AppPasswordGetAppPasswordResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { + void replace( + covariant AppPasswordGetAppPasswordResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + _$v = other as _$AppPasswordGetAppPasswordResponseApplicationJson; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + void update( + void Function(AppPasswordGetAppPasswordResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); + AppPasswordGetAppPasswordResponseApplicationJson build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); + _$AppPasswordGetAppPasswordResponseApplicationJson _build() { + _$AppPasswordGetAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$AppPasswordGetAppPasswordResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'AppPasswordGetAppPasswordResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterface other); +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterface + other); void update( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + String? get apppassword; + set apppassword(String? apppassword); } -class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported - extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data { @override - final bool enabled; + final String apppassword; - factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( - [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data( + [void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( + {required this.apppassword}) + : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); + apppassword, + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', + 'apppassword'); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( - void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data rebuild( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; + return other + is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data && + apppassword == other.apppassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apppassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper( + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder +class AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(covariant String? apppassword) => + _$this._apppassword = apppassword; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder + get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _apppassword = $v.apppassword; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { + void replace( + covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + _$v = + other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { + void update( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data build() => + _build(); - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data _build() { final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); + new _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data', + 'apppassword')); replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_FederationInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder) updates); - bool? get outgoing; - set outgoing(bool? outgoing); - - bool? get incoming; - set incoming(bool? incoming); - - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate; - set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate); +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace( + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterface other); + void update( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported; - set expireDateSupported( - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported); + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder get data; + set data( + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? + data); } -class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { - @override - final bool outgoing; - @override - final bool incoming; +class _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs + extends AppPasswordRotateAppPasswordResponseApplicationJson_Ocs { @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDate expireDate; + final OCSMeta meta; @override - final FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported expireDateSupported; + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_Data data; - factory _$FilesSharingCapabilities_FilesSharing_Federation( - [void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_FederationBuilder()..update(updates))._build(); + factory _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs( + [void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? + updates]) => + (new AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Federation._( - {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'); - BuiltValueNullFieldError.checkNotNull(incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDate'); - BuiltValueNullFieldError.checkNotNull( - expireDateSupported, r'FilesSharingCapabilities_FilesSharing_Federation', 'expireDateSupported'); + BuiltValueNullFieldError.checkNotNull(meta, + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', 'data'); } @override - FilesSharingCapabilities_FilesSharing_Federation rebuild( - void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder) updates) => + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs rebuild( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_FederationBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_FederationBuilder()..replace(this); + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + new AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Federation && - outgoing == other.outgoing && - incoming == other.incoming && - expireDate == other.expireDate && - expireDateSupported == other.expireDateSupported; + return other is AppPasswordRotateAppPasswordResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, outgoing.hashCode); - _$hash = $jc(_$hash, incoming.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, expireDateSupported.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') - ..add('outgoing', outgoing) - ..add('incoming', incoming) - ..add('expireDate', expireDate) - ..add('expireDateSupported', expireDateSupported)) + return (newBuiltValueToStringHelper( + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_FederationBuilder +class AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_FederationInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Federation? _$v; - - bool? _outgoing; - bool? get outgoing => _$this._outgoing; - set outgoing(covariant bool? outgoing) => _$this._outgoing = outgoing; - - bool? _incoming; - bool? get incoming => _$this._incoming; - set incoming(covariant bool? incoming) => _$this._incoming = incoming; + Builder, + AppPasswordRotateAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs? _$v; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => - _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); - set expireDate(covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; - FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => - _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - set expireDateSupported( - covariant FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => - _$this._expireDateSupported = expireDateSupported; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? _data; + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder + get data => _$this._data ??= + new AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - FilesSharingCapabilities_FilesSharing_FederationBuilder(); + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); - FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _outgoing = $v.outgoing; - _incoming = $v.incoming; - _expireDate = $v.expireDate.toBuilder(); - _expireDateSupported = $v.expireDateSupported.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Federation other) { + void replace( + covariant AppPasswordRotateAppPasswordResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { + void update( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Federation build() => _build(); + AppPasswordRotateAppPasswordResponseApplicationJson_Ocs build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Federation _build() { - _$FilesSharingCapabilities_FilesSharing_Federation _$result; + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Federation._( - outgoing: BuiltValueNullFieldError.checkNotNull( - outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), - incoming: BuiltValueNullFieldError.checkNotNull( - incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), - expireDate: expireDate.build(), - expireDateSupported: expireDateSupported.build()); + new _$AppPasswordRotateAppPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - expireDate.build(); - _$failedField = 'expireDateSupported'; - expireDateSupported.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AppPasswordRotateAppPasswordResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -16730,364 +19807,282 @@ class FilesSharingCapabilities_FilesSharing_FederationBuilder } } -abstract mixin class FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharing_ShareeInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder) updates); - bool? get queryLookupDefault; - set queryLookupDefault(bool? queryLookupDefault); - - bool? get alwaysShowUnique; - set alwaysShowUnique(bool? alwaysShowUnique); +abstract mixin class AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace( + AppPasswordRotateAppPasswordResponseApplicationJsonInterface other); + void update( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder) + updates); + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? ocs); } -class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { - @override - final bool queryLookupDefault; +class _$AppPasswordRotateAppPasswordResponseApplicationJson + extends AppPasswordRotateAppPasswordResponseApplicationJson { @override - final bool alwaysShowUnique; + final AppPasswordRotateAppPasswordResponseApplicationJson_Ocs ocs; - factory _$FilesSharingCapabilities_FilesSharing_Sharee( - [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); + factory _$AppPasswordRotateAppPasswordResponseApplicationJson( + [void Function( + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? + updates]) => + (new AppPasswordRotateAppPasswordResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities_FilesSharing_Sharee._({required this.queryLookupDefault, required this.alwaysShowUnique}) + _$AppPasswordRotateAppPasswordResponseApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'); - BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique'); + ocs, r'AppPasswordRotateAppPasswordResponseApplicationJson', 'ocs'); } @override - FilesSharingCapabilities_FilesSharing_Sharee rebuild( - void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => + AppPasswordRotateAppPasswordResponseApplicationJson rebuild( + void Function( + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => - FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder toBuilder() => + new AppPasswordRotateAppPasswordResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing_Sharee && - queryLookupDefault == other.queryLookupDefault && - alwaysShowUnique == other.alwaysShowUnique; + return other is AppPasswordRotateAppPasswordResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, queryLookupDefault.hashCode); - _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') - ..add('queryLookupDefault', queryLookupDefault) - ..add('alwaysShowUnique', alwaysShowUnique)) + return (newBuiltValueToStringHelper( + r'AppPasswordRotateAppPasswordResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class FilesSharingCapabilities_FilesSharing_ShareeBuilder +class AppPasswordRotateAppPasswordResponseApplicationJsonBuilder implements - Builder, - FilesSharingCapabilities_FilesSharing_ShareeInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; - - bool? _queryLookupDefault; - bool? get queryLookupDefault => _$this._queryLookupDefault; - set queryLookupDefault(covariant bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; + Builder, + AppPasswordRotateAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordRotateAppPasswordResponseApplicationJson? _$v; - bool? _alwaysShowUnique; - bool? get alwaysShowUnique => _$this._alwaysShowUnique; - set alwaysShowUnique(covariant bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs( + covariant AppPasswordRotateAppPasswordResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder(); - FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { + AppPasswordRotateAppPasswordResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _queryLookupDefault = $v.queryLookupDefault; - _alwaysShowUnique = $v.alwaysShowUnique; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing_Sharee other) { + void replace( + covariant AppPasswordRotateAppPasswordResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; + _$v = other as _$AppPasswordRotateAppPasswordResponseApplicationJson; } @override - void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { + void update( + void Function(AppPasswordRotateAppPasswordResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing_Sharee build() => _build(); + AppPasswordRotateAppPasswordResponseApplicationJson build() => _build(); - _$FilesSharingCapabilities_FilesSharing_Sharee _build() { - final _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing_Sharee._( - queryLookupDefault: BuiltValueNullFieldError.checkNotNull( - queryLookupDefault, r'FilesSharingCapabilities_FilesSharing_Sharee', 'queryLookupDefault'), - alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( - alwaysShowUnique, r'FilesSharingCapabilities_FilesSharing_Sharee', 'alwaysShowUnique')); + _$AppPasswordRotateAppPasswordResponseApplicationJson _build() { + _$AppPasswordRotateAppPasswordResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$AppPasswordRotateAppPasswordResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'AppPasswordRotateAppPasswordResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesSharingCapabilities_FilesSharingInterfaceBuilder { - void replace(FilesSharingCapabilities_FilesSharingInterface other); - void update(void Function(FilesSharingCapabilities_FilesSharingInterfaceBuilder) updates); - bool? get apiEnabled; - set apiEnabled(bool? apiEnabled); - - FilesSharingCapabilities_FilesSharing_PublicBuilder get public; - set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public); - - FilesSharingCapabilities_FilesSharing_UserBuilder get user; - set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user); +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + void replace( + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterface other); + void update( + void Function( + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get resharing; - set resharing(bool? resharing); + JsonObject? get data; + set data(JsonObject? data); +} - bool? get groupSharing; - set groupSharing(bool? groupSharing); +class _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs + extends AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final JsonObject data; - FilesSharingCapabilities_FilesSharing_GroupBuilder get group; - set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group); + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs( + [void Function( + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? + updates]) => + (new AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - int? get defaultPermissions; - set defaultPermissions(int? defaultPermissions); + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', 'data'); + } - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation; - set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation); + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs rebuild( + void Function( + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee; - set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee); -} + @override + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder toBuilder() => + new AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder() + ..replace(this); -class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { @override - final bool apiEnabled; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + @override - final FilesSharingCapabilities_FilesSharing_Public public; - @override - final FilesSharingCapabilities_FilesSharing_User user; - @override - final bool resharing; - @override - final bool? groupSharing; - @override - final FilesSharingCapabilities_FilesSharing_Group? group; - @override - final int? defaultPermissions; - @override - final FilesSharingCapabilities_FilesSharing_Federation federation; - @override - final FilesSharingCapabilities_FilesSharing_Sharee sharee; - - factory _$FilesSharingCapabilities_FilesSharing( - [void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates]) => - (FilesSharingCapabilities_FilesSharingBuilder()..update(updates))._build(); - - _$FilesSharingCapabilities_FilesSharing._( - {required this.apiEnabled, - required this.public, - required this.user, - required this.resharing, - this.groupSharing, - this.group, - this.defaultPermissions, - required this.federation, - required this.sharee}) - : super._() { - BuiltValueNullFieldError.checkNotNull(apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'); - BuiltValueNullFieldError.checkNotNull(public, r'FilesSharingCapabilities_FilesSharing', 'public'); - BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingCapabilities_FilesSharing', 'user'); - BuiltValueNullFieldError.checkNotNull(resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'); - BuiltValueNullFieldError.checkNotNull(federation, r'FilesSharingCapabilities_FilesSharing', 'federation'); - BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingCapabilities_FilesSharing', 'sharee'); - } - - @override - FilesSharingCapabilities_FilesSharing rebuild(void Function(FilesSharingCapabilities_FilesSharingBuilder) updates) => - (toBuilder()..update(updates)).build(); - - @override - FilesSharingCapabilities_FilesSharingBuilder toBuilder() => - FilesSharingCapabilities_FilesSharingBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is FilesSharingCapabilities_FilesSharing && - apiEnabled == other.apiEnabled && - public == other.public && - user == other.user && - resharing == other.resharing && - groupSharing == other.groupSharing && - group == other.group && - defaultPermissions == other.defaultPermissions && - federation == other.federation && - sharee == other.sharee; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, apiEnabled.hashCode); - _$hash = $jc(_$hash, public.hashCode); - _$hash = $jc(_$hash, user.hashCode); - _$hash = $jc(_$hash, resharing.hashCode); - _$hash = $jc(_$hash, groupSharing.hashCode); - _$hash = $jc(_$hash, group.hashCode); - _$hash = $jc(_$hash, defaultPermissions.hashCode); - _$hash = $jc(_$hash, federation.hashCode); - _$hash = $jc(_$hash, sharee.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') - ..add('apiEnabled', apiEnabled) - ..add('public', public) - ..add('user', user) - ..add('resharing', resharing) - ..add('groupSharing', groupSharing) - ..add('group', group) - ..add('defaultPermissions', defaultPermissions) - ..add('federation', federation) - ..add('sharee', sharee)) + return (newBuiltValueToStringHelper( + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class FilesSharingCapabilities_FilesSharingBuilder +class AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder implements - Builder, - FilesSharingCapabilities_FilesSharingInterfaceBuilder { - _$FilesSharingCapabilities_FilesSharing? _$v; - - bool? _apiEnabled; - bool? get apiEnabled => _$this._apiEnabled; - set apiEnabled(covariant bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - - FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; - FilesSharingCapabilities_FilesSharing_PublicBuilder get public => - _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); - set public(covariant FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; - - FilesSharingCapabilities_FilesSharing_UserBuilder? _user; - FilesSharingCapabilities_FilesSharing_UserBuilder get user => - _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); - set user(covariant FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; - - bool? _resharing; - bool? get resharing => _$this._resharing; - set resharing(covariant bool? resharing) => _$this._resharing = resharing; - - bool? _groupSharing; - bool? get groupSharing => _$this._groupSharing; - set groupSharing(covariant bool? groupSharing) => _$this._groupSharing = groupSharing; - - FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; - FilesSharingCapabilities_FilesSharing_GroupBuilder get group => - _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); - set group(covariant FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; - - int? _defaultPermissions; - int? get defaultPermissions => _$this._defaultPermissions; - set defaultPermissions(covariant int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs? _$v; - FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; - FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => - _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); - set federation(covariant FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => - _$this._federation = federation; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; - FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => - _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); - set sharee(covariant FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - FilesSharingCapabilities_FilesSharingBuilder(); + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); - FilesSharingCapabilities_FilesSharingBuilder get _$this { + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _apiEnabled = $v.apiEnabled; - _public = $v.public.toBuilder(); - _user = $v.user.toBuilder(); - _resharing = $v.resharing; - _groupSharing = $v.groupSharing; - _group = $v.group?.toBuilder(); - _defaultPermissions = $v.defaultPermissions; - _federation = $v.federation.toBuilder(); - _sharee = $v.sharee.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities_FilesSharing other) { + void replace( + covariant AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities_FilesSharing; + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs; } @override - void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { + void update( + void Function( + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities_FilesSharing build() => _build(); + AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs build() => _build(); - _$FilesSharingCapabilities_FilesSharing _build() { - _$FilesSharingCapabilities_FilesSharing _$result; + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$FilesSharingCapabilities_FilesSharing._( - apiEnabled: BuiltValueNullFieldError.checkNotNull( - apiEnabled, r'FilesSharingCapabilities_FilesSharing', 'apiEnabled'), - public: public.build(), - user: user.build(), - resharing: BuiltValueNullFieldError.checkNotNull( - resharing, r'FilesSharingCapabilities_FilesSharing', 'resharing'), - groupSharing: groupSharing, - group: _group?.build(), - defaultPermissions: defaultPermissions, - federation: federation.build(), - sharee: sharee.build()); + new _$AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', + 'data')); } catch (_) { late String _$failedField; try { - _$failedField = 'public'; - public.build(); - _$failedField = 'user'; - user.build(); - - _$failedField = 'group'; - _group?.build(); - - _$failedField = 'federation'; - federation.build(); - _$failedField = 'sharee'; - sharee.build(); + _$failedField = 'meta'; + meta.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -17096,99 +20091,132 @@ class FilesSharingCapabilities_FilesSharingBuilder } } -abstract mixin class FilesSharingCapabilitiesInterfaceBuilder { - void replace(FilesSharingCapabilitiesInterface other); - void update(void Function(FilesSharingCapabilitiesInterfaceBuilder) updates); - FilesSharingCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + void replace( + AppPasswordDeleteAppPasswordResponseApplicationJsonInterface other); + void update( + void Function( + AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder) + updates); + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs; + set ocs(AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? ocs); } -class _$FilesSharingCapabilities extends FilesSharingCapabilities { +class _$AppPasswordDeleteAppPasswordResponseApplicationJson + extends AppPasswordDeleteAppPasswordResponseApplicationJson { @override - final FilesSharingCapabilities_FilesSharing filesSharing; + final AppPasswordDeleteAppPasswordResponseApplicationJson_Ocs ocs; - factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => - (FilesSharingCapabilitiesBuilder()..update(updates))._build(); + factory _$AppPasswordDeleteAppPasswordResponseApplicationJson( + [void Function( + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? + updates]) => + (new AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); + _$AppPasswordDeleteAppPasswordResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'AppPasswordDeleteAppPasswordResponseApplicationJson', 'ocs'); } @override - FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => + AppPasswordDeleteAppPasswordResponseApplicationJson rebuild( + void Function( + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder toBuilder() => + new AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesSharingCapabilities && filesSharing == other.filesSharing; + return other is AppPasswordDeleteAppPasswordResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper( + r'AppPasswordDeleteAppPasswordResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class FilesSharingCapabilitiesBuilder +class AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder implements - Builder, - FilesSharingCapabilitiesInterfaceBuilder { - _$FilesSharingCapabilities? _$v; + Builder, + AppPasswordDeleteAppPasswordResponseApplicationJsonInterfaceBuilder { + _$AppPasswordDeleteAppPasswordResponseApplicationJson? _$v; - FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; - FilesSharingCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); - set filesSharing(covariant FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? _ocs; + AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder(); + set ocs( + covariant AppPasswordDeleteAppPasswordResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - FilesSharingCapabilitiesBuilder(); + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder(); - FilesSharingCapabilitiesBuilder get _$this { + AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesSharingCapabilities other) { + void replace( + covariant AppPasswordDeleteAppPasswordResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesSharingCapabilities; + _$v = other as _$AppPasswordDeleteAppPasswordResponseApplicationJson; } @override - void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { + void update( + void Function(AppPasswordDeleteAppPasswordResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesSharingCapabilities build() => _build(); + AppPasswordDeleteAppPasswordResponseApplicationJson build() => _build(); - _$FilesSharingCapabilities _build() { - _$FilesSharingCapabilities _$result; + _$AppPasswordDeleteAppPasswordResponseApplicationJson _build() { + _$AppPasswordDeleteAppPasswordResponseApplicationJson _$result; try { - _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); + _$result = _$v ?? + new _$AppPasswordDeleteAppPasswordResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - filesSharing.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AppPasswordDeleteAppPasswordResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -17197,186 +20225,260 @@ class FilesSharingCapabilitiesBuilder } } -abstract mixin class FilesTrashbinCapabilities_FilesInterfaceBuilder { - void replace(FilesTrashbinCapabilities_FilesInterface other); - void update(void Function(FilesTrashbinCapabilities_FilesInterfaceBuilder) updates); - bool? get undelete; - set undelete(bool? undelete); +abstract mixin class AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJson_OcsInterface other); + void update( + void Function(AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$FilesTrashbinCapabilities_Files extends FilesTrashbinCapabilities_Files { +class _$AutoCompleteGetResponseApplicationJson_Ocs + extends AutoCompleteGetResponseApplicationJson_Ocs { @override - final bool undelete; + final OCSMeta meta; + @override + final BuiltList data; - factory _$FilesTrashbinCapabilities_Files([void Function(FilesTrashbinCapabilities_FilesBuilder)? updates]) => - (FilesTrashbinCapabilities_FilesBuilder()..update(updates))._build(); + factory _$AutoCompleteGetResponseApplicationJson_Ocs( + [void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? + updates]) => + (new AutoCompleteGetResponseApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$FilesTrashbinCapabilities_Files._({required this.undelete}) : super._() { - BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete'); + _$AutoCompleteGetResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'AutoCompleteGetResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'AutoCompleteGetResponseApplicationJson_Ocs', 'data'); } @override - FilesTrashbinCapabilities_Files rebuild(void Function(FilesTrashbinCapabilities_FilesBuilder) updates) => + AutoCompleteGetResponseApplicationJson_Ocs rebuild( + void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesTrashbinCapabilities_FilesBuilder toBuilder() => FilesTrashbinCapabilities_FilesBuilder()..replace(this); + AutoCompleteGetResponseApplicationJson_OcsBuilder toBuilder() => + new AutoCompleteGetResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities_Files && undelete == other.undelete; + return other is AutoCompleteGetResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, undelete.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities_Files')..add('undelete', undelete)).toString(); + return (newBuiltValueToStringHelper( + r'AutoCompleteGetResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class FilesTrashbinCapabilities_FilesBuilder +class AutoCompleteGetResponseApplicationJson_OcsBuilder implements - Builder, - FilesTrashbinCapabilities_FilesInterfaceBuilder { - _$FilesTrashbinCapabilities_Files? _$v; + Builder, + AutoCompleteGetResponseApplicationJson_OcsInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson_Ocs? _$v; - bool? _undelete; - bool? get undelete => _$this._undelete; - set undelete(covariant bool? undelete) => _$this._undelete = undelete; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - FilesTrashbinCapabilities_FilesBuilder(); + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => + _$this._data = data; - FilesTrashbinCapabilities_FilesBuilder get _$this { + AutoCompleteGetResponseApplicationJson_OcsBuilder(); + + AutoCompleteGetResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _undelete = $v.undelete; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesTrashbinCapabilities_Files other) { + void replace(covariant AutoCompleteGetResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities_Files; + _$v = other as _$AutoCompleteGetResponseApplicationJson_Ocs; } @override - void update(void Function(FilesTrashbinCapabilities_FilesBuilder)? updates) { + void update( + void Function(AutoCompleteGetResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - FilesTrashbinCapabilities_Files build() => _build(); + AutoCompleteGetResponseApplicationJson_Ocs build() => _build(); - _$FilesTrashbinCapabilities_Files _build() { - final _$result = _$v ?? - _$FilesTrashbinCapabilities_Files._( - undelete: BuiltValueNullFieldError.checkNotNull(undelete, r'FilesTrashbinCapabilities_Files', 'undelete')); + _$AutoCompleteGetResponseApplicationJson_Ocs _build() { + _$AutoCompleteGetResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$AutoCompleteGetResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'AutoCompleteGetResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class FilesTrashbinCapabilitiesInterfaceBuilder { - void replace(FilesTrashbinCapabilitiesInterface other); - void update(void Function(FilesTrashbinCapabilitiesInterfaceBuilder) updates); - FilesTrashbinCapabilities_FilesBuilder get files; - set files(FilesTrashbinCapabilities_FilesBuilder? files); +abstract mixin class AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + void replace(AutoCompleteGetResponseApplicationJsonInterface other); + void update( + void Function(AutoCompleteGetResponseApplicationJsonInterfaceBuilder) + updates); + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs; + set ocs(AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs); } -class _$FilesTrashbinCapabilities extends FilesTrashbinCapabilities { +class _$AutoCompleteGetResponseApplicationJson + extends AutoCompleteGetResponseApplicationJson { @override - final FilesTrashbinCapabilities_Files files; + final AutoCompleteGetResponseApplicationJson_Ocs ocs; - factory _$FilesTrashbinCapabilities([void Function(FilesTrashbinCapabilitiesBuilder)? updates]) => - (FilesTrashbinCapabilitiesBuilder()..update(updates))._build(); + factory _$AutoCompleteGetResponseApplicationJson( + [void Function(AutoCompleteGetResponseApplicationJsonBuilder)? + updates]) => + (new AutoCompleteGetResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$FilesTrashbinCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesTrashbinCapabilities', 'files'); + _$AutoCompleteGetResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'AutoCompleteGetResponseApplicationJson', 'ocs'); } @override - FilesTrashbinCapabilities rebuild(void Function(FilesTrashbinCapabilitiesBuilder) updates) => + AutoCompleteGetResponseApplicationJson rebuild( + void Function(AutoCompleteGetResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - FilesTrashbinCapabilitiesBuilder toBuilder() => FilesTrashbinCapabilitiesBuilder()..replace(this); + AutoCompleteGetResponseApplicationJsonBuilder toBuilder() => + new AutoCompleteGetResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesTrashbinCapabilities && files == other.files; + return other is AutoCompleteGetResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesTrashbinCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper( + r'AutoCompleteGetResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class FilesTrashbinCapabilitiesBuilder +class AutoCompleteGetResponseApplicationJsonBuilder implements - Builder, - FilesTrashbinCapabilitiesInterfaceBuilder { - _$FilesTrashbinCapabilities? _$v; + Builder, + AutoCompleteGetResponseApplicationJsonInterfaceBuilder { + _$AutoCompleteGetResponseApplicationJson? _$v; - FilesTrashbinCapabilities_FilesBuilder? _files; - FilesTrashbinCapabilities_FilesBuilder get files => _$this._files ??= FilesTrashbinCapabilities_FilesBuilder(); - set files(covariant FilesTrashbinCapabilities_FilesBuilder? files) => _$this._files = files; + AutoCompleteGetResponseApplicationJson_OcsBuilder? _ocs; + AutoCompleteGetResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= new AutoCompleteGetResponseApplicationJson_OcsBuilder(); + set ocs(covariant AutoCompleteGetResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - FilesTrashbinCapabilitiesBuilder(); + AutoCompleteGetResponseApplicationJsonBuilder(); - FilesTrashbinCapabilitiesBuilder get _$this { + AutoCompleteGetResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant FilesTrashbinCapabilities other) { + void replace(covariant AutoCompleteGetResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesTrashbinCapabilities; + _$v = other as _$AutoCompleteGetResponseApplicationJson; } @override - void update(void Function(FilesTrashbinCapabilitiesBuilder)? updates) { + void update( + void Function(AutoCompleteGetResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - FilesTrashbinCapabilities build() => _build(); + AutoCompleteGetResponseApplicationJson build() => _build(); - _$FilesTrashbinCapabilities _build() { - _$FilesTrashbinCapabilities _$result; + _$AutoCompleteGetResponseApplicationJson _build() { + _$AutoCompleteGetResponseApplicationJson _$result; try { - _$result = _$v ?? _$FilesTrashbinCapabilities._(files: files.build()); + _$result = _$v ?? + new _$AutoCompleteGetResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'files'; - files.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'FilesTrashbinCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'AutoCompleteGetResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -17385,335 +20487,354 @@ class FilesTrashbinCapabilitiesBuilder } } -abstract mixin class FilesVersionsCapabilities_FilesInterfaceBuilder { - void replace(FilesVersionsCapabilities_FilesInterface other); - void update(void Function(FilesVersionsCapabilities_FilesInterfaceBuilder) updates); - bool? get versioning; - set versioning(bool? versioning); - - bool? get versionLabeling; - set versionLabeling(bool? versionLabeling); - - bool? get versionDeletion; - set versionDeletion(bool? versionDeletion); +abstract mixin class AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarDarkHeadersInterface other); + void update( + void Function(AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); } -class _$FilesVersionsCapabilities_Files extends FilesVersionsCapabilities_Files { - @override - final bool versioning; - @override - final bool versionLabeling; +class _$AvatarAvatarGetAvatarDarkHeaders + extends AvatarAvatarGetAvatarDarkHeaders { @override - final bool versionDeletion; + final int? xNcIscustomavatar; - factory _$FilesVersionsCapabilities_Files([void Function(FilesVersionsCapabilities_FilesBuilder)? updates]) => - (FilesVersionsCapabilities_FilesBuilder()..update(updates))._build(); + factory _$AvatarAvatarGetAvatarDarkHeaders( + [void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (new AvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities_Files._( - {required this.versioning, required this.versionLabeling, required this.versionDeletion}) - : super._() { - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'); - BuiltValueNullFieldError.checkNotNull(versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'); - BuiltValueNullFieldError.checkNotNull(versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion'); - } + _$AvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); @override - FilesVersionsCapabilities_Files rebuild(void Function(FilesVersionsCapabilities_FilesBuilder) updates) => + AvatarAvatarGetAvatarDarkHeaders rebuild( + void Function(AvatarAvatarGetAvatarDarkHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilities_FilesBuilder toBuilder() => FilesVersionsCapabilities_FilesBuilder()..replace(this); + AvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => + new AvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities_Files && - versioning == other.versioning && - versionLabeling == other.versionLabeling && - versionDeletion == other.versionDeletion; + return other is AvatarAvatarGetAvatarDarkHeaders && + xNcIscustomavatar == other.xNcIscustomavatar; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, versioning.hashCode); - _$hash = $jc(_$hash, versionLabeling.hashCode); - _$hash = $jc(_$hash, versionDeletion.hashCode); + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities_Files') - ..add('versioning', versioning) - ..add('versionLabeling', versionLabeling) - ..add('versionDeletion', versionDeletion)) + return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class FilesVersionsCapabilities_FilesBuilder +class AvatarAvatarGetAvatarDarkHeadersBuilder implements - Builder, - FilesVersionsCapabilities_FilesInterfaceBuilder { - _$FilesVersionsCapabilities_Files? _$v; - - bool? _versioning; - bool? get versioning => _$this._versioning; - set versioning(covariant bool? versioning) => _$this._versioning = versioning; - - bool? _versionLabeling; - bool? get versionLabeling => _$this._versionLabeling; - set versionLabeling(covariant bool? versionLabeling) => _$this._versionLabeling = versionLabeling; + Builder, + AvatarAvatarGetAvatarDarkHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarDarkHeaders? _$v; - bool? _versionDeletion; - bool? get versionDeletion => _$this._versionDeletion; - set versionDeletion(covariant bool? versionDeletion) => _$this._versionDeletion = versionDeletion; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => + _$this._xNcIscustomavatar = xNcIscustomavatar; - FilesVersionsCapabilities_FilesBuilder(); + AvatarAvatarGetAvatarDarkHeadersBuilder(); - FilesVersionsCapabilities_FilesBuilder get _$this { + AvatarAvatarGetAvatarDarkHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _versioning = $v.versioning; - _versionLabeling = $v.versionLabeling; - _versionDeletion = $v.versionDeletion; + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities_Files other) { + void replace(covariant AvatarAvatarGetAvatarDarkHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities_Files; + _$v = other as _$AvatarAvatarGetAvatarDarkHeaders; } @override - void update(void Function(FilesVersionsCapabilities_FilesBuilder)? updates) { + void update(void Function(AvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities_Files build() => _build(); + AvatarAvatarGetAvatarDarkHeaders build() => _build(); - _$FilesVersionsCapabilities_Files _build() { + _$AvatarAvatarGetAvatarDarkHeaders _build() { final _$result = _$v ?? - _$FilesVersionsCapabilities_Files._( - versioning: - BuiltValueNullFieldError.checkNotNull(versioning, r'FilesVersionsCapabilities_Files', 'versioning'), - versionLabeling: BuiltValueNullFieldError.checkNotNull( - versionLabeling, r'FilesVersionsCapabilities_Files', 'versionLabeling'), - versionDeletion: BuiltValueNullFieldError.checkNotNull( - versionDeletion, r'FilesVersionsCapabilities_Files', 'versionDeletion')); + new _$AvatarAvatarGetAvatarDarkHeaders._( + xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -abstract mixin class FilesVersionsCapabilitiesInterfaceBuilder { - void replace(FilesVersionsCapabilitiesInterface other); - void update(void Function(FilesVersionsCapabilitiesInterfaceBuilder) updates); - FilesVersionsCapabilities_FilesBuilder get files; - set files(FilesVersionsCapabilities_FilesBuilder? files); +abstract mixin class AvatarAvatarGetAvatarHeadersInterfaceBuilder { + void replace(AvatarAvatarGetAvatarHeadersInterface other); + void update( + void Function(AvatarAvatarGetAvatarHeadersInterfaceBuilder) updates); + int? get xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar); } -class _$FilesVersionsCapabilities extends FilesVersionsCapabilities { +class _$AvatarAvatarGetAvatarHeaders extends AvatarAvatarGetAvatarHeaders { @override - final FilesVersionsCapabilities_Files files; + final int? xNcIscustomavatar; - factory _$FilesVersionsCapabilities([void Function(FilesVersionsCapabilitiesBuilder)? updates]) => - (FilesVersionsCapabilitiesBuilder()..update(updates))._build(); + factory _$AvatarAvatarGetAvatarHeaders( + [void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (new AvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); - _$FilesVersionsCapabilities._({required this.files}) : super._() { - BuiltValueNullFieldError.checkNotNull(files, r'FilesVersionsCapabilities', 'files'); - } + _$AvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); @override - FilesVersionsCapabilities rebuild(void Function(FilesVersionsCapabilitiesBuilder) updates) => + AvatarAvatarGetAvatarHeaders rebuild( + void Function(AvatarAvatarGetAvatarHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - FilesVersionsCapabilitiesBuilder toBuilder() => FilesVersionsCapabilitiesBuilder()..replace(this); + AvatarAvatarGetAvatarHeadersBuilder toBuilder() => + new AvatarAvatarGetAvatarHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is FilesVersionsCapabilities && files == other.files; + return other is AvatarAvatarGetAvatarHeaders && + xNcIscustomavatar == other.xNcIscustomavatar; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, files.hashCode); + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'FilesVersionsCapabilities')..add('files', files)).toString(); + return (newBuiltValueToStringHelper(r'AvatarAvatarGetAvatarHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) + .toString(); } } -class FilesVersionsCapabilitiesBuilder +class AvatarAvatarGetAvatarHeadersBuilder implements - Builder, - FilesVersionsCapabilitiesInterfaceBuilder { - _$FilesVersionsCapabilities? _$v; + Builder, + AvatarAvatarGetAvatarHeadersInterfaceBuilder { + _$AvatarAvatarGetAvatarHeaders? _$v; - FilesVersionsCapabilities_FilesBuilder? _files; - FilesVersionsCapabilities_FilesBuilder get files => _$this._files ??= FilesVersionsCapabilities_FilesBuilder(); - set files(covariant FilesVersionsCapabilities_FilesBuilder? files) => _$this._files = files; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(covariant int? xNcIscustomavatar) => + _$this._xNcIscustomavatar = xNcIscustomavatar; - FilesVersionsCapabilitiesBuilder(); + AvatarAvatarGetAvatarHeadersBuilder(); - FilesVersionsCapabilitiesBuilder get _$this { + AvatarAvatarGetAvatarHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _files = $v.files.toBuilder(); + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(covariant FilesVersionsCapabilities other) { + void replace(covariant AvatarAvatarGetAvatarHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$FilesVersionsCapabilities; + _$v = other as _$AvatarAvatarGetAvatarHeaders; } @override - void update(void Function(FilesVersionsCapabilitiesBuilder)? updates) { + void update(void Function(AvatarAvatarGetAvatarHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - FilesVersionsCapabilities build() => _build(); + AvatarAvatarGetAvatarHeaders build() => _build(); - _$FilesVersionsCapabilities _build() { - _$FilesVersionsCapabilities _$result; - try { - _$result = _$v ?? _$FilesVersionsCapabilities._(files: files.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'files'; - files.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'FilesVersionsCapabilities', _$failedField, e.toString()); - } - rethrow; - } + _$AvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? + new _$AvatarAvatarGetAvatarHeaders._( + xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -abstract mixin class NotesCapabilities_NotesInterfaceBuilder { - void replace(NotesCapabilities_NotesInterface other); - void update(void Function(NotesCapabilities_NotesInterfaceBuilder) updates); - ListBuilder get apiVersion; - set apiVersion(ListBuilder? apiVersion); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get version; - set version(String? version); + ListBuilder get data; + set data(ListBuilder? data); } -class _$NotesCapabilities_Notes extends NotesCapabilities_Notes { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + extends CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs { @override - final BuiltList? apiVersion; + final OCSMeta meta; @override - final String? version; + final BuiltList data; - factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => - (NotesCapabilities_NotesBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, + r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', + 'data'); + } @override - NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; + return other + is CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') - ..add('apiVersion', apiVersion) - ..add('version', version)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class NotesCapabilities_NotesBuilder +class CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder implements - Builder, - NotesCapabilities_NotesInterfaceBuilder { - _$NotesCapabilities_Notes? _$v; + Builder< + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs, + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder>, + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs? _$v; - ListBuilder? _apiVersion; - ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); - set apiVersion(covariant ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - NotesCapabilities_NotesBuilder(); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); - NotesCapabilities_NotesBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _apiVersion = $v.apiVersion?.toBuilder(); - _version = $v.version; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotesCapabilities_Notes other) { + void replace( + covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities_Notes; + _$v = other + as _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs; } @override - void update(void Function(NotesCapabilities_NotesBuilder)? updates) { + void update( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - NotesCapabilities_Notes build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs build() => + _build(); - _$NotesCapabilities_Notes _build() { - _$NotesCapabilities_Notes _$result; + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + _$result; try { - _$result = _$v ?? _$NotesCapabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + _$result = _$v ?? + new _$CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'apiVersion'; - _apiVersion?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotesCapabilities_Notes', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -17722,94 +20843,147 @@ class NotesCapabilities_NotesBuilder } } -abstract mixin class NotesCapabilitiesInterfaceBuilder { - void replace(NotesCapabilitiesInterface other); - void update(void Function(NotesCapabilitiesInterfaceBuilder) updates); - NotesCapabilities_NotesBuilder get notes; - set notes(NotesCapabilities_NotesBuilder? notes); +abstract mixin class CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? + ocs); } -class _$NotesCapabilities extends NotesCapabilities { +class _$CollaborationResourcesSearchCollectionsResponseApplicationJson + extends CollaborationResourcesSearchCollectionsResponseApplicationJson { @override - final NotesCapabilities_Notes notes; + final CollaborationResourcesSearchCollectionsResponseApplicationJson_Ocs ocs; - factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => - (NotesCapabilitiesBuilder()..update(updates))._build(); + factory _$CollaborationResourcesSearchCollectionsResponseApplicationJson( + [void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$NotesCapabilities._({required this.notes}) : super._() { - BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); + _$CollaborationResourcesSearchCollectionsResponseApplicationJson._( + {required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, + r'CollaborationResourcesSearchCollectionsResponseApplicationJson', + 'ocs'); } @override - NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson rebuild( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotesCapabilities && notes == other.notes; + return other + is CollaborationResourcesSearchCollectionsResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); + return (newBuiltValueToStringHelper( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class NotesCapabilitiesBuilder - implements Builder, NotesCapabilitiesInterfaceBuilder { - _$NotesCapabilities? _$v; +class CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder + implements + Builder, + CollaborationResourcesSearchCollectionsResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson? _$v; - NotesCapabilities_NotesBuilder? _notes; - NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); - set notes(covariant NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? + _ocs; + CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesSearchCollectionsResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - NotesCapabilitiesBuilder(); + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder(); - NotesCapabilitiesBuilder get _$this { + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _notes = $v.notes.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotesCapabilities other) { + void replace( + covariant CollaborationResourcesSearchCollectionsResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotesCapabilities; + _$v = other + as _$CollaborationResourcesSearchCollectionsResponseApplicationJson; } @override - void update(void Function(NotesCapabilitiesBuilder)? updates) { + void update( + void Function( + CollaborationResourcesSearchCollectionsResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - NotesCapabilities build() => _build(); + CollaborationResourcesSearchCollectionsResponseApplicationJson build() => + _build(); - _$NotesCapabilities _build() { - _$NotesCapabilities _$result; + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _build() { + _$CollaborationResourcesSearchCollectionsResponseApplicationJson _$result; try { - _$result = _$v ?? _$NotesCapabilities._(notes: notes.build()); + _$result = _$v ?? + new _$CollaborationResourcesSearchCollectionsResponseApplicationJson + ._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'notes'; - notes.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotesCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesSearchCollectionsResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -17818,141 +20992,157 @@ class NotesCapabilitiesBuilder } } -abstract mixin class NotificationsCapabilities_NotificationsInterfaceBuilder { - void replace(NotificationsCapabilities_NotificationsInterface other); - void update(void Function(NotificationsCapabilities_NotificationsInterfaceBuilder) updates); - ListBuilder get ocsEndpoints; - set ocsEndpoints(ListBuilder? ocsEndpoints); - - ListBuilder get push; - set push(ListBuilder? push); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - ListBuilder get adminNotifications; - set adminNotifications(ListBuilder? adminNotifications); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { - @override - final BuiltList ocsEndpoints; +class _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesListCollectionResponseApplicationJson_Ocs { @override - final BuiltList push; + final OCSMeta meta; @override - final BuiltList adminNotifications; + final Collection data; - factory _$NotificationsCapabilities_Notifications( - [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => - (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$NotificationsCapabilities_Notifications._( - {required this.ocsEndpoints, required this.push, required this.adminNotifications}) + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocsEndpoints, r'NotificationsCapabilities_Notifications', 'ocsEndpoints'); - BuiltValueNullFieldError.checkNotNull(push, r'NotificationsCapabilities_Notifications', 'push'); BuiltValueNullFieldError.checkNotNull( - adminNotifications, r'NotificationsCapabilities_Notifications', 'adminNotifications'); + meta, + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', + 'data'); } @override - NotificationsCapabilities_Notifications rebuild( - void Function(NotificationsCapabilities_NotificationsBuilder) updates) => + CollaborationResourcesListCollectionResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilities_NotificationsBuilder toBuilder() => - NotificationsCapabilities_NotificationsBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotificationsCapabilities_Notifications && - ocsEndpoints == other.ocsEndpoints && - push == other.push && - adminNotifications == other.adminNotifications; + return other + is CollaborationResourcesListCollectionResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocsEndpoints.hashCode); - _$hash = $jc(_$hash, push.hashCode); - _$hash = $jc(_$hash, adminNotifications.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') - ..add('ocsEndpoints', ocsEndpoints) - ..add('push', push) - ..add('adminNotifications', adminNotifications)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class NotificationsCapabilities_NotificationsBuilder +class CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder implements - Builder, - NotificationsCapabilities_NotificationsInterfaceBuilder { - _$NotificationsCapabilities_Notifications? _$v; - - ListBuilder? _ocsEndpoints; - ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); - set ocsEndpoints(covariant ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + Builder, + CollaborationResourcesListCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs? _$v; - ListBuilder? _push; - ListBuilder get push => _$this._push ??= ListBuilder(); - set push(covariant ListBuilder? push) => _$this._push = push; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _adminNotifications; - ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); - set adminNotifications(covariant ListBuilder? adminNotifications) => - _$this._adminNotifications = adminNotifications; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= new CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - NotificationsCapabilities_NotificationsBuilder(); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); - NotificationsCapabilities_NotificationsBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocsEndpoints = $v.ocsEndpoints.toBuilder(); - _push = $v.push.toBuilder(); - _adminNotifications = $v.adminNotifications.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities_Notifications other) { + void replace( + covariant CollaborationResourcesListCollectionResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities_Notifications; + _$v = other + as _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { + void update( + void Function( + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities_Notifications build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson_Ocs build() => + _build(); - _$NotificationsCapabilities_Notifications _build() { - _$NotificationsCapabilities_Notifications _$result; + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$NotificationsCapabilities_Notifications._( - ocsEndpoints: ocsEndpoints.build(), push: push.build(), adminNotifications: adminNotifications.build()); + new _$CollaborationResourcesListCollectionResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocsEndpoints'; - ocsEndpoints.build(); - _$failedField = 'push'; - push.build(); - _$failedField = 'adminNotifications'; - adminNotifications.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities_Notifications', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesListCollectionResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -17961,99 +21151,144 @@ class NotificationsCapabilities_NotificationsBuilder } } -abstract mixin class NotificationsCapabilitiesInterfaceBuilder { - void replace(NotificationsCapabilitiesInterface other); - void update(void Function(NotificationsCapabilitiesInterfaceBuilder) updates); - NotificationsCapabilities_NotificationsBuilder get notifications; - set notifications(NotificationsCapabilities_NotificationsBuilder? notifications); +abstract mixin class CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesListCollectionResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? + ocs); } -class _$NotificationsCapabilities extends NotificationsCapabilities { +class _$CollaborationResourcesListCollectionResponseApplicationJson + extends CollaborationResourcesListCollectionResponseApplicationJson { @override - final NotificationsCapabilities_Notifications notifications; + final CollaborationResourcesListCollectionResponseApplicationJson_Ocs ocs; - factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => - (NotificationsCapabilitiesBuilder()..update(updates))._build(); + factory _$CollaborationResourcesListCollectionResponseApplicationJson( + [void Function( + CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesListCollectionResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$NotificationsCapabilities._({required this.notifications}) : super._() { - BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); + _$CollaborationResourcesListCollectionResponseApplicationJson._( + {required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, + r'CollaborationResourcesListCollectionResponseApplicationJson', 'ocs'); } @override - NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => + CollaborationResourcesListCollectionResponseApplicationJson rebuild( + void Function( + CollaborationResourcesListCollectionResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesListCollectionResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is NotificationsCapabilities && notifications == other.notifications; + return other + is CollaborationResourcesListCollectionResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, notifications.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); + return (newBuiltValueToStringHelper( + r'CollaborationResourcesListCollectionResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class NotificationsCapabilitiesBuilder +class CollaborationResourcesListCollectionResponseApplicationJsonBuilder implements - Builder, - NotificationsCapabilitiesInterfaceBuilder { - _$NotificationsCapabilities? _$v; + Builder, + CollaborationResourcesListCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesListCollectionResponseApplicationJson? _$v; - NotificationsCapabilities_NotificationsBuilder? _notifications; - NotificationsCapabilities_NotificationsBuilder get notifications => - _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); - set notifications(covariant NotificationsCapabilities_NotificationsBuilder? notifications) => - _$this._notifications = notifications; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesListCollectionResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - NotificationsCapabilitiesBuilder(); + CollaborationResourcesListCollectionResponseApplicationJsonBuilder(); - NotificationsCapabilitiesBuilder get _$this { + CollaborationResourcesListCollectionResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _notifications = $v.notifications.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant NotificationsCapabilities other) { + void replace( + covariant CollaborationResourcesListCollectionResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$NotificationsCapabilities; + _$v = + other as _$CollaborationResourcesListCollectionResponseApplicationJson; } @override - void update(void Function(NotificationsCapabilitiesBuilder)? updates) { + void update( + void Function( + CollaborationResourcesListCollectionResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - NotificationsCapabilities build() => _build(); + CollaborationResourcesListCollectionResponseApplicationJson build() => + _build(); - _$NotificationsCapabilities _build() { - _$NotificationsCapabilities _$result; + _$CollaborationResourcesListCollectionResponseApplicationJson _build() { + _$CollaborationResourcesListCollectionResponseApplicationJson _$result; try { - _$result = _$v ?? _$NotificationsCapabilities._(notifications: notifications.build()); + _$result = _$v ?? + new _$CollaborationResourcesListCollectionResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'notifications'; - notifications.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'NotificationsCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesListCollectionResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -18062,259 +21297,308 @@ class NotificationsCapabilitiesBuilder } } -abstract mixin class ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - void replace(ProvisioningApiCapabilities_ProvisioningApiInterface other); - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder) updates); - String? get version; - set version(String? version); - - int? get accountPropertyScopesVersion; - set accountPropertyScopesVersion(int? accountPropertyScopesVersion); - - bool? get accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { - @override - final String version; - @override - final int accountPropertyScopesVersion; +class _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + extends CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs { @override - final bool accountPropertyScopesFederatedEnabled; + final OCSMeta meta; @override - final bool accountPropertyScopesPublishedEnabled; + final Collection data; - factory _$ProvisioningApiCapabilities_ProvisioningApi( - [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => - (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ProvisioningApiCapabilities_ProvisioningApi._( - {required this.version, - required this.accountPropertyScopesVersion, - required this.accountPropertyScopesFederatedEnabled, - required this.accountPropertyScopesPublishedEnabled}) + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'); BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesVersion, r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'); - BuiltValueNullFieldError.checkNotNull(accountPropertyScopesFederatedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesFederatedEnabled'); - BuiltValueNullFieldError.checkNotNull(accountPropertyScopesPublishedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesPublishedEnabled'); + meta, + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', + 'data'); } @override - ProvisioningApiCapabilities_ProvisioningApi rebuild( - void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => - ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiCapabilities_ProvisioningApi && - version == other.version && - accountPropertyScopesVersion == other.accountPropertyScopesVersion && - accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && - accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; + return other + is CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities_ProvisioningApi') - ..add('version', version) - ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) - ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) - ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ProvisioningApiCapabilities_ProvisioningApiBuilder +class CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder implements - Builder, - ProvisioningApiCapabilities_ProvisioningApiInterfaceBuilder { - _$ProvisioningApiCapabilities_ProvisioningApi? _$v; - - String? _version; - String? get version => _$this._version; - set version(covariant String? version) => _$this._version = version; - - int? _accountPropertyScopesVersion; - int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; - set accountPropertyScopesVersion(covariant int? accountPropertyScopesVersion) => - _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; + Builder< + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs, + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder>, + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs? _$v; - bool? _accountPropertyScopesFederatedEnabled; - bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(covariant bool? accountPropertyScopesFederatedEnabled) => - _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accountPropertyScopesPublishedEnabled; - bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(covariant bool? accountPropertyScopesPublishedEnabled) => - _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= new CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - ProvisioningApiCapabilities_ProvisioningApiBuilder(); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); - ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; - _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; - _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProvisioningApiCapabilities_ProvisioningApi other) { + void replace( + covariant CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; + _$v = other + as _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs; } @override - void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { + void update( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities_ProvisioningApi build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs build() => + _build(); - _$ProvisioningApiCapabilities_ProvisioningApi _build() { - final _$result = _$v ?? - _$ProvisioningApiCapabilities_ProvisioningApi._( - version: BuiltValueNullFieldError.checkNotNull( - version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'), - accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, - r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'), - accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesFederatedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', - 'accountPropertyScopesFederatedEnabled'), - accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( - accountPropertyScopesPublishedEnabled, - r'ProvisioningApiCapabilities_ProvisioningApi', - 'accountPropertyScopesPublishedEnabled')); + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ProvisioningApiCapabilitiesInterfaceBuilder { - void replace(ProvisioningApiCapabilitiesInterface other); - void update(void Function(ProvisioningApiCapabilitiesInterfaceBuilder) updates); - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi; - set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi); +abstract mixin class CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesRenameCollectionResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? + ocs); } -class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { +class _$CollaborationResourcesRenameCollectionResponseApplicationJson + extends CollaborationResourcesRenameCollectionResponseApplicationJson { @override - final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; + final CollaborationResourcesRenameCollectionResponseApplicationJson_Ocs ocs; - factory _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => - (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRenameCollectionResponseApplicationJson( + [void Function( + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { - BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); + _$CollaborationResourcesRenameCollectionResponseApplicationJson._( + {required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, + r'CollaborationResourcesRenameCollectionResponseApplicationJson', + 'ocs'); } @override - ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => + CollaborationResourcesRenameCollectionResponseApplicationJson rebuild( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; + return other + is CollaborationResourcesRenameCollectionResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, provisioningApi.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesRenameCollectionResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class ProvisioningApiCapabilitiesBuilder +class CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder implements - Builder, - ProvisioningApiCapabilitiesInterfaceBuilder { - _$ProvisioningApiCapabilities? _$v; + Builder, + CollaborationResourcesRenameCollectionResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRenameCollectionResponseApplicationJson? _$v; - ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; - ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => - _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); - set provisioningApi(covariant ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => - _$this._provisioningApi = provisioningApi; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? + _ocs; + CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesRenameCollectionResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ProvisioningApiCapabilitiesBuilder(); + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder(); - ProvisioningApiCapabilitiesBuilder get _$this { + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _provisioningApi = $v.provisioningApi.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProvisioningApiCapabilities other) { + void replace( + covariant CollaborationResourcesRenameCollectionResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiCapabilities; + _$v = other + as _$CollaborationResourcesRenameCollectionResponseApplicationJson; } @override - void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { + void update( + void Function( + CollaborationResourcesRenameCollectionResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ProvisioningApiCapabilities build() => _build(); + CollaborationResourcesRenameCollectionResponseApplicationJson build() => + _build(); - _$ProvisioningApiCapabilities _build() { - _$ProvisioningApiCapabilities _$result; + _$CollaborationResourcesRenameCollectionResponseApplicationJson _build() { + _$CollaborationResourcesRenameCollectionResponseApplicationJson _$result; try { - _$result = _$v ?? _$ProvisioningApiCapabilities._(provisioningApi: provisioningApi.build()); + _$result = _$v ?? + new _$CollaborationResourcesRenameCollectionResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'provisioningApi'; - provisioningApi.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesRenameCollectionResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -18323,521 +21607,600 @@ class ProvisioningApiCapabilitiesBuilder } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop - extends SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop { +class _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs + extends CollaborationResourcesAddResourceResponseApplicationJson_Ocs { @override - final bool enabled; + final OCSMeta meta; + @override + final Collection data; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._({required this.enabled}) : super._() { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled'); + meta, + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', + 'data'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) updates) => + CollaborationResourcesAddResourceResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop && enabled == other.enabled; + return other + is CollaborationResourcesAddResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder +class CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; + Builder, + CollaborationResourcesAddResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= new CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { + void replace( + covariant CollaborationResourcesAddResourceResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop; + _$v = + other as _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? updates) { + void update( + void Function( + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); - - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { - final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop', 'enabled')); - replace(_$result); - return _$result; - } -} - -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get enforced; - set enforced(bool? enforced); -} + CollaborationResourcesAddResourceResponseApplicationJson_Ocs build() => + _build(); -class _$SharebymailCapabilities_FilesSharing_Sharebymail_Password - extends SharebymailCapabilities_FilesSharing_Sharebymail_Password { - @override - final bool enabled; + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesAddResourceResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesAddResourceResponseApplicationJsonInterface other); + void update( + void Function( + CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs; + set ocs( + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? ocs); +} + +class _$CollaborationResourcesAddResourceResponseApplicationJson + extends CollaborationResourcesAddResourceResponseApplicationJson { @override - final bool enforced; + final CollaborationResourcesAddResourceResponseApplicationJson_Ocs ocs; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_Password( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates))._build(); + factory _$CollaborationResourcesAddResourceResponseApplicationJson( + [void Function( + CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesAddResourceResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._({required this.enabled, required this.enforced}) + _$CollaborationResourcesAddResourceResponseApplicationJson._( + {required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull(ocs, + r'CollaborationResourcesAddResourceResponseApplicationJson', 'ocs'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder) updates) => + CollaborationResourcesAddResourceResponseApplicationJson rebuild( + void Function( + CollaborationResourcesAddResourceResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder toBuilder() => + new CollaborationResourcesAddResourceResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_Password && - enabled == other.enabled && - enforced == other.enforced; + return other is CollaborationResourcesAddResourceResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_Password') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesAddResourceResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder +class CollaborationResourcesAddResourceResponseApplicationJsonBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + CollaborationResourcesAddResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesAddResourceResponseApplicationJson? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesAddResourceResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); + CollaborationResourcesAddResourceResponseApplicationJsonBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { + CollaborationResourcesAddResourceResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_Password other) { + void replace( + covariant CollaborationResourcesAddResourceResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_Password; + _$v = other as _$CollaborationResourcesAddResourceResponseApplicationJson; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { + void update( + void Function( + CollaborationResourcesAddResourceResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_Password build() => _build(); + CollaborationResourcesAddResourceResponseApplicationJson build() => _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password _build() { - final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_Password._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_Password', 'enforced')); + _$CollaborationResourcesAddResourceResponseApplicationJson _build() { + _$CollaborationResourcesAddResourceResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesAddResourceResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesAddResourceResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get enforced; - set enforced(bool? enforced); + CollectionBuilder get data; + set data(CollectionBuilder? data); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate - extends SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate { +class _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + extends CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs { @override - final bool enabled; + final OCSMeta meta; @override - final bool enforced; + final Collection data; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate( - [void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._({required this.enabled, required this.enforced}) + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'); + meta, + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', + 'meta'); BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced'); + data, + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', + 'data'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate rebuild( - void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate && - enabled == other.enabled && - enforced == other.enforced; + return other + is CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(covariant bool? enforced) => _$this._enforced = enforced; + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= new CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate other) { + void replace( + covariant CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate; + _$v = other + as _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { + void update( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs build() => + _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate _build() { - final _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enabled'), - enforced: BuiltValueNullFieldError.checkNotNull( - enforced, r'SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate', 'enforced')); + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharing_SharebymailInterface other); - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get sendPasswordByMail; - set sendPasswordByMail(bool? sendPasswordByMail); - - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop; - set uploadFilesDrop(SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop); - - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password; - set password(SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password); - - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate; - set expireDate(SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate); +abstract mixin class CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesRemoveResourceResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? + ocs); } -class _$SharebymailCapabilities_FilesSharing_Sharebymail extends SharebymailCapabilities_FilesSharing_Sharebymail { - @override - final bool enabled; - @override - final bool sendPasswordByMail; - @override - final SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDrop uploadFilesDrop; - @override - final SharebymailCapabilities_FilesSharing_Sharebymail_Password password; +class _$CollaborationResourcesRemoveResourceResponseApplicationJson + extends CollaborationResourcesRemoveResourceResponseApplicationJson { @override - final SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDate expireDate; + final CollaborationResourcesRemoveResourceResponseApplicationJson_Ocs ocs; - factory _$SharebymailCapabilities_FilesSharing_Sharebymail( - [void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates]) => - (SharebymailCapabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); + factory _$CollaborationResourcesRemoveResourceResponseApplicationJson( + [void Function( + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - {required this.enabled, - required this.sendPasswordByMail, - required this.uploadFilesDrop, - required this.password, - required this.expireDate}) + _$CollaborationResourcesRemoveResourceResponseApplicationJson._( + {required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'); - BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'); - BuiltValueNullFieldError.checkNotNull( - uploadFilesDrop, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'uploadFilesDrop'); - BuiltValueNullFieldError.checkNotNull(password, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'password'); - BuiltValueNullFieldError.checkNotNull( - expireDate, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'expireDate'); + BuiltValueNullFieldError.checkNotNull(ocs, + r'CollaborationResourcesRemoveResourceResponseApplicationJson', 'ocs'); } @override - SharebymailCapabilities_FilesSharing_Sharebymail rebuild( - void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder) updates) => + CollaborationResourcesRemoveResourceResponseApplicationJson rebuild( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharing_SharebymailBuilder toBuilder() => - SharebymailCapabilities_FilesSharing_SharebymailBuilder()..replace(this); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing_Sharebymail && - enabled == other.enabled && - sendPasswordByMail == other.sendPasswordByMail && - uploadFilesDrop == other.uploadFilesDrop && - password == other.password && - expireDate == other.expireDate; + return other + is CollaborationResourcesRemoveResourceResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, sendPasswordByMail.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing_Sharebymail') - ..add('enabled', enabled) - ..add('sendPasswordByMail', sendPasswordByMail) - ..add('uploadFilesDrop', uploadFilesDrop) - ..add('password', password) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesRemoveResourceResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class SharebymailCapabilities_FilesSharing_SharebymailBuilder +class CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder implements - Builder, - SharebymailCapabilities_FilesSharing_SharebymailInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing_Sharebymail? _$v; + Builder, + CollaborationResourcesRemoveResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesRemoveResourceResponseApplicationJson? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? _ocs; + CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesRemoveResourceResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - bool? _sendPasswordByMail; - bool? get sendPasswordByMail => _$this._sendPasswordByMail; - set sendPasswordByMail(covariant bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; - SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => - _$this._uploadFilesDrop ??= SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - set uploadFilesDrop( - covariant SharebymailCapabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? uploadFilesDrop) => - _$this._uploadFilesDrop = uploadFilesDrop; - - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; - SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder get password => - _$this._password ??= SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder(); - set password(covariant SharebymailCapabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => - _$this._password = password; - - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; - SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => - _$this._expireDate ??= SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - set expireDate(covariant SharebymailCapabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - SharebymailCapabilities_FilesSharing_SharebymailBuilder(); + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder(); - SharebymailCapabilities_FilesSharing_SharebymailBuilder get _$this { + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _sendPasswordByMail = $v.sendPasswordByMail; - _uploadFilesDrop = $v.uploadFilesDrop.toBuilder(); - _password = $v.password.toBuilder(); - _expireDate = $v.expireDate.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing_Sharebymail other) { + void replace( + covariant CollaborationResourcesRemoveResourceResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing_Sharebymail; + _$v = + other as _$CollaborationResourcesRemoveResourceResponseApplicationJson; } @override - void update(void Function(SharebymailCapabilities_FilesSharing_SharebymailBuilder)? updates) { + void update( + void Function( + CollaborationResourcesRemoveResourceResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing_Sharebymail build() => _build(); + CollaborationResourcesRemoveResourceResponseApplicationJson build() => + _build(); - _$SharebymailCapabilities_FilesSharing_Sharebymail _build() { - _$SharebymailCapabilities_FilesSharing_Sharebymail _$result; + _$CollaborationResourcesRemoveResourceResponseApplicationJson _build() { + _$CollaborationResourcesRemoveResourceResponseApplicationJson _$result; try { _$result = _$v ?? - _$SharebymailCapabilities_FilesSharing_Sharebymail._( - enabled: BuiltValueNullFieldError.checkNotNull( - enabled, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'enabled'), - sendPasswordByMail: BuiltValueNullFieldError.checkNotNull( - sendPasswordByMail, r'SharebymailCapabilities_FilesSharing_Sharebymail', 'sendPasswordByMail'), - uploadFilesDrop: uploadFilesDrop.build(), - password: password.build(), - expireDate: expireDate.build()); + new _$CollaborationResourcesRemoveResourceResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'uploadFilesDrop'; - uploadFilesDrop.build(); - _$failedField = 'password'; - password.build(); - _$failedField = 'expireDate'; - expireDate.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'SharebymailCapabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesRemoveResourceResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -18846,102 +22209,162 @@ class SharebymailCapabilities_FilesSharing_SharebymailBuilder } } -abstract mixin class SharebymailCapabilities_FilesSharingInterfaceBuilder { - void replace(SharebymailCapabilities_FilesSharingInterface other); - void update(void Function(SharebymailCapabilities_FilesSharingInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail; - set sharebymail(SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$SharebymailCapabilities_FilesSharing extends SharebymailCapabilities_FilesSharing { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs { @override - final SharebymailCapabilities_FilesSharing_Sharebymail sharebymail; + final OCSMeta meta; + @override + final BuiltList data; - factory _$SharebymailCapabilities_FilesSharing( - [void Function(SharebymailCapabilities_FilesSharingBuilder)? updates]) => - (SharebymailCapabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities_FilesSharing._({required this.sharebymail}) : super._() { - BuiltValueNullFieldError.checkNotNull(sharebymail, r'SharebymailCapabilities_FilesSharing', 'sharebymail'); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', + 'data'); } @override - SharebymailCapabilities_FilesSharing rebuild(void Function(SharebymailCapabilities_FilesSharingBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs rebuild( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilities_FilesSharingBuilder toBuilder() => - SharebymailCapabilities_FilesSharingBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities_FilesSharing && sharebymail == other.sharebymail; + return other + is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sharebymail.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities_FilesSharing')..add('sharebymail', sharebymail)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class SharebymailCapabilities_FilesSharingBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder implements - Builder, - SharebymailCapabilities_FilesSharingInterfaceBuilder { - _$SharebymailCapabilities_FilesSharing? _$v; + Builder< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder>, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs? + _$v; - SharebymailCapabilities_FilesSharing_SharebymailBuilder? _sharebymail; - SharebymailCapabilities_FilesSharing_SharebymailBuilder get sharebymail => - _$this._sharebymail ??= SharebymailCapabilities_FilesSharing_SharebymailBuilder(); - set sharebymail(covariant SharebymailCapabilities_FilesSharing_SharebymailBuilder? sharebymail) => - _$this._sharebymail = sharebymail; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - SharebymailCapabilities_FilesSharingBuilder(); + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - SharebymailCapabilities_FilesSharingBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder + get _$this { final $v = _$v; if ($v != null) { - _sharebymail = $v.sharebymail.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities_FilesSharing other) { + void replace( + covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities_FilesSharing; + _$v = other + as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs; } @override - void update(void Function(SharebymailCapabilities_FilesSharingBuilder)? updates) { + void update( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities_FilesSharing build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + build() => _build(); - _$SharebymailCapabilities_FilesSharing _build() { - _$SharebymailCapabilities_FilesSharing _$result; + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + _$result; try { - _$result = _$v ?? _$SharebymailCapabilities_FilesSharing._(sharebymail: sharebymail.build()); + _$result = _$v ?? + new _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'sharebymail'; - sharebymail.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities_FilesSharing', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -18950,99 +22373,151 @@ class SharebymailCapabilities_FilesSharingBuilder } } -abstract mixin class SharebymailCapabilitiesInterfaceBuilder { - void replace(SharebymailCapabilitiesInterface other); - void update(void Function(SharebymailCapabilitiesInterfaceBuilder) updates); - SharebymailCapabilities_FilesSharingBuilder get filesSharing; - set filesSharing(SharebymailCapabilities_FilesSharingBuilder? filesSharing); +abstract mixin class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? + ocs); } -class _$SharebymailCapabilities extends SharebymailCapabilities { +class _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + extends CollaborationResourcesGetCollectionsByResourceResponseApplicationJson { @override - final SharebymailCapabilities_FilesSharing filesSharing; + final CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_Ocs + ocs; - factory _$SharebymailCapabilities([void Function(SharebymailCapabilitiesBuilder)? updates]) => - (SharebymailCapabilitiesBuilder()..update(updates))._build(); + factory _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson( + [void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$SharebymailCapabilities._({required this.filesSharing}) : super._() { - BuiltValueNullFieldError.checkNotNull(filesSharing, r'SharebymailCapabilities', 'filesSharing'); + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson._( + {required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', + 'ocs'); } @override - SharebymailCapabilities rebuild(void Function(SharebymailCapabilitiesBuilder) updates) => + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson rebuild( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - SharebymailCapabilitiesBuilder toBuilder() => SharebymailCapabilitiesBuilder()..replace(this); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is SharebymailCapabilities && filesSharing == other.filesSharing; + return other + is CollaborationResourcesGetCollectionsByResourceResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'SharebymailCapabilities')..add('filesSharing', filesSharing)).toString(); + return (newBuiltValueToStringHelper( + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class SharebymailCapabilitiesBuilder +class CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder implements - Builder, - SharebymailCapabilitiesInterfaceBuilder { - _$SharebymailCapabilities? _$v; + Builder< + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder>, + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson? _$v; - SharebymailCapabilities_FilesSharingBuilder? _filesSharing; - SharebymailCapabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= SharebymailCapabilities_FilesSharingBuilder(); - set filesSharing(covariant SharebymailCapabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? + _ocs; + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - SharebymailCapabilitiesBuilder(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder(); - SharebymailCapabilitiesBuilder get _$this { + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _filesSharing = $v.filesSharing.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant SharebymailCapabilities other) { + void replace( + covariant CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$SharebymailCapabilities; + _$v = other + as _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson; } @override - void update(void Function(SharebymailCapabilitiesBuilder)? updates) { + void update( + void Function( + CollaborationResourcesGetCollectionsByResourceResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - SharebymailCapabilities build() => _build(); + CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + build() => _build(); - _$SharebymailCapabilities _build() { - _$SharebymailCapabilities _$result; + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + _build() { + _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + _$result; try { - _$result = _$v ?? _$SharebymailCapabilities._(filesSharing: filesSharing.build()); + _$result = _$v ?? + new _$CollaborationResourcesGetCollectionsByResourceResponseApplicationJson + ._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'filesSharing'; - filesSharing.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'SharebymailCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesGetCollectionsByResourceResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -19051,409 +22526,485 @@ class SharebymailCapabilitiesBuilder } } -abstract mixin class ThemingPublicCapabilities_ThemingInterfaceBuilder { - void replace(ThemingPublicCapabilities_ThemingInterface other); - void update(void Function(ThemingPublicCapabilities_ThemingInterfaceBuilder) updates); - String? get name; - set name(String? name); +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + void replace( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterface + other); + void update( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get url; - set url(String? url); + CollectionBuilder get data; + set data(CollectionBuilder? data); +} - String? get slogan; - set slogan(String? slogan); +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final Collection data; - String? get color; - set color(String? color); + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs( + [void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? + updates]) => + (new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - String? get colorText; - set colorText(String? colorText); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', + 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', + 'data'); + } - String? get colorElement; - set colorElement(String? colorElement); + @override + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + rebuild( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); - String? get colorElementBright; - set colorElementBright(String? colorElementBright); + @override + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + toBuilder() => + new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder() + ..replace(this); - String? get colorElementDark; - set colorElementDark(String? colorElementDark); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other + is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } - String? get logo; - set logo(String? logo); + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - String? get background; - set background(String? background); + @override + String toString() { + return (newBuiltValueToStringHelper( + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} - bool? get backgroundPlain; - set backgroundPlain(bool? backgroundPlain); +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + implements + Builder< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder>, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs? + _$v; - bool? get backgroundDefault; - set backgroundDefault(bool? backgroundDefault); + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? get logoheader; - set logoheader(String? logoheader); + CollectionBuilder? _data; + CollectionBuilder get data => _$this._data ??= new CollectionBuilder(); + set data(covariant CollectionBuilder? data) => _$this._data = data; - String? get favicon; - set favicon(String? favicon); -} + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } -class _$ThemingPublicCapabilities_Theming extends ThemingPublicCapabilities_Theming { - @override - final String name; @override - final String url; - @override - final String slogan; - @override - final String color; - @override - final String colorText; - @override - final String colorElement; - @override - final String colorElementBright; - @override - final String colorElementDark; - @override - final String logo; - @override - final String background; - @override - final bool backgroundPlain; + void replace( + covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other + as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs; + } + @override - final bool backgroundDefault; + void update( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder)? + updates) { + if (updates != null) updates(this); + } + @override - final String logoheader; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + build() => _build(); + + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + ._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + void replace( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterface + other); + void update( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder) + updates); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + get ocs; + set ocs( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? + ocs); +} + +class _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + extends CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson { @override - final String favicon; + final CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_Ocs + ocs; - factory _$ThemingPublicCapabilities_Theming([void Function(ThemingPublicCapabilities_ThemingBuilder)? updates]) => - (ThemingPublicCapabilities_ThemingBuilder()..update(updates))._build(); + factory _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson( + [void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? + updates]) => + (new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$ThemingPublicCapabilities_Theming._( - {required this.name, - required this.url, - required this.slogan, - required this.color, - required this.colorText, - required this.colorElement, - required this.colorElementBright, - required this.colorElementDark, - required this.logo, - required this.background, - required this.backgroundPlain, - required this.backgroundDefault, - required this.logoheader, - required this.favicon}) + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson._( + {required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'ThemingPublicCapabilities_Theming', 'name'); - BuiltValueNullFieldError.checkNotNull(url, r'ThemingPublicCapabilities_Theming', 'url'); - BuiltValueNullFieldError.checkNotNull(slogan, r'ThemingPublicCapabilities_Theming', 'slogan'); - BuiltValueNullFieldError.checkNotNull(color, r'ThemingPublicCapabilities_Theming', 'color'); - BuiltValueNullFieldError.checkNotNull(colorText, r'ThemingPublicCapabilities_Theming', 'colorText'); - BuiltValueNullFieldError.checkNotNull(colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'); BuiltValueNullFieldError.checkNotNull( - colorElementBright, r'ThemingPublicCapabilities_Theming', 'colorElementBright'); - BuiltValueNullFieldError.checkNotNull(colorElementDark, r'ThemingPublicCapabilities_Theming', 'colorElementDark'); - BuiltValueNullFieldError.checkNotNull(logo, r'ThemingPublicCapabilities_Theming', 'logo'); - BuiltValueNullFieldError.checkNotNull(background, r'ThemingPublicCapabilities_Theming', 'background'); - BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'ThemingPublicCapabilities_Theming', 'backgroundPlain'); - BuiltValueNullFieldError.checkNotNull(backgroundDefault, r'ThemingPublicCapabilities_Theming', 'backgroundDefault'); - BuiltValueNullFieldError.checkNotNull(logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'); - BuiltValueNullFieldError.checkNotNull(favicon, r'ThemingPublicCapabilities_Theming', 'favicon'); + ocs, + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', + 'ocs'); } @override - ThemingPublicCapabilities_Theming rebuild(void Function(ThemingPublicCapabilities_ThemingBuilder) updates) => + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson rebuild( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ThemingPublicCapabilities_ThemingBuilder toBuilder() => ThemingPublicCapabilities_ThemingBuilder()..replace(this); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder + toBuilder() => + new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ThemingPublicCapabilities_Theming && - name == other.name && - url == other.url && - slogan == other.slogan && - color == other.color && - colorText == other.colorText && - colorElement == other.colorElement && - colorElementBright == other.colorElementBright && - colorElementDark == other.colorElementDark && - logo == other.logo && - background == other.background && - backgroundPlain == other.backgroundPlain && - backgroundDefault == other.backgroundDefault && - logoheader == other.logoheader && - favicon == other.favicon; + return other + is CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, slogan.hashCode); - _$hash = $jc(_$hash, color.hashCode); - _$hash = $jc(_$hash, colorText.hashCode); - _$hash = $jc(_$hash, colorElement.hashCode); - _$hash = $jc(_$hash, colorElementBright.hashCode); - _$hash = $jc(_$hash, colorElementDark.hashCode); - _$hash = $jc(_$hash, logo.hashCode); - _$hash = $jc(_$hash, background.hashCode); - _$hash = $jc(_$hash, backgroundPlain.hashCode); - _$hash = $jc(_$hash, backgroundDefault.hashCode); - _$hash = $jc(_$hash, logoheader.hashCode); - _$hash = $jc(_$hash, favicon.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities_Theming') - ..add('name', name) - ..add('url', url) - ..add('slogan', slogan) - ..add('color', color) - ..add('colorText', colorText) - ..add('colorElement', colorElement) - ..add('colorElementBright', colorElementBright) - ..add('colorElementDark', colorElementDark) - ..add('logo', logo) - ..add('background', background) - ..add('backgroundPlain', backgroundPlain) - ..add('backgroundDefault', backgroundDefault) - ..add('logoheader', logoheader) - ..add('favicon', favicon)) + return (newBuiltValueToStringHelper( + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class ThemingPublicCapabilities_ThemingBuilder +class CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder implements - Builder, - ThemingPublicCapabilities_ThemingInterfaceBuilder { - _$ThemingPublicCapabilities_Theming? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - String? _url; - String? get url => _$this._url; - set url(covariant String? url) => _$this._url = url; - - String? _slogan; - String? get slogan => _$this._slogan; - set slogan(covariant String? slogan) => _$this._slogan = slogan; - - String? _color; - String? get color => _$this._color; - set color(covariant String? color) => _$this._color = color; - - String? _colorText; - String? get colorText => _$this._colorText; - set colorText(covariant String? colorText) => _$this._colorText = colorText; - - String? _colorElement; - String? get colorElement => _$this._colorElement; - set colorElement(covariant String? colorElement) => _$this._colorElement = colorElement; - - String? _colorElementBright; - String? get colorElementBright => _$this._colorElementBright; - set colorElementBright(covariant String? colorElementBright) => _$this._colorElementBright = colorElementBright; - - String? _colorElementDark; - String? get colorElementDark => _$this._colorElementDark; - set colorElementDark(covariant String? colorElementDark) => _$this._colorElementDark = colorElementDark; - - String? _logo; - String? get logo => _$this._logo; - set logo(covariant String? logo) => _$this._logo = logo; - - String? _background; - String? get background => _$this._background; - set background(covariant String? background) => _$this._background = background; - - bool? _backgroundPlain; - bool? get backgroundPlain => _$this._backgroundPlain; - set backgroundPlain(covariant bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; - - bool? _backgroundDefault; - bool? get backgroundDefault => _$this._backgroundDefault; - set backgroundDefault(covariant bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; - - String? _logoheader; - String? get logoheader => _$this._logoheader; - set logoheader(covariant String? logoheader) => _$this._logoheader = logoheader; - - String? _favicon; - String? get favicon => _$this._favicon; - set favicon(covariant String? favicon) => _$this._favicon = favicon; + Builder< + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder>, + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonInterfaceBuilder { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson? + _$v; + + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? + _ocs; + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder + get ocs => _$this._ocs ??= + new CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder(); + set ocs( + covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ThemingPublicCapabilities_ThemingBuilder(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder(); - ThemingPublicCapabilities_ThemingBuilder get _$this { + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder + get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _url = $v.url; - _slogan = $v.slogan; - _color = $v.color; - _colorText = $v.colorText; - _colorElement = $v.colorElement; - _colorElementBright = $v.colorElementBright; - _colorElementDark = $v.colorElementDark; - _logo = $v.logo; - _background = $v.background; - _backgroundPlain = $v.backgroundPlain; - _backgroundDefault = $v.backgroundDefault; - _logoheader = $v.logoheader; - _favicon = $v.favicon; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ThemingPublicCapabilities_Theming other) { + void replace( + covariant CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ThemingPublicCapabilities_Theming; + _$v = other + as _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson; } @override - void update(void Function(ThemingPublicCapabilities_ThemingBuilder)? updates) { + void update( + void Function( + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ThemingPublicCapabilities_Theming build() => _build(); + CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + build() => _build(); - _$ThemingPublicCapabilities_Theming _build() { - final _$result = _$v ?? - _$ThemingPublicCapabilities_Theming._( - name: BuiltValueNullFieldError.checkNotNull(name, r'ThemingPublicCapabilities_Theming', 'name'), - url: BuiltValueNullFieldError.checkNotNull(url, r'ThemingPublicCapabilities_Theming', 'url'), - slogan: BuiltValueNullFieldError.checkNotNull(slogan, r'ThemingPublicCapabilities_Theming', 'slogan'), - color: BuiltValueNullFieldError.checkNotNull(color, r'ThemingPublicCapabilities_Theming', 'color'), - colorText: - BuiltValueNullFieldError.checkNotNull(colorText, r'ThemingPublicCapabilities_Theming', 'colorText'), - colorElement: BuiltValueNullFieldError.checkNotNull( - colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'), - colorElementBright: BuiltValueNullFieldError.checkNotNull( - colorElementBright, r'ThemingPublicCapabilities_Theming', 'colorElementBright'), - colorElementDark: BuiltValueNullFieldError.checkNotNull( - colorElementDark, r'ThemingPublicCapabilities_Theming', 'colorElementDark'), - logo: BuiltValueNullFieldError.checkNotNull(logo, r'ThemingPublicCapabilities_Theming', 'logo'), - background: - BuiltValueNullFieldError.checkNotNull(background, r'ThemingPublicCapabilities_Theming', 'background'), - backgroundPlain: BuiltValueNullFieldError.checkNotNull( - backgroundPlain, r'ThemingPublicCapabilities_Theming', 'backgroundPlain'), - backgroundDefault: BuiltValueNullFieldError.checkNotNull( - backgroundDefault, r'ThemingPublicCapabilities_Theming', 'backgroundDefault'), - logoheader: - BuiltValueNullFieldError.checkNotNull(logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'), - favicon: BuiltValueNullFieldError.checkNotNull(favicon, r'ThemingPublicCapabilities_Theming', 'favicon')); + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + _build() { + _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + _$result; + try { + _$result = _$v ?? + new _$CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson + ._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ThemingPublicCapabilitiesInterfaceBuilder { - void replace(ThemingPublicCapabilitiesInterface other); - void update(void Function(ThemingPublicCapabilitiesInterfaceBuilder) updates); - ThemingPublicCapabilities_ThemingBuilder get theming; - set theming(ThemingPublicCapabilities_ThemingBuilder? theming); +abstract mixin class HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + String? get userId; + set userId(String? userId); + + String? get displayName; + set displayName(String? displayName); + + ListBuilder get actions; + set actions(ListBuilder? actions); } -class _$ThemingPublicCapabilities extends ThemingPublicCapabilities { +class _$HoverCardGetUserResponseApplicationJson_Ocs_Data + extends HoverCardGetUserResponseApplicationJson_Ocs_Data { @override - final ThemingPublicCapabilities_Theming theming; + final String userId; + @override + final String displayName; + @override + final BuiltList actions; - factory _$ThemingPublicCapabilities([void Function(ThemingPublicCapabilitiesBuilder)? updates]) => - (ThemingPublicCapabilitiesBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs_Data( + [void Function( + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$ThemingPublicCapabilities._({required this.theming}) : super._() { - BuiltValueNullFieldError.checkNotNull(theming, r'ThemingPublicCapabilities', 'theming'); + _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + userId, r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'userId'); + BuiltValueNullFieldError.checkNotNull(displayName, + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull(actions, + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', 'actions'); } @override - ThemingPublicCapabilities rebuild(void Function(ThemingPublicCapabilitiesBuilder) updates) => + HoverCardGetUserResponseApplicationJson_Ocs_Data rebuild( + void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ThemingPublicCapabilitiesBuilder toBuilder() => ThemingPublicCapabilitiesBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ThemingPublicCapabilities && theming == other.theming; - } - + return other is HoverCardGetUserResponseApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; + } + @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, theming.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, actions.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities')..add('theming', theming)).toString(); + return (newBuiltValueToStringHelper( + r'HoverCardGetUserResponseApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) + .toString(); } } -class ThemingPublicCapabilitiesBuilder +class HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ThemingPublicCapabilitiesInterfaceBuilder { - _$ThemingPublicCapabilities? _$v; + Builder, + HoverCardGetUserResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data? _$v; - ThemingPublicCapabilities_ThemingBuilder? _theming; - ThemingPublicCapabilities_ThemingBuilder get theming => - _$this._theming ??= ThemingPublicCapabilities_ThemingBuilder(); - set theming(covariant ThemingPublicCapabilities_ThemingBuilder? theming) => _$this._theming = theming; + String? _userId; + String? get userId => _$this._userId; + set userId(covariant String? userId) => _$this._userId = userId; - ThemingPublicCapabilitiesBuilder(); + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(covariant String? displayName) => + _$this._displayName = displayName; - ThemingPublicCapabilitiesBuilder get _$this { + ListBuilder? _actions; + ListBuilder get actions => + _$this._actions ??= new ListBuilder(); + set actions(covariant ListBuilder? actions) => + _$this._actions = actions; + + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _theming = $v.theming.toBuilder(); + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ThemingPublicCapabilities other) { + void replace( + covariant HoverCardGetUserResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ThemingPublicCapabilities; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ThemingPublicCapabilitiesBuilder)? updates) { + void update( + void Function(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - ThemingPublicCapabilities build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs_Data build() => _build(); - _$ThemingPublicCapabilities _build() { - _$ThemingPublicCapabilities _$result; + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ThemingPublicCapabilities._(theming: theming.build()); + _$result = _$v ?? + new _$HoverCardGetUserResponseApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', + 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', + 'displayName'), + actions: actions.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'theming'; - theming.build(); + _$failedField = 'actions'; + actions.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ThemingPublicCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'HoverCardGetUserResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -19462,220 +23013,264 @@ class ThemingPublicCapabilitiesBuilder } } -abstract mixin class UserStatusCapabilities_UserStatusInterfaceBuilder { - void replace(UserStatusCapabilities_UserStatusInterface other); - void update(void Function(UserStatusCapabilities_UserStatusInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); - - bool? get restore; - set restore(bool? restore); +abstract mixin class HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJson_OcsInterface other); + void update( + void Function(HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get supportsEmoji; - set supportsEmoji(bool? supportsEmoji); + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data; + set data(HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? data); } -class _$UserStatusCapabilities_UserStatus extends UserStatusCapabilities_UserStatus { - @override - final bool enabled; +class _$HoverCardGetUserResponseApplicationJson_Ocs + extends HoverCardGetUserResponseApplicationJson_Ocs { @override - final bool restore; + final OCSMeta meta; @override - final bool supportsEmoji; + final HoverCardGetUserResponseApplicationJson_Ocs_Data data; - factory _$UserStatusCapabilities_UserStatus([void Function(UserStatusCapabilities_UserStatusBuilder)? updates]) => - (UserStatusCapabilities_UserStatusBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson_Ocs( + [void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? + updates]) => + (new HoverCardGetUserResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$UserStatusCapabilities_UserStatus._({required this.enabled, required this.restore, required this.supportsEmoji}) + _$HoverCardGetUserResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'UserStatusCapabilities_UserStatus', 'enabled'); - BuiltValueNullFieldError.checkNotNull(restore, r'UserStatusCapabilities_UserStatus', 'restore'); - BuiltValueNullFieldError.checkNotNull(supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji'); + BuiltValueNullFieldError.checkNotNull( + meta, r'HoverCardGetUserResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'HoverCardGetUserResponseApplicationJson_Ocs', 'data'); } @override - UserStatusCapabilities_UserStatus rebuild(void Function(UserStatusCapabilities_UserStatusBuilder) updates) => + HoverCardGetUserResponseApplicationJson_Ocs rebuild( + void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UserStatusCapabilities_UserStatusBuilder toBuilder() => UserStatusCapabilities_UserStatusBuilder()..replace(this); + HoverCardGetUserResponseApplicationJson_OcsBuilder toBuilder() => + new HoverCardGetUserResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusCapabilities_UserStatus && - enabled == other.enabled && - restore == other.restore && - supportsEmoji == other.supportsEmoji; + return other is HoverCardGetUserResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, restore.hashCode); - _$hash = $jc(_$hash, supportsEmoji.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusCapabilities_UserStatus') - ..add('enabled', enabled) - ..add('restore', restore) - ..add('supportsEmoji', supportsEmoji)) + return (newBuiltValueToStringHelper( + r'HoverCardGetUserResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UserStatusCapabilities_UserStatusBuilder +class HoverCardGetUserResponseApplicationJson_OcsBuilder implements - Builder, - UserStatusCapabilities_UserStatusInterfaceBuilder { - _$UserStatusCapabilities_UserStatus? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + Builder, + HoverCardGetUserResponseApplicationJson_OcsInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson_Ocs? _$v; - bool? _restore; - bool? get restore => _$this._restore; - set restore(covariant bool? restore) => _$this._restore = restore; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _supportsEmoji; - bool? get supportsEmoji => _$this._supportsEmoji; - set supportsEmoji(covariant bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? _data; + HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant HoverCardGetUserResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - UserStatusCapabilities_UserStatusBuilder(); + HoverCardGetUserResponseApplicationJson_OcsBuilder(); - UserStatusCapabilities_UserStatusBuilder get _$this { + HoverCardGetUserResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _restore = $v.restore; - _supportsEmoji = $v.supportsEmoji; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UserStatusCapabilities_UserStatus other) { + void replace(covariant HoverCardGetUserResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusCapabilities_UserStatus; + _$v = other as _$HoverCardGetUserResponseApplicationJson_Ocs; } @override - void update(void Function(UserStatusCapabilities_UserStatusBuilder)? updates) { + void update( + void Function(HoverCardGetUserResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - UserStatusCapabilities_UserStatus build() => _build(); + HoverCardGetUserResponseApplicationJson_Ocs build() => _build(); - _$UserStatusCapabilities_UserStatus _build() { - final _$result = _$v ?? - _$UserStatusCapabilities_UserStatus._( - enabled: BuiltValueNullFieldError.checkNotNull(enabled, r'UserStatusCapabilities_UserStatus', 'enabled'), - restore: BuiltValueNullFieldError.checkNotNull(restore, r'UserStatusCapabilities_UserStatus', 'restore'), - supportsEmoji: BuiltValueNullFieldError.checkNotNull( - supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji')); + _$HoverCardGetUserResponseApplicationJson_Ocs _build() { + _$HoverCardGetUserResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$HoverCardGetUserResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'HoverCardGetUserResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class UserStatusCapabilitiesInterfaceBuilder { - void replace(UserStatusCapabilitiesInterface other); - void update(void Function(UserStatusCapabilitiesInterfaceBuilder) updates); - UserStatusCapabilities_UserStatusBuilder get userStatus; - set userStatus(UserStatusCapabilities_UserStatusBuilder? userStatus); +abstract mixin class HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + void replace(HoverCardGetUserResponseApplicationJsonInterface other); + void update( + void Function(HoverCardGetUserResponseApplicationJsonInterfaceBuilder) + updates); + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs; + set ocs(HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs); } -class _$UserStatusCapabilities extends UserStatusCapabilities { +class _$HoverCardGetUserResponseApplicationJson + extends HoverCardGetUserResponseApplicationJson { @override - final UserStatusCapabilities_UserStatus userStatus; + final HoverCardGetUserResponseApplicationJson_Ocs ocs; - factory _$UserStatusCapabilities([void Function(UserStatusCapabilitiesBuilder)? updates]) => - (UserStatusCapabilitiesBuilder()..update(updates))._build(); + factory _$HoverCardGetUserResponseApplicationJson( + [void Function(HoverCardGetUserResponseApplicationJsonBuilder)? + updates]) => + (new HoverCardGetUserResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$UserStatusCapabilities._({required this.userStatus}) : super._() { - BuiltValueNullFieldError.checkNotNull(userStatus, r'UserStatusCapabilities', 'userStatus'); + _$HoverCardGetUserResponseApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'HoverCardGetUserResponseApplicationJson', 'ocs'); } @override - UserStatusCapabilities rebuild(void Function(UserStatusCapabilitiesBuilder) updates) => + HoverCardGetUserResponseApplicationJson rebuild( + void Function(HoverCardGetUserResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UserStatusCapabilitiesBuilder toBuilder() => UserStatusCapabilitiesBuilder()..replace(this); + HoverCardGetUserResponseApplicationJsonBuilder toBuilder() => + new HoverCardGetUserResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusCapabilities && userStatus == other.userStatus; + return other is HoverCardGetUserResponseApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userStatus.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusCapabilities')..add('userStatus', userStatus)).toString(); + return (newBuiltValueToStringHelper( + r'HoverCardGetUserResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class UserStatusCapabilitiesBuilder - implements Builder, UserStatusCapabilitiesInterfaceBuilder { - _$UserStatusCapabilities? _$v; +class HoverCardGetUserResponseApplicationJsonBuilder + implements + Builder, + HoverCardGetUserResponseApplicationJsonInterfaceBuilder { + _$HoverCardGetUserResponseApplicationJson? _$v; - UserStatusCapabilities_UserStatusBuilder? _userStatus; - UserStatusCapabilities_UserStatusBuilder get userStatus => - _$this._userStatus ??= UserStatusCapabilities_UserStatusBuilder(); - set userStatus(covariant UserStatusCapabilities_UserStatusBuilder? userStatus) => _$this._userStatus = userStatus; + HoverCardGetUserResponseApplicationJson_OcsBuilder? _ocs; + HoverCardGetUserResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= new HoverCardGetUserResponseApplicationJson_OcsBuilder(); + set ocs(covariant HoverCardGetUserResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - UserStatusCapabilitiesBuilder(); + HoverCardGetUserResponseApplicationJsonBuilder(); - UserStatusCapabilitiesBuilder get _$this { + HoverCardGetUserResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _userStatus = $v.userStatus.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UserStatusCapabilities other) { + void replace(covariant HoverCardGetUserResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusCapabilities; + _$v = other as _$HoverCardGetUserResponseApplicationJson; } @override - void update(void Function(UserStatusCapabilitiesBuilder)? updates) { + void update( + void Function(HoverCardGetUserResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusCapabilities build() => _build(); + HoverCardGetUserResponseApplicationJson build() => _build(); - _$UserStatusCapabilities _build() { - _$UserStatusCapabilities _$result; + _$HoverCardGetUserResponseApplicationJson _build() { + _$HoverCardGetUserResponseApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusCapabilities._(userStatus: userStatus.build()); + _$result = _$v ?? + new _$HoverCardGetUserResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'userStatus'; - userStatus.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'HoverCardGetUserResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -19684,193 +23279,281 @@ class UserStatusCapabilitiesBuilder } } -abstract mixin class WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { - void replace(WeatherStatusCapabilities_WeatherStatusInterface other); - void update(void Function(WeatherStatusCapabilities_WeatherStatusInterfaceBuilder) updates); - bool? get enabled; - set enabled(bool? enabled); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace( + NavigationGetAppsNavigationResponseApplicationJson_OcsInterface other); + void update( + void Function( + NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$WeatherStatusCapabilities_WeatherStatus extends WeatherStatusCapabilities_WeatherStatus { +class _$NavigationGetAppsNavigationResponseApplicationJson_Ocs + extends NavigationGetAppsNavigationResponseApplicationJson_Ocs { @override - final bool enabled; + final OCSMeta meta; + @override + final BuiltList data; - factory _$WeatherStatusCapabilities_WeatherStatus( - [void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates]) => - (WeatherStatusCapabilities_WeatherStatusBuilder()..update(updates))._build(); + factory _$NavigationGetAppsNavigationResponseApplicationJson_Ocs( + [void Function( + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? + updates]) => + (new NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$WeatherStatusCapabilities_WeatherStatus._({required this.enabled}) : super._() { - BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled'); + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', 'data'); } @override - WeatherStatusCapabilities_WeatherStatus rebuild( - void Function(WeatherStatusCapabilities_WeatherStatusBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson_Ocs rebuild( + void Function( + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - WeatherStatusCapabilities_WeatherStatusBuilder toBuilder() => - WeatherStatusCapabilities_WeatherStatusBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder toBuilder() => + new NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WeatherStatusCapabilities_WeatherStatus && enabled == other.enabled; + return other is NavigationGetAppsNavigationResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities_WeatherStatus')..add('enabled', enabled)) + return (newBuiltValueToStringHelper( + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class WeatherStatusCapabilities_WeatherStatusBuilder +class NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - WeatherStatusCapabilities_WeatherStatusInterfaceBuilder { - _$WeatherStatusCapabilities_WeatherStatus? _$v; + Builder, + NavigationGetAppsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(covariant bool? enabled) => _$this._enabled = enabled; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - WeatherStatusCapabilities_WeatherStatusBuilder(); + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - WeatherStatusCapabilities_WeatherStatusBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant WeatherStatusCapabilities_WeatherStatus other) { + void replace( + covariant NavigationGetAppsNavigationResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WeatherStatusCapabilities_WeatherStatus; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(WeatherStatusCapabilities_WeatherStatusBuilder)? updates) { + void update( + void Function( + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - WeatherStatusCapabilities_WeatherStatus build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson_Ocs build() => _build(); - _$WeatherStatusCapabilities_WeatherStatus _build() { - final _$result = _$v ?? - _$WeatherStatusCapabilities_WeatherStatus._( - enabled: - BuiltValueNullFieldError.checkNotNull(enabled, r'WeatherStatusCapabilities_WeatherStatus', 'enabled')); + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetAppsNavigationResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$NavigationGetAppsNavigationResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'NavigationGetAppsNavigationResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class WeatherStatusCapabilitiesInterfaceBuilder { - void replace(WeatherStatusCapabilitiesInterface other); - void update(void Function(WeatherStatusCapabilitiesInterfaceBuilder) updates); - WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus; - set weatherStatus(WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus); +abstract mixin class NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + void replace( + NavigationGetAppsNavigationResponseApplicationJsonInterface other); + void update( + void Function( + NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder) + updates); + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs(NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$WeatherStatusCapabilities extends WeatherStatusCapabilities { +class _$NavigationGetAppsNavigationResponseApplicationJson + extends NavigationGetAppsNavigationResponseApplicationJson { @override - final WeatherStatusCapabilities_WeatherStatus weatherStatus; + final NavigationGetAppsNavigationResponseApplicationJson_Ocs ocs; - factory _$WeatherStatusCapabilities([void Function(WeatherStatusCapabilitiesBuilder)? updates]) => - (WeatherStatusCapabilitiesBuilder()..update(updates))._build(); + factory _$NavigationGetAppsNavigationResponseApplicationJson( + [void Function( + NavigationGetAppsNavigationResponseApplicationJsonBuilder)? + updates]) => + (new NavigationGetAppsNavigationResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$WeatherStatusCapabilities._({required this.weatherStatus}) : super._() { - BuiltValueNullFieldError.checkNotNull(weatherStatus, r'WeatherStatusCapabilities', 'weatherStatus'); + _$NavigationGetAppsNavigationResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'NavigationGetAppsNavigationResponseApplicationJson', 'ocs'); } @override - WeatherStatusCapabilities rebuild(void Function(WeatherStatusCapabilitiesBuilder) updates) => + NavigationGetAppsNavigationResponseApplicationJson rebuild( + void Function( + NavigationGetAppsNavigationResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - WeatherStatusCapabilitiesBuilder toBuilder() => WeatherStatusCapabilitiesBuilder()..replace(this); + NavigationGetAppsNavigationResponseApplicationJsonBuilder toBuilder() => + new NavigationGetAppsNavigationResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WeatherStatusCapabilities && weatherStatus == other.weatherStatus; + return other is NavigationGetAppsNavigationResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, weatherStatus.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'WeatherStatusCapabilities')..add('weatherStatus', weatherStatus)).toString(); + return (newBuiltValueToStringHelper( + r'NavigationGetAppsNavigationResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class WeatherStatusCapabilitiesBuilder +class NavigationGetAppsNavigationResponseApplicationJsonBuilder implements - Builder, - WeatherStatusCapabilitiesInterfaceBuilder { - _$WeatherStatusCapabilities? _$v; + Builder, + NavigationGetAppsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetAppsNavigationResponseApplicationJson? _$v; - WeatherStatusCapabilities_WeatherStatusBuilder? _weatherStatus; - WeatherStatusCapabilities_WeatherStatusBuilder get weatherStatus => - _$this._weatherStatus ??= WeatherStatusCapabilities_WeatherStatusBuilder(); - set weatherStatus(covariant WeatherStatusCapabilities_WeatherStatusBuilder? weatherStatus) => - _$this._weatherStatus = weatherStatus; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder(); + set ocs( + covariant NavigationGetAppsNavigationResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - WeatherStatusCapabilitiesBuilder(); + NavigationGetAppsNavigationResponseApplicationJsonBuilder(); - WeatherStatusCapabilitiesBuilder get _$this { + NavigationGetAppsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _weatherStatus = $v.weatherStatus.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant WeatherStatusCapabilities other) { + void replace( + covariant NavigationGetAppsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WeatherStatusCapabilities; + _$v = other as _$NavigationGetAppsNavigationResponseApplicationJson; } @override - void update(void Function(WeatherStatusCapabilitiesBuilder)? updates) { + void update( + void Function(NavigationGetAppsNavigationResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - WeatherStatusCapabilities build() => _build(); + NavigationGetAppsNavigationResponseApplicationJson build() => _build(); - _$WeatherStatusCapabilities _build() { - _$WeatherStatusCapabilities _$result; + _$NavigationGetAppsNavigationResponseApplicationJson _build() { + _$NavigationGetAppsNavigationResponseApplicationJson _$result; try { - _$result = _$v ?? _$WeatherStatusCapabilities._(weatherStatus: weatherStatus.build()); + _$result = _$v ?? + new _$NavigationGetAppsNavigationResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'weatherStatus'; - weatherStatus.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WeatherStatusCapabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NavigationGetAppsNavigationResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -19879,350 +23562,152 @@ class WeatherStatusCapabilitiesBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder) updates); - CommentsCapabilitiesBuilder get commentsCapabilities; - set commentsCapabilities(CommentsCapabilitiesBuilder? commentsCapabilities); - - DavCapabilitiesBuilder get davCapabilities; - set davCapabilities(DavCapabilitiesBuilder? davCapabilities); - - FilesCapabilitiesBuilder get filesCapabilities; - set filesCapabilities(FilesCapabilitiesBuilder? filesCapabilities); - - FilesSharingCapabilitiesBuilder get filesSharingCapabilities; - set filesSharingCapabilities(FilesSharingCapabilitiesBuilder? filesSharingCapabilities); - - FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities; - set filesTrashbinCapabilities(FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities); - - FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities; - set filesVersionsCapabilities(FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities); - - NotesCapabilitiesBuilder get notesCapabilities; - set notesCapabilities(NotesCapabilitiesBuilder? notesCapabilities); - - NotificationsCapabilitiesBuilder get notificationsCapabilities; - set notificationsCapabilities(NotificationsCapabilitiesBuilder? notificationsCapabilities); - - ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities; - set provisioningApiCapabilities(ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities); - - SharebymailCapabilitiesBuilder get sharebymailCapabilities; - set sharebymailCapabilities(SharebymailCapabilitiesBuilder? sharebymailCapabilities); - - ThemingPublicCapabilitiesBuilder get themingPublicCapabilities; - set themingPublicCapabilities(ThemingPublicCapabilitiesBuilder? themingPublicCapabilities); - - UserStatusCapabilitiesBuilder get userStatusCapabilities; - set userStatusCapabilities(UserStatusCapabilitiesBuilder? userStatusCapabilities); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + void replace( + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterface + other); + void update( + void Function( + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities; - set weatherStatusCapabilities(WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities); + ListBuilder get data; + set data(ListBuilder? data); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities - extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities { - @override - final JsonObject data; - @override - final CommentsCapabilities? commentsCapabilities; - @override - final DavCapabilities? davCapabilities; - @override - final FilesCapabilities? filesCapabilities; - @override - final FilesSharingCapabilities? filesSharingCapabilities; - @override - final FilesTrashbinCapabilities? filesTrashbinCapabilities; - @override - final FilesVersionsCapabilities? filesVersionsCapabilities; - @override - final NotesCapabilities? notesCapabilities; - @override - final NotificationsCapabilities? notificationsCapabilities; - @override - final ProvisioningApiCapabilities? provisioningApiCapabilities; - @override - final SharebymailCapabilities? sharebymailCapabilities; - @override - final ThemingPublicCapabilities? themingPublicCapabilities; +class _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs + extends NavigationGetSettingsNavigationResponseApplicationJson_Ocs { @override - final UserStatusCapabilities? userStatusCapabilities; + final OCSMeta meta; @override - final WeatherStatusCapabilities? weatherStatusCapabilities; + final BuiltList data; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs( + [void Function( + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? + updates]) => + (new NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( - {required this.data, - this.commentsCapabilities, - this.davCapabilities, - this.filesCapabilities, - this.filesSharingCapabilities, - this.filesTrashbinCapabilities, - this.filesVersionsCapabilities, - this.notesCapabilities, - this.notificationsCapabilities, - this.provisioningApiCapabilities, - this.sharebymailCapabilities, - this.themingPublicCapabilities, - this.userStatusCapabilities, - this.weatherStatusCapabilities}) + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull( - data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'); + BuiltValueNullFieldError.checkNotNull(meta, + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', 'data'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => + NavigationGetSettingsNavigationResponseApplicationJson_Ocs rebuild( + void Function( + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder + toBuilder() => + new NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities && - data == other.data && - commentsCapabilities == other.commentsCapabilities && - davCapabilities == other.davCapabilities && - filesCapabilities == other.filesCapabilities && - filesSharingCapabilities == other.filesSharingCapabilities && - filesTrashbinCapabilities == other.filesTrashbinCapabilities && - filesVersionsCapabilities == other.filesVersionsCapabilities && - notesCapabilities == other.notesCapabilities && - notificationsCapabilities == other.notificationsCapabilities && - provisioningApiCapabilities == other.provisioningApiCapabilities && - sharebymailCapabilities == other.sharebymailCapabilities && - themingPublicCapabilities == other.themingPublicCapabilities && - userStatusCapabilities == other.userStatusCapabilities && - weatherStatusCapabilities == other.weatherStatusCapabilities; + return other + is NavigationGetSettingsNavigationResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, commentsCapabilities.hashCode); - _$hash = $jc(_$hash, davCapabilities.hashCode); - _$hash = $jc(_$hash, filesCapabilities.hashCode); - _$hash = $jc(_$hash, filesSharingCapabilities.hashCode); - _$hash = $jc(_$hash, filesTrashbinCapabilities.hashCode); - _$hash = $jc(_$hash, filesVersionsCapabilities.hashCode); - _$hash = $jc(_$hash, notesCapabilities.hashCode); - _$hash = $jc(_$hash, notificationsCapabilities.hashCode); - _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); - _$hash = $jc(_$hash, sharebymailCapabilities.hashCode); - _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); - _$hash = $jc(_$hash, userStatusCapabilities.hashCode); - _$hash = $jc(_$hash, weatherStatusCapabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities') - ..add('data', data) - ..add('commentsCapabilities', commentsCapabilities) - ..add('davCapabilities', davCapabilities) - ..add('filesCapabilities', filesCapabilities) - ..add('filesSharingCapabilities', filesSharingCapabilities) - ..add('filesTrashbinCapabilities', filesTrashbinCapabilities) - ..add('filesVersionsCapabilities', filesVersionsCapabilities) - ..add('notesCapabilities', notesCapabilities) - ..add('notificationsCapabilities', notificationsCapabilities) - ..add('provisioningApiCapabilities', provisioningApiCapabilities) - ..add('sharebymailCapabilities', sharebymailCapabilities) - ..add('themingPublicCapabilities', themingPublicCapabilities) - ..add('userStatusCapabilities', userStatusCapabilities) - ..add('weatherStatusCapabilities', weatherStatusCapabilities)) + return (newBuiltValueToStringHelper( + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder +class NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities? _$v; + Builder, + NavigationGetSettingsNavigationResponseApplicationJson_OcsInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; - - CommentsCapabilitiesBuilder? _commentsCapabilities; - CommentsCapabilitiesBuilder get commentsCapabilities => - _$this._commentsCapabilities ??= CommentsCapabilitiesBuilder(); - set commentsCapabilities(covariant CommentsCapabilitiesBuilder? commentsCapabilities) => - _$this._commentsCapabilities = commentsCapabilities; - - DavCapabilitiesBuilder? _davCapabilities; - DavCapabilitiesBuilder get davCapabilities => _$this._davCapabilities ??= DavCapabilitiesBuilder(); - set davCapabilities(covariant DavCapabilitiesBuilder? davCapabilities) => _$this._davCapabilities = davCapabilities; - - FilesCapabilitiesBuilder? _filesCapabilities; - FilesCapabilitiesBuilder get filesCapabilities => _$this._filesCapabilities ??= FilesCapabilitiesBuilder(); - set filesCapabilities(covariant FilesCapabilitiesBuilder? filesCapabilities) => - _$this._filesCapabilities = filesCapabilities; - - FilesSharingCapabilitiesBuilder? _filesSharingCapabilities; - FilesSharingCapabilitiesBuilder get filesSharingCapabilities => - _$this._filesSharingCapabilities ??= FilesSharingCapabilitiesBuilder(); - set filesSharingCapabilities(covariant FilesSharingCapabilitiesBuilder? filesSharingCapabilities) => - _$this._filesSharingCapabilities = filesSharingCapabilities; - - FilesTrashbinCapabilitiesBuilder? _filesTrashbinCapabilities; - FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities => - _$this._filesTrashbinCapabilities ??= FilesTrashbinCapabilitiesBuilder(); - set filesTrashbinCapabilities(covariant FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities) => - _$this._filesTrashbinCapabilities = filesTrashbinCapabilities; - - FilesVersionsCapabilitiesBuilder? _filesVersionsCapabilities; - FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities => - _$this._filesVersionsCapabilities ??= FilesVersionsCapabilitiesBuilder(); - set filesVersionsCapabilities(covariant FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities) => - _$this._filesVersionsCapabilities = filesVersionsCapabilities; - - NotesCapabilitiesBuilder? _notesCapabilities; - NotesCapabilitiesBuilder get notesCapabilities => _$this._notesCapabilities ??= NotesCapabilitiesBuilder(); - set notesCapabilities(covariant NotesCapabilitiesBuilder? notesCapabilities) => - _$this._notesCapabilities = notesCapabilities; - - NotificationsCapabilitiesBuilder? _notificationsCapabilities; - NotificationsCapabilitiesBuilder get notificationsCapabilities => - _$this._notificationsCapabilities ??= NotificationsCapabilitiesBuilder(); - set notificationsCapabilities(covariant NotificationsCapabilitiesBuilder? notificationsCapabilities) => - _$this._notificationsCapabilities = notificationsCapabilities; - - ProvisioningApiCapabilitiesBuilder? _provisioningApiCapabilities; - ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities => - _$this._provisioningApiCapabilities ??= ProvisioningApiCapabilitiesBuilder(); - set provisioningApiCapabilities(covariant ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities) => - _$this._provisioningApiCapabilities = provisioningApiCapabilities; - - SharebymailCapabilitiesBuilder? _sharebymailCapabilities; - SharebymailCapabilitiesBuilder get sharebymailCapabilities => - _$this._sharebymailCapabilities ??= SharebymailCapabilitiesBuilder(); - set sharebymailCapabilities(covariant SharebymailCapabilitiesBuilder? sharebymailCapabilities) => - _$this._sharebymailCapabilities = sharebymailCapabilities; - - ThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; - ThemingPublicCapabilitiesBuilder get themingPublicCapabilities => - _$this._themingPublicCapabilities ??= ThemingPublicCapabilitiesBuilder(); - set themingPublicCapabilities(covariant ThemingPublicCapabilitiesBuilder? themingPublicCapabilities) => - _$this._themingPublicCapabilities = themingPublicCapabilities; - - UserStatusCapabilitiesBuilder? _userStatusCapabilities; - UserStatusCapabilitiesBuilder get userStatusCapabilities => - _$this._userStatusCapabilities ??= UserStatusCapabilitiesBuilder(); - set userStatusCapabilities(covariant UserStatusCapabilitiesBuilder? userStatusCapabilities) => - _$this._userStatusCapabilities = userStatusCapabilities; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - WeatherStatusCapabilitiesBuilder? _weatherStatusCapabilities; - WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities => - _$this._weatherStatusCapabilities ??= WeatherStatusCapabilitiesBuilder(); - set weatherStatusCapabilities(covariant WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities) => - _$this._weatherStatusCapabilities = weatherStatusCapabilities; + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => _$this._data = data; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _commentsCapabilities = $v.commentsCapabilities?.toBuilder(); - _davCapabilities = $v.davCapabilities?.toBuilder(); - _filesCapabilities = $v.filesCapabilities?.toBuilder(); - _filesSharingCapabilities = $v.filesSharingCapabilities?.toBuilder(); - _filesTrashbinCapabilities = $v.filesTrashbinCapabilities?.toBuilder(); - _filesVersionsCapabilities = $v.filesVersionsCapabilities?.toBuilder(); - _notesCapabilities = $v.notesCapabilities?.toBuilder(); - _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); - _provisioningApiCapabilities = $v.provisioningApiCapabilities?.toBuilder(); - _sharebymailCapabilities = $v.sharebymailCapabilities?.toBuilder(); - _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); - _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); - _weatherStatusCapabilities = $v.weatherStatusCapabilities?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities other) { + void replace( + covariant NavigationGetSettingsNavigationResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { + void update( + void Function( + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson_Ocs build() => + _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _build() { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$result; + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( - data: BuiltValueNullFieldError.checkNotNull( - data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', 'data'), - commentsCapabilities: _commentsCapabilities?.build(), - davCapabilities: _davCapabilities?.build(), - filesCapabilities: _filesCapabilities?.build(), - filesSharingCapabilities: _filesSharingCapabilities?.build(), - filesTrashbinCapabilities: _filesTrashbinCapabilities?.build(), - filesVersionsCapabilities: _filesVersionsCapabilities?.build(), - notesCapabilities: _notesCapabilities?.build(), - notificationsCapabilities: _notificationsCapabilities?.build(), - provisioningApiCapabilities: _provisioningApiCapabilities?.build(), - sharebymailCapabilities: _sharebymailCapabilities?.build(), - themingPublicCapabilities: _themingPublicCapabilities?.build(), - userStatusCapabilities: _userStatusCapabilities?.build(), - weatherStatusCapabilities: _weatherStatusCapabilities?.build()); + new _$NavigationGetSettingsNavigationResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'commentsCapabilities'; - _commentsCapabilities?.build(); - _$failedField = 'davCapabilities'; - _davCapabilities?.build(); - _$failedField = 'filesCapabilities'; - _filesCapabilities?.build(); - _$failedField = 'filesSharingCapabilities'; - _filesSharingCapabilities?.build(); - _$failedField = 'filesTrashbinCapabilities'; - _filesTrashbinCapabilities?.build(); - _$failedField = 'filesVersionsCapabilities'; - _filesVersionsCapabilities?.build(); - _$failedField = 'notesCapabilities'; - _notesCapabilities?.build(); - _$failedField = 'notificationsCapabilities'; - _notificationsCapabilities?.build(); - _$failedField = 'provisioningApiCapabilities'; - _provisioningApiCapabilities?.build(); - _$failedField = 'sharebymailCapabilities'; - _sharebymailCapabilities?.build(); - _$failedField = 'themingPublicCapabilities'; - _themingPublicCapabilities?.build(); - _$failedField = 'userStatusCapabilities'; - _userStatusCapabilities?.build(); - _$failedField = 'weatherStatusCapabilities'; - _weatherStatusCapabilities?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NavigationGetSettingsNavigationResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -20231,129 +23716,135 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version; - set version(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version); - - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities; - set capabilities(OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities); +abstract mixin class NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + void replace( + NavigationGetSettingsNavigationResponseApplicationJsonInterface other); + void update( + void Function( + NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder) + updates); + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs; + set ocs( + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? ocs); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data { - @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version version; +class _$NavigationGetSettingsNavigationResponseApplicationJson + extends NavigationGetSettingsNavigationResponseApplicationJson { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities capabilities; + final NavigationGetSettingsNavigationResponseApplicationJson_Ocs ocs; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data( - [void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$NavigationGetSettingsNavigationResponseApplicationJson( + [void Function( + NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? + updates]) => + (new NavigationGetSettingsNavigationResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) + _$NavigationGetSettingsNavigationResponseApplicationJson._( + {required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(version, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'version'); BuiltValueNullFieldError.checkNotNull( - capabilities, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'capabilities'); + ocs, r'NavigationGetSettingsNavigationResponseApplicationJson', 'ocs'); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder) updates) => + NavigationGetSettingsNavigationResponseApplicationJson rebuild( + void Function( + NavigationGetSettingsNavigationResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder toBuilder() => + new NavigationGetSettingsNavigationResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data && - version == other.version && - capabilities == other.capabilities; + return other is NavigationGetSettingsNavigationResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, capabilities.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data') - ..add('version', version) - ..add('capabilities', capabilities)) + return (newBuiltValueToStringHelper( + r'NavigationGetSettingsNavigationResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder +class NavigationGetSettingsNavigationResponseApplicationJsonBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data? _$v; - - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? _version; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version => - _$this._version ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); - set version(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? version) => - _$this._version = version; + Builder, + NavigationGetSettingsNavigationResponseApplicationJsonInterfaceBuilder { + _$NavigationGetSettingsNavigationResponseApplicationJson? _$v; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => - _$this._capabilities ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); - set capabilities(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => - _$this._capabilities = capabilities; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? _ocs; + NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder(); + set ocs( + covariant NavigationGetSettingsNavigationResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + NavigationGetSettingsNavigationResponseApplicationJsonBuilder(); - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get _$this { + NavigationGetSettingsNavigationResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version.toBuilder(); - _capabilities = $v.capabilities.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data other) { + void replace( + covariant NavigationGetSettingsNavigationResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; + _$v = other as _$NavigationGetSettingsNavigationResponseApplicationJson; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + NavigationGetSettingsNavigationResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs_Data build() => _build(); + NavigationGetSettingsNavigationResponseApplicationJson build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _build() { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _$result; + _$NavigationGetSettingsNavigationResponseApplicationJson _build() { + _$NavigationGetSettingsNavigationResponseApplicationJson _$result; try { _$result = _$v ?? - _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._( - version: version.build(), capabilities: capabilities.build()); + new _$NavigationGetSettingsNavigationResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'version'; - version.build(); - _$failedField = 'capabilities'; - capabilities.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'NavigationGetSettingsNavigationResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -20362,344 +23853,396 @@ class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJson_OcsInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data; - set data(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class OcmOcmDiscoveryHeadersInterfaceBuilder { + void replace(OcmOcmDiscoveryHeadersInterface other); + void update(void Function(OcmOcmDiscoveryHeadersInterfaceBuilder) updates); + bool? get xNextcloudOcmProviders; + set xNextcloudOcmProviders(bool? xNextcloudOcmProviders); } -class _$OcsGetCapabilitiesResponseApplicationJson_Ocs extends OcsGetCapabilitiesResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$OcmOcmDiscoveryHeaders extends OcmOcmDiscoveryHeaders { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data data; + final bool? xNextcloudOcmProviders; - factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs( - [void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcmOcmDiscoveryHeaders( + [void Function(OcmOcmDiscoveryHeadersBuilder)? updates]) => + (new OcmOcmDiscoveryHeadersBuilder()..update(updates))._build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'data'); - } + _$OcmOcmDiscoveryHeaders._({this.xNextcloudOcmProviders}) : super._(); @override - OcsGetCapabilitiesResponseApplicationJson_Ocs rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder) updates) => + OcmOcmDiscoveryHeaders rebuild( + void Function(OcmOcmDiscoveryHeadersBuilder) updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..replace(this); + OcmOcmDiscoveryHeadersBuilder toBuilder() => + new OcmOcmDiscoveryHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is OcmOcmDiscoveryHeaders && + xNextcloudOcmProviders == other.xNextcloudOcmProviders; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, xNextcloudOcmProviders.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'OcmOcmDiscoveryHeaders') + ..add('xNextcloudOcmProviders', xNextcloudOcmProviders)) .toString(); } } -class OcsGetCapabilitiesResponseApplicationJson_OcsBuilder +class OcmOcmDiscoveryHeadersBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + OcmOcmDiscoveryHeadersInterfaceBuilder { + _$OcmOcmDiscoveryHeaders? _$v; - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? _data; - OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + bool? _xNextcloudOcmProviders; + bool? get xNextcloudOcmProviders => _$this._xNextcloudOcmProviders; + set xNextcloudOcmProviders(covariant bool? xNextcloudOcmProviders) => + _$this._xNextcloudOcmProviders = xNextcloudOcmProviders; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + OcmOcmDiscoveryHeadersBuilder(); - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get _$this { + OcmOcmDiscoveryHeadersBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _xNextcloudOcmProviders = $v.xNextcloudOcmProviders; _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs other) { + void replace(covariant OcmOcmDiscoveryHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs; + _$v = other as _$OcmOcmDiscoveryHeaders; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(OcmOcmDiscoveryHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson_Ocs build() => _build(); + OcmOcmDiscoveryHeaders build() => _build(); - _$OcsGetCapabilitiesResponseApplicationJson_Ocs _build() { - _$OcsGetCapabilitiesResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'OcsGetCapabilitiesResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$OcmOcmDiscoveryHeaders _build() { + final _$result = _$v ?? + new _$OcmOcmDiscoveryHeaders._( + xNextcloudOcmProviders: xNextcloudOcmProviders); replace(_$result); return _$result; } } -abstract mixin class OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { - void replace(OcsGetCapabilitiesResponseApplicationJsonInterface other); - void update(void Function(OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder) updates); - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs; - set ocs(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + void replace( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterface + other); + void update( + void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder) + updates); + String? get webdav; + set webdav(String? webdav); } -class _$OcsGetCapabilitiesResponseApplicationJson extends OcsGetCapabilitiesResponseApplicationJson { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols + extends OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols { @override - final OcsGetCapabilitiesResponseApplicationJson_Ocs ocs; + final String webdav; - factory _$OcsGetCapabilitiesResponseApplicationJson( - [void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates]) => - (OcsGetCapabilitiesResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols( + [void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? + updates]) => + (new OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder() + ..update(updates)) + ._build(); - _$OcsGetCapabilitiesResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'OcsGetCapabilitiesResponseApplicationJson', 'ocs'); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( + {required this.webdav}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + webdav, + r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', + 'webdav'); } @override - OcsGetCapabilitiesResponseApplicationJson rebuild( - void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols rebuild( + void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - OcsGetCapabilitiesResponseApplicationJsonBuilder toBuilder() => - OcsGetCapabilitiesResponseApplicationJsonBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder + toBuilder() => + new OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OcsGetCapabilitiesResponseApplicationJson && ocs == other.ocs; + return other + is OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols && + webdav == other.webdav; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, webdav.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OcsGetCapabilitiesResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols') + ..add('webdav', webdav)) + .toString(); } } -class OcsGetCapabilitiesResponseApplicationJsonBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder implements - Builder, - OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { - _$OcsGetCapabilitiesResponseApplicationJson? _$v; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols? _$v; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? _ocs; - OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); - set ocs(covariant OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _webdav; + String? get webdav => _$this._webdav; + set webdav(covariant String? webdav) => _$this._webdav = webdav; - OcsGetCapabilitiesResponseApplicationJsonBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); - OcsGetCapabilitiesResponseApplicationJsonBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _webdav = $v.webdav; _$v = null; } return this; } @override - void replace(covariant OcsGetCapabilitiesResponseApplicationJson other) { + void replace( + covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OcsGetCapabilitiesResponseApplicationJson; + _$v = + other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols; } @override - void update(void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder)? + updates) { if (updates != null) updates(this); } @override - OcsGetCapabilitiesResponseApplicationJson build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols build() => + _build(); - _$OcsGetCapabilitiesResponseApplicationJson _build() { - _$OcsGetCapabilitiesResponseApplicationJson _$result; - try { - _$result = _$v ?? _$OcsGetCapabilitiesResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'OcsGetCapabilitiesResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols _build() { + final _$result = _$v ?? + new _$OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols._( + webdav: BuiltValueNullFieldError.checkNotNull( + webdav, + r'OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols', + 'webdav')); replace(_$result); return _$result; } } -abstract mixin class ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { - void replace(ProfileApiSetVisibilityResponseApplicationJson_OcsInterface other); - void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + void replace( + OcmDiscoveryResponseApplicationJson_ResourceTypesInterface other); + void update( + void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder) + updates); + String? get name; + set name(String? name); - JsonObject? get data; - set data(JsonObject? data); + ListBuilder get shareTypes; + set shareTypes(ListBuilder? shareTypes); + + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder + get protocols; + set protocols( + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? + protocols); } -class _$ProfileApiSetVisibilityResponseApplicationJson_Ocs extends ProfileApiSetVisibilityResponseApplicationJson_Ocs { +class _$OcmDiscoveryResponseApplicationJson_ResourceTypes + extends OcmDiscoveryResponseApplicationJson_ResourceTypes { @override - final OCSMeta meta; + final String name; @override - final JsonObject data; + final BuiltList shareTypes; + @override + final OcmDiscoveryResponseApplicationJson_ResourceTypes_Protocols protocols; - factory _$ProfileApiSetVisibilityResponseApplicationJson_Ocs( - [void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates]) => - (ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson_ResourceTypes( + [void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? + updates]) => + (new OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder() + ..update(updates)) + ._build(); - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data'); + _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + {required this.name, required this.shareTypes, required this.protocols}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + name, r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'); + BuiltValueNullFieldError.checkNotNull(shareTypes, + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'shareTypes'); + BuiltValueNullFieldError.checkNotNull(protocols, + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'protocols'); } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs rebuild( - void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder) updates) => + OcmDiscoveryResponseApplicationJson_ResourceTypes rebuild( + void Function( + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder toBuilder() => - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder()..replace(this); + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder toBuilder() => + new OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProfileApiSetVisibilityResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is OcmDiscoveryResponseApplicationJson_ResourceTypes && + name == other.name && + shareTypes == other.shareTypes && + protocols == other.protocols; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, shareTypes.hashCode); + _$hash = $jc(_$hash, protocols.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'OcmDiscoveryResponseApplicationJson_ResourceTypes') + ..add('name', name) + ..add('shareTypes', shareTypes) + ..add('protocols', protocols)) .toString(); } } -class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder +class OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder implements - Builder, - ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs? _$v; + Builder, + OcmDiscoveryResponseApplicationJson_ResourceTypesInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + ListBuilder? _shareTypes; + ListBuilder get shareTypes => + _$this._shareTypes ??= new ListBuilder(); + set shareTypes(covariant ListBuilder? shareTypes) => + _$this._shareTypes = shareTypes; + + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? + _protocols; + OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder + get protocols => _$this._protocols ??= + new OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder(); + set protocols( + covariant OcmDiscoveryResponseApplicationJson_ResourceTypes_ProtocolsBuilder? + protocols) => + _$this._protocols = protocols; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder(); - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get _$this { + OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _name = $v.name; + _shareTypes = $v.shareTypes.toBuilder(); + _protocols = $v.protocols.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProfileApiSetVisibilityResponseApplicationJson_Ocs other) { + void replace( + covariant OcmDiscoveryResponseApplicationJson_ResourceTypes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; + _$v = other as _$OcmDiscoveryResponseApplicationJson_ResourceTypes; } @override - void update(void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(OcmDiscoveryResponseApplicationJson_ResourceTypesBuilder)? + updates) { if (updates != null) updates(this); } @override - ProfileApiSetVisibilityResponseApplicationJson_Ocs build() => _build(); + OcmDiscoveryResponseApplicationJson_ResourceTypes build() => _build(); - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _build() { - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _$result; + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _build() { + _$OcmDiscoveryResponseApplicationJson_ResourceTypes _$result; try { _$result = _$v ?? - _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data')); + new _$OcmDiscoveryResponseApplicationJson_ResourceTypes._( + name: BuiltValueNullFieldError.checkNotNull(name, + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', 'name'), + shareTypes: shareTypes.build(), + protocols: protocols.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); + _$failedField = 'shareTypes'; + shareTypes.build(); + _$failedField = 'protocols'; + protocols.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcmDiscoveryResponseApplicationJson_ResourceTypes', + _$failedField, + e.toString()); } rethrow; } @@ -20708,102 +24251,184 @@ class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder } } -abstract mixin class ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { - void replace(ProfileApiSetVisibilityResponseApplicationJsonInterface other); - void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder) updates); - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs; - set ocs(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + void replace(OcmDiscoveryResponseApplicationJsonInterface other); + void update( + void Function(OcmDiscoveryResponseApplicationJsonInterfaceBuilder) + updates); + bool? get enabled; + set enabled(bool? enabled); + + String? get apiVersion; + set apiVersion(String? apiVersion); + + String? get endPoint; + set endPoint(String? endPoint); + + ListBuilder + get resourceTypes; + set resourceTypes( + ListBuilder? + resourceTypes); } -class _$ProfileApiSetVisibilityResponseApplicationJson extends ProfileApiSetVisibilityResponseApplicationJson { +class _$OcmDiscoveryResponseApplicationJson + extends OcmDiscoveryResponseApplicationJson { @override - final ProfileApiSetVisibilityResponseApplicationJson_Ocs ocs; + final bool enabled; + @override + final String apiVersion; + @override + final String endPoint; + @override + final BuiltList + resourceTypes; - factory _$ProfileApiSetVisibilityResponseApplicationJson( - [void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates]) => - (ProfileApiSetVisibilityResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcmDiscoveryResponseApplicationJson( + [void Function(OcmDiscoveryResponseApplicationJsonBuilder)? + updates]) => + (new OcmDiscoveryResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$ProfileApiSetVisibilityResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ProfileApiSetVisibilityResponseApplicationJson', 'ocs'); + _$OcmDiscoveryResponseApplicationJson._( + {required this.enabled, + required this.apiVersion, + required this.endPoint, + required this.resourceTypes}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + apiVersion, r'OcmDiscoveryResponseApplicationJson', 'apiVersion'); + BuiltValueNullFieldError.checkNotNull( + endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'); + BuiltValueNullFieldError.checkNotNull( + resourceTypes, r'OcmDiscoveryResponseApplicationJson', 'resourceTypes'); } @override - ProfileApiSetVisibilityResponseApplicationJson rebuild( - void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder) updates) => + OcmDiscoveryResponseApplicationJson rebuild( + void Function(OcmDiscoveryResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProfileApiSetVisibilityResponseApplicationJsonBuilder toBuilder() => - ProfileApiSetVisibilityResponseApplicationJsonBuilder()..replace(this); + OcmDiscoveryResponseApplicationJsonBuilder toBuilder() => + new OcmDiscoveryResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProfileApiSetVisibilityResponseApplicationJson && ocs == other.ocs; + return other is OcmDiscoveryResponseApplicationJson && + enabled == other.enabled && + apiVersion == other.apiVersion && + endPoint == other.endPoint && + resourceTypes == other.resourceTypes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, endPoint.hashCode); + _$hash = $jc(_$hash, resourceTypes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProfileApiSetVisibilityResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'OcmDiscoveryResponseApplicationJson') + ..add('enabled', enabled) + ..add('apiVersion', apiVersion) + ..add('endPoint', endPoint) + ..add('resourceTypes', resourceTypes)) + .toString(); } } -class ProfileApiSetVisibilityResponseApplicationJsonBuilder +class OcmDiscoveryResponseApplicationJsonBuilder implements - Builder, - ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { - _$ProfileApiSetVisibilityResponseApplicationJson? _$v; + Builder, + OcmDiscoveryResponseApplicationJsonInterfaceBuilder { + _$OcmDiscoveryResponseApplicationJson? _$v; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? _ocs; - ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); - set ocs(covariant ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(covariant bool? enabled) => _$this._enabled = enabled; - ProfileApiSetVisibilityResponseApplicationJsonBuilder(); + String? _apiVersion; + String? get apiVersion => _$this._apiVersion; + set apiVersion(covariant String? apiVersion) => + _$this._apiVersion = apiVersion; - ProfileApiSetVisibilityResponseApplicationJsonBuilder get _$this { + String? _endPoint; + String? get endPoint => _$this._endPoint; + set endPoint(covariant String? endPoint) => _$this._endPoint = endPoint; + + ListBuilder? + _resourceTypes; + ListBuilder + get resourceTypes => _$this._resourceTypes ??= + new ListBuilder(); + set resourceTypes( + covariant ListBuilder< + OcmDiscoveryResponseApplicationJson_ResourceTypes>? + resourceTypes) => + _$this._resourceTypes = resourceTypes; + + OcmDiscoveryResponseApplicationJsonBuilder(); + + OcmDiscoveryResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; + _apiVersion = $v.apiVersion; + _endPoint = $v.endPoint; + _resourceTypes = $v.resourceTypes.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ProfileApiSetVisibilityResponseApplicationJson other) { + void replace(covariant OcmDiscoveryResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson; + _$v = other as _$OcmDiscoveryResponseApplicationJson; } @override - void update(void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? updates) { + void update( + void Function(OcmDiscoveryResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ProfileApiSetVisibilityResponseApplicationJson build() => _build(); + OcmDiscoveryResponseApplicationJson build() => _build(); - _$ProfileApiSetVisibilityResponseApplicationJson _build() { - _$ProfileApiSetVisibilityResponseApplicationJson _$result; + _$OcmDiscoveryResponseApplicationJson _build() { + _$OcmDiscoveryResponseApplicationJson _$result; try { - _$result = _$v ?? _$ProfileApiSetVisibilityResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$OcmDiscoveryResponseApplicationJson._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'OcmDiscoveryResponseApplicationJson', 'enabled'), + apiVersion: BuiltValueNullFieldError.checkNotNull(apiVersion, + r'OcmDiscoveryResponseApplicationJson', 'apiVersion'), + endPoint: BuiltValueNullFieldError.checkNotNull( + endPoint, r'OcmDiscoveryResponseApplicationJson', 'endPoint'), + resourceTypes: resourceTypes.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'resourceTypes'; + resourceTypes.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ProfileApiSetVisibilityResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcmDiscoveryResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -20812,254 +24437,648 @@ class ProfileApiSetVisibilityResponseApplicationJsonBuilder } } -abstract mixin class ReferenceInterfaceBuilder { - void replace(ReferenceInterface other); - void update(void Function(ReferenceInterfaceBuilder) updates); - String? get richObjectType; - set richObjectType(String? richObjectType); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + void replace( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterface + other); + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder) + updates); + int? get major; + set major(int? major); - MapBuilder get richObject; - set richObject(MapBuilder? richObject); + int? get minor; + set minor(int? minor); - OpenGraphObjectBuilder get openGraphObject; - set openGraphObject(OpenGraphObjectBuilder? openGraphObject); + int? get micro; + set micro(int? micro); - bool? get accessible; - set accessible(bool? accessible); + String? get string; + set string(String? string); + + String? get edition; + set edition(String? edition); + + bool? get extendedSupport; + set extendedSupport(bool? extendedSupport); } -class _$Reference extends Reference { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version { @override - final String richObjectType; + final int major; @override - final BuiltMap richObject; + final int minor; @override - final OpenGraphObject openGraphObject; + final int micro; @override - final bool accessible; + final String string; + @override + final String edition; + @override + final bool extendedSupport; - factory _$Reference([void Function(ReferenceBuilder)? updates]) => (ReferenceBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version( + [void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? + updates]) => + (new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder() + ..update(updates)) + ._build(); - _$Reference._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'Reference', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'Reference', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible'); + BuiltValueNullFieldError.checkNotNull(major, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'); + BuiltValueNullFieldError.checkNotNull(minor, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull(micro, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'extendedSupport'); } @override - Reference rebuild(void Function(ReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version rebuild( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - ReferenceBuilder toBuilder() => ReferenceBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder + toBuilder() => + new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Reference && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other + is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version && + major == other.major && + minor == other.minor && + micro == other.micro && + string == other.string && + edition == other.edition && + extendedSupport == other.extendedSupport; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, richObjectType.hashCode); - _$hash = $jc(_$hash, richObject.hashCode); - _$hash = $jc(_$hash, openGraphObject.hashCode); - _$hash = $jc(_$hash, accessible.hashCode); + _$hash = $jc(_$hash, major.hashCode); + _$hash = $jc(_$hash, minor.hashCode); + _$hash = $jc(_$hash, micro.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'Reference') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class ReferenceBuilder implements Builder, ReferenceInterfaceBuilder { - _$Reference? _$v; +class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder + implements + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version? _$v; - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(covariant String? richObjectType) => _$this._richObjectType = richObjectType; + int? _major; + int? get major => _$this._major; + set major(covariant int? major) => _$this._major = major; - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(covariant MapBuilder? richObject) => _$this._richObject = richObject; + int? _minor; + int? get minor => _$this._minor; + set minor(covariant int? minor) => _$this._minor = minor; - OpenGraphObjectBuilder? _openGraphObject; - OpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= OpenGraphObjectBuilder(); - set openGraphObject(covariant OpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + int? _micro; + int? get micro => _$this._micro; + set micro(covariant int? micro) => _$this._micro = micro; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(covariant bool? accessible) => _$this._accessible = accessible; + String? _string; + String? get string => _$this._string; + set string(covariant String? string) => _$this._string = string; - ReferenceBuilder(); + String? _edition; + String? get edition => _$this._edition; + set edition(covariant String? edition) => _$this._edition = edition; - ReferenceBuilder get _$this { + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(covariant bool? extendedSupport) => + _$this._extendedSupport = extendedSupport; + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _major = $v.major; + _minor = $v.minor; + _micro = $v.micro; + _string = $v.string; + _edition = $v.edition; + _extendedSupport = $v.extendedSupport; _$v = null; } return this; } @override - void replace(covariant Reference other) { + void replace( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Reference; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version; } @override - void update(void Function(ReferenceBuilder)? updates) { + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder)? + updates) { if (updates != null) updates(this); } @override - Reference build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version build() => + _build(); - _$Reference _build() { - _$Reference _$result; - try { - _$result = _$v ?? - _$Reference._( - richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'Reference', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'Reference', 'accessible')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'Reference', _$failedField, e.toString()); - } - rethrow; - } + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version _build() { + final _$result = _$v ?? + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull( + extendedSupport, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version', + 'extendedSupport')); replace(_$result); return _$result; } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - MapBuilder get references; - set references(MapBuilder? references); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { + void replace( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterface + other); + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder) + updates); + CommentsCapabilitiesBuilder get commentsCapabilities; + set commentsCapabilities(CommentsCapabilitiesBuilder? commentsCapabilities); + + DavCapabilitiesBuilder get davCapabilities; + set davCapabilities(DavCapabilitiesBuilder? davCapabilities); + + FilesCapabilitiesBuilder get filesCapabilities; + set filesCapabilities(FilesCapabilitiesBuilder? filesCapabilities); + + FilesSharingCapabilitiesBuilder get filesSharingCapabilities; + set filesSharingCapabilities( + FilesSharingCapabilitiesBuilder? filesSharingCapabilities); + + FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities; + set filesTrashbinCapabilities( + FilesTrashbinCapabilitiesBuilder? filesTrashbinCapabilities); + + FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities; + set filesVersionsCapabilities( + FilesVersionsCapabilitiesBuilder? filesVersionsCapabilities); + + NotesCapabilitiesBuilder get notesCapabilities; + set notesCapabilities(NotesCapabilitiesBuilder? notesCapabilities); + + NotificationsCapabilitiesBuilder get notificationsCapabilities; + set notificationsCapabilities( + NotificationsCapabilitiesBuilder? notificationsCapabilities); + + ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities; + set provisioningApiCapabilities( + ProvisioningApiCapabilitiesBuilder? provisioningApiCapabilities); + + SharebymailCapabilitiesBuilder get sharebymailCapabilities; + set sharebymailCapabilities( + SharebymailCapabilitiesBuilder? sharebymailCapabilities); + + ThemingPublicCapabilitiesBuilder get themingPublicCapabilities; + set themingPublicCapabilities( + ThemingPublicCapabilitiesBuilder? themingPublicCapabilities); + + UserStatusCapabilitiesBuilder get userStatusCapabilities; + set userStatusCapabilities( + UserStatusCapabilitiesBuilder? userStatusCapabilities); + + WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities; + set weatherStatusCapabilities( + WeatherStatusCapabilitiesBuilder? weatherStatusCapabilities); } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data - extends ReferenceApiResolveOneResponseApplicationJson_Ocs_Data { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities { @override - final BuiltMap references; + final JsonObject data; + @override + final CommentsCapabilities? commentsCapabilities; + @override + final DavCapabilities? davCapabilities; + @override + final FilesCapabilities? filesCapabilities; + @override + final FilesSharingCapabilities? filesSharingCapabilities; + @override + final FilesTrashbinCapabilities? filesTrashbinCapabilities; + @override + final FilesVersionsCapabilities? filesVersionsCapabilities; + @override + final NotesCapabilities? notesCapabilities; + @override + final NotificationsCapabilities? notificationsCapabilities; + @override + final ProvisioningApiCapabilities? provisioningApiCapabilities; + @override + final SharebymailCapabilities? sharebymailCapabilities; + @override + final ThemingPublicCapabilities? themingPublicCapabilities; + @override + final UserStatusCapabilities? userStatusCapabilities; + @override + final WeatherStatusCapabilities? weatherStatusCapabilities; - factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities( + [void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? + updates]) => + (new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._( + {required this.data, + this.commentsCapabilities, + this.davCapabilities, + this.filesCapabilities, + this.filesSharingCapabilities, + this.filesTrashbinCapabilities, + this.filesVersionsCapabilities, + this.notesCapabilities, + this.notificationsCapabilities, + this.provisioningApiCapabilities, + this.sharebymailCapabilities, + this.themingPublicCapabilities, + this.userStatusCapabilities, + this.weatherStatusCapabilities}) + : super._() { BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', 'references'); + data, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', + 'data'); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities rebuild( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder + toBuilder() => + new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson_Ocs_Data && references == other.references; + return other + is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities && + data == other.data && + commentsCapabilities == other.commentsCapabilities && + davCapabilities == other.davCapabilities && + filesCapabilities == other.filesCapabilities && + filesSharingCapabilities == other.filesSharingCapabilities && + filesTrashbinCapabilities == other.filesTrashbinCapabilities && + filesVersionsCapabilities == other.filesVersionsCapabilities && + notesCapabilities == other.notesCapabilities && + notificationsCapabilities == other.notificationsCapabilities && + provisioningApiCapabilities == other.provisioningApiCapabilities && + sharebymailCapabilities == other.sharebymailCapabilities && + themingPublicCapabilities == other.themingPublicCapabilities && + userStatusCapabilities == other.userStatusCapabilities && + weatherStatusCapabilities == other.weatherStatusCapabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, references.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, commentsCapabilities.hashCode); + _$hash = $jc(_$hash, davCapabilities.hashCode); + _$hash = $jc(_$hash, filesCapabilities.hashCode); + _$hash = $jc(_$hash, filesSharingCapabilities.hashCode); + _$hash = $jc(_$hash, filesTrashbinCapabilities.hashCode); + _$hash = $jc(_$hash, filesVersionsCapabilities.hashCode); + _$hash = $jc(_$hash, notesCapabilities.hashCode); + _$hash = $jc(_$hash, notificationsCapabilities.hashCode); + _$hash = $jc(_$hash, provisioningApiCapabilities.hashCode); + _$hash = $jc(_$hash, sharebymailCapabilities.hashCode); + _$hash = $jc(_$hash, themingPublicCapabilities.hashCode); + _$hash = $jc(_$hash, userStatusCapabilities.hashCode); + _$hash = $jc(_$hash, weatherStatusCapabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities') + ..add('data', data) + ..add('commentsCapabilities', commentsCapabilities) + ..add('davCapabilities', davCapabilities) + ..add('filesCapabilities', filesCapabilities) + ..add('filesSharingCapabilities', filesSharingCapabilities) + ..add('filesTrashbinCapabilities', filesTrashbinCapabilities) + ..add('filesVersionsCapabilities', filesVersionsCapabilities) + ..add('notesCapabilities', notesCapabilities) + ..add('notificationsCapabilities', notificationsCapabilities) + ..add('provisioningApiCapabilities', provisioningApiCapabilities) + ..add('sharebymailCapabilities', sharebymailCapabilities) + ..add('themingPublicCapabilities', themingPublicCapabilities) + ..add('userStatusCapabilities', userStatusCapabilities) + ..add('weatherStatusCapabilities', weatherStatusCapabilities)) .toString(); } } -class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder +class OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + CommentsCapabilitiesBuilder? _commentsCapabilities; + CommentsCapabilitiesBuilder get commentsCapabilities => + _$this._commentsCapabilities ??= new CommentsCapabilitiesBuilder(); + set commentsCapabilities( + covariant CommentsCapabilitiesBuilder? commentsCapabilities) => + _$this._commentsCapabilities = commentsCapabilities; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get _$this { + DavCapabilitiesBuilder? _davCapabilities; + DavCapabilitiesBuilder get davCapabilities => + _$this._davCapabilities ??= new DavCapabilitiesBuilder(); + set davCapabilities(covariant DavCapabilitiesBuilder? davCapabilities) => + _$this._davCapabilities = davCapabilities; + + FilesCapabilitiesBuilder? _filesCapabilities; + FilesCapabilitiesBuilder get filesCapabilities => + _$this._filesCapabilities ??= new FilesCapabilitiesBuilder(); + set filesCapabilities( + covariant FilesCapabilitiesBuilder? filesCapabilities) => + _$this._filesCapabilities = filesCapabilities; + + FilesSharingCapabilitiesBuilder? _filesSharingCapabilities; + FilesSharingCapabilitiesBuilder get filesSharingCapabilities => + _$this._filesSharingCapabilities ??= + new FilesSharingCapabilitiesBuilder(); + set filesSharingCapabilities( + covariant FilesSharingCapabilitiesBuilder? + filesSharingCapabilities) => + _$this._filesSharingCapabilities = filesSharingCapabilities; + + FilesTrashbinCapabilitiesBuilder? _filesTrashbinCapabilities; + FilesTrashbinCapabilitiesBuilder get filesTrashbinCapabilities => + _$this._filesTrashbinCapabilities ??= + new FilesTrashbinCapabilitiesBuilder(); + set filesTrashbinCapabilities( + covariant FilesTrashbinCapabilitiesBuilder? + filesTrashbinCapabilities) => + _$this._filesTrashbinCapabilities = filesTrashbinCapabilities; + + FilesVersionsCapabilitiesBuilder? _filesVersionsCapabilities; + FilesVersionsCapabilitiesBuilder get filesVersionsCapabilities => + _$this._filesVersionsCapabilities ??= + new FilesVersionsCapabilitiesBuilder(); + set filesVersionsCapabilities( + covariant FilesVersionsCapabilitiesBuilder? + filesVersionsCapabilities) => + _$this._filesVersionsCapabilities = filesVersionsCapabilities; + + NotesCapabilitiesBuilder? _notesCapabilities; + NotesCapabilitiesBuilder get notesCapabilities => + _$this._notesCapabilities ??= new NotesCapabilitiesBuilder(); + set notesCapabilities( + covariant NotesCapabilitiesBuilder? notesCapabilities) => + _$this._notesCapabilities = notesCapabilities; + + NotificationsCapabilitiesBuilder? _notificationsCapabilities; + NotificationsCapabilitiesBuilder get notificationsCapabilities => + _$this._notificationsCapabilities ??= + new NotificationsCapabilitiesBuilder(); + set notificationsCapabilities( + covariant NotificationsCapabilitiesBuilder? + notificationsCapabilities) => + _$this._notificationsCapabilities = notificationsCapabilities; + + ProvisioningApiCapabilitiesBuilder? _provisioningApiCapabilities; + ProvisioningApiCapabilitiesBuilder get provisioningApiCapabilities => + _$this._provisioningApiCapabilities ??= + new ProvisioningApiCapabilitiesBuilder(); + set provisioningApiCapabilities( + covariant ProvisioningApiCapabilitiesBuilder? + provisioningApiCapabilities) => + _$this._provisioningApiCapabilities = provisioningApiCapabilities; + + SharebymailCapabilitiesBuilder? _sharebymailCapabilities; + SharebymailCapabilitiesBuilder get sharebymailCapabilities => + _$this._sharebymailCapabilities ??= new SharebymailCapabilitiesBuilder(); + set sharebymailCapabilities( + covariant SharebymailCapabilitiesBuilder? sharebymailCapabilities) => + _$this._sharebymailCapabilities = sharebymailCapabilities; + + ThemingPublicCapabilitiesBuilder? _themingPublicCapabilities; + ThemingPublicCapabilitiesBuilder get themingPublicCapabilities => + _$this._themingPublicCapabilities ??= + new ThemingPublicCapabilitiesBuilder(); + set themingPublicCapabilities( + covariant ThemingPublicCapabilitiesBuilder? + themingPublicCapabilities) => + _$this._themingPublicCapabilities = themingPublicCapabilities; + + UserStatusCapabilitiesBuilder? _userStatusCapabilities; + UserStatusCapabilitiesBuilder get userStatusCapabilities => + _$this._userStatusCapabilities ??= new UserStatusCapabilitiesBuilder(); + set userStatusCapabilities( + covariant UserStatusCapabilitiesBuilder? userStatusCapabilities) => + _$this._userStatusCapabilities = userStatusCapabilities; + + WeatherStatusCapabilitiesBuilder? _weatherStatusCapabilities; + WeatherStatusCapabilitiesBuilder get weatherStatusCapabilities => + _$this._weatherStatusCapabilities ??= + new WeatherStatusCapabilitiesBuilder(); + set weatherStatusCapabilities( + covariant WeatherStatusCapabilitiesBuilder? + weatherStatusCapabilities) => + _$this._weatherStatusCapabilities = weatherStatusCapabilities; + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder + get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _data = $v.data; + _commentsCapabilities = $v.commentsCapabilities?.toBuilder(); + _davCapabilities = $v.davCapabilities?.toBuilder(); + _filesCapabilities = $v.filesCapabilities?.toBuilder(); + _filesSharingCapabilities = $v.filesSharingCapabilities?.toBuilder(); + _filesTrashbinCapabilities = $v.filesTrashbinCapabilities?.toBuilder(); + _filesVersionsCapabilities = $v.filesVersionsCapabilities?.toBuilder(); + _notesCapabilities = $v.notesCapabilities?.toBuilder(); + _notificationsCapabilities = $v.notificationsCapabilities?.toBuilder(); + _provisioningApiCapabilities = + $v.provisioningApiCapabilities?.toBuilder(); + _sharebymailCapabilities = $v.sharebymailCapabilities?.toBuilder(); + _themingPublicCapabilities = $v.themingPublicCapabilities?.toBuilder(); + _userStatusCapabilities = $v.userStatusCapabilities?.toBuilder(); + _weatherStatusCapabilities = $v.weatherStatusCapabilities?.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_Data other) { + void replace( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; + _$v = other + as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs_Data build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities build() => + _build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _$result; + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _build() { + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities._validate( + this); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities + ._( + data: BuiltValueNullFieldError.checkNotNull( + data, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', + 'data'), + commentsCapabilities: _commentsCapabilities?.build(), + davCapabilities: _davCapabilities?.build(), + filesCapabilities: _filesCapabilities?.build(), + filesSharingCapabilities: _filesSharingCapabilities?.build(), + filesTrashbinCapabilities: _filesTrashbinCapabilities?.build(), + filesVersionsCapabilities: _filesVersionsCapabilities?.build(), + notesCapabilities: _notesCapabilities?.build(), + notificationsCapabilities: _notificationsCapabilities?.build(), + provisioningApiCapabilities: + _provisioningApiCapabilities?.build(), + sharebymailCapabilities: _sharebymailCapabilities?.build(), + themingPublicCapabilities: _themingPublicCapabilities?.build(), + userStatusCapabilities: _userStatusCapabilities?.build(), + weatherStatusCapabilities: _weatherStatusCapabilities?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'commentsCapabilities'; + _commentsCapabilities?.build(); + _$failedField = 'davCapabilities'; + _davCapabilities?.build(); + _$failedField = 'filesCapabilities'; + _filesCapabilities?.build(); + _$failedField = 'filesSharingCapabilities'; + _filesSharingCapabilities?.build(); + _$failedField = 'filesTrashbinCapabilities'; + _filesTrashbinCapabilities?.build(); + _$failedField = 'filesVersionsCapabilities'; + _filesVersionsCapabilities?.build(); + _$failedField = 'notesCapabilities'; + _notesCapabilities?.build(); + _$failedField = 'notificationsCapabilities'; + _notificationsCapabilities?.build(); + _$failedField = 'provisioningApiCapabilities'; + _provisioningApiCapabilities?.build(); + _$failedField = 'sharebymailCapabilities'; + _sharebymailCapabilities?.build(); + _$failedField = 'themingPublicCapabilities'; + _themingPublicCapabilities?.build(); + _$failedField = 'userStatusCapabilities'; + _userStatusCapabilities?.build(); + _$failedField = 'weatherStatusCapabilities'; + _weatherStatusCapabilities?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities', + _$failedField, + e.toString()); } rethrow; } @@ -21068,120 +25087,162 @@ class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder get version; + set version( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? + version); - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder + get capabilities; + set capabilities( + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? + capabilities); } -class _$ReferenceApiResolveOneResponseApplicationJson_Ocs extends ReferenceApiResolveOneResponseApplicationJson_Ocs { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data + extends OcsGetCapabilitiesResponseApplicationJson_Ocs_Data { @override - final OCSMeta meta; + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Version version; @override - final ReferenceApiResolveOneResponseApplicationJson_Ocs_Data data; + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_Capabilities + capabilities; - factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs( - [void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data( + [void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'data'); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._( + {required this.version, required this.capabilities}) + : super._() { + BuiltValueNullFieldError.checkNotNull(version, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'version'); + BuiltValueNullFieldError.checkNotNull(capabilities, + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', 'capabilities'); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data rebuild( + void Function( + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs_Data && + version == other.version && + capabilities == other.capabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, capabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data') + ..add('version', version) + ..add('capabilities', capabilities)) .toString(); } } -class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder +class OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? _version; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder + get version => _$this._version ??= + new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder(); + set version( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_VersionBuilder? + version) => + _$this._version = version; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? + _capabilities; + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder + get capabilities => _$this._capabilities ??= + new OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder(); + set capabilities( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data_CapabilitiesBuilder? + capabilities) => + _$this._capabilities = capabilities; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _version = $v.version.toBuilder(); + _capabilities = $v.capabilities.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson_Ocs other) { + void replace( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson_Ocs build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiResolveOneResponseApplicationJson_Ocs _build() { - _$ReferenceApiResolveOneResponseApplicationJson_Ocs _$result; + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _build() { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs_Data._( + version: version.build(), capabilities: capabilities.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'version'; + version.build(); + _$failedField = 'capabilities'; + capabilities.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiResolveOneResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -21190,101 +25251,145 @@ class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiResolveOneResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJson_OcsInterface other); + void update( + void Function( + OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data; + set data(OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiResolveOneResponseApplicationJson extends ReferenceApiResolveOneResponseApplicationJson { +class _$OcsGetCapabilitiesResponseApplicationJson_Ocs + extends OcsGetCapabilitiesResponseApplicationJson_Ocs { @override - final ReferenceApiResolveOneResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final OcsGetCapabilitiesResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiResolveOneResponseApplicationJson( - [void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiResolveOneResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson_Ocs( + [void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? + updates]) => + (new OcsGetCapabilitiesResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiResolveOneResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveOneResponseApplicationJson', 'ocs'); + _$OcsGetCapabilitiesResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'OcsGetCapabilitiesResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiResolveOneResponseApplicationJson rebuild( - void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson_Ocs rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveOneResponseApplicationJsonBuilder toBuilder() => - ReferenceApiResolveOneResponseApplicationJsonBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder toBuilder() => + new OcsGetCapabilitiesResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveOneResponseApplicationJson && ocs == other.ocs; + return other is OcsGetCapabilitiesResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveOneResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class ReferenceApiResolveOneResponseApplicationJsonBuilder +class OcsGetCapabilitiesResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiResolveOneResponseApplicationJson? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJson_OcsInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs? _$v; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiResolveOneResponseApplicationJsonBuilder(); + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? _data; + OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant OcsGetCapabilitiesResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - ReferenceApiResolveOneResponseApplicationJsonBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveOneResponseApplicationJson other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveOneResponseApplicationJson; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? updates) { + void update( + void Function(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveOneResponseApplicationJson build() => _build(); + OcsGetCapabilitiesResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiResolveOneResponseApplicationJson _build() { - _$ReferenceApiResolveOneResponseApplicationJson _$result; + _$OcsGetCapabilitiesResponseApplicationJson_Ocs _build() { + _$OcsGetCapabilitiesResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiResolveOneResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$OcsGetCapabilitiesResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceApiResolveOneResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -21293,106 +25398,124 @@ class ReferenceApiResolveOneResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - MapBuilder get references; - set references(MapBuilder? references); +abstract mixin class OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { + void replace(OcsGetCapabilitiesResponseApplicationJsonInterface other); + void update( + void Function(OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder) + updates); + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs; + set ocs(OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiResolveResponseApplicationJson_Ocs_Data - extends ReferenceApiResolveResponseApplicationJson_Ocs_Data { +class _$OcsGetCapabilitiesResponseApplicationJson + extends OcsGetCapabilitiesResponseApplicationJson { @override - final BuiltMap references; + final OcsGetCapabilitiesResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiResolveResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$OcsGetCapabilitiesResponseApplicationJson( + [void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? + updates]) => + (new OcsGetCapabilitiesResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + _$OcsGetCapabilitiesResponseApplicationJson._({required this.ocs}) + : super._() { BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', 'references'); + ocs, r'OcsGetCapabilitiesResponseApplicationJson', 'ocs'); } @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder) updates) => + OcsGetCapabilitiesResponseApplicationJson rebuild( + void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder()..replace(this); + OcsGetCapabilitiesResponseApplicationJsonBuilder toBuilder() => + new OcsGetCapabilitiesResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson_Ocs_Data && references == other.references; + return other is OcsGetCapabilitiesResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, references.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson_Ocs_Data') - ..add('references', references)) + return (newBuiltValueToStringHelper( + r'OcsGetCapabilitiesResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder +class OcsGetCapabilitiesResponseApplicationJsonBuilder implements - Builder, - ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data? _$v; + Builder, + OcsGetCapabilitiesResponseApplicationJsonInterfaceBuilder { + _$OcsGetCapabilitiesResponseApplicationJson? _$v; - MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? _ocs; + OcsGetCapabilitiesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new OcsGetCapabilitiesResponseApplicationJson_OcsBuilder(); + set ocs( + covariant OcsGetCapabilitiesResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); + OcsGetCapabilitiesResponseApplicationJsonBuilder(); - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get _$this { + OcsGetCapabilitiesResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _references = $v.references.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs_Data other) { + void replace(covariant OcsGetCapabilitiesResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; + _$v = other as _$OcsGetCapabilitiesResponseApplicationJson; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function(OcsGetCapabilitiesResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson_Ocs_Data build() => _build(); + OcsGetCapabilitiesResponseApplicationJson build() => _build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _$result; + _$OcsGetCapabilitiesResponseApplicationJson _build() { + _$OcsGetCapabilitiesResponseApplicationJson _$result; try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? + new _$OcsGetCapabilitiesResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'references'; - references.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'OcsGetCapabilitiesResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -21401,44 +25524,62 @@ class ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { + void replace( + ProfileApiSetVisibilityResponseApplicationJson_OcsInterface other); + void update( + void Function( + ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data); + JsonObject? get data; + set data(JsonObject? data); } -class _$ReferenceApiResolveResponseApplicationJson_Ocs extends ReferenceApiResolveResponseApplicationJson_Ocs { +class _$ProfileApiSetVisibilityResponseApplicationJson_Ocs + extends ProfileApiSetVisibilityResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final ReferenceApiResolveResponseApplicationJson_Ocs_Data data; + final JsonObject data; - factory _$ReferenceApiResolveResponseApplicationJson_Ocs( - [void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ProfileApiSetVisibilityResponseApplicationJson_Ocs( + [void Function( + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? + updates]) => + (new ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiResolveResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'data'); + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiResolveResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder) updates) => + ProfileApiSetVisibilityResponseApplicationJson_Ocs rebuild( + void Function( + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJson_OcsBuilder()..replace(this); + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder toBuilder() => + new ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ProfileApiSetVisibilityResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -21452,68 +25593,78 @@ class _$ReferenceApiResolveResponseApplicationJson_Ocs extends ReferenceApiResol @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'ProfileApiSetVisibilityResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ReferenceApiResolveResponseApplicationJson_OcsBuilder +class ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson_Ocs? _$v; + Builder, + ProfileApiSetVisibilityResponseApplicationJson_OcsInterfaceBuilder { + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(covariant JsonObject? data) => _$this._data = data; - ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); - ReferenceApiResolveResponseApplicationJson_OcsBuilder get _$this { + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs other) { + void replace( + covariant ProfileApiSetVisibilityResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs; + _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson_Ocs build() => _build(); - - _$ReferenceApiResolveResponseApplicationJson_Ocs _build() { - _$ReferenceApiResolveResponseApplicationJson_Ocs _$result; + ProfileApiSetVisibilityResponseApplicationJson_Ocs build() => _build(); + + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _build() { + _$ProfileApiSetVisibilityResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$ProfileApiSetVisibilityResponseApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, + r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', + 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); - _$failedField = 'data'; - data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiResolveResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ProfileApiSetVisibilityResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -21522,38 +25673,50 @@ class ReferenceApiResolveResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiResolveResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiResolveResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { + void replace(ProfileApiSetVisibilityResponseApplicationJsonInterface other); + void update( + void Function( + ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder) + updates); + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs; + set ocs(ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiResolveResponseApplicationJson extends ReferenceApiResolveResponseApplicationJson { +class _$ProfileApiSetVisibilityResponseApplicationJson + extends ProfileApiSetVisibilityResponseApplicationJson { @override - final ReferenceApiResolveResponseApplicationJson_Ocs ocs; + final ProfileApiSetVisibilityResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiResolveResponseApplicationJson( - [void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiResolveResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ProfileApiSetVisibilityResponseApplicationJson( + [void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? + updates]) => + (new ProfileApiSetVisibilityResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiResolveResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiResolveResponseApplicationJson', 'ocs'); + _$ProfileApiSetVisibilityResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProfileApiSetVisibilityResponseApplicationJson', 'ocs'); } @override - ReferenceApiResolveResponseApplicationJson rebuild( - void Function(ReferenceApiResolveResponseApplicationJsonBuilder) updates) => + ProfileApiSetVisibilityResponseApplicationJson rebuild( + void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiResolveResponseApplicationJsonBuilder toBuilder() => - ReferenceApiResolveResponseApplicationJsonBuilder()..replace(this); + ProfileApiSetVisibilityResponseApplicationJsonBuilder toBuilder() => + new ProfileApiSetVisibilityResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiResolveResponseApplicationJson && ocs == other.ocs; + return other is ProfileApiSetVisibilityResponseApplicationJson && + ocs == other.ocs; } @override @@ -21566,24 +25729,32 @@ class _$ReferenceApiResolveResponseApplicationJson extends ReferenceApiResolveRe @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiResolveResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'ProfileApiSetVisibilityResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class ReferenceApiResolveResponseApplicationJsonBuilder +class ProfileApiSetVisibilityResponseApplicationJsonBuilder implements - Builder, - ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiResolveResponseApplicationJson? _$v; + Builder, + ProfileApiSetVisibilityResponseApplicationJsonInterfaceBuilder { + _$ProfileApiSetVisibilityResponseApplicationJson? _$v; - ReferenceApiResolveResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiResolveResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? _ocs; + ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ProfileApiSetVisibilityResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ReferenceApiResolveResponseApplicationJsonBuilder(); + ProfileApiSetVisibilityResponseApplicationJsonBuilder(); - ReferenceApiResolveResponseApplicationJsonBuilder get _$this { + ProfileApiSetVisibilityResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -21593,30 +25764,37 @@ class ReferenceApiResolveResponseApplicationJsonBuilder } @override - void replace(covariant ReferenceApiResolveResponseApplicationJson other) { + void replace(covariant ProfileApiSetVisibilityResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiResolveResponseApplicationJson; + _$v = other as _$ProfileApiSetVisibilityResponseApplicationJson; } @override - void update(void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? updates) { + void update( + void Function(ProfileApiSetVisibilityResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiResolveResponseApplicationJson build() => _build(); + ProfileApiSetVisibilityResponseApplicationJson build() => _build(); - _$ReferenceApiResolveResponseApplicationJson _build() { - _$ReferenceApiResolveResponseApplicationJson _$result; + _$ProfileApiSetVisibilityResponseApplicationJson _build() { + _$ProfileApiSetVisibilityResponseApplicationJson _$result; try { - _$result = _$v ?? _$ReferenceApiResolveResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$ProfileApiSetVisibilityResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceApiResolveResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ProfileApiSetVisibilityResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -21625,40 +25803,56 @@ class ReferenceApiResolveResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); +abstract mixin class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); MapBuilder get references; set references(MapBuilder? references); } -class _$ReferenceApiExtractResponseApplicationJson_Ocs_Data - extends ReferenceApiExtractResponseApplicationJson_Ocs_Data { +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data + extends ReferenceApiResolveOneResponseApplicationJson_Ocs_Data { @override final BuiltMap references; - factory _$ReferenceApiExtractResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data( + [void Function( + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._({required this.references}) : super._() { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._( + {required this.references}) + : super._() { BuiltValueNullFieldError.checkNotNull( - references, r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', 'references'); + references, + r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', + 'references'); } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder) updates) => + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data rebuild( + void Function( + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder()..replace(this); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson_Ocs_Data && references == other.references; + return other is ReferenceApiResolveOneResponseApplicationJson_Ocs_Data && + references == other.references; } @override @@ -21671,26 +25865,29 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs_Data') + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data') ..add('references', references)) .toString(); } } -class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder +class ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data? _$v; + Builder, + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data? _$v; MapBuilder? _references; - MapBuilder get references => _$this._references ??= MapBuilder(); - set references(covariant MapBuilder? references) => _$this._references = references; + MapBuilder get references => + _$this._references ??= new MapBuilder(); + set references(covariant MapBuilder? references) => + _$this._references = references; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get _$this { + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _references = $v.references.toBuilder(); @@ -21700,31 +25897,39 @@ class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs_Data other) { + void replace( + covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson_Ocs_Data build() => _build(); + ReferenceApiResolveOneResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _build() { - _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _$result; + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._(references: references.build()); + _$result = _$v ?? + new _$ReferenceApiResolveOneResponseApplicationJson_Ocs_Data._( + references: references.build()); } catch (_) { late String _$failedField; try { _$failedField = 'references'; references.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -21733,44 +25938,62 @@ class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { + void replace( + ReferenceApiResolveOneResponseApplicationJson_OcsInterface other); + void update( + void Function( + ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data); + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiExtractResponseApplicationJson_Ocs extends ReferenceApiExtractResponseApplicationJson_Ocs { +class _$ReferenceApiResolveOneResponseApplicationJson_Ocs + extends ReferenceApiResolveOneResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final ReferenceApiExtractResponseApplicationJson_Ocs_Data data; + final ReferenceApiResolveOneResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiExtractResponseApplicationJson_Ocs( - [void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveOneResponseApplicationJson_Ocs( + [void Function( + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? + updates]) => + (new ReferenceApiResolveOneResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiResolveOneResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ReferenceApiResolveOneResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiExtractResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiResolveOneResponseApplicationJson_Ocs rebuild( + void Function( + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder toBuilder() => + new ReferenceApiResolveOneResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiResolveOneResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -21784,31 +26007,37 @@ class _$ReferenceApiExtractResponseApplicationJson_Ocs extends ReferenceApiExtra @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ReferenceApiExtractResponseApplicationJson_OcsBuilder +class ReferenceApiResolveOneResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson_Ocs? _$v; + Builder, + ReferenceApiResolveOneResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant ReferenceApiResolveOneResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); - ReferenceApiExtractResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -21819,23 +26048,28 @@ class ReferenceApiExtractResponseApplicationJson_OcsBuilder } @override - void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs other) { + void replace( + covariant ReferenceApiResolveOneResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson_Ocs build() => _build(); + ReferenceApiResolveOneResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiExtractResponseApplicationJson_Ocs _build() { - _$ReferenceApiExtractResponseApplicationJson_Ocs _$result; + _$ReferenceApiResolveOneResponseApplicationJson_Ocs _build() { + _$ReferenceApiResolveOneResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$ReferenceApiResolveOneResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -21844,8 +26078,10 @@ class ReferenceApiExtractResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiExtractResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveOneResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -21854,101 +26090,259 @@ class ReferenceApiExtractResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiExtractResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiExtractResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiResolveOneResponseApplicationJsonInterface other); + void update( + void Function( + ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder) + updates); + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? ocs); +} + +class _$ReferenceApiResolveOneResponseApplicationJson + extends ReferenceApiResolveOneResponseApplicationJson { + @override + final ReferenceApiResolveOneResponseApplicationJson_Ocs ocs; + + factory _$ReferenceApiResolveOneResponseApplicationJson( + [void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? + updates]) => + (new ReferenceApiResolveOneResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); + + _$ReferenceApiResolveOneResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ReferenceApiResolveOneResponseApplicationJson', 'ocs'); + } + + @override + ReferenceApiResolveOneResponseApplicationJson rebuild( + void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ReferenceApiResolveOneResponseApplicationJsonBuilder toBuilder() => + new ReferenceApiResolveOneResponseApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ReferenceApiResolveOneResponseApplicationJson && + ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveOneResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ReferenceApiResolveOneResponseApplicationJsonBuilder + implements + Builder, + ReferenceApiResolveOneResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiResolveOneResponseApplicationJson? _$v; + + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiResolveOneResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ReferenceApiResolveOneResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ReferenceApiResolveOneResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; + + ReferenceApiResolveOneResponseApplicationJsonBuilder(); + + ReferenceApiResolveOneResponseApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(covariant ReferenceApiResolveOneResponseApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ReferenceApiResolveOneResponseApplicationJson; + } + + @override + void update( + void Function(ReferenceApiResolveOneResponseApplicationJsonBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + ReferenceApiResolveOneResponseApplicationJson build() => _build(); + + _$ReferenceApiResolveOneResponseApplicationJson _build() { + _$ReferenceApiResolveOneResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$ReferenceApiResolveOneResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveOneResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +abstract mixin class ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + ReferenceApiResolveResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + MapBuilder get references; + set references(MapBuilder? references); } -class _$ReferenceApiExtractResponseApplicationJson extends ReferenceApiExtractResponseApplicationJson { +class _$ReferenceApiResolveResponseApplicationJson_Ocs_Data + extends ReferenceApiResolveResponseApplicationJson_Ocs_Data { @override - final ReferenceApiExtractResponseApplicationJson_Ocs ocs; + final BuiltMap references; - factory _$ReferenceApiExtractResponseApplicationJson( - [void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiExtractResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson_Ocs_Data( + [void Function( + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiExtractResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiExtractResponseApplicationJson', 'ocs'); + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._( + {required this.references}) + : super._() { + BuiltValueNullFieldError.checkNotNull(references, + r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', 'references'); } @override - ReferenceApiExtractResponseApplicationJson rebuild( - void Function(ReferenceApiExtractResponseApplicationJsonBuilder) updates) => + ReferenceApiResolveResponseApplicationJson_Ocs_Data rebuild( + void Function( + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiExtractResponseApplicationJsonBuilder toBuilder() => - ReferenceApiExtractResponseApplicationJsonBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiExtractResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiResolveResponseApplicationJson_Ocs_Data && + references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiExtractResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveResponseApplicationJson_Ocs_Data') + ..add('references', references)) + .toString(); } } -class ReferenceApiExtractResponseApplicationJsonBuilder +class ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiExtractResponseApplicationJson? _$v; + Builder, + ReferenceApiResolveResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data? _$v; - ReferenceApiExtractResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiExtractResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= new MapBuilder(); + set references(covariant MapBuilder? references) => + _$this._references = references; - ReferenceApiExtractResponseApplicationJsonBuilder(); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiExtractResponseApplicationJsonBuilder get _$this { + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiExtractResponseApplicationJson other) { + void replace( + covariant ReferenceApiResolveResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiExtractResponseApplicationJson; + _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? updates) { + void update( + void Function(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiExtractResponseApplicationJson build() => _build(); + ReferenceApiResolveResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiExtractResponseApplicationJson _build() { - _$ReferenceApiExtractResponseApplicationJson _$result; + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiResolveResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiExtractResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$ReferenceApiResolveResponseApplicationJson_Ocs_Data._( + references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'references'; + references.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceApiExtractResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -21957,161 +26351,146 @@ class ReferenceApiExtractResponseApplicationJsonBuilder } } -abstract mixin class ReferenceProviderInterfaceBuilder { - void replace(ReferenceProviderInterface other); - void update(void Function(ReferenceProviderInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get title; - set title(String? title); - - String? get iconUrl; - set iconUrl(String? iconUrl); - - int? get order; - set order(int? order); +abstract mixin class ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiResolveResponseApplicationJson_OcsInterface other); + void update( + void Function( + ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - ListBuilder get searchProvidersIds; - set searchProvidersIds(ListBuilder? searchProvidersIds); + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceProvider extends ReferenceProvider { - @override - final String id; - @override - final String title; - @override - final String iconUrl; +class _$ReferenceApiResolveResponseApplicationJson_Ocs + extends ReferenceApiResolveResponseApplicationJson_Ocs { @override - final int order; + final OCSMeta meta; @override - final BuiltList? searchProvidersIds; + final ReferenceApiResolveResponseApplicationJson_Ocs_Data data; - factory _$ReferenceProvider([void Function(ReferenceProviderBuilder)? updates]) => - (ReferenceProviderBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson_Ocs( + [void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? + updates]) => + (new ReferenceApiResolveResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceProvider._( - {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) + _$ReferenceApiResolveResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'); - BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'); - BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'); - BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'); + BuiltValueNullFieldError.checkNotNull( + meta, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ReferenceApiResolveResponseApplicationJson_Ocs', 'data'); } @override - ReferenceProvider rebuild(void Function(ReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); + ReferenceApiResolveResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - ReferenceProviderBuilder toBuilder() => ReferenceProviderBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJson_OcsBuilder toBuilder() => + new ReferenceApiResolveResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceProvider && - id == other.id && - title == other.title && - iconUrl == other.iconUrl && - order == other.order && - searchProvidersIds == other.searchProvidersIds; + return other is ReferenceApiResolveResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, iconUrl.hashCode); - _$hash = $jc(_$hash, order.hashCode); - _$hash = $jc(_$hash, searchProvidersIds.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceProvider') - ..add('id', id) - ..add('title', title) - ..add('iconUrl', iconUrl) - ..add('order', order) - ..add('searchProvidersIds', searchProvidersIds)) + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ReferenceProviderBuilder - implements Builder, ReferenceProviderInterfaceBuilder { - _$ReferenceProvider? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _iconUrl; - String? get iconUrl => _$this._iconUrl; - set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; +class ReferenceApiResolveResponseApplicationJson_OcsBuilder + implements + Builder, + ReferenceApiResolveResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson_Ocs? _$v; - int? _order; - int? get order => _$this._order; - set order(covariant int? order) => _$this._order = order; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _searchProvidersIds; - ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); - set searchProvidersIds(covariant ListBuilder? searchProvidersIds) => - _$this._searchProvidersIds = searchProvidersIds; + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant ReferenceApiResolveResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - ReferenceProviderBuilder(); + ReferenceApiResolveResponseApplicationJson_OcsBuilder(); - ReferenceProviderBuilder get _$this { + ReferenceApiResolveResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _title = $v.title; - _iconUrl = $v.iconUrl; - _order = $v.order; - _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceProvider other) { + void replace(covariant ReferenceApiResolveResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceProvider; + _$v = other as _$ReferenceApiResolveResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceProviderBuilder)? updates) { + void update( + void Function(ReferenceApiResolveResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceProvider build() => _build(); + ReferenceApiResolveResponseApplicationJson_Ocs build() => _build(); - _$ReferenceProvider _build() { - _$ReferenceProvider _$result; + _$ReferenceApiResolveResponseApplicationJson_Ocs _build() { + _$ReferenceApiResolveResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$ReferenceProvider._( - id: BuiltValueNullFieldError.checkNotNull(id, r'ReferenceProvider', 'id'), - title: BuiltValueNullFieldError.checkNotNull(title, r'ReferenceProvider', 'title'), - iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'ReferenceProvider', 'iconUrl'), - order: BuiltValueNullFieldError.checkNotNull(order, r'ReferenceProvider', 'order'), - searchProvidersIds: _searchProvidersIds?.build()); + new _$ReferenceApiResolveResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'searchProvidersIds'; - _searchProvidersIds?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ReferenceProvider', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -22120,121 +26499,124 @@ class ReferenceProviderBuilder } } -abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ListBuilder get data; - set data(ListBuilder? data); +abstract mixin class ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiResolveResponseApplicationJsonInterface other); + void update( + void Function(ReferenceApiResolveResponseApplicationJsonInterfaceBuilder) + updates); + ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiResolveResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs - extends ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$ReferenceApiResolveResponseApplicationJson + extends ReferenceApiResolveResponseApplicationJson { @override - final BuiltList data; + final ReferenceApiResolveResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs( - [void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiResolveResponseApplicationJson( + [void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? + updates]) => + (new ReferenceApiResolveResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiResolveResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ReferenceApiResolveResponseApplicationJson', 'ocs'); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiResolveResponseApplicationJson rebuild( + void Function(ReferenceApiResolveResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiResolveResponseApplicationJsonBuilder toBuilder() => + new ReferenceApiResolveResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiResolveResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'ReferenceApiResolveResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder +class ReferenceApiResolveResponseApplicationJsonBuilder implements - Builder, - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + ReferenceApiResolveResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiResolveResponseApplicationJson? _$v; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + ReferenceApiResolveResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiResolveResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ReferenceApiResolveResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ReferenceApiResolveResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + ReferenceApiResolveResponseApplicationJsonBuilder(); - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiResolveResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs other) { + void replace(covariant ReferenceApiResolveResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiResolveResponseApplicationJson; } @override - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(ReferenceApiResolveResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs build() => _build(); + ReferenceApiResolveResponseApplicationJson build() => _build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _build() { - _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _$result; + _$ReferenceApiResolveResponseApplicationJson _build() { + _$ReferenceApiResolveResponseApplicationJson _$result; try { - _$result = - _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$ReferenceApiResolveResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiResolveResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -22242,106 +26624,131 @@ class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder return _$result; } } - -abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiGetProvidersInfoResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs); + +abstract mixin class ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + ReferenceApiExtractResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + MapBuilder get references; + set references(MapBuilder? references); } -class _$ReferenceApiGetProvidersInfoResponseApplicationJson - extends ReferenceApiGetProvidersInfoResponseApplicationJson { +class _$ReferenceApiExtractResponseApplicationJson_Ocs_Data + extends ReferenceApiExtractResponseApplicationJson_Ocs_Data { @override - final ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ocs; + final BuiltMap references; - factory _$ReferenceApiGetProvidersInfoResponseApplicationJson( - [void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson_Ocs_Data( + [void Function( + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiGetProvidersInfoResponseApplicationJson', 'ocs'); + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._( + {required this.references}) + : super._() { + BuiltValueNullFieldError.checkNotNull(references, + r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', 'references'); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson rebuild( - void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder) updates) => + ReferenceApiExtractResponseApplicationJson_Ocs_Data rebuild( + void Function( + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder toBuilder() => - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiGetProvidersInfoResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiExtractResponseApplicationJson_Ocs_Data && + references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiGetProvidersInfoResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'ReferenceApiExtractResponseApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder +class ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder implements - Builder, - ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiGetProvidersInfoResponseApplicationJson? _$v; + Builder, + ReferenceApiExtractResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data? _$v; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= new MapBuilder(); + set references(covariant MapBuilder? references) => + _$this._references = references; - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); - ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder get _$this { + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiGetProvidersInfoResponseApplicationJson other) { + void replace( + covariant ReferenceApiExtractResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson; + _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs_Data; } @override - void update(void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? updates) { + void update( + void Function(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiGetProvidersInfoResponseApplicationJson build() => _build(); + ReferenceApiExtractResponseApplicationJson_Ocs_Data build() => _build(); - _$ReferenceApiGetProvidersInfoResponseApplicationJson _build() { - _$ReferenceApiGetProvidersInfoResponseApplicationJson _$result; + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _build() { + _$ReferenceApiExtractResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$ReferenceApiGetProvidersInfoResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$ReferenceApiExtractResponseApplicationJson_Ocs_Data._( + references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'references'; + references.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiGetProvidersInfoResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiExtractResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -22350,220 +26757,272 @@ class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - bool? get success; - set success(bool? success); +abstract mixin class ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { + void replace(ReferenceApiExtractResponseApplicationJson_OcsInterface other); + void update( + void Function( + ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data; + set data(ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? data); } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data - extends ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data { +class _$ReferenceApiExtractResponseApplicationJson_Ocs + extends ReferenceApiExtractResponseApplicationJson_Ocs { @override - final bool success; + final OCSMeta meta; + @override + final ReferenceApiExtractResponseApplicationJson_Ocs_Data data; - factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data( - [void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson_Ocs( + [void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? + updates]) => + (new ReferenceApiExtractResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._({required this.success}) : super._() { + _$ReferenceApiExtractResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success'); + data, r'ReferenceApiExtractResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder) updates) => + ReferenceApiExtractResponseApplicationJson_Ocs rebuild( + void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJson_OcsBuilder toBuilder() => + new ReferenceApiExtractResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data && success == other.success; + return other is ReferenceApiExtractResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, success.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data') - ..add('success', success)) + return (newBuiltValueToStringHelper( + r'ReferenceApiExtractResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder +class ReferenceApiExtractResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data? _$v; + Builder, + ReferenceApiExtractResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson_Ocs? _$v; - bool? _success; - bool? get success => _$this._success; - set success(covariant bool? success) => _$this._success = success; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant ReferenceApiExtractResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get _$this { + ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + + ReferenceApiExtractResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _success = $v.success; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data other) { + void replace(covariant ReferenceApiExtractResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; + _$v = other as _$ReferenceApiExtractResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function(ReferenceApiExtractResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data build() => _build(); + ReferenceApiExtractResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._( - success: BuiltValueNullFieldError.checkNotNull( - success, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', 'success')); + _$ReferenceApiExtractResponseApplicationJson_Ocs _build() { + _$ReferenceApiExtractResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$ReferenceApiExtractResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'ReferenceApiExtractResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJson_OcsInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data; - set data(ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiExtractResponseApplicationJsonInterface other); + void update( + void Function(ReferenceApiExtractResponseApplicationJsonInterfaceBuilder) + updates); + ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiExtractResponseApplicationJson_OcsBuilder? ocs); } -class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs - extends ReferenceApiTouchProviderResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$ReferenceApiExtractResponseApplicationJson + extends ReferenceApiExtractResponseApplicationJson { @override - final ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data data; + final ReferenceApiExtractResponseApplicationJson_Ocs ocs; - factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs( - [void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiExtractResponseApplicationJson( + [void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? + updates]) => + (new ReferenceApiExtractResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiExtractResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ReferenceApiExtractResponseApplicationJson', 'ocs'); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiExtractResponseApplicationJson rebuild( + void Function(ReferenceApiExtractResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiExtractResponseApplicationJsonBuilder toBuilder() => + new ReferenceApiExtractResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiExtractResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'ReferenceApiExtractResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder +class ReferenceApiExtractResponseApplicationJsonBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs? _$v; - - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + Builder, + ReferenceApiExtractResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiExtractResponseApplicationJson? _$v; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? _data; - ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + ReferenceApiExtractResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiExtractResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ReferenceApiExtractResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ReferenceApiExtractResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + ReferenceApiExtractResponseApplicationJsonBuilder(); - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiExtractResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs other) { + void replace(covariant ReferenceApiExtractResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiExtractResponseApplicationJson; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(ReferenceApiExtractResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson_Ocs build() => _build(); + ReferenceApiExtractResponseApplicationJson build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _build() { - _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _$result; + _$ReferenceApiExtractResponseApplicationJson _build() { + _$ReferenceApiExtractResponseApplicationJson _$result; try { - _$result = - _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$ReferenceApiExtractResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiExtractResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -22572,104 +27031,148 @@ class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder } } -abstract mixin class ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { - void replace(ReferenceApiTouchProviderResponseApplicationJsonInterface other); - void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder) updates); - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs; - set ocs(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { + void replace( + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterface other); + void update( + void Function( + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); + + ListBuilder get data; + set data(ListBuilder? data); } -class _$ReferenceApiTouchProviderResponseApplicationJson extends ReferenceApiTouchProviderResponseApplicationJson { +class _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs + extends ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs { @override - final ReferenceApiTouchProviderResponseApplicationJson_Ocs ocs; + final OCSMeta meta; + @override + final BuiltList data; - factory _$ReferenceApiTouchProviderResponseApplicationJson( - [void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates]) => - (ReferenceApiTouchProviderResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs( + [void Function( + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? + updates]) => + (new ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$ReferenceApiTouchProviderResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ReferenceApiTouchProviderResponseApplicationJson', 'ocs'); + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, + r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', 'data'); } @override - ReferenceApiTouchProviderResponseApplicationJson rebuild( - void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder) updates) => + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs rebuild( + void Function( + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - ReferenceApiTouchProviderResponseApplicationJsonBuilder toBuilder() => - ReferenceApiTouchProviderResponseApplicationJsonBuilder()..replace(this); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder toBuilder() => + new ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ReferenceApiTouchProviderResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ReferenceApiTouchProviderResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ReferenceApiTouchProviderResponseApplicationJsonBuilder +class ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder implements - Builder, - ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { - _$ReferenceApiTouchProviderResponseApplicationJson? _$v; + Builder, + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs? _$v; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? _ocs; - ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); - set ocs(covariant ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ReferenceApiTouchProviderResponseApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => + _$this._data = data; - ReferenceApiTouchProviderResponseApplicationJsonBuilder get _$this { + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant ReferenceApiTouchProviderResponseApplicationJson other) { + void replace( + covariant ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson; + _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs; } @override - void update(void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - ReferenceApiTouchProviderResponseApplicationJson build() => _build(); + ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs build() => _build(); - _$ReferenceApiTouchProviderResponseApplicationJson _build() { - _$ReferenceApiTouchProviderResponseApplicationJson _$result; + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _build() { + _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ReferenceApiTouchProviderResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'ReferenceApiTouchProviderResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -22678,290 +27181,320 @@ class ReferenceApiTouchProviderResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); - - String? get description; - set description(String? description); +abstract mixin class ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { + void replace( + ReferenceApiGetProvidersInfoResponseApplicationJsonInterface other); + void update( + void Function( + ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder) + updates); + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types { - @override - final String id; - @override - final String name; +class _$ReferenceApiGetProvidersInfoResponseApplicationJson + extends ReferenceApiGetProvidersInfoResponseApplicationJson { @override - final String description; + final ReferenceApiGetProvidersInfoResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); + factory _$ReferenceApiGetProvidersInfoResponseApplicationJson( + [void Function( + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? + updates]) => + (new ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( - {required this.id, required this.name, required this.description}) + _$ReferenceApiGetProvidersInfoResponseApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'); - BuiltValueNullFieldError.checkNotNull( - name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'); - BuiltValueNullFieldError.checkNotNull( - description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description'); + ocs, r'ReferenceApiGetProvidersInfoResponseApplicationJson', 'ocs'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder) updates) => + ReferenceApiGetProvidersInfoResponseApplicationJson rebuild( + void Function( + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder()..replace(this); + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder toBuilder() => + new ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types && - id == other.id && - name == other.name && - description == other.description; + return other is ReferenceApiGetProvidersInfoResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types') - ..add('id', id) - ..add('name', name) - ..add('description', description)) + return (newBuiltValueToStringHelper( + r'ReferenceApiGetProvidersInfoResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder +class ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + Builder, + ReferenceApiGetProvidersInfoResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiGetProvidersInfoResponseApplicationJson? _$v; - String? _description; - String? get description => _$this._description; - set description(covariant String? description) => _$this._description = description; + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ReferenceApiGetProvidersInfoResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder get _$this { + ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types other) { + void replace( + covariant ReferenceApiGetProvidersInfoResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; + _$v = other as _$ReferenceApiGetProvidersInfoResponseApplicationJson; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? updates) { + void update( + void Function(ReferenceApiGetProvidersInfoResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types build() => _build(); + ReferenceApiGetProvidersInfoResponseApplicationJson build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types _build() { - final _$result = _$v ?? - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'id'), - name: BuiltValueNullFieldError.checkNotNull( - name, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'name'), - description: BuiltValueNullFieldError.checkNotNull( - description, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', 'description')); + _$ReferenceApiGetProvidersInfoResponseApplicationJson _build() { + _$ReferenceApiGetProvidersInfoResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$ReferenceApiGetProvidersInfoResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'ReferenceApiGetProvidersInfoResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - ListBuilder get types; - set types(ListBuilder? types); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + bool? get success; + set success(bool? success); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data + extends ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data { @override - final BuiltList types; + final bool success; - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data( + [void Function( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._({required this.types}) : super._() { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._( + {required this.success}) + : super._() { BuiltValueNullFieldError.checkNotNull( - types, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', 'types'); + success, + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', + 'success'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data rebuild( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data && types == other.types; + return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data && + success == other.success; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, types.hashCode); + _$hash = $jc(_$hash, success.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data') - ..add('types', types)) + return (newBuiltValueToStringHelper( + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data') + ..add('success', success)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder +class ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data? _$v; - ListBuilder? _types; - ListBuilder get types => - _$this._types ??= ListBuilder(); - set types(covariant ListBuilder? types) => - _$this._types = types; + bool? _success; + bool? get success => _$this._success; + set success(covariant bool? success) => _$this._success = success; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _types = $v.types.toBuilder(); + _success = $v.success; _$v = null; } return this; } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data other) { + void replace( + covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _$result; - try { - _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._(types: types.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'types'; - types.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); - } - rethrow; - } + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + new _$ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data._( + success: BuiltValueNullFieldError.checkNotNull( + success, + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data', + 'success')); replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { + void replace( + ReferenceApiTouchProviderResponseApplicationJson_OcsInterface other); + void update( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data); + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data; + set data( + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs - extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs { +class _$ReferenceApiTouchProviderResponseApplicationJson_Ocs + extends ReferenceApiTouchProviderResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data data; + final ReferenceApiTouchProviderResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs( - [void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson_Ocs( + [void Function( + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? + updates]) => + (new ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'data'); + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson_Ocs rebuild( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder toBuilder() => + new ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is ReferenceApiTouchProviderResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -22975,32 +27508,37 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder +class ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJson_OcsInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? _data; + ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -23011,24 +27549,29 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs other) { + void replace( + covariant ReferenceApiTouchProviderResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson_Ocs build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _$result; + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _build() { + _$ReferenceApiTouchProviderResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$ReferenceApiTouchProviderResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -23037,8 +27580,10 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiTouchProviderResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -23047,38 +27592,51 @@ class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiTaskTypesResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { + void replace(ReferenceApiTouchProviderResponseApplicationJsonInterface other); + void update( + void Function( + ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder) + updates); + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs; + set ocs(ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiTaskTypesResponseApplicationJson extends TextProcessingApiTaskTypesResponseApplicationJson { +class _$ReferenceApiTouchProviderResponseApplicationJson + extends ReferenceApiTouchProviderResponseApplicationJson { @override - final TextProcessingApiTaskTypesResponseApplicationJson_Ocs ocs; + final ReferenceApiTouchProviderResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiTaskTypesResponseApplicationJson( - [void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$ReferenceApiTouchProviderResponseApplicationJson( + [void Function( + ReferenceApiTouchProviderResponseApplicationJsonBuilder)? + updates]) => + (new ReferenceApiTouchProviderResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiTaskTypesResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiTaskTypesResponseApplicationJson', 'ocs'); + _$ReferenceApiTouchProviderResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ReferenceApiTouchProviderResponseApplicationJson', 'ocs'); } @override - TextProcessingApiTaskTypesResponseApplicationJson rebuild( - void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder) updates) => + ReferenceApiTouchProviderResponseApplicationJson rebuild( + void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiTaskTypesResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiTaskTypesResponseApplicationJsonBuilder()..replace(this); + ReferenceApiTouchProviderResponseApplicationJsonBuilder toBuilder() => + new ReferenceApiTouchProviderResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiTaskTypesResponseApplicationJson && ocs == other.ocs; + return other is ReferenceApiTouchProviderResponseApplicationJson && + ocs == other.ocs; } @override @@ -23091,26 +27649,32 @@ class _$TextProcessingApiTaskTypesResponseApplicationJson extends TextProcessing @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiTaskTypesResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'ReferenceApiTouchProviderResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiTaskTypesResponseApplicationJsonBuilder +class ReferenceApiTouchProviderResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiTaskTypesResponseApplicationJson? _$v; + Builder, + ReferenceApiTouchProviderResponseApplicationJsonInterfaceBuilder { + _$ReferenceApiTouchProviderResponseApplicationJson? _$v; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? _ocs; + ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder(); + set ocs( + covariant ReferenceApiTouchProviderResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); + ReferenceApiTouchProviderResponseApplicationJsonBuilder(); - TextProcessingApiTaskTypesResponseApplicationJsonBuilder get _$this { + ReferenceApiTouchProviderResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -23120,31 +27684,38 @@ class TextProcessingApiTaskTypesResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiTaskTypesResponseApplicationJson other) { + void replace( + covariant ReferenceApiTouchProviderResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson; + _$v = other as _$ReferenceApiTouchProviderResponseApplicationJson; } @override - void update(void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? updates) { + void update( + void Function(ReferenceApiTouchProviderResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiTaskTypesResponseApplicationJson build() => _build(); + ReferenceApiTouchProviderResponseApplicationJson build() => _build(); - _$TextProcessingApiTaskTypesResponseApplicationJson _build() { - _$TextProcessingApiTaskTypesResponseApplicationJson _$result; + _$ReferenceApiTouchProviderResponseApplicationJson _build() { + _$ReferenceApiTouchProviderResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiTaskTypesResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$ReferenceApiTouchProviderResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiTaskTypesResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'ReferenceApiTouchProviderResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -23153,306 +27724,319 @@ class TextProcessingApiTaskTypesResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingTaskInterfaceBuilder { - void replace(TextProcessingTaskInterface other); - void update(void Function(TextProcessingTaskInterfaceBuilder) updates); - int? get id; - set id(int? id); - - String? get type; - set type(String? type); - - int? get status; - set status(int? status); - - String? get userId; - set userId(String? userId); - - String? get appId; - set appId(String? appId); - - String? get input; - set input(String? input); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { + void replace( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterface + other); + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder) + updates); + String? get id; + set id(String? id); - String? get output; - set output(String? output); + String? get name; + set name(String? name); - String? get identifier; - set identifier(String? identifier); + String? get description; + set description(String? description); } -class _$TextProcessingTask extends TextProcessingTask { - @override - final int? id; - @override - final String type; - @override - final int status; - @override - final String? userId; - @override - final String appId; +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types { @override - final String input; + final String id; @override - final String? output; + final String name; @override - final String identifier; + final String description; - factory _$TextProcessingTask([void Function(TextProcessingTaskBuilder)? updates]) => - (TextProcessingTaskBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types( + [void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? + updates]) => + (new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder() + ..update(updates)) + ._build(); - _$TextProcessingTask._( - {this.id, - required this.type, - required this.status, - this.userId, - required this.appId, - required this.input, - this.output, - required this.identifier}) + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types._( + {required this.id, required this.name, required this.description}) : super._() { - BuiltValueNullFieldError.checkNotNull(type, r'TextProcessingTask', 'type'); - BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'); - BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'); - BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'); - BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier'); + BuiltValueNullFieldError.checkNotNull( + id, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'id'); + BuiltValueNullFieldError.checkNotNull( + name, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'name'); + BuiltValueNullFieldError.checkNotNull( + description, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'description'); } @override - TextProcessingTask rebuild(void Function(TextProcessingTaskBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types rebuild( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingTaskBuilder toBuilder() => TextProcessingTaskBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder + toBuilder() => + new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingTask && + return other + is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types && id == other.id && - type == other.type && - status == other.status && - userId == other.userId && - appId == other.appId && - input == other.input && - output == other.output && - identifier == other.identifier; + name == other.name && + description == other.description; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, type.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, appId.hashCode); - _$hash = $jc(_$hash, input.hashCode); - _$hash = $jc(_$hash, output.hashCode); - _$hash = $jc(_$hash, identifier.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingTask') + return (newBuiltValueToStringHelper( + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types') ..add('id', id) - ..add('type', type) - ..add('status', status) - ..add('userId', userId) - ..add('appId', appId) - ..add('input', input) - ..add('output', output) - ..add('identifier', identifier)) + ..add('name', name) + ..add('description', description)) .toString(); } } -class TextProcessingTaskBuilder - implements Builder, TextProcessingTaskInterfaceBuilder { - _$TextProcessingTask? _$v; - - int? _id; - int? get id => _$this._id; - set id(covariant int? id) => _$this._id = id; - - String? _type; - String? get type => _$this._type; - set type(covariant String? type) => _$this._type = type; - - int? _status; - int? get status => _$this._status; - set status(covariant int? status) => _$this._status = status; - - String? _userId; - String? get userId => _$this._userId; - set userId(covariant String? userId) => _$this._userId = userId; - - String? _appId; - String? get appId => _$this._appId; - set appId(covariant String? appId) => _$this._appId = appId; +class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder + implements + Builder< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder>, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types? _$v; - String? _input; - String? get input => _$this._input; - set input(covariant String? input) => _$this._input = input; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - String? _output; - String? get output => _$this._output; - set output(covariant String? output) => _$this._output = output; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - String? _identifier; - String? get identifier => _$this._identifier; - set identifier(covariant String? identifier) => _$this._identifier = identifier; + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => + _$this._description = description; - TextProcessingTaskBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder(); - TextProcessingTaskBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder + get _$this { final $v = _$v; if ($v != null) { _id = $v.id; - _type = $v.type; - _status = $v.status; - _userId = $v.userId; - _appId = $v.appId; - _input = $v.input; - _output = $v.output; - _identifier = $v.identifier; + _name = $v.name; + _description = $v.description; _$v = null; } return this; } @override - void replace(covariant TextProcessingTask other) { + void replace( + covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingTask; + _$v = other + as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types; } @override - void update(void Function(TextProcessingTaskBuilder)? updates) { + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_TypesBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingTask build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types build() => + _build(); - _$TextProcessingTask _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types _build() { final _$result = _$v ?? - _$TextProcessingTask._( - id: id, - type: BuiltValueNullFieldError.checkNotNull(type, r'TextProcessingTask', 'type'), - status: BuiltValueNullFieldError.checkNotNull(status, r'TextProcessingTask', 'status'), - userId: userId, - appId: BuiltValueNullFieldError.checkNotNull(appId, r'TextProcessingTask', 'appId'), - input: BuiltValueNullFieldError.checkNotNull(input, r'TextProcessingTask', 'input'), - output: output, - identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'TextProcessingTask', 'identifier')); + new _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types + ._( + id: BuiltValueNullFieldError.checkNotNull( + id, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'name'), + description: BuiltValueNullFieldError.checkNotNull( + description, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types', + 'description')); replace(_$result); return _$result; } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - TextProcessingTaskBuilder get task; - set task(TextProcessingTaskBuilder? task); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterface + other); + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + ListBuilder + get types; + set types( + ListBuilder< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types>? + types); } -class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data - extends TextProcessingApiScheduleResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data { @override - final TextProcessingTask task; + final BuiltList< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types> types; - factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data( + [void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', 'task'); + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._( + {required this.types}) + : super._() { + BuiltValueNullFieldError.checkNotNull(types, + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', 'types'); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data rebuild( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson_Ocs_Data && task == other.task; + return other + is TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data && + types == other.types; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, task.hashCode); + _$hash = $jc(_$hash, types.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data') - ..add('task', task)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data') + ..add('types', types)) .toString(); } } -class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data? _$v; - TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); - set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; + ListBuilder? + _types; + ListBuilder + get types => _$this._types ??= new ListBuilder< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types>(); + set types( + covariant ListBuilder< + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data_Types>? + types) => + _$this._types = types; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _task = $v.task.toBuilder(); + _types = $v.types.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data build() => + _build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? + new _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data._( + types: types.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'task'; - task.build(); + _$failedField = 'types'; + types.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -23461,45 +28045,63 @@ class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TextProcessingApiTaskTypesResponseApplicationJson_OcsInterface other); + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiScheduleResponseApplicationJson_Ocs - extends TextProcessingApiScheduleResponseApplicationJson_Ocs { +class _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs + extends TextProcessingApiTaskTypesResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiScheduleResponseApplicationJson_Ocs_Data data; + final TextProcessingApiTaskTypesResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs( - [void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs( + [void Function( + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? + updates]) => + (new TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson_Ocs rebuild( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder toBuilder() => + new TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiTaskTypesResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -23513,32 +28115,37 @@ class _$TextProcessingApiScheduleResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder +class TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -23549,24 +28156,29 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson_Ocs other) { + void replace( + covariant TextProcessingApiTaskTypesResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiScheduleResponseApplicationJson_Ocs _build() { - _$TextProcessingApiScheduleResponseApplicationJson_Ocs _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiScheduleResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TextProcessingApiTaskTypesResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -23575,8 +28187,10 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiTaskTypesResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -23585,38 +28199,53 @@ class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiScheduleResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { + void replace( + TextProcessingApiTaskTypesResponseApplicationJsonInterface other); + void update( + void Function( + TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder) + updates); + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiScheduleResponseApplicationJson extends TextProcessingApiScheduleResponseApplicationJson { +class _$TextProcessingApiTaskTypesResponseApplicationJson + extends TextProcessingApiTaskTypesResponseApplicationJson { @override - final TextProcessingApiScheduleResponseApplicationJson_Ocs ocs; + final TextProcessingApiTaskTypesResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiScheduleResponseApplicationJson( - [void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiScheduleResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiTaskTypesResponseApplicationJson( + [void Function( + TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? + updates]) => + (new TextProcessingApiTaskTypesResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiScheduleResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiScheduleResponseApplicationJson', 'ocs'); + _$TextProcessingApiTaskTypesResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TextProcessingApiTaskTypesResponseApplicationJson', 'ocs'); } @override - TextProcessingApiScheduleResponseApplicationJson rebuild( - void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder) updates) => + TextProcessingApiTaskTypesResponseApplicationJson rebuild( + void Function( + TextProcessingApiTaskTypesResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiScheduleResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiScheduleResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiTaskTypesResponseApplicationJsonBuilder toBuilder() => + new TextProcessingApiTaskTypesResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiScheduleResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiTaskTypesResponseApplicationJson && + ocs == other.ocs; } @override @@ -23629,26 +28258,32 @@ class _$TextProcessingApiScheduleResponseApplicationJson extends TextProcessingA @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiScheduleResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiTaskTypesResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiScheduleResponseApplicationJsonBuilder +class TextProcessingApiTaskTypesResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiScheduleResponseApplicationJson? _$v; + Builder, + TextProcessingApiTaskTypesResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiTaskTypesResponseApplicationJson? _$v; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TextProcessingApiTaskTypesResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiScheduleResponseApplicationJsonBuilder(); + TextProcessingApiTaskTypesResponseApplicationJsonBuilder(); - TextProcessingApiScheduleResponseApplicationJsonBuilder get _$this { + TextProcessingApiTaskTypesResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -23658,31 +28293,38 @@ class TextProcessingApiScheduleResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiScheduleResponseApplicationJson other) { + void replace( + covariant TextProcessingApiTaskTypesResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiScheduleResponseApplicationJson; + _$v = other as _$TextProcessingApiTaskTypesResponseApplicationJson; } @override - void update(void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TextProcessingApiTaskTypesResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiScheduleResponseApplicationJson build() => _build(); + TextProcessingApiTaskTypesResponseApplicationJson build() => _build(); - _$TextProcessingApiScheduleResponseApplicationJson _build() { - _$TextProcessingApiScheduleResponseApplicationJson _$result; + _$TextProcessingApiTaskTypesResponseApplicationJson _build() { + _$TextProcessingApiTaskTypesResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiScheduleResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TextProcessingApiTaskTypesResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiScheduleResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiTaskTypesResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -23691,39 +28333,55 @@ class TextProcessingApiScheduleResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); +abstract mixin class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); TextProcessingTaskBuilder get task; set task(TextProcessingTaskBuilder? task); } -class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data - extends TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data + extends TextProcessingApiScheduleResponseApplicationJson_Ocs_Data { @override final TextProcessingTask task; - factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data( + [void Function( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', 'task'); + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._( + {required this.task}) + : super._() { + BuiltValueNullFieldError.checkNotNull(task, + r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data rebuild( + void Function( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data && task == other.task; + return other is TextProcessingApiScheduleResponseApplicationJson_Ocs_Data && + task == other.task; } @override @@ -23736,25 +28394,28 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data')..add('task', task)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data? _$v; TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); + TextProcessingTaskBuilder get task => + _$this._task ??= new TextProcessingTaskBuilder(); set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -23764,31 +28425,40 @@ class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiScheduleResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? + new _$TextProcessingApiScheduleResponseApplicationJson_Ocs_Data._( + task: task.build()); } catch (_) { late String _$failedField; try { _$failedField = 'task'; task.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiScheduleResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -23797,45 +28467,63 @@ class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TextProcessingApiScheduleResponseApplicationJson_OcsInterface other); + void update( + void Function( + TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data); + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs - extends TextProcessingApiGetTaskResponseApplicationJson_Ocs { +class _$TextProcessingApiScheduleResponseApplicationJson_Ocs + extends TextProcessingApiScheduleResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data data; + final TextProcessingApiScheduleResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs( - [void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson_Ocs( + [void Function( + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? + updates]) => + (new TextProcessingApiScheduleResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiScheduleResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'TextProcessingApiScheduleResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson_Ocs rebuild( + void Function( + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder toBuilder() => + new TextProcessingApiScheduleResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiScheduleResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -23849,32 +28537,37 @@ class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TextProcessingApiScheduleResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder +class TextProcessingApiScheduleResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs? _$v; + Builder, + TextProcessingApiScheduleResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TextProcessingApiScheduleResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -23885,23 +28578,29 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs other) { + void replace( + covariant TextProcessingApiScheduleResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiScheduleResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _build() { - _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _$result; + _$TextProcessingApiScheduleResponseApplicationJson_Ocs _build() { + _$TextProcessingApiScheduleResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TextProcessingApiScheduleResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -23910,8 +28609,10 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiScheduleResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -23920,38 +28621,51 @@ class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiGetTaskResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiScheduleResponseApplicationJsonInterface other); + void update( + void Function( + TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder) + updates); + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiGetTaskResponseApplicationJson extends TextProcessingApiGetTaskResponseApplicationJson { +class _$TextProcessingApiScheduleResponseApplicationJson + extends TextProcessingApiScheduleResponseApplicationJson { @override - final TextProcessingApiGetTaskResponseApplicationJson_Ocs ocs; + final TextProcessingApiScheduleResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiGetTaskResponseApplicationJson( - [void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiGetTaskResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiScheduleResponseApplicationJson( + [void Function( + TextProcessingApiScheduleResponseApplicationJsonBuilder)? + updates]) => + (new TextProcessingApiScheduleResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiGetTaskResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiGetTaskResponseApplicationJson', 'ocs'); + _$TextProcessingApiScheduleResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TextProcessingApiScheduleResponseApplicationJson', 'ocs'); } @override - TextProcessingApiGetTaskResponseApplicationJson rebuild( - void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder) updates) => + TextProcessingApiScheduleResponseApplicationJson rebuild( + void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiGetTaskResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiGetTaskResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiScheduleResponseApplicationJsonBuilder toBuilder() => + new TextProcessingApiScheduleResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiGetTaskResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiScheduleResponseApplicationJson && + ocs == other.ocs; } @override @@ -23964,26 +28678,32 @@ class _$TextProcessingApiGetTaskResponseApplicationJson extends TextProcessingAp @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiGetTaskResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiScheduleResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiGetTaskResponseApplicationJsonBuilder +class TextProcessingApiScheduleResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiGetTaskResponseApplicationJson? _$v; + Builder, + TextProcessingApiScheduleResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiScheduleResponseApplicationJson? _$v; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiScheduleResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TextProcessingApiScheduleResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TextProcessingApiScheduleResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiGetTaskResponseApplicationJsonBuilder(); + TextProcessingApiScheduleResponseApplicationJsonBuilder(); - TextProcessingApiGetTaskResponseApplicationJsonBuilder get _$this { + TextProcessingApiScheduleResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -23993,31 +28713,38 @@ class TextProcessingApiGetTaskResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiGetTaskResponseApplicationJson other) { + void replace( + covariant TextProcessingApiScheduleResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson; + _$v = other as _$TextProcessingApiScheduleResponseApplicationJson; } @override - void update(void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TextProcessingApiScheduleResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiGetTaskResponseApplicationJson build() => _build(); + TextProcessingApiScheduleResponseApplicationJson build() => _build(); - _$TextProcessingApiGetTaskResponseApplicationJson _build() { - _$TextProcessingApiGetTaskResponseApplicationJson _$result; + _$TextProcessingApiScheduleResponseApplicationJson _build() { + _$TextProcessingApiScheduleResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiGetTaskResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TextProcessingApiScheduleResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiGetTaskResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiScheduleResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -24026,39 +28753,54 @@ class TextProcessingApiGetTaskResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); TextProcessingTaskBuilder get task; set task(TextProcessingTaskBuilder? task); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data - extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data + extends TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data { @override final TextProcessingTask task; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data( + [void Function( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._({required this.task}) : super._() { - BuiltValueNullFieldError.checkNotNull(task, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', 'task'); + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._( + {required this.task}) + : super._() { + BuiltValueNullFieldError.checkNotNull(task, + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data rebuild( + void Function( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data && task == other.task; + return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data && + task == other.task; } @override @@ -24071,26 +28813,28 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data') + return (newBuiltValueToStringHelper( + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data') ..add('task', task)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data? _$v; TextProcessingTaskBuilder? _task; - TextProcessingTaskBuilder get task => _$this._task ??= TextProcessingTaskBuilder(); + TextProcessingTaskBuilder get task => + _$this._task ??= new TextProcessingTaskBuilder(); set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _task = $v.task.toBuilder(); @@ -24100,31 +28844,40 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._(task: task.build()); + _$result = _$v ?? + new _$TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data._( + task: task.build()); } catch (_) { late String _$failedField; try { _$failedField = 'task'; task.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -24133,45 +28886,63 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TextProcessingApiGetTaskResponseApplicationJson_OcsInterface other); + void update( + void Function( + TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data); + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs - extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs { +class _$TextProcessingApiGetTaskResponseApplicationJson_Ocs + extends TextProcessingApiGetTaskResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data data; + final TextProcessingApiGetTaskResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson_Ocs( + [void Function( + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? + updates]) => + (new TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiGetTaskResponseApplicationJson_Ocs rebuild( + void Function( + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder toBuilder() => + new TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiGetTaskResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -24185,32 +28956,37 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder +class TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs? _$v; + Builder, + TextProcessingApiGetTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -24221,24 +28997,28 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs other) { + void replace( + covariant TextProcessingApiGetTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _$result; + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _build() { + _$TextProcessingApiGetTaskResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TextProcessingApiGetTaskResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -24247,8 +29027,10 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiGetTaskResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -24257,38 +29039,51 @@ class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiDeleteTaskResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { + void replace(TextProcessingApiGetTaskResponseApplicationJsonInterface other); + void update( + void Function( + TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder) + updates); + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiDeleteTaskResponseApplicationJson extends TextProcessingApiDeleteTaskResponseApplicationJson { +class _$TextProcessingApiGetTaskResponseApplicationJson + extends TextProcessingApiGetTaskResponseApplicationJson { @override - final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ocs; + final TextProcessingApiGetTaskResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiDeleteTaskResponseApplicationJson( - [void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiGetTaskResponseApplicationJson( + [void Function( + TextProcessingApiGetTaskResponseApplicationJsonBuilder)? + updates]) => + (new TextProcessingApiGetTaskResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiDeleteTaskResponseApplicationJson', 'ocs'); + _$TextProcessingApiGetTaskResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TextProcessingApiGetTaskResponseApplicationJson', 'ocs'); } @override - TextProcessingApiDeleteTaskResponseApplicationJson rebuild( - void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder) updates) => + TextProcessingApiGetTaskResponseApplicationJson rebuild( + void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiGetTaskResponseApplicationJsonBuilder toBuilder() => + new TextProcessingApiGetTaskResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiDeleteTaskResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiGetTaskResponseApplicationJson && + ocs == other.ocs; } @override @@ -24301,26 +29096,32 @@ class _$TextProcessingApiDeleteTaskResponseApplicationJson extends TextProcessin @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiDeleteTaskResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiGetTaskResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder +class TextProcessingApiGetTaskResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiDeleteTaskResponseApplicationJson? _$v; + Builder, + TextProcessingApiGetTaskResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiGetTaskResponseApplicationJson? _$v; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TextProcessingApiGetTaskResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); + TextProcessingApiGetTaskResponseApplicationJsonBuilder(); - TextProcessingApiDeleteTaskResponseApplicationJsonBuilder get _$this { + TextProcessingApiGetTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -24330,31 +29131,38 @@ class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiDeleteTaskResponseApplicationJson other) { + void replace( + covariant TextProcessingApiGetTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson; + _$v = other as _$TextProcessingApiGetTaskResponseApplicationJson; } @override - void update(void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TextProcessingApiGetTaskResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiDeleteTaskResponseApplicationJson build() => _build(); + TextProcessingApiGetTaskResponseApplicationJson build() => _build(); - _$TextProcessingApiDeleteTaskResponseApplicationJson _build() { - _$TextProcessingApiDeleteTaskResponseApplicationJson _$result; + _$TextProcessingApiGetTaskResponseApplicationJson _build() { + _$TextProcessingApiGetTaskResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiDeleteTaskResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TextProcessingApiGetTaskResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiDeleteTaskResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiGetTaskResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -24363,106 +29171,137 @@ class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - ListBuilder get tasks; - set tasks(ListBuilder? tasks); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterface + other); + void update( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + TextProcessingTaskBuilder get task; + set task(TextProcessingTaskBuilder? task); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data - extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data + extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data { @override - final BuiltList tasks; + final TextProcessingTask task; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data( + [void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._({required this.tasks}) : super._() { - BuiltValueNullFieldError.checkNotNull( - tasks, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', 'tasks'); + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._( + {required this.task}) + : super._() { + BuiltValueNullFieldError.checkNotNull(task, + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', 'task'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data rebuild( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data && tasks == other.tasks; + return other + is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data && + task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, tasks.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data') - ..add('tasks', tasks)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data? _$v; - ListBuilder? _tasks; - ListBuilder get tasks => _$this._tasks ??= ListBuilder(); - set tasks(covariant ListBuilder? tasks) => _$this._tasks = tasks; + TextProcessingTaskBuilder? _task; + TextProcessingTaskBuilder get task => + _$this._task ??= new TextProcessingTaskBuilder(); + set task(covariant TextProcessingTaskBuilder? task) => _$this._task = task; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder + get _$this { final $v = _$v; if ($v != null) { - _tasks = $v.tasks.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; + _$v = + other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data build() => + _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._(tasks: tasks.build()); + _$result = _$v ?? + new _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data._( + task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'tasks'; - tasks.build(); + _$failedField = 'task'; + task.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -24471,45 +29310,61 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterface other); + void update( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data; - set data(TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs - extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs { +class _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs + extends TextProcessingApiDeleteTaskResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data data; + final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_Data data; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs( + [void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? + updates]) => + (new TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', 'data'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs rebuild( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder toBuilder() => + new TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs && + return other is TextProcessingApiDeleteTaskResponseApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -24525,33 +29380,37 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder +class TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs? _$v; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? _data; - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? data) => + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs_DataBuilder? + data) => _$this._data = data; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -24562,24 +29421,29 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs other) { + void replace( + covariant TextProcessingApiDeleteTaskResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson_Ocs build() => _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _$result; + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TextProcessingApiDeleteTaskResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -24588,8 +29452,10 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiDeleteTaskResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -24598,39 +29464,53 @@ class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder } } -abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { - void replace(TextProcessingApiListTasksByAppResponseApplicationJsonInterface other); - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder) updates); - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs; - set ocs(TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + void replace( + TextProcessingApiDeleteTaskResponseApplicationJsonInterface other); + void update( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder) + updates); + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs; + set ocs(TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? ocs); } -class _$TextProcessingApiListTasksByAppResponseApplicationJson - extends TextProcessingApiListTasksByAppResponseApplicationJson { +class _$TextProcessingApiDeleteTaskResponseApplicationJson + extends TextProcessingApiDeleteTaskResponseApplicationJson { @override - final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ocs; + final TextProcessingApiDeleteTaskResponseApplicationJson_Ocs ocs; - factory _$TextProcessingApiListTasksByAppResponseApplicationJson( - [void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates]) => - (TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TextProcessingApiDeleteTaskResponseApplicationJson( + [void Function( + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? + updates]) => + (new TextProcessingApiDeleteTaskResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TextProcessingApiListTasksByAppResponseApplicationJson', 'ocs'); + _$TextProcessingApiDeleteTaskResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TextProcessingApiDeleteTaskResponseApplicationJson', 'ocs'); } @override - TextProcessingApiListTasksByAppResponseApplicationJson rebuild( - void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder) updates) => + TextProcessingApiDeleteTaskResponseApplicationJson rebuild( + void Function( + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder toBuilder() => - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder()..replace(this); + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder toBuilder() => + new TextProcessingApiDeleteTaskResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TextProcessingApiListTasksByAppResponseApplicationJson && ocs == other.ocs; + return other is TextProcessingApiDeleteTaskResponseApplicationJson && + ocs == other.ocs; } @override @@ -24643,26 +29523,32 @@ class _$TextProcessingApiListTasksByAppResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'TextProcessingApiListTasksByAppResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiDeleteTaskResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder +class TextProcessingApiDeleteTaskResponseApplicationJsonBuilder implements - Builder, - TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { - _$TextProcessingApiListTasksByAppResponseApplicationJson? _$v; + Builder, + TextProcessingApiDeleteTaskResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiDeleteTaskResponseApplicationJson? _$v; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? _ocs; - TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); - set ocs(covariant TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TextProcessingApiDeleteTaskResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder(); - TextProcessingApiListTasksByAppResponseApplicationJsonBuilder get _$this { + TextProcessingApiDeleteTaskResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -24672,31 +29558,38 @@ class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder } @override - void replace(covariant TextProcessingApiListTasksByAppResponseApplicationJson other) { + void replace( + covariant TextProcessingApiDeleteTaskResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson; + _$v = other as _$TextProcessingApiDeleteTaskResponseApplicationJson; } @override - void update(void Function(TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TextProcessingApiDeleteTaskResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TextProcessingApiListTasksByAppResponseApplicationJson build() => _build(); + TextProcessingApiDeleteTaskResponseApplicationJson build() => _build(); - _$TextProcessingApiListTasksByAppResponseApplicationJson _build() { - _$TextProcessingApiListTasksByAppResponseApplicationJson _$result; + _$TextProcessingApiDeleteTaskResponseApplicationJson _build() { + _$TextProcessingApiDeleteTaskResponseApplicationJson _$result; try { - _$result = _$v ?? _$TextProcessingApiListTasksByAppResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TextProcessingApiDeleteTaskResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TextProcessingApiListTasksByAppResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiDeleteTaskResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -24705,282 +29598,301 @@ class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder } } -abstract mixin class TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder { - void replace(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterface other); - void update(void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder) updates); - String? get from; - set from(String? from); - - String? get fromLabel; - set fromLabel(String? fromLabel); - - String? get to; - set to(String? to); - - String? get toLabel; - set toLabel(String? toLabel); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterface + other); + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + ListBuilder get tasks; + set tasks(ListBuilder? tasks); } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages - extends TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages { - @override - final String from; - @override - final String fromLabel; - @override - final String to; +class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data { @override - final String toLabel; + final BuiltList tasks; - factory _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages( - [void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? updates]) => - (TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder()..update(updates))._build(); + factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data( + [void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages._( - {required this.from, required this.fromLabel, required this.to, required this.toLabel}) + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data._( + {required this.tasks}) : super._() { BuiltValueNullFieldError.checkNotNull( - from, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'from'); - BuiltValueNullFieldError.checkNotNull( - fromLabel, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'fromLabel'); - BuiltValueNullFieldError.checkNotNull( - to, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'to'); - BuiltValueNullFieldError.checkNotNull( - toLabel, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'toLabel'); + tasks, + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', + 'tasks'); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages rebuild( - void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data rebuild( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder toBuilder() => - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder + toBuilder() => + new TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages && - from == other.from && - fromLabel == other.fromLabel && - to == other.to && - toLabel == other.toLabel; + return other + is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data && + tasks == other.tasks; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, from.hashCode); - _$hash = $jc(_$hash, fromLabel.hashCode); - _$hash = $jc(_$hash, to.hashCode); - _$hash = $jc(_$hash, toLabel.hashCode); + _$hash = $jc(_$hash, tasks.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages') - ..add('from', from) - ..add('fromLabel', fromLabel) - ..add('to', to) - ..add('toLabel', toLabel)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data') + ..add('tasks', tasks)) .toString(); } } -class TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder +class TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder { - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages? _$v; - - String? _from; - String? get from => _$this._from; - set from(covariant String? from) => _$this._from = from; - - String? _fromLabel; - String? get fromLabel => _$this._fromLabel; - set fromLabel(covariant String? fromLabel) => _$this._fromLabel = fromLabel; - - String? _to; - String? get to => _$this._to; - set to(covariant String? to) => _$this._to = to; + Builder, + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data? _$v; - String? _toLabel; - String? get toLabel => _$this._toLabel; - set toLabel(covariant String? toLabel) => _$this._toLabel = toLabel; + ListBuilder? _tasks; + ListBuilder get tasks => + _$this._tasks ??= new ListBuilder(); + set tasks(covariant ListBuilder? tasks) => + _$this._tasks = tasks; - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder + get _$this { final $v = _$v; if ($v != null) { - _from = $v.from; - _fromLabel = $v.fromLabel; - _to = $v.to; - _toLabel = $v.toLabel; + _tasks = $v.tasks.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages other) { + void replace( + covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages; + _$v = other + as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? updates) { + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data build() => + _build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages _build() { - final _$result = _$v ?? - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages._( - from: BuiltValueNullFieldError.checkNotNull( - from, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'from'), - fromLabel: BuiltValueNullFieldError.checkNotNull( - fromLabel, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'fromLabel'), - to: BuiltValueNullFieldError.checkNotNull( - to, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'to'), - toLabel: BuiltValueNullFieldError.checkNotNull( - toLabel, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', 'toLabel')); + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + new _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data + ._(tasks: tasks.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'tasks'; + tasks.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - ListBuilder get languages; - set languages(ListBuilder? languages); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterface + other); + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - bool? get languageDetection; - set languageDetection(bool? languageDetection); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder + get data; + set data( + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? + data); } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data - extends TranslationApiLanguagesResponseApplicationJson_Ocs_Data { +class _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs + extends TextProcessingApiListTasksByAppResponseApplicationJson_Ocs { @override - final BuiltList languages; + final OCSMeta meta; @override - final bool languageDetection; + final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_Data data; - factory _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data( - [void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs( + [void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? + updates]) => + (new TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data._( - {required this.languages, required this.languageDetection}) + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull( - languages, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', 'languages'); - BuiltValueNullFieldError.checkNotNull( - languageDetection, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', 'languageDetection'); + BuiltValueNullFieldError.checkNotNull(meta, + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', 'data'); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data rebuild( - void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs rebuild( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder + toBuilder() => + new TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiLanguagesResponseApplicationJson_Ocs_Data && - languages == other.languages && - languageDetection == other.languageDetection; + return other + is TextProcessingApiListTasksByAppResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, languages.hashCode); - _$hash = $jc(_$hash, languageDetection.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data') - ..add('languages', languages) - ..add('languageDetection', languageDetection)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder +class TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder implements - Builder, - TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data? _$v; + Builder, + TextProcessingApiListTasksByAppResponseApplicationJson_OcsInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs? _$v; - ListBuilder? _languages; - ListBuilder get languages => - _$this._languages ??= ListBuilder(); - set languages(covariant ListBuilder? languages) => - _$this._languages = languages; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - bool? _languageDetection; - bool? get languageDetection => _$this._languageDetection; - set languageDetection(covariant bool? languageDetection) => _$this._languageDetection = languageDetection; + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? _data; + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder + get data => _$this._data ??= + new TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _languages = $v.languages.toBuilder(); - _languageDetection = $v.languageDetection; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TranslationApiLanguagesResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TextProcessingApiListTasksByAppResponseApplicationJson_Ocs + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data; + _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs; } @override - void update(void Function(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs_Data build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson_Ocs build() => + _build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data _build() { - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data _$result; + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data._( - languages: languages.build(), - languageDetection: BuiltValueNullFieldError.checkNotNull( - languageDetection, r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', 'languageDetection')); + new _$TextProcessingApiListTasksByAppResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'languages'; - languages.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiListTasksByAppResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -24989,120 +29901,135 @@ class TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder } } -abstract mixin class TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder { - void replace(TranslationApiLanguagesResponseApplicationJson_OcsInterface other); - void update(void Function(TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); - - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get data; - set data(TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? data); +abstract mixin class TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + void replace( + TextProcessingApiListTasksByAppResponseApplicationJsonInterface other); + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder) + updates); + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs; + set ocs( + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? ocs); } -class _$TranslationApiLanguagesResponseApplicationJson_Ocs extends TranslationApiLanguagesResponseApplicationJson_Ocs { - @override - final OCSMeta meta; +class _$TextProcessingApiListTasksByAppResponseApplicationJson + extends TextProcessingApiListTasksByAppResponseApplicationJson { @override - final TranslationApiLanguagesResponseApplicationJson_Ocs_Data data; + final TextProcessingApiListTasksByAppResponseApplicationJson_Ocs ocs; - factory _$TranslationApiLanguagesResponseApplicationJson_Ocs( - [void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? updates]) => - (TranslationApiLanguagesResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TextProcessingApiListTasksByAppResponseApplicationJson( + [void Function( + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? + updates]) => + (new TextProcessingApiListTasksByAppResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TranslationApiLanguagesResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TranslationApiLanguagesResponseApplicationJson_Ocs', 'data'); + _$TextProcessingApiListTasksByAppResponseApplicationJson._( + {required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TextProcessingApiListTasksByAppResponseApplicationJson', 'ocs'); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs rebuild( - void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder) updates) => + TextProcessingApiListTasksByAppResponseApplicationJson rebuild( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiLanguagesResponseApplicationJson_OcsBuilder toBuilder() => - TranslationApiLanguagesResponseApplicationJson_OcsBuilder()..replace(this); + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder toBuilder() => + new TextProcessingApiListTasksByAppResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiLanguagesResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TextProcessingApiListTasksByAppResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiLanguagesResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'TextProcessingApiListTasksByAppResponseApplicationJson') + ..add('ocs', ocs)) .toString(); - } -} - -class TranslationApiLanguagesResponseApplicationJson_OcsBuilder - implements - Builder, - TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder { - _$TranslationApiLanguagesResponseApplicationJson_Ocs? _$v; + } +} - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; +class TextProcessingApiListTasksByAppResponseApplicationJsonBuilder + implements + Builder, + TextProcessingApiListTasksByAppResponseApplicationJsonInterfaceBuilder { + _$TextProcessingApiListTasksByAppResponseApplicationJson? _$v; - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? _data; - TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? _ocs; + TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TextProcessingApiListTasksByAppResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder(); - TranslationApiLanguagesResponseApplicationJson_OcsBuilder get _$this { + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant TranslationApiLanguagesResponseApplicationJson_Ocs other) { + void replace( + covariant TextProcessingApiListTasksByAppResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiLanguagesResponseApplicationJson_Ocs; + _$v = other as _$TextProcessingApiListTasksByAppResponseApplicationJson; } @override - void update(void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + TextProcessingApiListTasksByAppResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiLanguagesResponseApplicationJson_Ocs build() => _build(); + TextProcessingApiListTasksByAppResponseApplicationJson build() => _build(); - _$TranslationApiLanguagesResponseApplicationJson_Ocs _build() { - _$TranslationApiLanguagesResponseApplicationJson_Ocs _$result; + _$TextProcessingApiListTasksByAppResponseApplicationJson _build() { + _$TextProcessingApiListTasksByAppResponseApplicationJson _$result; try { - _$result = _$v ?? _$TranslationApiLanguagesResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TextProcessingApiListTasksByAppResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TranslationApiLanguagesResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TextProcessingApiListTasksByAppResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -25111,258 +30038,427 @@ class TranslationApiLanguagesResponseApplicationJson_OcsBuilder } } -abstract mixin class TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder { - void replace(TranslationApiLanguagesResponseApplicationJsonInterface other); - void update(void Function(TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder) updates); - TranslationApiLanguagesResponseApplicationJson_OcsBuilder get ocs; - set ocs(TranslationApiLanguagesResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder { + void replace( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterface + other); + void update( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder) + updates); + String? get from; + set from(String? from); + + String? get fromLabel; + set fromLabel(String? fromLabel); + + String? get to; + set to(String? to); + + String? get toLabel; + set toLabel(String? toLabel); } -class _$TranslationApiLanguagesResponseApplicationJson extends TranslationApiLanguagesResponseApplicationJson { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + extends TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages { @override - final TranslationApiLanguagesResponseApplicationJson_Ocs ocs; + final String from; + @override + final String fromLabel; + @override + final String to; + @override + final String toLabel; - factory _$TranslationApiLanguagesResponseApplicationJson( - [void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? updates]) => - (TranslationApiLanguagesResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages( + [void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? + updates]) => + (new TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder() + ..update(updates)) + ._build(); - _$TranslationApiLanguagesResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TranslationApiLanguagesResponseApplicationJson', 'ocs'); + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages._( + {required this.from, + required this.fromLabel, + required this.to, + required this.toLabel}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + from, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'from'); + BuiltValueNullFieldError.checkNotNull( + fromLabel, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'fromLabel'); + BuiltValueNullFieldError.checkNotNull( + to, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'to'); + BuiltValueNullFieldError.checkNotNull( + toLabel, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'toLabel'); } @override - TranslationApiLanguagesResponseApplicationJson rebuild( - void Function(TranslationApiLanguagesResponseApplicationJsonBuilder) updates) => + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages rebuild( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiLanguagesResponseApplicationJsonBuilder toBuilder() => - TranslationApiLanguagesResponseApplicationJsonBuilder()..replace(this); + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder + toBuilder() => + new TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiLanguagesResponseApplicationJson && ocs == other.ocs; + return other + is TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages && + from == other.from && + fromLabel == other.fromLabel && + to == other.to && + toLabel == other.toLabel; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, fromLabel.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, toLabel.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiLanguagesResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages') + ..add('from', from) + ..add('fromLabel', fromLabel) + ..add('to', to) + ..add('toLabel', toLabel)) + .toString(); } } -class TranslationApiLanguagesResponseApplicationJsonBuilder +class TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder implements - Builder, - TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder { - _$TranslationApiLanguagesResponseApplicationJson? _$v; + Builder< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder>, + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesInterfaceBuilder { + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages? _$v; - TranslationApiLanguagesResponseApplicationJson_OcsBuilder? _ocs; - TranslationApiLanguagesResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); - set ocs(covariant TranslationApiLanguagesResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _from; + String? get from => _$this._from; + set from(covariant String? from) => _$this._from = from; - TranslationApiLanguagesResponseApplicationJsonBuilder(); + String? _fromLabel; + String? get fromLabel => _$this._fromLabel; + set fromLabel(covariant String? fromLabel) => _$this._fromLabel = fromLabel; - TranslationApiLanguagesResponseApplicationJsonBuilder get _$this { + String? _to; + String? get to => _$this._to; + set to(covariant String? to) => _$this._to = to; + + String? _toLabel; + String? get toLabel => _$this._toLabel; + set toLabel(covariant String? toLabel) => _$this._toLabel = toLabel; + + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder(); + + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _from = $v.from; + _fromLabel = $v.fromLabel; + _to = $v.to; + _toLabel = $v.toLabel; _$v = null; } return this; } @override - void replace(covariant TranslationApiLanguagesResponseApplicationJson other) { + void replace( + covariant TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiLanguagesResponseApplicationJson; + _$v = other + as _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages; } @override - void update(void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? updates) { + void update( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_LanguagesBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiLanguagesResponseApplicationJson build() => _build(); + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages build() => + _build(); - _$TranslationApiLanguagesResponseApplicationJson _build() { - _$TranslationApiLanguagesResponseApplicationJson _$result; - try { - _$result = _$v ?? _$TranslationApiLanguagesResponseApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'TranslationApiLanguagesResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages _build() { + final _$result = _$v ?? + new _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages._( + from: BuiltValueNullFieldError.checkNotNull( + from, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'from'), + fromLabel: BuiltValueNullFieldError.checkNotNull( + fromLabel, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'fromLabel'), + to: BuiltValueNullFieldError.checkNotNull( + to, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'to'), + toLabel: BuiltValueNullFieldError.checkNotNull( + toLabel, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages', + 'toLabel')); replace(_$result); return _$result; } } -abstract mixin class TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder { - void replace(TranslationApiTranslateResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); - String? get text; - set text(String? text); +abstract mixin class TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + ListBuilder + get languages; + set languages( + ListBuilder< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages>? + languages); - String? get from; - set from(String? from); + bool? get languageDetection; + set languageDetection(bool? languageDetection); } -class _$TranslationApiTranslateResponseApplicationJson_Ocs_Data - extends TranslationApiTranslateResponseApplicationJson_Ocs_Data { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data + extends TranslationApiLanguagesResponseApplicationJson_Ocs_Data { @override - final String text; + final BuiltList< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages> + languages; @override - final String? from; + final bool languageDetection; - factory _$TranslationApiTranslateResponseApplicationJson_Ocs_Data( - [void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data( + [void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data._({required this.text, this.from}) : super._() { - BuiltValueNullFieldError.checkNotNull(text, r'TranslationApiTranslateResponseApplicationJson_Ocs_Data', 'text'); + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data._( + {required this.languages, required this.languageDetection}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + languages, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', + 'languages'); + BuiltValueNullFieldError.checkNotNull( + languageDetection, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', + 'languageDetection'); } @override - TranslationApiTranslateResponseApplicationJson_Ocs_Data rebuild( - void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder) updates) => + TranslationApiLanguagesResponseApplicationJson_Ocs_Data rebuild( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder toBuilder() => - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder()..replace(this); + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiTranslateResponseApplicationJson_Ocs_Data && text == other.text && from == other.from; + return other is TranslationApiLanguagesResponseApplicationJson_Ocs_Data && + languages == other.languages && + languageDetection == other.languageDetection; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, text.hashCode); - _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, languages.hashCode); + _$hash = $jc(_$hash, languageDetection.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiTranslateResponseApplicationJson_Ocs_Data') - ..add('text', text) - ..add('from', from)) + return (newBuiltValueToStringHelper( + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data') + ..add('languages', languages) + ..add('languageDetection', languageDetection)) .toString(); } } -class TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder +class TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder implements - Builder, - TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder { - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data? _$v; + Builder, + TranslationApiLanguagesResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data? _$v; - String? _text; - String? get text => _$this._text; - set text(covariant String? text) => _$this._text = text; + ListBuilder< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages>? + _languages; + ListBuilder + get languages => _$this._languages ??= new ListBuilder< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages>(); + set languages( + covariant ListBuilder< + TranslationApiLanguagesResponseApplicationJson_Ocs_Data_Languages>? + languages) => + _$this._languages = languages; - String? _from; - String? get from => _$this._from; - set from(covariant String? from) => _$this._from = from; + bool? _languageDetection; + bool? get languageDetection => _$this._languageDetection; + set languageDetection(covariant bool? languageDetection) => + _$this._languageDetection = languageDetection; - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get _$this { + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _text = $v.text; - _from = $v.from; + _languages = $v.languages.toBuilder(); + _languageDetection = $v.languageDetection; _$v = null; } return this; } @override - void replace(covariant TranslationApiTranslateResponseApplicationJson_Ocs_Data other) { + void replace( + covariant TranslationApiLanguagesResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiTranslateResponseApplicationJson_Ocs_Data; + _$v = other as _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data; } @override - void update(void Function(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiTranslateResponseApplicationJson_Ocs_Data build() => _build(); + TranslationApiLanguagesResponseApplicationJson_Ocs_Data build() => _build(); - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$TranslationApiTranslateResponseApplicationJson_Ocs_Data._( - text: BuiltValueNullFieldError.checkNotNull( - text, r'TranslationApiTranslateResponseApplicationJson_Ocs_Data', 'text'), - from: from); + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data _build() { + _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + new _$TranslationApiLanguagesResponseApplicationJson_Ocs_Data._( + languages: languages.build(), + languageDetection: BuiltValueNullFieldError.checkNotNull( + languageDetection, + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', + 'languageDetection')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'languages'; + languages.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'TranslationApiLanguagesResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder { - void replace(TranslationApiTranslateResponseApplicationJson_OcsInterface other); - void update(void Function(TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TranslationApiLanguagesResponseApplicationJson_OcsInterface other); + void update( + void Function( + TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get data; - set data(TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? data); + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? data); } -class _$TranslationApiTranslateResponseApplicationJson_Ocs extends TranslationApiTranslateResponseApplicationJson_Ocs { +class _$TranslationApiLanguagesResponseApplicationJson_Ocs + extends TranslationApiLanguagesResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final TranslationApiTranslateResponseApplicationJson_Ocs_Data data; + final TranslationApiLanguagesResponseApplicationJson_Ocs_Data data; - factory _$TranslationApiTranslateResponseApplicationJson_Ocs( - [void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder)? updates]) => - (TranslationApiTranslateResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TranslationApiLanguagesResponseApplicationJson_Ocs( + [void Function( + TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? + updates]) => + (new TranslationApiLanguagesResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$TranslationApiTranslateResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'TranslationApiTranslateResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'TranslationApiTranslateResponseApplicationJson_Ocs', 'data'); + _$TranslationApiLanguagesResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'TranslationApiLanguagesResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'TranslationApiLanguagesResponseApplicationJson_Ocs', 'data'); } @override - TranslationApiTranslateResponseApplicationJson_Ocs rebuild( - void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder) updates) => + TranslationApiLanguagesResponseApplicationJson_Ocs rebuild( + void Function( + TranslationApiLanguagesResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiTranslateResponseApplicationJson_OcsBuilder toBuilder() => - TranslationApiTranslateResponseApplicationJson_OcsBuilder()..replace(this); + TranslationApiLanguagesResponseApplicationJson_OcsBuilder toBuilder() => + new TranslationApiLanguagesResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiTranslateResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TranslationApiLanguagesResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -25376,32 +30472,37 @@ class _$TranslationApiTranslateResponseApplicationJson_Ocs extends TranslationAp @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiTranslateResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TranslationApiLanguagesResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class TranslationApiTranslateResponseApplicationJson_OcsBuilder +class TranslationApiLanguagesResponseApplicationJson_OcsBuilder implements - Builder, - TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder { - _$TranslationApiTranslateResponseApplicationJson_Ocs? _$v; + Builder, + TranslationApiLanguagesResponseApplicationJson_OcsInterfaceBuilder { + _$TranslationApiLanguagesResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? _data; - TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? _data; + TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TranslationApiLanguagesResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - TranslationApiTranslateResponseApplicationJson_OcsBuilder(); + TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); - TranslationApiTranslateResponseApplicationJson_OcsBuilder get _$this { + TranslationApiLanguagesResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -25412,23 +30513,28 @@ class TranslationApiTranslateResponseApplicationJson_OcsBuilder } @override - void replace(covariant TranslationApiTranslateResponseApplicationJson_Ocs other) { + void replace( + covariant TranslationApiLanguagesResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiTranslateResponseApplicationJson_Ocs; + _$v = other as _$TranslationApiLanguagesResponseApplicationJson_Ocs; } @override - void update(void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(TranslationApiLanguagesResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiTranslateResponseApplicationJson_Ocs build() => _build(); + TranslationApiLanguagesResponseApplicationJson_Ocs build() => _build(); - _$TranslationApiTranslateResponseApplicationJson_Ocs _build() { - _$TranslationApiTranslateResponseApplicationJson_Ocs _$result; + _$TranslationApiLanguagesResponseApplicationJson_Ocs _build() { + _$TranslationApiLanguagesResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$TranslationApiTranslateResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TranslationApiLanguagesResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -25437,8 +30543,10 @@ class TranslationApiTranslateResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TranslationApiTranslateResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TranslationApiLanguagesResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -25447,38 +30555,50 @@ class TranslationApiTranslateResponseApplicationJson_OcsBuilder } } -abstract mixin class TranslationApiTranslateResponseApplicationJsonInterfaceBuilder { - void replace(TranslationApiTranslateResponseApplicationJsonInterface other); - void update(void Function(TranslationApiTranslateResponseApplicationJsonInterfaceBuilder) updates); - TranslationApiTranslateResponseApplicationJson_OcsBuilder get ocs; - set ocs(TranslationApiTranslateResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder { + void replace(TranslationApiLanguagesResponseApplicationJsonInterface other); + void update( + void Function( + TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder) + updates); + TranslationApiLanguagesResponseApplicationJson_OcsBuilder get ocs; + set ocs(TranslationApiLanguagesResponseApplicationJson_OcsBuilder? ocs); } -class _$TranslationApiTranslateResponseApplicationJson extends TranslationApiTranslateResponseApplicationJson { +class _$TranslationApiLanguagesResponseApplicationJson + extends TranslationApiLanguagesResponseApplicationJson { @override - final TranslationApiTranslateResponseApplicationJson_Ocs ocs; + final TranslationApiLanguagesResponseApplicationJson_Ocs ocs; - factory _$TranslationApiTranslateResponseApplicationJson( - [void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? updates]) => - (TranslationApiTranslateResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TranslationApiLanguagesResponseApplicationJson( + [void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? + updates]) => + (new TranslationApiLanguagesResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$TranslationApiTranslateResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'TranslationApiTranslateResponseApplicationJson', 'ocs'); + _$TranslationApiLanguagesResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TranslationApiLanguagesResponseApplicationJson', 'ocs'); } @override - TranslationApiTranslateResponseApplicationJson rebuild( - void Function(TranslationApiTranslateResponseApplicationJsonBuilder) updates) => + TranslationApiLanguagesResponseApplicationJson rebuild( + void Function(TranslationApiLanguagesResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - TranslationApiTranslateResponseApplicationJsonBuilder toBuilder() => - TranslationApiTranslateResponseApplicationJsonBuilder()..replace(this); + TranslationApiLanguagesResponseApplicationJsonBuilder toBuilder() => + new TranslationApiLanguagesResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is TranslationApiTranslateResponseApplicationJson && ocs == other.ocs; + return other is TranslationApiLanguagesResponseApplicationJson && + ocs == other.ocs; } @override @@ -25491,24 +30611,32 @@ class _$TranslationApiTranslateResponseApplicationJson extends TranslationApiTra @override String toString() { - return (newBuiltValueToStringHelper(r'TranslationApiTranslateResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'TranslationApiLanguagesResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class TranslationApiTranslateResponseApplicationJsonBuilder +class TranslationApiLanguagesResponseApplicationJsonBuilder implements - Builder, - TranslationApiTranslateResponseApplicationJsonInterfaceBuilder { - _$TranslationApiTranslateResponseApplicationJson? _$v; + Builder, + TranslationApiLanguagesResponseApplicationJsonInterfaceBuilder { + _$TranslationApiLanguagesResponseApplicationJson? _$v; - TranslationApiTranslateResponseApplicationJson_OcsBuilder? _ocs; - TranslationApiTranslateResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= TranslationApiTranslateResponseApplicationJson_OcsBuilder(); - set ocs(covariant TranslationApiTranslateResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TranslationApiLanguagesResponseApplicationJson_OcsBuilder? _ocs; + TranslationApiLanguagesResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TranslationApiLanguagesResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TranslationApiLanguagesResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - TranslationApiTranslateResponseApplicationJsonBuilder(); + TranslationApiLanguagesResponseApplicationJsonBuilder(); - TranslationApiTranslateResponseApplicationJsonBuilder get _$this { + TranslationApiLanguagesResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -25518,31 +30646,37 @@ class TranslationApiTranslateResponseApplicationJsonBuilder } @override - void replace(covariant TranslationApiTranslateResponseApplicationJson other) { + void replace(covariant TranslationApiLanguagesResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$TranslationApiTranslateResponseApplicationJson; + _$v = other as _$TranslationApiLanguagesResponseApplicationJson; } @override - void update(void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TranslationApiLanguagesResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - TranslationApiTranslateResponseApplicationJson build() => _build(); + TranslationApiLanguagesResponseApplicationJson build() => _build(); - _$TranslationApiTranslateResponseApplicationJson _build() { - _$TranslationApiTranslateResponseApplicationJson _$result; + _$TranslationApiLanguagesResponseApplicationJson _build() { + _$TranslationApiLanguagesResponseApplicationJson _$result; try { - _$result = _$v ?? _$TranslationApiTranslateResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TranslationApiLanguagesResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'TranslationApiTranslateResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TranslationApiLanguagesResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -25551,162 +30685,196 @@ class TranslationApiTranslateResponseApplicationJsonBuilder } } -abstract mixin class UnifiedSearchProviderInterfaceBuilder { - void replace(UnifiedSearchProviderInterface other); - void update(void Function(UnifiedSearchProviderInterfaceBuilder) updates); - String? get id; - set id(String? id); - - String? get name; - set name(String? name); +abstract mixin class TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder { + void replace( + TranslationApiTranslateResponseApplicationJson_Ocs_DataInterface other); + void update( + void Function( + TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); + String? get text; + set text(String? text); - int? get order; - set order(int? order); + String? get from; + set from(String? from); } -class _$UnifiedSearchProvider extends UnifiedSearchProvider { - @override - final String id; +class _$TranslationApiTranslateResponseApplicationJson_Ocs_Data + extends TranslationApiTranslateResponseApplicationJson_Ocs_Data { @override - final String name; + final String text; @override - final int order; + final String? from; - factory _$UnifiedSearchProvider([void Function(UnifiedSearchProviderBuilder)? updates]) => - (UnifiedSearchProviderBuilder()..update(updates))._build(); + factory _$TranslationApiTranslateResponseApplicationJson_Ocs_Data( + [void Function( + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchProvider._({required this.id, required this.name, required this.order}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'UnifiedSearchProvider', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'UnifiedSearchProvider', 'name'); - BuiltValueNullFieldError.checkNotNull(order, r'UnifiedSearchProvider', 'order'); + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data._( + {required this.text, this.from}) + : super._() { + BuiltValueNullFieldError.checkNotNull(text, + r'TranslationApiTranslateResponseApplicationJson_Ocs_Data', 'text'); } @override - UnifiedSearchProvider rebuild(void Function(UnifiedSearchProviderBuilder) updates) => + TranslationApiTranslateResponseApplicationJson_Ocs_Data rebuild( + void Function( + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchProviderBuilder toBuilder() => UnifiedSearchProviderBuilder()..replace(this); + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder toBuilder() => + new TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchProvider && id == other.id && name == other.name && order == other.order; + return other is TranslationApiTranslateResponseApplicationJson_Ocs_Data && + text == other.text && + from == other.from; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, text.hashCode); + _$hash = $jc(_$hash, from.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchProvider') - ..add('id', id) - ..add('name', name) - ..add('order', order)) + return (newBuiltValueToStringHelper( + r'TranslationApiTranslateResponseApplicationJson_Ocs_Data') + ..add('text', text) + ..add('from', from)) .toString(); } } -class UnifiedSearchProviderBuilder - implements Builder, UnifiedSearchProviderInterfaceBuilder { - _$UnifiedSearchProvider? _$v; - - String? _id; - String? get id => _$this._id; - set id(covariant String? id) => _$this._id = id; +class TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder + implements + Builder, + TranslationApiTranslateResponseApplicationJson_Ocs_DataInterfaceBuilder { + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data? _$v; - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; + String? _text; + String? get text => _$this._text; + set text(covariant String? text) => _$this._text = text; - int? _order; - int? get order => _$this._order; - set order(covariant int? order) => _$this._order = order; + String? _from; + String? get from => _$this._from; + set from(covariant String? from) => _$this._from = from; - UnifiedSearchProviderBuilder(); + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); - UnifiedSearchProviderBuilder get _$this { + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _order = $v.order; + _text = $v.text; + _from = $v.from; _$v = null; } return this; } @override - void replace(covariant UnifiedSearchProvider other) { + void replace( + covariant TranslationApiTranslateResponseApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchProvider; + _$v = other as _$TranslationApiTranslateResponseApplicationJson_Ocs_Data; } @override - void update(void Function(UnifiedSearchProviderBuilder)? updates) { + void update( + void Function( + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @override - UnifiedSearchProvider build() => _build(); + TranslationApiTranslateResponseApplicationJson_Ocs_Data build() => _build(); - _$UnifiedSearchProvider _build() { + _$TranslationApiTranslateResponseApplicationJson_Ocs_Data _build() { final _$result = _$v ?? - _$UnifiedSearchProvider._( - id: BuiltValueNullFieldError.checkNotNull(id, r'UnifiedSearchProvider', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'UnifiedSearchProvider', 'name'), - order: BuiltValueNullFieldError.checkNotNull(order, r'UnifiedSearchProvider', 'order')); + new _$TranslationApiTranslateResponseApplicationJson_Ocs_Data._( + text: BuiltValueNullFieldError.checkNotNull( + text, + r'TranslationApiTranslateResponseApplicationJson_Ocs_Data', + 'text'), + from: from); replace(_$result); return _$result; } } -abstract mixin class UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder { - void replace(UnifiedSearchGetProvidersResponseApplicationJson_OcsInterface other); - void update(void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder) updates); +abstract mixin class TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder { + void replace( + TranslationApiTranslateResponseApplicationJson_OcsInterface other); + void update( + void Function( + TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); - ListBuilder get data; - set data(ListBuilder? data); + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get data; + set data( + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? data); } -class _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs - extends UnifiedSearchGetProvidersResponseApplicationJson_Ocs { +class _$TranslationApiTranslateResponseApplicationJson_Ocs + extends TranslationApiTranslateResponseApplicationJson_Ocs { @override final OCSMeta meta; @override - final BuiltList data; + final TranslationApiTranslateResponseApplicationJson_Ocs_Data data; - factory _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs( - [void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? updates]) => - (UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$TranslationApiTranslateResponseApplicationJson_Ocs( + [void Function( + TranslationApiTranslateResponseApplicationJson_OcsBuilder)? + updates]) => + (new TranslationApiTranslateResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', 'data'); + _$TranslationApiTranslateResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'TranslationApiTranslateResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'TranslationApiTranslateResponseApplicationJson_Ocs', 'data'); } @override - UnifiedSearchGetProvidersResponseApplicationJson_Ocs rebuild( - void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder) updates) => + TranslationApiTranslateResponseApplicationJson_Ocs rebuild( + void Function( + TranslationApiTranslateResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder toBuilder() => - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder()..replace(this); + TranslationApiTranslateResponseApplicationJson_OcsBuilder toBuilder() => + new TranslationApiTranslateResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchGetProvidersResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is TranslationApiTranslateResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -25720,31 +30888,37 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'TranslationApiTranslateResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder +class TranslationApiTranslateResponseApplicationJson_OcsBuilder implements - Builder, - UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder { - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs? _$v; + Builder, + TranslationApiTranslateResponseApplicationJson_OcsInterfaceBuilder { + _$TranslationApiTranslateResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(covariant ListBuilder? data) => _$this._data = data; + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? _data; + TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= + new TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant TranslationApiTranslateResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); + TranslationApiTranslateResponseApplicationJson_OcsBuilder(); - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get _$this { + TranslationApiTranslateResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -25755,24 +30929,28 @@ class UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder } @override - void replace(covariant UnifiedSearchGetProvidersResponseApplicationJson_Ocs other) { + void replace( + covariant TranslationApiTranslateResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs; + _$v = other as _$TranslationApiTranslateResponseApplicationJson_Ocs; } @override - void update(void Function(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(TranslationApiTranslateResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - UnifiedSearchGetProvidersResponseApplicationJson_Ocs build() => _build(); + TranslationApiTranslateResponseApplicationJson_Ocs build() => _build(); - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs _build() { - _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs _$result; + _$TranslationApiTranslateResponseApplicationJson_Ocs _build() { + _$TranslationApiTranslateResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$TranslationApiTranslateResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -25781,8 +30959,10 @@ class UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TranslationApiTranslateResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -25791,38 +30971,50 @@ class UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder } } -abstract mixin class UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder { - void replace(UnifiedSearchGetProvidersResponseApplicationJsonInterface other); - void update(void Function(UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder) updates); - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get ocs; - set ocs(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class TranslationApiTranslateResponseApplicationJsonInterfaceBuilder { + void replace(TranslationApiTranslateResponseApplicationJsonInterface other); + void update( + void Function( + TranslationApiTranslateResponseApplicationJsonInterfaceBuilder) + updates); + TranslationApiTranslateResponseApplicationJson_OcsBuilder get ocs; + set ocs(TranslationApiTranslateResponseApplicationJson_OcsBuilder? ocs); } -class _$UnifiedSearchGetProvidersResponseApplicationJson extends UnifiedSearchGetProvidersResponseApplicationJson { +class _$TranslationApiTranslateResponseApplicationJson + extends TranslationApiTranslateResponseApplicationJson { @override - final UnifiedSearchGetProvidersResponseApplicationJson_Ocs ocs; + final TranslationApiTranslateResponseApplicationJson_Ocs ocs; - factory _$UnifiedSearchGetProvidersResponseApplicationJson( - [void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? updates]) => - (UnifiedSearchGetProvidersResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$TranslationApiTranslateResponseApplicationJson( + [void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? + updates]) => + (new TranslationApiTranslateResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchGetProvidersResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UnifiedSearchGetProvidersResponseApplicationJson', 'ocs'); + _$TranslationApiTranslateResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'TranslationApiTranslateResponseApplicationJson', 'ocs'); } @override - UnifiedSearchGetProvidersResponseApplicationJson rebuild( - void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder) updates) => + TranslationApiTranslateResponseApplicationJson rebuild( + void Function(TranslationApiTranslateResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchGetProvidersResponseApplicationJsonBuilder toBuilder() => - UnifiedSearchGetProvidersResponseApplicationJsonBuilder()..replace(this); + TranslationApiTranslateResponseApplicationJsonBuilder toBuilder() => + new TranslationApiTranslateResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchGetProvidersResponseApplicationJson && ocs == other.ocs; + return other is TranslationApiTranslateResponseApplicationJson && + ocs == other.ocs; } @override @@ -25835,26 +31027,32 @@ class _$UnifiedSearchGetProvidersResponseApplicationJson extends UnifiedSearchGe @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchGetProvidersResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'TranslationApiTranslateResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class UnifiedSearchGetProvidersResponseApplicationJsonBuilder +class TranslationApiTranslateResponseApplicationJsonBuilder implements - Builder, - UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder { - _$UnifiedSearchGetProvidersResponseApplicationJson? _$v; + Builder, + TranslationApiTranslateResponseApplicationJsonInterfaceBuilder { + _$TranslationApiTranslateResponseApplicationJson? _$v; - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? _ocs; - UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); - set ocs(covariant UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + TranslationApiTranslateResponseApplicationJson_OcsBuilder? _ocs; + TranslationApiTranslateResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new TranslationApiTranslateResponseApplicationJson_OcsBuilder(); + set ocs( + covariant TranslationApiTranslateResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); + TranslationApiTranslateResponseApplicationJsonBuilder(); - UnifiedSearchGetProvidersResponseApplicationJsonBuilder get _$this { + TranslationApiTranslateResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -25864,31 +31062,37 @@ class UnifiedSearchGetProvidersResponseApplicationJsonBuilder } @override - void replace(covariant UnifiedSearchGetProvidersResponseApplicationJson other) { + void replace(covariant TranslationApiTranslateResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchGetProvidersResponseApplicationJson; + _$v = other as _$TranslationApiTranslateResponseApplicationJson; } @override - void update(void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? updates) { + void update( + void Function(TranslationApiTranslateResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - UnifiedSearchGetProvidersResponseApplicationJson build() => _build(); + TranslationApiTranslateResponseApplicationJson build() => _build(); - _$UnifiedSearchGetProvidersResponseApplicationJson _build() { - _$UnifiedSearchGetProvidersResponseApplicationJson _$result; + _$TranslationApiTranslateResponseApplicationJson _build() { + _$TranslationApiTranslateResponseApplicationJson _$result; try { - _$result = _$v ?? _$UnifiedSearchGetProvidersResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$TranslationApiTranslateResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'UnifiedSearchGetProvidersResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'TranslationApiTranslateResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -25897,316 +31101,280 @@ class UnifiedSearchGetProvidersResponseApplicationJsonBuilder } } -abstract mixin class UnifiedSearchSearchCursorInterfaceBuilder { - void replace(UnifiedSearchSearchCursorInterface other); - void update(void Function(UnifiedSearchSearchCursorInterfaceBuilder) updates); - int? get $int; - set $int(int? $int); +abstract mixin class UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder { + void replace( + UnifiedSearchGetProvidersResponseApplicationJson_OcsInterface other); + void update( + void Function( + UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get string; - set string(String? string); + ListBuilder get data; + set data(ListBuilder? data); } -class _$UnifiedSearchSearchCursor extends UnifiedSearchSearchCursor { - @override - final JsonObject data; +class _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs + extends UnifiedSearchGetProvidersResponseApplicationJson_Ocs { @override - final int? $int; + final OCSMeta meta; @override - final String? string; + final BuiltList data; - factory _$UnifiedSearchSearchCursor([void Function(UnifiedSearchSearchCursorBuilder)? updates]) => - (UnifiedSearchSearchCursorBuilder()..update(updates))._build(); + factory _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs( + [void Function( + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? + updates]) => + (new UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchSearchCursor._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchSearchCursor', 'data'); + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', 'data'); } @override - UnifiedSearchSearchCursor rebuild(void Function(UnifiedSearchSearchCursorBuilder) updates) => + UnifiedSearchGetProvidersResponseApplicationJson_Ocs rebuild( + void Function( + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchSearchCursorBuilder toBuilder() => UnifiedSearchSearchCursorBuilder()..replace(this); + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder toBuilder() => + new UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchSearchCursor && data == other.data && $int == other.$int && string == other.string; + return other is UnifiedSearchGetProvidersResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchSearchCursor') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper( + r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UnifiedSearchSearchCursorBuilder +class UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder implements - Builder, - UnifiedSearchSearchCursorInterfaceBuilder { - _$UnifiedSearchSearchCursor? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(covariant JsonObject? data) => _$this._data = data; + Builder, + UnifiedSearchGetProvidersResponseApplicationJson_OcsInterfaceBuilder { + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs? _$v; - int? _$int; - int? get $int => _$this._$int; - set $int(covariant int? $int) => _$this._$int = $int; + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; - String? _string; - String? get string => _$this._string; - set string(covariant String? string) => _$this._string = string; + ListBuilder? _data; + ListBuilder get data => + _$this._data ??= new ListBuilder(); + set data(covariant ListBuilder? data) => + _$this._data = data; - UnifiedSearchSearchCursorBuilder(); + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); - UnifiedSearchSearchCursorBuilder get _$this { + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UnifiedSearchSearchCursor other) { + void replace( + covariant UnifiedSearchGetProvidersResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchSearchCursor; + _$v = other as _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs; } @override - void update(void Function(UnifiedSearchSearchCursorBuilder)? updates) { + void update( + void Function( + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - UnifiedSearchSearchCursor build() => _build(); + UnifiedSearchGetProvidersResponseApplicationJson_Ocs build() => _build(); - _$UnifiedSearchSearchCursor _build() { - final _$result = _$v ?? - _$UnifiedSearchSearchCursor._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchSearchCursor', 'data'), - $int: $int, - string: string); + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs _build() { + _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$UnifiedSearchGetProvidersResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'UnifiedSearchGetProvidersResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -abstract mixin class UnifiedSearchResultEntryInterfaceBuilder { - void replace(UnifiedSearchResultEntryInterface other); - void update(void Function(UnifiedSearchResultEntryInterfaceBuilder) updates); - String? get thumbnailUrl; - set thumbnailUrl(String? thumbnailUrl); - - String? get title; - set title(String? title); - - String? get subline; - set subline(String? subline); - - String? get resourceUrl; - set resourceUrl(String? resourceUrl); - - String? get icon; - set icon(String? icon); - - bool? get rounded; - set rounded(bool? rounded); - - ListBuilder get attributes; - set attributes(ListBuilder? attributes); +abstract mixin class UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder { + void replace(UnifiedSearchGetProvidersResponseApplicationJsonInterface other); + void update( + void Function( + UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder) + updates); + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get ocs; + set ocs(UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? ocs); } -class _$UnifiedSearchResultEntry extends UnifiedSearchResultEntry { - @override - final String thumbnailUrl; - @override - final String title; - @override - final String subline; - @override - final String resourceUrl; - @override - final String icon; - @override - final bool rounded; +class _$UnifiedSearchGetProvidersResponseApplicationJson + extends UnifiedSearchGetProvidersResponseApplicationJson { @override - final BuiltList attributes; + final UnifiedSearchGetProvidersResponseApplicationJson_Ocs ocs; - factory _$UnifiedSearchResultEntry([void Function(UnifiedSearchResultEntryBuilder)? updates]) => - (UnifiedSearchResultEntryBuilder()..update(updates))._build(); + factory _$UnifiedSearchGetProvidersResponseApplicationJson( + [void Function( + UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? + updates]) => + (new UnifiedSearchGetProvidersResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchResultEntry._( - {required this.thumbnailUrl, - required this.title, - required this.subline, - required this.resourceUrl, - required this.icon, - required this.rounded, - required this.attributes}) + _$UnifiedSearchGetProvidersResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'UnifiedSearchResultEntry', 'thumbnailUrl'); - BuiltValueNullFieldError.checkNotNull(title, r'UnifiedSearchResultEntry', 'title'); - BuiltValueNullFieldError.checkNotNull(subline, r'UnifiedSearchResultEntry', 'subline'); - BuiltValueNullFieldError.checkNotNull(resourceUrl, r'UnifiedSearchResultEntry', 'resourceUrl'); - BuiltValueNullFieldError.checkNotNull(icon, r'UnifiedSearchResultEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(rounded, r'UnifiedSearchResultEntry', 'rounded'); - BuiltValueNullFieldError.checkNotNull(attributes, r'UnifiedSearchResultEntry', 'attributes'); + BuiltValueNullFieldError.checkNotNull( + ocs, r'UnifiedSearchGetProvidersResponseApplicationJson', 'ocs'); } @override - UnifiedSearchResultEntry rebuild(void Function(UnifiedSearchResultEntryBuilder) updates) => + UnifiedSearchGetProvidersResponseApplicationJson rebuild( + void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchResultEntryBuilder toBuilder() => UnifiedSearchResultEntryBuilder()..replace(this); + UnifiedSearchGetProvidersResponseApplicationJsonBuilder toBuilder() => + new UnifiedSearchGetProvidersResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchResultEntry && - thumbnailUrl == other.thumbnailUrl && - title == other.title && - subline == other.subline && - resourceUrl == other.resourceUrl && - icon == other.icon && - rounded == other.rounded && - attributes == other.attributes; + return other is UnifiedSearchGetProvidersResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, thumbnailUrl.hashCode); - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, resourceUrl.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, rounded.hashCode); - _$hash = $jc(_$hash, attributes.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchResultEntry') - ..add('thumbnailUrl', thumbnailUrl) - ..add('title', title) - ..add('subline', subline) - ..add('resourceUrl', resourceUrl) - ..add('icon', icon) - ..add('rounded', rounded) - ..add('attributes', attributes)) + return (newBuiltValueToStringHelper( + r'UnifiedSearchGetProvidersResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class UnifiedSearchResultEntryBuilder +class UnifiedSearchGetProvidersResponseApplicationJsonBuilder implements - Builder, - UnifiedSearchResultEntryInterfaceBuilder { - _$UnifiedSearchResultEntry? _$v; - - String? _thumbnailUrl; - String? get thumbnailUrl => _$this._thumbnailUrl; - set thumbnailUrl(covariant String? thumbnailUrl) => _$this._thumbnailUrl = thumbnailUrl; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _subline; - String? get subline => _$this._subline; - set subline(covariant String? subline) => _$this._subline = subline; - - String? _resourceUrl; - String? get resourceUrl => _$this._resourceUrl; - set resourceUrl(covariant String? resourceUrl) => _$this._resourceUrl = resourceUrl; - - String? _icon; - String? get icon => _$this._icon; - set icon(covariant String? icon) => _$this._icon = icon; - - bool? _rounded; - bool? get rounded => _$this._rounded; - set rounded(covariant bool? rounded) => _$this._rounded = rounded; + Builder, + UnifiedSearchGetProvidersResponseApplicationJsonInterfaceBuilder { + _$UnifiedSearchGetProvidersResponseApplicationJson? _$v; - ListBuilder? _attributes; - ListBuilder get attributes => _$this._attributes ??= ListBuilder(); - set attributes(covariant ListBuilder? attributes) => _$this._attributes = attributes; + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? _ocs; + UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder(); + set ocs( + covariant UnifiedSearchGetProvidersResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - UnifiedSearchResultEntryBuilder(); + UnifiedSearchGetProvidersResponseApplicationJsonBuilder(); - UnifiedSearchResultEntryBuilder get _$this { + UnifiedSearchGetProvidersResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _thumbnailUrl = $v.thumbnailUrl; - _title = $v.title; - _subline = $v.subline; - _resourceUrl = $v.resourceUrl; - _icon = $v.icon; - _rounded = $v.rounded; - _attributes = $v.attributes.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant UnifiedSearchResultEntry other) { + void replace( + covariant UnifiedSearchGetProvidersResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchResultEntry; + _$v = other as _$UnifiedSearchGetProvidersResponseApplicationJson; } @override - void update(void Function(UnifiedSearchResultEntryBuilder)? updates) { + void update( + void Function(UnifiedSearchGetProvidersResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - UnifiedSearchResultEntry build() => _build(); + UnifiedSearchGetProvidersResponseApplicationJson build() => _build(); - _$UnifiedSearchResultEntry _build() { - _$UnifiedSearchResultEntry _$result; + _$UnifiedSearchGetProvidersResponseApplicationJson _build() { + _$UnifiedSearchGetProvidersResponseApplicationJson _$result; try { _$result = _$v ?? - _$UnifiedSearchResultEntry._( - thumbnailUrl: - BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'UnifiedSearchResultEntry', 'thumbnailUrl'), - title: BuiltValueNullFieldError.checkNotNull(title, r'UnifiedSearchResultEntry', 'title'), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'UnifiedSearchResultEntry', 'subline'), - resourceUrl: - BuiltValueNullFieldError.checkNotNull(resourceUrl, r'UnifiedSearchResultEntry', 'resourceUrl'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'UnifiedSearchResultEntry', 'icon'), - rounded: BuiltValueNullFieldError.checkNotNull(rounded, r'UnifiedSearchResultEntry', 'rounded'), - attributes: attributes.build()); + new _$UnifiedSearchGetProvidersResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'attributes'; - attributes.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UnifiedSearchResultEntry', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UnifiedSearchGetProvidersResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -26215,9 +31383,9 @@ class UnifiedSearchResultEntryBuilder } } -abstract mixin class UnifiedSearchResult_CursorInterfaceBuilder { - void replace(UnifiedSearchResult_CursorInterface other); - void update(void Function(UnifiedSearchResult_CursorInterfaceBuilder) updates); +abstract mixin class UnifiedSearchSearchCursorInterfaceBuilder { + void replace(UnifiedSearchSearchCursorInterface other); + void update(void Function(UnifiedSearchSearchCursorInterfaceBuilder) updates); int? get $int; set $int(int? $int); @@ -26225,7 +31393,7 @@ abstract mixin class UnifiedSearchResult_CursorInterfaceBuilder { set string(String? string); } -class _$UnifiedSearchResult_Cursor extends UnifiedSearchResult_Cursor { +class _$UnifiedSearchSearchCursor extends UnifiedSearchSearchCursor { @override final JsonObject data; @override @@ -26233,24 +31401,32 @@ class _$UnifiedSearchResult_Cursor extends UnifiedSearchResult_Cursor { @override final String? string; - factory _$UnifiedSearchResult_Cursor([void Function(UnifiedSearchResult_CursorBuilder)? updates]) => - (UnifiedSearchResult_CursorBuilder()..update(updates))._build(); + factory _$UnifiedSearchSearchCursor( + [void Function(UnifiedSearchSearchCursorBuilder)? updates]) => + (new UnifiedSearchSearchCursorBuilder()..update(updates))._build(); - _$UnifiedSearchResult_Cursor._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchResult_Cursor', 'data'); + _$UnifiedSearchSearchCursor._({required this.data, this.$int, this.string}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchSearchCursor', 'data'); } @override - UnifiedSearchResult_Cursor rebuild(void Function(UnifiedSearchResult_CursorBuilder) updates) => + UnifiedSearchSearchCursor rebuild( + void Function(UnifiedSearchSearchCursorBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UnifiedSearchResult_CursorBuilder toBuilder() => UnifiedSearchResult_CursorBuilder()..replace(this); + UnifiedSearchSearchCursorBuilder toBuilder() => + new UnifiedSearchSearchCursorBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchResult_Cursor && data == other.data && $int == other.$int && string == other.string; + return other is UnifiedSearchSearchCursor && + data == other.data && + $int == other.$int && + string == other.string; } @override @@ -26265,7 +31441,7 @@ class _$UnifiedSearchResult_Cursor extends UnifiedSearchResult_Cursor { @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchResult_Cursor') + return (newBuiltValueToStringHelper(r'UnifiedSearchSearchCursor') ..add('data', data) ..add('\$int', $int) ..add('string', string)) @@ -26273,11 +31449,11 @@ class _$UnifiedSearchResult_Cursor extends UnifiedSearchResult_Cursor { } } -class UnifiedSearchResult_CursorBuilder +class UnifiedSearchSearchCursorBuilder implements - Builder, - UnifiedSearchResult_CursorInterfaceBuilder { - _$UnifiedSearchResult_Cursor? _$v; + Builder, + UnifiedSearchSearchCursorInterfaceBuilder { + _$UnifiedSearchSearchCursor? _$v; JsonObject? _data; JsonObject? get data => _$this._data; @@ -26291,9 +31467,9 @@ class UnifiedSearchResult_CursorBuilder String? get string => _$this._string; set string(covariant String? string) => _$this._string = string; - UnifiedSearchResult_CursorBuilder(); + UnifiedSearchSearchCursorBuilder(); - UnifiedSearchResult_CursorBuilder get _$this { + UnifiedSearchSearchCursorBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data; @@ -26305,23 +31481,25 @@ class UnifiedSearchResult_CursorBuilder } @override - void replace(covariant UnifiedSearchResult_Cursor other) { + void replace(covariant UnifiedSearchSearchCursor other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchResult_Cursor; + _$v = other as _$UnifiedSearchSearchCursor; } @override - void update(void Function(UnifiedSearchResult_CursorBuilder)? updates) { + void update(void Function(UnifiedSearchSearchCursorBuilder)? updates) { if (updates != null) updates(this); } @override - UnifiedSearchResult_Cursor build() => _build(); + UnifiedSearchSearchCursor build() => _build(); - _$UnifiedSearchResult_Cursor _build() { + _$UnifiedSearchSearchCursor _build() { + UnifiedSearchSearchCursor._validate(this); final _$result = _$v ?? - _$UnifiedSearchResult_Cursor._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchResult_Cursor', 'data'), + new _$UnifiedSearchSearchCursor._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchSearchCursor', 'data'), $int: $int, string: string); replace(_$result); @@ -26329,158 +31507,12 @@ class UnifiedSearchResult_CursorBuilder } } -abstract mixin class UnifiedSearchResultInterfaceBuilder { - void replace(UnifiedSearchResultInterface other); - void update(void Function(UnifiedSearchResultInterfaceBuilder) updates); - String? get name; - set name(String? name); - - bool? get isPaginated; - set isPaginated(bool? isPaginated); - - ListBuilder get entries; - set entries(ListBuilder? entries); - - UnifiedSearchResult_CursorBuilder get cursor; - set cursor(UnifiedSearchResult_CursorBuilder? cursor); -} - -class _$UnifiedSearchResult extends UnifiedSearchResult { - @override - final String name; - @override - final bool isPaginated; - @override - final BuiltList entries; - @override - final UnifiedSearchResult_Cursor? cursor; - - factory _$UnifiedSearchResult([void Function(UnifiedSearchResultBuilder)? updates]) => - (UnifiedSearchResultBuilder()..update(updates))._build(); - - _$UnifiedSearchResult._({required this.name, required this.isPaginated, required this.entries, this.cursor}) - : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'UnifiedSearchResult', 'name'); - BuiltValueNullFieldError.checkNotNull(isPaginated, r'UnifiedSearchResult', 'isPaginated'); - BuiltValueNullFieldError.checkNotNull(entries, r'UnifiedSearchResult', 'entries'); - } - - @override - UnifiedSearchResult rebuild(void Function(UnifiedSearchResultBuilder) updates) => - (toBuilder()..update(updates)).build(); - - @override - UnifiedSearchResultBuilder toBuilder() => UnifiedSearchResultBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is UnifiedSearchResult && - name == other.name && - isPaginated == other.isPaginated && - entries == other.entries && - cursor == other.cursor; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, isPaginated.hashCode); - _$hash = $jc(_$hash, entries.hashCode); - _$hash = $jc(_$hash, cursor.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchResult') - ..add('name', name) - ..add('isPaginated', isPaginated) - ..add('entries', entries) - ..add('cursor', cursor)) - .toString(); - } -} - -class UnifiedSearchResultBuilder - implements Builder, UnifiedSearchResultInterfaceBuilder { - _$UnifiedSearchResult? _$v; - - String? _name; - String? get name => _$this._name; - set name(covariant String? name) => _$this._name = name; - - bool? _isPaginated; - bool? get isPaginated => _$this._isPaginated; - set isPaginated(covariant bool? isPaginated) => _$this._isPaginated = isPaginated; - - ListBuilder? _entries; - ListBuilder get entries => _$this._entries ??= ListBuilder(); - set entries(covariant ListBuilder? entries) => _$this._entries = entries; - - UnifiedSearchResult_CursorBuilder? _cursor; - UnifiedSearchResult_CursorBuilder get cursor => _$this._cursor ??= UnifiedSearchResult_CursorBuilder(); - set cursor(covariant UnifiedSearchResult_CursorBuilder? cursor) => _$this._cursor = cursor; - - UnifiedSearchResultBuilder(); - - UnifiedSearchResultBuilder get _$this { - final $v = _$v; - if ($v != null) { - _name = $v.name; - _isPaginated = $v.isPaginated; - _entries = $v.entries.toBuilder(); - _cursor = $v.cursor?.toBuilder(); - _$v = null; - } - return this; - } - - @override - void replace(covariant UnifiedSearchResult other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UnifiedSearchResult; - } - - @override - void update(void Function(UnifiedSearchResultBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - UnifiedSearchResult build() => _build(); - - _$UnifiedSearchResult _build() { - _$UnifiedSearchResult _$result; - try { - _$result = _$v ?? - _$UnifiedSearchResult._( - name: BuiltValueNullFieldError.checkNotNull(name, r'UnifiedSearchResult', 'name'), - isPaginated: BuiltValueNullFieldError.checkNotNull(isPaginated, r'UnifiedSearchResult', 'isPaginated'), - entries: entries.build(), - cursor: _cursor?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'entries'; - entries.build(); - _$failedField = 'cursor'; - _cursor?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'UnifiedSearchResult', _$failedField, e.toString()); - } - rethrow; - } - replace(_$result); - return _$result; - } -} - abstract mixin class UnifiedSearchSearchResponseApplicationJson_OcsInterfaceBuilder { void replace(UnifiedSearchSearchResponseApplicationJson_OcsInterface other); - void update(void Function(UnifiedSearchSearchResponseApplicationJson_OcsInterfaceBuilder) updates); + void update( + void Function( + UnifiedSearchSearchResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -26488,34 +31520,46 @@ abstract mixin class UnifiedSearchSearchResponseApplicationJson_OcsInterfaceBuil set data(UnifiedSearchResultBuilder? data); } -class _$UnifiedSearchSearchResponseApplicationJson_Ocs extends UnifiedSearchSearchResponseApplicationJson_Ocs { +class _$UnifiedSearchSearchResponseApplicationJson_Ocs + extends UnifiedSearchSearchResponseApplicationJson_Ocs { @override final OCSMeta meta; @override final UnifiedSearchResult data; factory _$UnifiedSearchSearchResponseApplicationJson_Ocs( - [void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? updates]) => - (UnifiedSearchSearchResponseApplicationJson_OcsBuilder()..update(updates))._build(); + [void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? + updates]) => + (new UnifiedSearchSearchResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); - _$UnifiedSearchSearchResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UnifiedSearchSearchResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UnifiedSearchSearchResponseApplicationJson_Ocs', 'data'); + _$UnifiedSearchSearchResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UnifiedSearchSearchResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UnifiedSearchSearchResponseApplicationJson_Ocs', 'data'); } @override UnifiedSearchSearchResponseApplicationJson_Ocs rebuild( - void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder) updates) => + void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override UnifiedSearchSearchResponseApplicationJson_OcsBuilder toBuilder() => - UnifiedSearchSearchResponseApplicationJson_OcsBuilder()..replace(this); + new UnifiedSearchSearchResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchSearchResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is UnifiedSearchSearchResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -26529,7 +31573,8 @@ class _$UnifiedSearchSearchResponseApplicationJson_Ocs extends UnifiedSearchSear @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchSearchResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'UnifiedSearchSearchResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -26538,16 +31583,18 @@ class _$UnifiedSearchSearchResponseApplicationJson_Ocs extends UnifiedSearchSear class UnifiedSearchSearchResponseApplicationJson_OcsBuilder implements - Builder, + Builder, UnifiedSearchSearchResponseApplicationJson_OcsInterfaceBuilder { _$UnifiedSearchSearchResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; UnifiedSearchResultBuilder? _data; - UnifiedSearchResultBuilder get data => _$this._data ??= UnifiedSearchResultBuilder(); + UnifiedSearchResultBuilder get data => + _$this._data ??= new UnifiedSearchResultBuilder(); set data(covariant UnifiedSearchResultBuilder? data) => _$this._data = data; UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); @@ -26569,7 +31616,9 @@ class UnifiedSearchSearchResponseApplicationJson_OcsBuilder } @override - void update(void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(UnifiedSearchSearchResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @@ -26579,7 +31628,9 @@ class UnifiedSearchSearchResponseApplicationJson_OcsBuilder _$UnifiedSearchSearchResponseApplicationJson_Ocs _build() { _$UnifiedSearchSearchResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UnifiedSearchSearchResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$UnifiedSearchSearchResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -26588,8 +31639,10 @@ class UnifiedSearchSearchResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'UnifiedSearchSearchResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UnifiedSearchSearchResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -26600,36 +31653,45 @@ class UnifiedSearchSearchResponseApplicationJson_OcsBuilder abstract mixin class UnifiedSearchSearchResponseApplicationJsonInterfaceBuilder { void replace(UnifiedSearchSearchResponseApplicationJsonInterface other); - void update(void Function(UnifiedSearchSearchResponseApplicationJsonInterfaceBuilder) updates); + void update( + void Function(UnifiedSearchSearchResponseApplicationJsonInterfaceBuilder) + updates); UnifiedSearchSearchResponseApplicationJson_OcsBuilder get ocs; set ocs(UnifiedSearchSearchResponseApplicationJson_OcsBuilder? ocs); } -class _$UnifiedSearchSearchResponseApplicationJson extends UnifiedSearchSearchResponseApplicationJson { +class _$UnifiedSearchSearchResponseApplicationJson + extends UnifiedSearchSearchResponseApplicationJson { @override final UnifiedSearchSearchResponseApplicationJson_Ocs ocs; factory _$UnifiedSearchSearchResponseApplicationJson( - [void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? updates]) => - (UnifiedSearchSearchResponseApplicationJsonBuilder()..update(updates))._build(); + [void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? + updates]) => + (new UnifiedSearchSearchResponseApplicationJsonBuilder()..update(updates)) + ._build(); - _$UnifiedSearchSearchResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UnifiedSearchSearchResponseApplicationJson', 'ocs'); + _$UnifiedSearchSearchResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'UnifiedSearchSearchResponseApplicationJson', 'ocs'); } @override UnifiedSearchSearchResponseApplicationJson rebuild( - void Function(UnifiedSearchSearchResponseApplicationJsonBuilder) updates) => + void Function(UnifiedSearchSearchResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override UnifiedSearchSearchResponseApplicationJsonBuilder toBuilder() => - UnifiedSearchSearchResponseApplicationJsonBuilder()..replace(this); + new UnifiedSearchSearchResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UnifiedSearchSearchResponseApplicationJson && ocs == other.ocs; + return other is UnifiedSearchSearchResponseApplicationJson && + ocs == other.ocs; } @override @@ -26642,20 +31704,28 @@ class _$UnifiedSearchSearchResponseApplicationJson extends UnifiedSearchSearchRe @override String toString() { - return (newBuiltValueToStringHelper(r'UnifiedSearchSearchResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'UnifiedSearchSearchResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } class UnifiedSearchSearchResponseApplicationJsonBuilder implements - Builder, + Builder, UnifiedSearchSearchResponseApplicationJsonInterfaceBuilder { _$UnifiedSearchSearchResponseApplicationJson? _$v; UnifiedSearchSearchResponseApplicationJson_OcsBuilder? _ocs; UnifiedSearchSearchResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); - set ocs(covariant UnifiedSearchSearchResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= + new UnifiedSearchSearchResponseApplicationJson_OcsBuilder(); + set ocs( + covariant UnifiedSearchSearchResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; UnifiedSearchSearchResponseApplicationJsonBuilder(); @@ -26675,7 +31745,9 @@ class UnifiedSearchSearchResponseApplicationJsonBuilder } @override - void update(void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? updates) { + void update( + void Function(UnifiedSearchSearchResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @@ -26685,14 +31757,18 @@ class UnifiedSearchSearchResponseApplicationJsonBuilder _$UnifiedSearchSearchResponseApplicationJson _build() { _$UnifiedSearchSearchResponseApplicationJson _$result; try { - _$result = _$v ?? _$UnifiedSearchSearchResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$UnifiedSearchSearchResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UnifiedSearchSearchResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'UnifiedSearchSearchResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -26702,8 +31778,12 @@ class UnifiedSearchSearchResponseApplicationJsonBuilder } abstract mixin class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterfaceBuilder { - void replace(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterface other); - void update(void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterfaceBuilder) updates); + void replace( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterface other); + void update( + void Function( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewInterfaceBuilder) + updates); ListBuilder get regular; set regular(ListBuilder? regular); @@ -26719,22 +31799,33 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew final BuiltList admin; factory _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew( - [void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? updates]) => - (WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder()..update(updates))._build(); + [void Function( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? + updates]) => + (new WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder() + ..update(updates)) + ._build(); - _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew._({required this.regular, required this.admin}) : super._() { - BuiltValueNullFieldError.checkNotNull(regular, r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', 'regular'); - BuiltValueNullFieldError.checkNotNull(admin, r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', 'admin'); + _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew._( + {required this.regular, required this.admin}) + : super._() { + BuiltValueNullFieldError.checkNotNull(regular, + r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', 'regular'); + BuiltValueNullFieldError.checkNotNull(admin, + r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', 'admin'); } @override WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew rebuild( - void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder) updates) => + void Function( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder) + updates) => (toBuilder()..update(updates)).build(); @override WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder toBuilder() => - WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder()..replace(this); + new WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder() + ..replace(this); @override bool operator ==(Object other) { @@ -26755,7 +31846,8 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew') + return (newBuiltValueToStringHelper( + r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew') ..add('regular', regular) ..add('admin', admin)) .toString(); @@ -26770,11 +31862,13 @@ class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew? _$v; ListBuilder? _regular; - ListBuilder get regular => _$this._regular ??= ListBuilder(); - set regular(covariant ListBuilder? regular) => _$this._regular = regular; + ListBuilder get regular => + _$this._regular ??= new ListBuilder(); + set regular(covariant ListBuilder? regular) => + _$this._regular = regular; ListBuilder? _admin; - ListBuilder get admin => _$this._admin ??= ListBuilder(); + ListBuilder get admin => _$this._admin ??= new ListBuilder(); set admin(covariant ListBuilder? admin) => _$this._admin = admin; WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); @@ -26790,13 +31884,17 @@ class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder } @override - void replace(covariant WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew other) { + void replace( + covariant WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew; } @override - void update(void Function(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? updates) { + void update( + void Function( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder)? + updates) { if (updates != null) updates(this); } @@ -26807,7 +31905,8 @@ class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew _$result; try { _$result = _$v ?? - _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew._(regular: regular.build(), admin: admin.build()); + new _$WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew._( + regular: regular.build(), admin: admin.build()); } catch (_) { late String _$failedField; try { @@ -26816,8 +31915,10 @@ class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder _$failedField = 'admin'; admin.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew', + _$failedField, + e.toString()); } rethrow; } @@ -26828,7 +31929,9 @@ class WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder abstract mixin class WhatsNewGetResponseApplicationJson_Ocs_DataInterfaceBuilder { void replace(WhatsNewGetResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(WhatsNewGetResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + void update( + void Function(WhatsNewGetResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); String? get changelogURL; set changelogURL(String? changelogURL); @@ -26839,10 +31942,12 @@ abstract mixin class WhatsNewGetResponseApplicationJson_Ocs_DataInterfaceBuilder set version(String? version); WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder get whatsNew; - set whatsNew(WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder? whatsNew); + set whatsNew( + WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder? whatsNew); } -class _$WhatsNewGetResponseApplicationJson_Ocs_Data extends WhatsNewGetResponseApplicationJson_Ocs_Data { +class _$WhatsNewGetResponseApplicationJson_Ocs_Data + extends WhatsNewGetResponseApplicationJson_Ocs_Data { @override final String changelogURL; @override @@ -26853,25 +31958,35 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data extends WhatsNewGetResponseA final WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNew? whatsNew; factory _$WhatsNewGetResponseApplicationJson_Ocs_Data( - [void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (WhatsNewGetResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + [void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new WhatsNewGetResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); _$WhatsNewGetResponseApplicationJson_Ocs_Data._( - {required this.changelogURL, required this.product, required this.version, this.whatsNew}) + {required this.changelogURL, + required this.product, + required this.version, + this.whatsNew}) : super._() { - BuiltValueNullFieldError.checkNotNull(changelogURL, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'changelogURL'); - BuiltValueNullFieldError.checkNotNull(product, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'product'); - BuiltValueNullFieldError.checkNotNull(version, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'version'); + BuiltValueNullFieldError.checkNotNull(changelogURL, + r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'changelogURL'); + BuiltValueNullFieldError.checkNotNull( + product, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'product'); + BuiltValueNullFieldError.checkNotNull( + version, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'version'); } @override WhatsNewGetResponseApplicationJson_Ocs_Data rebuild( - void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder) updates) => + void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override WhatsNewGetResponseApplicationJson_Ocs_DataBuilder toBuilder() => - WhatsNewGetResponseApplicationJson_Ocs_DataBuilder()..replace(this); + new WhatsNewGetResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { @@ -26896,7 +32011,8 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data extends WhatsNewGetResponseA @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewGetResponseApplicationJson_Ocs_Data') + return (newBuiltValueToStringHelper( + r'WhatsNewGetResponseApplicationJson_Ocs_Data') ..add('changelogURL', changelogURL) ..add('product', product) ..add('version', version) @@ -26907,13 +32023,15 @@ class _$WhatsNewGetResponseApplicationJson_Ocs_Data extends WhatsNewGetResponseA class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder implements - Builder, + Builder, WhatsNewGetResponseApplicationJson_Ocs_DataInterfaceBuilder { _$WhatsNewGetResponseApplicationJson_Ocs_Data? _$v; String? _changelogURL; String? get changelogURL => _$this._changelogURL; - set changelogURL(covariant String? changelogURL) => _$this._changelogURL = changelogURL; + set changelogURL(covariant String? changelogURL) => + _$this._changelogURL = changelogURL; String? _product; String? get product => _$this._product; @@ -26925,8 +32043,11 @@ class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder? _whatsNew; WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder get whatsNew => - _$this._whatsNew ??= WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); - set whatsNew(covariant WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder? whatsNew) => + _$this._whatsNew ??= + new WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder(); + set whatsNew( + covariant WhatsNewGetResponseApplicationJson_Ocs_Data_WhatsNewBuilder? + whatsNew) => _$this._whatsNew = whatsNew; WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); @@ -26950,7 +32071,9 @@ class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder } @override - void update(void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @@ -26961,13 +32084,15 @@ class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder _$WhatsNewGetResponseApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$WhatsNewGetResponseApplicationJson_Ocs_Data._( + new _$WhatsNewGetResponseApplicationJson_Ocs_Data._( changelogURL: BuiltValueNullFieldError.checkNotNull( - changelogURL, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'changelogURL'), - product: BuiltValueNullFieldError.checkNotNull( - product, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'product'), - version: BuiltValueNullFieldError.checkNotNull( - version, r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'version'), + changelogURL, + r'WhatsNewGetResponseApplicationJson_Ocs_Data', + 'changelogURL'), + product: BuiltValueNullFieldError.checkNotNull(product, + r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'product'), + version: BuiltValueNullFieldError.checkNotNull(version, + r'WhatsNewGetResponseApplicationJson_Ocs_Data', 'version'), whatsNew: _whatsNew?.build()); } catch (_) { late String _$failedField; @@ -26975,7 +32100,10 @@ class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder _$failedField = 'whatsNew'; _whatsNew?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WhatsNewGetResponseApplicationJson_Ocs_Data', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewGetResponseApplicationJson_Ocs_Data', + _$failedField, + e.toString()); } rethrow; } @@ -26986,7 +32114,9 @@ class WhatsNewGetResponseApplicationJson_Ocs_DataBuilder abstract mixin class WhatsNewGetResponseApplicationJson_OcsInterfaceBuilder { void replace(WhatsNewGetResponseApplicationJson_OcsInterface other); - void update(void Function(WhatsNewGetResponseApplicationJson_OcsInterfaceBuilder) updates); + void update( + void Function(WhatsNewGetResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -26994,34 +32124,44 @@ abstract mixin class WhatsNewGetResponseApplicationJson_OcsInterfaceBuilder { set data(WhatsNewGetResponseApplicationJson_Ocs_DataBuilder? data); } -class _$WhatsNewGetResponseApplicationJson_Ocs extends WhatsNewGetResponseApplicationJson_Ocs { +class _$WhatsNewGetResponseApplicationJson_Ocs + extends WhatsNewGetResponseApplicationJson_Ocs { @override final OCSMeta meta; @override final WhatsNewGetResponseApplicationJson_Ocs_Data data; factory _$WhatsNewGetResponseApplicationJson_Ocs( - [void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? updates]) => - (WhatsNewGetResponseApplicationJson_OcsBuilder()..update(updates))._build(); + [void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? + updates]) => + (new WhatsNewGetResponseApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$WhatsNewGetResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'WhatsNewGetResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'WhatsNewGetResponseApplicationJson_Ocs', 'data'); + _$WhatsNewGetResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'WhatsNewGetResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'WhatsNewGetResponseApplicationJson_Ocs', 'data'); } @override WhatsNewGetResponseApplicationJson_Ocs rebuild( - void Function(WhatsNewGetResponseApplicationJson_OcsBuilder) updates) => + void Function(WhatsNewGetResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override WhatsNewGetResponseApplicationJson_OcsBuilder toBuilder() => - WhatsNewGetResponseApplicationJson_OcsBuilder()..replace(this); + new WhatsNewGetResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WhatsNewGetResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is WhatsNewGetResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -27035,7 +32175,8 @@ class _$WhatsNewGetResponseApplicationJson_Ocs extends WhatsNewGetResponseApplic @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewGetResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'WhatsNewGetResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -27044,18 +32185,21 @@ class _$WhatsNewGetResponseApplicationJson_Ocs extends WhatsNewGetResponseApplic class WhatsNewGetResponseApplicationJson_OcsBuilder implements - Builder, + Builder, WhatsNewGetResponseApplicationJson_OcsInterfaceBuilder { _$WhatsNewGetResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; WhatsNewGetResponseApplicationJson_Ocs_DataBuilder? _data; WhatsNewGetResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant WhatsNewGetResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + _$this._data ??= new WhatsNewGetResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant WhatsNewGetResponseApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; WhatsNewGetResponseApplicationJson_OcsBuilder(); @@ -27076,7 +32220,8 @@ class WhatsNewGetResponseApplicationJson_OcsBuilder } @override - void update(void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(WhatsNewGetResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @@ -27086,7 +32231,9 @@ class WhatsNewGetResponseApplicationJson_OcsBuilder _$WhatsNewGetResponseApplicationJson_Ocs _build() { _$WhatsNewGetResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$WhatsNewGetResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$WhatsNewGetResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -27095,7 +32242,10 @@ class WhatsNewGetResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WhatsNewGetResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewGetResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -27106,28 +32256,37 @@ class WhatsNewGetResponseApplicationJson_OcsBuilder abstract mixin class WhatsNewGetResponseApplicationJsonInterfaceBuilder { void replace(WhatsNewGetResponseApplicationJsonInterface other); - void update(void Function(WhatsNewGetResponseApplicationJsonInterfaceBuilder) updates); + void update( + void Function(WhatsNewGetResponseApplicationJsonInterfaceBuilder) + updates); WhatsNewGetResponseApplicationJson_OcsBuilder get ocs; set ocs(WhatsNewGetResponseApplicationJson_OcsBuilder? ocs); } -class _$WhatsNewGetResponseApplicationJson extends WhatsNewGetResponseApplicationJson { +class _$WhatsNewGetResponseApplicationJson + extends WhatsNewGetResponseApplicationJson { @override final WhatsNewGetResponseApplicationJson_Ocs ocs; - factory _$WhatsNewGetResponseApplicationJson([void Function(WhatsNewGetResponseApplicationJsonBuilder)? updates]) => - (WhatsNewGetResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$WhatsNewGetResponseApplicationJson( + [void Function(WhatsNewGetResponseApplicationJsonBuilder)? + updates]) => + (new WhatsNewGetResponseApplicationJsonBuilder()..update(updates)) + ._build(); _$WhatsNewGetResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'WhatsNewGetResponseApplicationJson', 'ocs'); + BuiltValueNullFieldError.checkNotNull( + ocs, r'WhatsNewGetResponseApplicationJson', 'ocs'); } @override - WhatsNewGetResponseApplicationJson rebuild(void Function(WhatsNewGetResponseApplicationJsonBuilder) updates) => + WhatsNewGetResponseApplicationJson rebuild( + void Function(WhatsNewGetResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - WhatsNewGetResponseApplicationJsonBuilder toBuilder() => WhatsNewGetResponseApplicationJsonBuilder()..replace(this); + WhatsNewGetResponseApplicationJsonBuilder toBuilder() => + new WhatsNewGetResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { @@ -27145,20 +32304,24 @@ class _$WhatsNewGetResponseApplicationJson extends WhatsNewGetResponseApplicatio @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewGetResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'WhatsNewGetResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } class WhatsNewGetResponseApplicationJsonBuilder implements - Builder, + Builder, WhatsNewGetResponseApplicationJsonInterfaceBuilder { _$WhatsNewGetResponseApplicationJson? _$v; WhatsNewGetResponseApplicationJson_OcsBuilder? _ocs; WhatsNewGetResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= WhatsNewGetResponseApplicationJson_OcsBuilder(); - set ocs(covariant WhatsNewGetResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= new WhatsNewGetResponseApplicationJson_OcsBuilder(); + set ocs(covariant WhatsNewGetResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; WhatsNewGetResponseApplicationJsonBuilder(); @@ -27178,7 +32341,8 @@ class WhatsNewGetResponseApplicationJsonBuilder } @override - void update(void Function(WhatsNewGetResponseApplicationJsonBuilder)? updates) { + void update( + void Function(WhatsNewGetResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @@ -27188,14 +32352,16 @@ class WhatsNewGetResponseApplicationJsonBuilder _$WhatsNewGetResponseApplicationJson _build() { _$WhatsNewGetResponseApplicationJson _$result; try { - _$result = _$v ?? _$WhatsNewGetResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? new _$WhatsNewGetResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WhatsNewGetResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewGetResponseApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -27206,7 +32372,9 @@ class WhatsNewGetResponseApplicationJsonBuilder abstract mixin class WhatsNewDismissResponseApplicationJson_OcsInterfaceBuilder { void replace(WhatsNewDismissResponseApplicationJson_OcsInterface other); - void update(void Function(WhatsNewDismissResponseApplicationJson_OcsInterfaceBuilder) updates); + void update( + void Function(WhatsNewDismissResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -27214,34 +32382,44 @@ abstract mixin class WhatsNewDismissResponseApplicationJson_OcsInterfaceBuilder set data(JsonObject? data); } -class _$WhatsNewDismissResponseApplicationJson_Ocs extends WhatsNewDismissResponseApplicationJson_Ocs { +class _$WhatsNewDismissResponseApplicationJson_Ocs + extends WhatsNewDismissResponseApplicationJson_Ocs { @override final OCSMeta meta; @override final JsonObject data; factory _$WhatsNewDismissResponseApplicationJson_Ocs( - [void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? updates]) => - (WhatsNewDismissResponseApplicationJson_OcsBuilder()..update(updates))._build(); + [void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? + updates]) => + (new WhatsNewDismissResponseApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$WhatsNewDismissResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'WhatsNewDismissResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'WhatsNewDismissResponseApplicationJson_Ocs', 'data'); + _$WhatsNewDismissResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'WhatsNewDismissResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'WhatsNewDismissResponseApplicationJson_Ocs', 'data'); } @override WhatsNewDismissResponseApplicationJson_Ocs rebuild( - void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder) updates) => + void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override WhatsNewDismissResponseApplicationJson_OcsBuilder toBuilder() => - WhatsNewDismissResponseApplicationJson_OcsBuilder()..replace(this); + new WhatsNewDismissResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WhatsNewDismissResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is WhatsNewDismissResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -27255,7 +32433,8 @@ class _$WhatsNewDismissResponseApplicationJson_Ocs extends WhatsNewDismissRespon @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewDismissResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'WhatsNewDismissResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -27264,12 +32443,13 @@ class _$WhatsNewDismissResponseApplicationJson_Ocs extends WhatsNewDismissRespon class WhatsNewDismissResponseApplicationJson_OcsBuilder implements - Builder, + Builder, WhatsNewDismissResponseApplicationJson_OcsInterfaceBuilder { _$WhatsNewDismissResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; JsonObject? _data; @@ -27295,7 +32475,9 @@ class WhatsNewDismissResponseApplicationJson_OcsBuilder } @override - void update(void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(WhatsNewDismissResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @@ -27306,16 +32488,20 @@ class WhatsNewDismissResponseApplicationJson_OcsBuilder _$WhatsNewDismissResponseApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$WhatsNewDismissResponseApplicationJson_Ocs._( + new _$WhatsNewDismissResponseApplicationJson_Ocs._( meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull(data, r'WhatsNewDismissResponseApplicationJson_Ocs', 'data')); + data: BuiltValueNullFieldError.checkNotNull( + data, r'WhatsNewDismissResponseApplicationJson_Ocs', 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WhatsNewDismissResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewDismissResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -27326,31 +32512,38 @@ class WhatsNewDismissResponseApplicationJson_OcsBuilder abstract mixin class WhatsNewDismissResponseApplicationJsonInterfaceBuilder { void replace(WhatsNewDismissResponseApplicationJsonInterface other); - void update(void Function(WhatsNewDismissResponseApplicationJsonInterfaceBuilder) updates); + void update( + void Function(WhatsNewDismissResponseApplicationJsonInterfaceBuilder) + updates); WhatsNewDismissResponseApplicationJson_OcsBuilder get ocs; set ocs(WhatsNewDismissResponseApplicationJson_OcsBuilder? ocs); } -class _$WhatsNewDismissResponseApplicationJson extends WhatsNewDismissResponseApplicationJson { +class _$WhatsNewDismissResponseApplicationJson + extends WhatsNewDismissResponseApplicationJson { @override final WhatsNewDismissResponseApplicationJson_Ocs ocs; factory _$WhatsNewDismissResponseApplicationJson( - [void Function(WhatsNewDismissResponseApplicationJsonBuilder)? updates]) => - (WhatsNewDismissResponseApplicationJsonBuilder()..update(updates))._build(); + [void Function(WhatsNewDismissResponseApplicationJsonBuilder)? + updates]) => + (new WhatsNewDismissResponseApplicationJsonBuilder()..update(updates)) + ._build(); _$WhatsNewDismissResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'WhatsNewDismissResponseApplicationJson', 'ocs'); + BuiltValueNullFieldError.checkNotNull( + ocs, r'WhatsNewDismissResponseApplicationJson', 'ocs'); } @override WhatsNewDismissResponseApplicationJson rebuild( - void Function(WhatsNewDismissResponseApplicationJsonBuilder) updates) => + void Function(WhatsNewDismissResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override WhatsNewDismissResponseApplicationJsonBuilder toBuilder() => - WhatsNewDismissResponseApplicationJsonBuilder()..replace(this); + new WhatsNewDismissResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { @@ -27368,20 +32561,25 @@ class _$WhatsNewDismissResponseApplicationJson extends WhatsNewDismissResponseAp @override String toString() { - return (newBuiltValueToStringHelper(r'WhatsNewDismissResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'WhatsNewDismissResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } class WhatsNewDismissResponseApplicationJsonBuilder implements - Builder, + Builder, WhatsNewDismissResponseApplicationJsonInterfaceBuilder { _$WhatsNewDismissResponseApplicationJson? _$v; WhatsNewDismissResponseApplicationJson_OcsBuilder? _ocs; WhatsNewDismissResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= WhatsNewDismissResponseApplicationJson_OcsBuilder(); - set ocs(covariant WhatsNewDismissResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= new WhatsNewDismissResponseApplicationJson_OcsBuilder(); + set ocs(covariant WhatsNewDismissResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; WhatsNewDismissResponseApplicationJsonBuilder(); @@ -27401,7 +32599,8 @@ class WhatsNewDismissResponseApplicationJsonBuilder } @override - void update(void Function(WhatsNewDismissResponseApplicationJsonBuilder)? updates) { + void update( + void Function(WhatsNewDismissResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @@ -27411,14 +32610,18 @@ class WhatsNewDismissResponseApplicationJsonBuilder _$WhatsNewDismissResponseApplicationJson _build() { _$WhatsNewDismissResponseApplicationJson _$result; try { - _$result = _$v ?? _$WhatsNewDismissResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$WhatsNewDismissResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'WhatsNewDismissResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WhatsNewDismissResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -27429,30 +32632,37 @@ class WhatsNewDismissResponseApplicationJsonBuilder abstract mixin class WipeCheckWipeResponseApplicationJsonInterfaceBuilder { void replace(WipeCheckWipeResponseApplicationJsonInterface other); - void update(void Function(WipeCheckWipeResponseApplicationJsonInterfaceBuilder) updates); + void update( + void Function(WipeCheckWipeResponseApplicationJsonInterfaceBuilder) + updates); bool? get wipe; set wipe(bool? wipe); } -class _$WipeCheckWipeResponseApplicationJson extends WipeCheckWipeResponseApplicationJson { +class _$WipeCheckWipeResponseApplicationJson + extends WipeCheckWipeResponseApplicationJson { @override final bool wipe; factory _$WipeCheckWipeResponseApplicationJson( - [void Function(WipeCheckWipeResponseApplicationJsonBuilder)? updates]) => - (WipeCheckWipeResponseApplicationJsonBuilder()..update(updates))._build(); + [void Function(WipeCheckWipeResponseApplicationJsonBuilder)? + updates]) => + (new WipeCheckWipeResponseApplicationJsonBuilder()..update(updates)) + ._build(); _$WipeCheckWipeResponseApplicationJson._({required this.wipe}) : super._() { - BuiltValueNullFieldError.checkNotNull(wipe, r'WipeCheckWipeResponseApplicationJson', 'wipe'); + BuiltValueNullFieldError.checkNotNull( + wipe, r'WipeCheckWipeResponseApplicationJson', 'wipe'); } @override - WipeCheckWipeResponseApplicationJson rebuild(void Function(WipeCheckWipeResponseApplicationJsonBuilder) updates) => + WipeCheckWipeResponseApplicationJson rebuild( + void Function(WipeCheckWipeResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override WipeCheckWipeResponseApplicationJsonBuilder toBuilder() => - WipeCheckWipeResponseApplicationJsonBuilder()..replace(this); + new WipeCheckWipeResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { @@ -27470,13 +32680,16 @@ class _$WipeCheckWipeResponseApplicationJson extends WipeCheckWipeResponseApplic @override String toString() { - return (newBuiltValueToStringHelper(r'WipeCheckWipeResponseApplicationJson')..add('wipe', wipe)).toString(); + return (newBuiltValueToStringHelper(r'WipeCheckWipeResponseApplicationJson') + ..add('wipe', wipe)) + .toString(); } } class WipeCheckWipeResponseApplicationJsonBuilder implements - Builder, + Builder, WipeCheckWipeResponseApplicationJsonInterfaceBuilder { _$WipeCheckWipeResponseApplicationJson? _$v; @@ -27502,7 +32715,8 @@ class WipeCheckWipeResponseApplicationJsonBuilder } @override - void update(void Function(WipeCheckWipeResponseApplicationJsonBuilder)? updates) { + void update( + void Function(WipeCheckWipeResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @@ -27511,8 +32725,9 @@ class WipeCheckWipeResponseApplicationJsonBuilder _$WipeCheckWipeResponseApplicationJson _build() { final _$result = _$v ?? - _$WipeCheckWipeResponseApplicationJson._( - wipe: BuiltValueNullFieldError.checkNotNull(wipe, r'WipeCheckWipeResponseApplicationJson', 'wipe')); + new _$WipeCheckWipeResponseApplicationJson._( + wipe: BuiltValueNullFieldError.checkNotNull( + wipe, r'WipeCheckWipeResponseApplicationJson', 'wipe')); replace(_$result); return _$result; } diff --git a/packages/nextcloud/lib/src/api/dashboard.openapi.dart b/packages/nextcloud/lib/src/api/dashboard.openapi.dart index f0abf0302a2..d378fed4a4c 100644 --- a/packages/nextcloud/lib/src/api/dashboard.openapi.dart +++ b/packages/nextcloud/lib/src/api/dashboard.openapi.dart @@ -2,16 +2,19 @@ // ignore_for_file: discarded_futures // ignore_for_file: public_member_api_docs // ignore_for_file: unreachable_switch_case +import 'dart:convert'; import 'dart:typed_data'; import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; import 'package:dynamite_runtime/models.dart'; +import 'package:dynamite_runtime/utils.dart'; import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; @@ -27,7 +30,7 @@ class Client extends DynamiteClient { super.authentications, }); - Client.fromClient(final DynamiteClient client) + Client.fromClient(DynamiteClient client) : super( client.baseURL, baseHeaders: client.baseHeaders, @@ -57,9 +60,8 @@ class DashboardApiClient { /// /// See: /// * [getWidgetsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> getWidgets({ - final bool oCSAPIRequest = true, - }) async { + Future> getWidgets( + {bool oCSAPIRequest = true}) async { final rawResponse = getWidgetsRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -83,14 +85,12 @@ class DashboardApiClient { /// See: /// * [getWidgets] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse getWidgetsRaw({ - final bool oCSAPIRequest = true, - }) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse getWidgetsRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -101,7 +101,7 @@ class DashboardApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -109,19 +109,19 @@ class DashboardApiClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/dashboard/api/v1/widgets'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/dashboard/api/v1/widgets'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DashboardApiGetWidgetsResponseApplicationJson), + bodyType: FullType(DashboardApiGetWidgetsResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -144,10 +144,10 @@ class DashboardApiClient { /// See: /// * [getWidgetItemsRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getWidgetItems({ - final ContentString>? sinceIds, - final int limit = 7, - final List widgets = const [], - final bool oCSAPIRequest = true, + ContentString>? sinceIds, + int limit = 7, + List widgets = const [], + bool oCSAPIRequest = true, }) async { final rawResponse = getWidgetItemsRaw( sinceIds: sinceIds, @@ -179,16 +179,16 @@ class DashboardApiClient { /// * [getWidgetItems] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getWidgetItemsRaw({ - final ContentString>? sinceIds, - final int limit = 7, - final List widgets = const [], - final bool oCSAPIRequest = true, + ContentString>? sinceIds, + int limit = 7, + List widgets = const [], + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -199,7 +199,7 @@ class DashboardApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -208,32 +208,30 @@ class DashboardApiClient { // coverage:ignore-end if (sinceIds != null) { - queryParameters['sinceIds'] = _jsonSerializers.serialize( - sinceIds, - specifiedType: const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(String)]), - ]), - ); + _queryParameters['sinceIds'] = _jsonSerializers.serialize(sinceIds, + specifiedType: const FullType(ContentString, [ + FullType(BuiltMap, [FullType(String), FullType(String)]) + ])); } if (limit != 7) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } if (widgets != const []) { - queryParameters['widgets[]'] = widgets.map((final e) => e); + _queryParameters['widgets[]'] = widgets.map((final e) => e); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/dashboard/api/v1/widget-items'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/dashboard/api/v1/widget-items'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DashboardApiGetWidgetItemsResponseApplicationJson), + bodyType: FullType(DashboardApiGetWidgetItemsResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -256,10 +254,10 @@ class DashboardApiClient { /// See: /// * [getWidgetItemsV2Raw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getWidgetItemsV2({ - final ContentString>? sinceIds, - final int limit = 7, - final List widgets = const [], - final bool oCSAPIRequest = true, + ContentString>? sinceIds, + int limit = 7, + List widgets = const [], + bool oCSAPIRequest = true, }) async { final rawResponse = getWidgetItemsV2Raw( sinceIds: sinceIds, @@ -291,16 +289,16 @@ class DashboardApiClient { /// * [getWidgetItemsV2] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getWidgetItemsV2Raw({ - final ContentString>? sinceIds, - final int limit = 7, - final List widgets = const [], - final bool oCSAPIRequest = true, + ContentString>? sinceIds, + int limit = 7, + List widgets = const [], + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -311,7 +309,7 @@ class DashboardApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -320,32 +318,30 @@ class DashboardApiClient { // coverage:ignore-end if (sinceIds != null) { - queryParameters['sinceIds'] = _jsonSerializers.serialize( - sinceIds, - specifiedType: const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(String)]), - ]), - ); + _queryParameters['sinceIds'] = _jsonSerializers.serialize(sinceIds, + specifiedType: const FullType(ContentString, [ + FullType(BuiltMap, [FullType(String), FullType(String)]) + ])); } if (limit != 7) { - queryParameters['limit'] = limit.toString(); + _queryParameters['limit'] = limit.toString(); } if (widgets != const []) { - queryParameters['widgets[]'] = widgets.map((final e) => e); + _queryParameters['widgets[]'] = widgets.map((final e) => e); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/dashboard/api/v2/widget-items'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/dashboard/api/v2/widget-items'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson), + bodyType: FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -362,14 +358,14 @@ abstract interface class OCSMetaInterface { } abstract class OCSMeta implements OCSMetaInterface, Built { - factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; + factory OCSMeta([void Function(OCSMetaBuilder)? b]) = _$OCSMeta; // coverage:ignore-start const OCSMeta._(); // coverage:ignore-end // coverage:ignore-start - factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory OCSMeta.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -387,15 +383,14 @@ abstract interface class Widget_ButtonsInterface { } abstract class Widget_Buttons implements Widget_ButtonsInterface, Built { - factory Widget_Buttons([final void Function(Widget_ButtonsBuilder)? b]) = _$Widget_Buttons; + factory Widget_Buttons([void Function(Widget_ButtonsBuilder)? b]) = _$Widget_Buttons; // coverage:ignore-start const Widget_Buttons._(); // coverage:ignore-end // coverage:ignore-start - factory Widget_Buttons.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + factory Widget_Buttons.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -426,14 +421,14 @@ abstract interface class WidgetInterface { } abstract class Widget implements WidgetInterface, Built { - factory Widget([final void Function(WidgetBuilder)? b]) = _$Widget; + factory Widget([void Function(WidgetBuilder)? b]) = _$Widget; // coverage:ignore-start const Widget._(); // coverage:ignore-end // coverage:ignore-start - factory Widget.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory Widget.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -443,6 +438,59 @@ abstract class Widget implements WidgetInterface, Built { static Serializer get serializer => _$widgetSerializer; } +@BuiltValue(instantiable: false) +abstract interface class WidgetItemInterface { + String get subtitle; + String get title; + String get link; + String get iconUrl; + String get overlayIconUrl; + String get sinceId; +} + +abstract class WidgetItem implements WidgetItemInterface, Built { + factory WidgetItem([void Function(WidgetItemBuilder)? b]) = _$WidgetItem; + + // coverage:ignore-start + const WidgetItem._(); + // coverage:ignore-end + + // coverage:ignore-start + factory WidgetItem.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$widgetItemSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class WidgetItemsInterface { + BuiltList get items; + String get emptyContentMessage; + String get halfEmptyContentMessage; +} + +abstract class WidgetItems implements WidgetItemsInterface, Built { + factory WidgetItems([void Function(WidgetItemsBuilder)? b]) = _$WidgetItems; + + // coverage:ignore-start + const WidgetItems._(); + // coverage:ignore-end + + // coverage:ignore-start + factory WidgetItems.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$widgetItemsSerializer; +} + @BuiltValue(instantiable: false) abstract interface class DashboardApiGetWidgetsResponseApplicationJson_OcsInterface { OCSMeta get meta; @@ -454,16 +502,16 @@ abstract class DashboardApiGetWidgetsResponseApplicationJson_Ocs DashboardApiGetWidgetsResponseApplicationJson_OcsInterface, Built { - factory DashboardApiGetWidgetsResponseApplicationJson_Ocs([ - final void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? b, - ]) = _$DashboardApiGetWidgetsResponseApplicationJson_Ocs; + factory DashboardApiGetWidgetsResponseApplicationJson_Ocs( + [void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? b]) = + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs; // coverage:ignore-start const DashboardApiGetWidgetsResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetsResponseApplicationJson_Ocs.fromJson(final Map json) => + factory DashboardApiGetWidgetsResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -484,16 +532,16 @@ abstract class DashboardApiGetWidgetsResponseApplicationJson implements DashboardApiGetWidgetsResponseApplicationJsonInterface, Built { - factory DashboardApiGetWidgetsResponseApplicationJson([ - final void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? b, - ]) = _$DashboardApiGetWidgetsResponseApplicationJson; + factory DashboardApiGetWidgetsResponseApplicationJson( + [void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? b]) = + _$DashboardApiGetWidgetsResponseApplicationJson; // coverage:ignore-start const DashboardApiGetWidgetsResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetsResponseApplicationJson.fromJson(final Map json) => + factory DashboardApiGetWidgetsResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -505,34 +553,6 @@ abstract class DashboardApiGetWidgetsResponseApplicationJson _$dashboardApiGetWidgetsResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class WidgetItemInterface { - String get subtitle; - String get title; - String get link; - String get iconUrl; - String get overlayIconUrl; - String get sinceId; -} - -abstract class WidgetItem implements WidgetItemInterface, Built { - factory WidgetItem([final void Function(WidgetItemBuilder)? b]) = _$WidgetItem; - - // coverage:ignore-start - const WidgetItem._(); - // coverage:ignore-end - - // coverage:ignore-start - factory WidgetItem.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$widgetItemSerializer; -} - @BuiltValue(instantiable: false) abstract interface class DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterface { OCSMeta get meta; @@ -544,16 +564,16 @@ abstract class DashboardApiGetWidgetItemsResponseApplicationJson_Ocs DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterface, Built { - factory DashboardApiGetWidgetItemsResponseApplicationJson_Ocs([ - final void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? b, - ]) = _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs; + factory DashboardApiGetWidgetItemsResponseApplicationJson_Ocs( + [void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? b]) = + _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs; // coverage:ignore-start const DashboardApiGetWidgetItemsResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetItemsResponseApplicationJson_Ocs.fromJson(final Map json) => + factory DashboardApiGetWidgetItemsResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -575,16 +595,16 @@ abstract class DashboardApiGetWidgetItemsResponseApplicationJson DashboardApiGetWidgetItemsResponseApplicationJsonInterface, Built { - factory DashboardApiGetWidgetItemsResponseApplicationJson([ - final void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? b, - ]) = _$DashboardApiGetWidgetItemsResponseApplicationJson; + factory DashboardApiGetWidgetItemsResponseApplicationJson( + [void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? b]) = + _$DashboardApiGetWidgetItemsResponseApplicationJson; // coverage:ignore-start const DashboardApiGetWidgetItemsResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetItemsResponseApplicationJson.fromJson(final Map json) => + factory DashboardApiGetWidgetItemsResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -596,31 +616,6 @@ abstract class DashboardApiGetWidgetItemsResponseApplicationJson _$dashboardApiGetWidgetItemsResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class WidgetItemsInterface { - BuiltList get items; - String get emptyContentMessage; - String get halfEmptyContentMessage; -} - -abstract class WidgetItems implements WidgetItemsInterface, Built { - factory WidgetItems([final void Function(WidgetItemsBuilder)? b]) = _$WidgetItems; - - // coverage:ignore-start - const WidgetItems._(); - // coverage:ignore-end - - // coverage:ignore-start - factory WidgetItems.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$widgetItemsSerializer; -} - @BuiltValue(instantiable: false) abstract interface class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterface { OCSMeta get meta; @@ -632,16 +627,16 @@ abstract class DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterface, Built { - factory DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs([ - final void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? b, - ]) = _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs; + factory DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs( + [void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? b]) = + _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs; // coverage:ignore-start const DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs.fromJson(final Map json) => + factory DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -663,16 +658,16 @@ abstract class DashboardApiGetWidgetItemsV2ResponseApplicationJson DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterface, Built { - factory DashboardApiGetWidgetItemsV2ResponseApplicationJson([ - final void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? b, - ]) = _$DashboardApiGetWidgetItemsV2ResponseApplicationJson; + factory DashboardApiGetWidgetItemsV2ResponseApplicationJson( + [void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? b]) = + _$DashboardApiGetWidgetItemsV2ResponseApplicationJson; // coverage:ignore-start const DashboardApiGetWidgetItemsV2ResponseApplicationJson._(); // coverage:ignore-end // coverage:ignore-start - factory DashboardApiGetWidgetItemsV2ResponseApplicationJson.fromJson(final Map json) => + factory DashboardApiGetWidgetItemsV2ResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -686,76 +681,19 @@ abstract class DashboardApiGetWidgetItemsV2ResponseApplicationJson // coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetsResponseApplicationJson), - DashboardApiGetWidgetsResponseApplicationJson.new, - ) - ..add(DashboardApiGetWidgetsResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetsResponseApplicationJson_Ocs), - DashboardApiGetWidgetsResponseApplicationJson_Ocs.new, - ) - ..add(DashboardApiGetWidgetsResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(OCSMeta), OCSMeta.new) + ..addBuilderFactory(FullType(OCSMeta), OCSMeta.new) ..add(OCSMeta.serializer) - ..addBuilderFactory(const FullType(Widget), Widget.new) + ..addBuilderFactory(FullType(Widget), Widget.new) ..add(Widget.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) - ..addBuilderFactory(const FullType(Widget_Buttons), Widget_Buttons.new) + ..addBuilderFactory(FullType(BuiltList, [FullType(int)]), ListBuilder.new) + ..addBuilderFactory(FullType(Widget_Buttons), Widget_Buttons.new) ..add(Widget_Buttons.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(Widget_Buttons)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(Widget)]), - MapBuilder.new, - ) - ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(String)]), - MapBuilder.new, - ) - ..addBuilderFactory( - const FullType(ContentString, [ - FullType(BuiltMap, [FullType(String), FullType(String)]), - ]), - ContentString>.new, - ) - ..add(ContentString.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetItemsResponseApplicationJson), - DashboardApiGetWidgetItemsResponseApplicationJson.new, - ) - ..add(DashboardApiGetWidgetItemsResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetItemsResponseApplicationJson_Ocs), - DashboardApiGetWidgetItemsResponseApplicationJson_Ocs.new, - ) - ..add(DashboardApiGetWidgetItemsResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(WidgetItem), WidgetItem.new) + ..addBuilderFactory(FullType(BuiltList, [FullType(Widget_Buttons)]), ListBuilder.new) + ..addBuilderFactory(FullType(WidgetItem), WidgetItem.new) ..add(WidgetItem.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(WidgetItem)]), ListBuilder.new) - ..addBuilderFactory( - const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(WidgetItem)]), - ]), - MapBuilder.new, - ) - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson), - DashboardApiGetWidgetItemsV2ResponseApplicationJson.new, - ) - ..add(DashboardApiGetWidgetItemsV2ResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs), - DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs.new, - ) - ..add(DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(WidgetItems), WidgetItems.new) + ..addBuilderFactory(FullType(WidgetItems), WidgetItems.new) ..add(WidgetItems.serializer) - ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(WidgetItems)]), - MapBuilder.new, - )) + ..addBuilderFactory(FullType(BuiltList, [FullType(WidgetItem)]), ListBuilder.new)) .build(); final Serializers _jsonSerializers = (_serializers.toBuilder() diff --git a/packages/nextcloud/lib/src/api/dashboard.openapi.g.dart b/packages/nextcloud/lib/src/api/dashboard.openapi.g.dart index 675778f0215..f5e64a01c30 100644 --- a/packages/nextcloud/lib/src/api/dashboard.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/dashboard.openapi.g.dart @@ -6,28 +6,30 @@ part of 'dashboard.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); -Serializer _$widgetButtonsSerializer = _$Widget_ButtonsSerializer(); -Serializer _$widgetSerializer = _$WidgetSerializer(); +Serializer _$oCSMetaSerializer = new _$OCSMetaSerializer(); +Serializer _$widgetButtonsSerializer = + new _$Widget_ButtonsSerializer(); +Serializer _$widgetSerializer = new _$WidgetSerializer(); +Serializer _$widgetItemSerializer = new _$WidgetItemSerializer(); +Serializer _$widgetItemsSerializer = new _$WidgetItemsSerializer(); Serializer _$dashboardApiGetWidgetsResponseApplicationJsonOcsSerializer = - _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer(); -Serializer _$dashboardApiGetWidgetsResponseApplicationJsonSerializer = - _$DashboardApiGetWidgetsResponseApplicationJsonSerializer(); -Serializer _$widgetItemSerializer = _$WidgetItemSerializer(); + new _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer(); +Serializer + _$dashboardApiGetWidgetsResponseApplicationJsonSerializer = + new _$DashboardApiGetWidgetsResponseApplicationJsonSerializer(); Serializer _$dashboardApiGetWidgetItemsResponseApplicationJsonOcsSerializer = - _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer(); + new _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer(); Serializer _$dashboardApiGetWidgetItemsResponseApplicationJsonSerializer = - _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer(); -Serializer _$widgetItemsSerializer = _$WidgetItemsSerializer(); + new _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer(); Serializer _$dashboardApiGetWidgetItemsV2ResponseApplicationJsonOcsSerializer = - _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer(); + new _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer(); Serializer _$dashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer = - _$DashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer(); + new _$DashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer(); class _$OCSMetaSerializer implements StructuredSerializer { @override @@ -40,28 +42,33 @@ class _$OCSMetaSerializer implements StructuredSerializer { {FullType specifiedType = FullType.unspecified}) { final result = [ 'status', - serializers.serialize(object.status, specifiedType: const FullType(String)), + serializers.serialize(object.status, + specifiedType: const FullType(String)), 'statuscode', - serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + serializers.serialize(object.statuscode, + specifiedType: const FullType(int)), ]; Object? value; value = object.message; if (value != null) { result ..add('message') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } value = object.totalitems; if (value != null) { result ..add('totalitems') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } value = object.itemsperpage; if (value != null) { result ..add('itemsperpage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } return result; } @@ -69,7 +76,7 @@ class _$OCSMetaSerializer implements StructuredSerializer { @override OCSMeta deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OCSMetaBuilder(); + final result = new OCSMetaBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -78,19 +85,24 @@ class _$OCSMetaSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.status = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'statuscode': - result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.statuscode = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.message = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; case 'totalitems': - result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.totalitems = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; case 'itemsperpage': - result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.itemsperpage = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -99,7 +111,8 @@ class _$OCSMetaSerializer implements StructuredSerializer { } } -class _$Widget_ButtonsSerializer implements StructuredSerializer { +class _$Widget_ButtonsSerializer + implements StructuredSerializer { @override final Iterable types = const [Widget_Buttons, _$Widget_Buttons]; @override @@ -121,9 +134,10 @@ class _$Widget_ButtonsSerializer implements StructuredSerializer } @override - Widget_Buttons deserialize(Serializers serializers, Iterable serialized, + Widget_Buttons deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = Widget_ButtonsBuilder(); + final result = new Widget_ButtonsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -132,13 +146,16 @@ class _$Widget_ButtonsSerializer implements StructuredSerializer final Object? value = iterator.current; switch (key) { case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.type = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'text': - result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.text = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'link': - result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.link = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -154,37 +171,48 @@ class _$WidgetSerializer implements StructuredSerializer { final String wireName = 'Widget'; @override - Iterable serialize(Serializers serializers, Widget object, {FullType specifiedType = FullType.unspecified}) { + Iterable serialize(Serializers serializers, Widget object, + {FullType specifiedType = FullType.unspecified}) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), + serializers.serialize(object.title, + specifiedType: const FullType(String)), 'order', serializers.serialize(object.order, specifiedType: const FullType(int)), 'icon_class', - serializers.serialize(object.iconClass, specifiedType: const FullType(String)), + serializers.serialize(object.iconClass, + specifiedType: const FullType(String)), 'icon_url', - serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), + serializers.serialize(object.iconUrl, + specifiedType: const FullType(String)), 'item_icons_round', - serializers.serialize(object.itemIconsRound, specifiedType: const FullType(bool)), + serializers.serialize(object.itemIconsRound, + specifiedType: const FullType(bool)), 'item_api_versions', - serializers.serialize(object.itemApiVersions, specifiedType: const FullType(BuiltList, [FullType(int)])), + serializers.serialize(object.itemApiVersions, + specifiedType: + const FullType(BuiltList, const [const FullType(int)])), 'reload_interval', - serializers.serialize(object.reloadInterval, specifiedType: const FullType(int)), + serializers.serialize(object.reloadInterval, + specifiedType: const FullType(int)), ]; Object? value; value = object.widgetUrl; if (value != null) { result ..add('widget_url') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } value = object.buttons; if (value != null) { result ..add('buttons') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(Widget_Buttons)]))); + ..add(serializers.serialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(Widget_Buttons)]))); } return result; } @@ -192,7 +220,7 @@ class _$WidgetSerializer implements StructuredSerializer { @override Widget deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WidgetBuilder(); + final result = new WidgetBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -201,36 +229,48 @@ class _$WidgetSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.id = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'title': - result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.title = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'order': - result.order = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.order = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; case 'icon_class': - result.iconClass = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.iconClass = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'icon_url': - result.iconUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.iconUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'widget_url': - result.widgetUrl = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.widgetUrl = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; case 'item_icons_round': - result.itemIconsRound = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + result.itemIconsRound = serializers.deserialize(value, + specifiedType: const FullType(bool))! as bool; break; case 'item_api_versions': result.itemApiVersions.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + specifiedType: + const FullType(BuiltList, const [const FullType(int)]))! + as BuiltList); break; case 'reload_interval': - result.reloadInterval = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.reloadInterval = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; case 'buttons': result.buttons.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Widget_Buttons)]))! as BuiltList); + specifiedType: const FullType( + BuiltList, const [const FullType(Widget_Buttons)]))! + as BuiltList); break; } } @@ -239,33 +279,42 @@ class _$WidgetSerializer implements StructuredSerializer { } } -class _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$WidgetItemSerializer implements StructuredSerializer { @override - final Iterable types = const [ - DashboardApiGetWidgetsResponseApplicationJson_Ocs, - _$DashboardApiGetWidgetsResponseApplicationJson_Ocs - ]; + final Iterable types = const [WidgetItem, _$WidgetItem]; @override - final String wireName = 'DashboardApiGetWidgetsResponseApplicationJson_Ocs'; + final String wireName = 'WidgetItem'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, WidgetItem object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Widget)])), + 'subtitle', + serializers.serialize(object.subtitle, + specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, + specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), + 'iconUrl', + serializers.serialize(object.iconUrl, + specifiedType: const FullType(String)), + 'overlayIconUrl', + serializers.serialize(object.overlayIconUrl, + specifiedType: const FullType(String)), + 'sinceId', + serializers.serialize(object.sinceId, + specifiedType: const FullType(String)), ]; return result; } @override - DashboardApiGetWidgetsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + WidgetItem deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); + final result = new WidgetItemBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -273,12 +322,29 @@ class _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'subtitle': + result.subtitle = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(Widget)]))!); + case 'title': + result.title = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'link': + result.link = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'iconUrl': + result.iconUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'overlayIconUrl': + result.overlayIconUrl = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'sinceId': + result.sinceId = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -287,32 +353,35 @@ class _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer } } -class _$DashboardApiGetWidgetsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$WidgetItemsSerializer implements StructuredSerializer { @override - final Iterable types = const [ - DashboardApiGetWidgetsResponseApplicationJson, - _$DashboardApiGetWidgetsResponseApplicationJson - ]; + final Iterable types = const [WidgetItems, _$WidgetItems]; @override - final String wireName = 'DashboardApiGetWidgetsResponseApplicationJson'; + final String wireName = 'WidgetItems'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetsResponseApplicationJson object, + Iterable serialize(Serializers serializers, WidgetItems object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(DashboardApiGetWidgetsResponseApplicationJson_Ocs)), + 'items', + serializers.serialize(object.items, + specifiedType: + const FullType(BuiltList, const [const FullType(WidgetItem)])), + 'emptyContentMessage', + serializers.serialize(object.emptyContentMessage, + specifiedType: const FullType(String)), + 'halfEmptyContentMessage', + serializers.serialize(object.halfEmptyContentMessage, + specifiedType: const FullType(String)), ]; return result; } @override - DashboardApiGetWidgetsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + WidgetItems deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetsResponseApplicationJsonBuilder(); + final result = new WidgetItemsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -320,10 +389,19 @@ class _$DashboardApiGetWidgetsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(DashboardApiGetWidgetsResponseApplicationJson_Ocs))! - as DashboardApiGetWidgetsResponseApplicationJson_Ocs); + case 'items': + result.items.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(WidgetItem)]))! + as BuiltList); + break; + case 'emptyContentMessage': + result.emptyContentMessage = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'halfEmptyContentMessage': + result.halfEmptyContentMessage = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -332,37 +410,41 @@ class _$DashboardApiGetWidgetsResponseApplicationJsonSerializer } } -class _$WidgetItemSerializer implements StructuredSerializer { +class _$DashboardApiGetWidgetsResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + DashboardApiGetWidgetsResponseApplicationJson_Ocs> { @override - final Iterable types = const [WidgetItem, _$WidgetItem]; + final Iterable types = const [ + DashboardApiGetWidgetsResponseApplicationJson_Ocs, + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs + ]; @override - final String wireName = 'WidgetItem'; + final String wireName = 'DashboardApiGetWidgetsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, WidgetItem object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'subtitle', - serializers.serialize(object.subtitle, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'link', - serializers.serialize(object.link, specifiedType: const FullType(String)), - 'iconUrl', - serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), - 'overlayIconUrl', - serializers.serialize(object.overlayIconUrl, specifiedType: const FullType(String)), - 'sinceId', - serializers.serialize(object.sinceId, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Widget)])), ]; return result; } @override - WidgetItem deserialize(Serializers serializers, Iterable serialized, + DashboardApiGetWidgetsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WidgetItemBuilder(); + final result = + new DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -370,23 +452,14 @@ class _$WidgetItemSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'subtitle': - result.subtitle = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'title': - result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'link': - result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'iconUrl': - result.iconUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'overlayIconUrl': - result.overlayIconUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'sinceId': - result.sinceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(Widget)]))!); break; } } @@ -395,38 +468,36 @@ class _$WidgetItemSerializer implements StructuredSerializer { } } -class _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$DashboardApiGetWidgetsResponseApplicationJsonSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - DashboardApiGetWidgetItemsResponseApplicationJson_Ocs, - _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs + DashboardApiGetWidgetsResponseApplicationJson, + _$DashboardApiGetWidgetsResponseApplicationJson ]; @override - final String wireName = 'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs'; + final String wireName = 'DashboardApiGetWidgetsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetItemsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(WidgetItem)]) - ])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + DashboardApiGetWidgetsResponseApplicationJson_Ocs)), ]; return result; } @override - DashboardApiGetWidgetItemsResponseApplicationJson_Ocs deserialize( + DashboardApiGetWidgetsResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder(); + final result = new DashboardApiGetWidgetsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -434,15 +505,11 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(WidgetItem)]) - ]))!); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + DashboardApiGetWidgetsResponseApplicationJson_Ocs))! + as DashboardApiGetWidgetsResponseApplicationJson_Ocs); break; } } @@ -451,32 +518,44 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer } } -class _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$DashboardApiGetWidgetItemsResponseApplicationJson_OcsSerializer + implements + StructuredSerializer< + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs> { @override final Iterable types = const [ - DashboardApiGetWidgetItemsResponseApplicationJson, - _$DashboardApiGetWidgetItemsResponseApplicationJson + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs, + _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs ]; @override - final String wireName = 'DashboardApiGetWidgetItemsResponseApplicationJson'; + final String wireName = + 'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetItemsResponseApplicationJson object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(DashboardApiGetWidgetItemsResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, const [ + const FullType(String), + const FullType(BuiltList, const [const FullType(WidgetItem)]) + ])), ]; return result; } @override - DashboardApiGetWidgetItemsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetItemsResponseApplicationJsonBuilder(); + final result = + new DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -484,10 +563,16 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(DashboardApiGetWidgetItemsResponseApplicationJson_Ocs))! - as DashboardApiGetWidgetItemsResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, const [ + const FullType(String), + const FullType(BuiltList, const [const FullType(WidgetItem)]) + ]))!); break; } } @@ -496,31 +581,38 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer } } -class _$WidgetItemsSerializer implements StructuredSerializer { +class _$DashboardApiGetWidgetItemsResponseApplicationJsonSerializer + implements + StructuredSerializer< + DashboardApiGetWidgetItemsResponseApplicationJson> { @override - final Iterable types = const [WidgetItems, _$WidgetItems]; + final Iterable types = const [ + DashboardApiGetWidgetItemsResponseApplicationJson, + _$DashboardApiGetWidgetItemsResponseApplicationJson + ]; @override - final String wireName = 'WidgetItems'; + final String wireName = 'DashboardApiGetWidgetItemsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, WidgetItems object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetItemsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'items', - serializers.serialize(object.items, specifiedType: const FullType(BuiltList, [FullType(WidgetItem)])), - 'emptyContentMessage', - serializers.serialize(object.emptyContentMessage, specifiedType: const FullType(String)), - 'halfEmptyContentMessage', - serializers.serialize(object.halfEmptyContentMessage, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType( + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs)), ]; return result; } @override - WidgetItems deserialize(Serializers serializers, Iterable serialized, + DashboardApiGetWidgetItemsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = WidgetItemsBuilder(); + final result = + new DashboardApiGetWidgetItemsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -528,16 +620,11 @@ class _$WidgetItemsSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'items': - result.items.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(WidgetItem)]))! as BuiltList); - break; - case 'emptyContentMessage': - result.emptyContentMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'halfEmptyContentMessage': - result.halfEmptyContentMessage = - serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + DashboardApiGetWidgetItemsResponseApplicationJson_Ocs))! + as DashboardApiGetWidgetItemsResponseApplicationJson_Ocs); break; } } @@ -547,24 +634,30 @@ class _$WidgetItemsSerializer implements StructuredSerializer { } class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs> { @override final Iterable types = const [ DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs, _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs ]; @override - final String wireName = 'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs'; + final String wireName = + 'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(WidgetItems)])), + specifiedType: const FullType(BuiltMap, + const [const FullType(String), const FullType(WidgetItems)])), ]; return result; @@ -574,7 +667,8 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder(); + final result = + new DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -583,11 +677,15 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(WidgetItems)]))!); + specifiedType: const FullType(BuiltMap, const [ + const FullType(String), + const FullType(WidgetItems) + ]))!); break; } } @@ -597,7 +695,9 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsSerializer } class _$DashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer - implements StructuredSerializer { + implements + StructuredSerializer< + DashboardApiGetWidgetItemsV2ResponseApplicationJson> { @override final Iterable types = const [ DashboardApiGetWidgetItemsV2ResponseApplicationJson, @@ -607,21 +707,25 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer final String wireName = 'DashboardApiGetWidgetItemsV2ResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, DashboardApiGetWidgetItemsV2ResponseApplicationJson object, + Iterable serialize(Serializers serializers, + DashboardApiGetWidgetItemsV2ResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs)), + specifiedType: const FullType( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs)), ]; return result; } @override - DashboardApiGetWidgetItemsV2ResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + DashboardApiGetWidgetItemsV2ResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder(); + final result = + new DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -631,7 +735,8 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs))! + specifiedType: const FullType( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs))! as DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs); break; } @@ -672,19 +777,26 @@ class _$OCSMeta extends OCSMeta { @override final String? itemsperpage; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => + (new OCSMetaBuilder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + _$OCSMeta._( + {required this.status, + required this.statuscode, + this.message, + this.totalitems, + this.itemsperpage}) : super._() { BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + OCSMetaBuilder toBuilder() => new OCSMetaBuilder()..replace(this); @override bool operator ==(Object other) { @@ -721,7 +833,8 @@ class _$OCSMeta extends OCSMeta { } } -class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { +class OCSMetaBuilder + implements Builder, OCSMetaInterfaceBuilder { _$OCSMeta? _$v; String? _status; @@ -738,11 +851,13 @@ class OCSMetaBuilder implements Builder, OCSMetaInterfa String? _totalitems; String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + set totalitems(covariant String? totalitems) => + _$this._totalitems = totalitems; String? _itemsperpage; String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + set itemsperpage(covariant String? itemsperpage) => + _$this._itemsperpage = itemsperpage; OCSMetaBuilder(); @@ -775,9 +890,11 @@ class OCSMetaBuilder implements Builder, OCSMetaInterfa _$OCSMeta _build() { final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + new _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull( + status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull( + statuscode, r'OCSMeta', 'statuscode'), message: message, totalitems: totalitems, itemsperpage: itemsperpage); @@ -808,24 +925,31 @@ class _$Widget_Buttons extends Widget_Buttons { final String link; factory _$Widget_Buttons([void Function(Widget_ButtonsBuilder)? updates]) => - (Widget_ButtonsBuilder()..update(updates))._build(); + (new Widget_ButtonsBuilder()..update(updates))._build(); - _$Widget_Buttons._({required this.type, required this.text, required this.link}) : super._() { + _$Widget_Buttons._( + {required this.type, required this.text, required this.link}) + : super._() { BuiltValueNullFieldError.checkNotNull(type, r'Widget_Buttons', 'type'); BuiltValueNullFieldError.checkNotNull(text, r'Widget_Buttons', 'text'); BuiltValueNullFieldError.checkNotNull(link, r'Widget_Buttons', 'link'); } @override - Widget_Buttons rebuild(void Function(Widget_ButtonsBuilder) updates) => (toBuilder()..update(updates)).build(); + Widget_Buttons rebuild(void Function(Widget_ButtonsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - Widget_ButtonsBuilder toBuilder() => Widget_ButtonsBuilder()..replace(this); + Widget_ButtonsBuilder toBuilder() => + new Widget_ButtonsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is Widget_Buttons && type == other.type && text == other.text && link == other.link; + return other is Widget_Buttons && + type == other.type && + text == other.text && + link == other.link; } @override @@ -848,7 +972,10 @@ class _$Widget_Buttons extends Widget_Buttons { } } -class Widget_ButtonsBuilder implements Builder, Widget_ButtonsInterfaceBuilder { +class Widget_ButtonsBuilder + implements + Builder, + Widget_ButtonsInterfaceBuilder { _$Widget_Buttons? _$v; String? _type; @@ -892,10 +1019,13 @@ class Widget_ButtonsBuilder implements Builder? buttons; - factory _$Widget([void Function(WidgetBuilder)? updates]) => (WidgetBuilder()..update(updates))._build(); + factory _$Widget([void Function(WidgetBuilder)? updates]) => + (new WidgetBuilder()..update(updates))._build(); _$Widget._( {required this.id, @@ -976,16 +1107,20 @@ class _$Widget extends Widget { BuiltValueNullFieldError.checkNotNull(order, r'Widget', 'order'); BuiltValueNullFieldError.checkNotNull(iconClass, r'Widget', 'iconClass'); BuiltValueNullFieldError.checkNotNull(iconUrl, r'Widget', 'iconUrl'); - BuiltValueNullFieldError.checkNotNull(itemIconsRound, r'Widget', 'itemIconsRound'); - BuiltValueNullFieldError.checkNotNull(itemApiVersions, r'Widget', 'itemApiVersions'); - BuiltValueNullFieldError.checkNotNull(reloadInterval, r'Widget', 'reloadInterval'); + BuiltValueNullFieldError.checkNotNull( + itemIconsRound, r'Widget', 'itemIconsRound'); + BuiltValueNullFieldError.checkNotNull( + itemApiVersions, r'Widget', 'itemApiVersions'); + BuiltValueNullFieldError.checkNotNull( + reloadInterval, r'Widget', 'reloadInterval'); } @override - Widget rebuild(void Function(WidgetBuilder) updates) => (toBuilder()..update(updates)).build(); + Widget rebuild(void Function(WidgetBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - WidgetBuilder toBuilder() => WidgetBuilder()..replace(this); + WidgetBuilder toBuilder() => new WidgetBuilder()..replace(this); @override bool operator ==(Object other) { @@ -1037,7 +1172,8 @@ class _$Widget extends Widget { } } -class WidgetBuilder implements Builder, WidgetInterfaceBuilder { +class WidgetBuilder + implements Builder, WidgetInterfaceBuilder { _$Widget? _$v; String? _id; @@ -1066,19 +1202,25 @@ class WidgetBuilder implements Builder, WidgetInterfaceBu bool? _itemIconsRound; bool? get itemIconsRound => _$this._itemIconsRound; - set itemIconsRound(covariant bool? itemIconsRound) => _$this._itemIconsRound = itemIconsRound; + set itemIconsRound(covariant bool? itemIconsRound) => + _$this._itemIconsRound = itemIconsRound; ListBuilder? _itemApiVersions; - ListBuilder get itemApiVersions => _$this._itemApiVersions ??= ListBuilder(); - set itemApiVersions(covariant ListBuilder? itemApiVersions) => _$this._itemApiVersions = itemApiVersions; + ListBuilder get itemApiVersions => + _$this._itemApiVersions ??= new ListBuilder(); + set itemApiVersions(covariant ListBuilder? itemApiVersions) => + _$this._itemApiVersions = itemApiVersions; int? _reloadInterval; int? get reloadInterval => _$this._reloadInterval; - set reloadInterval(covariant int? reloadInterval) => _$this._reloadInterval = reloadInterval; + set reloadInterval(covariant int? reloadInterval) => + _$this._reloadInterval = reloadInterval; ListBuilder? _buttons; - ListBuilder get buttons => _$this._buttons ??= ListBuilder(); - set buttons(covariant ListBuilder? buttons) => _$this._buttons = buttons; + ListBuilder get buttons => + _$this._buttons ??= new ListBuilder(); + set buttons(covariant ListBuilder? buttons) => + _$this._buttons = buttons; WidgetBuilder(); @@ -1118,16 +1260,22 @@ class WidgetBuilder implements Builder, WidgetInterfaceBu _$Widget _$result; try { _$result = _$v ?? - _$Widget._( + new _$Widget._( id: BuiltValueNullFieldError.checkNotNull(id, r'Widget', 'id'), - title: BuiltValueNullFieldError.checkNotNull(title, r'Widget', 'title'), - order: BuiltValueNullFieldError.checkNotNull(order, r'Widget', 'order'), - iconClass: BuiltValueNullFieldError.checkNotNull(iconClass, r'Widget', 'iconClass'), - iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'Widget', 'iconUrl'), + title: BuiltValueNullFieldError.checkNotNull( + title, r'Widget', 'title'), + order: BuiltValueNullFieldError.checkNotNull( + order, r'Widget', 'order'), + iconClass: BuiltValueNullFieldError.checkNotNull( + iconClass, r'Widget', 'iconClass'), + iconUrl: BuiltValueNullFieldError.checkNotNull( + iconUrl, r'Widget', 'iconUrl'), widgetUrl: widgetUrl, - itemIconsRound: BuiltValueNullFieldError.checkNotNull(itemIconsRound, r'Widget', 'itemIconsRound'), + itemIconsRound: BuiltValueNullFieldError.checkNotNull( + itemIconsRound, r'Widget', 'itemIconsRound'), itemApiVersions: itemApiVersions.build(), - reloadInterval: BuiltValueNullFieldError.checkNotNull(reloadInterval, r'Widget', 'reloadInterval'), + reloadInterval: BuiltValueNullFieldError.checkNotNull( + reloadInterval, r'Widget', 'reloadInterval'), buttons: _buttons?.build()); } catch (_) { late String _$failedField; @@ -1138,7 +1286,8 @@ class WidgetBuilder implements Builder, WidgetInterfaceBu _$failedField = 'buttons'; _buttons?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'Widget', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'Widget', _$failedField, e.toString()); } rethrow; } @@ -1147,222 +1296,328 @@ class WidgetBuilder implements Builder, WidgetInterfaceBu } } -abstract mixin class DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder { - void replace(DashboardApiGetWidgetsResponseApplicationJson_OcsInterface other); - void update(void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder) updates); - OCSMetaBuilder get meta; - set meta(OCSMetaBuilder? meta); +abstract mixin class WidgetItemInterfaceBuilder { + void replace(WidgetItemInterface other); + void update(void Function(WidgetItemInterfaceBuilder) updates); + String? get subtitle; + set subtitle(String? subtitle); - MapBuilder get data; - set data(MapBuilder? data); + String? get title; + set title(String? title); + + String? get link; + set link(String? link); + + String? get iconUrl; + set iconUrl(String? iconUrl); + + String? get overlayIconUrl; + set overlayIconUrl(String? overlayIconUrl); + + String? get sinceId; + set sinceId(String? sinceId); } -class _$DashboardApiGetWidgetsResponseApplicationJson_Ocs extends DashboardApiGetWidgetsResponseApplicationJson_Ocs { +class _$WidgetItem extends WidgetItem { @override - final OCSMeta meta; + final String subtitle; @override - final BuiltMap data; + final String title; + @override + final String link; + @override + final String iconUrl; + @override + final String overlayIconUrl; + @override + final String sinceId; - factory _$DashboardApiGetWidgetsResponseApplicationJson_Ocs( - [void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? updates]) => - (DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$WidgetItem([void Function(WidgetItemBuilder)? updates]) => + (new WidgetItemBuilder()..update(updates))._build(); - _$DashboardApiGetWidgetsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', 'data'); + _$WidgetItem._( + {required this.subtitle, + required this.title, + required this.link, + required this.iconUrl, + required this.overlayIconUrl, + required this.sinceId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(subtitle, r'WidgetItem', 'subtitle'); + BuiltValueNullFieldError.checkNotNull(title, r'WidgetItem', 'title'); + BuiltValueNullFieldError.checkNotNull(link, r'WidgetItem', 'link'); + BuiltValueNullFieldError.checkNotNull(iconUrl, r'WidgetItem', 'iconUrl'); + BuiltValueNullFieldError.checkNotNull( + overlayIconUrl, r'WidgetItem', 'overlayIconUrl'); + BuiltValueNullFieldError.checkNotNull(sinceId, r'WidgetItem', 'sinceId'); } @override - DashboardApiGetWidgetsResponseApplicationJson_Ocs rebuild( - void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder) updates) => + WidgetItem rebuild(void Function(WidgetItemBuilder) updates) => (toBuilder()..update(updates)).build(); @override - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder toBuilder() => - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder()..replace(this); + WidgetItemBuilder toBuilder() => new WidgetItemBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is WidgetItem && + subtitle == other.subtitle && + title == other.title && + link == other.link && + iconUrl == other.iconUrl && + overlayIconUrl == other.overlayIconUrl && + sinceId == other.sinceId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, subtitle.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, iconUrl.hashCode); + _$hash = $jc(_$hash, overlayIconUrl.hashCode); + _$hash = $jc(_$hash, sinceId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetsResponseApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'WidgetItem') + ..add('subtitle', subtitle) + ..add('title', title) + ..add('link', link) + ..add('iconUrl', iconUrl) + ..add('overlayIconUrl', overlayIconUrl) + ..add('sinceId', sinceId)) .toString(); } } -class DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder +class WidgetItemBuilder implements - Builder, - DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder { - _$DashboardApiGetWidgetsResponseApplicationJson_Ocs? _$v; + Builder, + WidgetItemInterfaceBuilder { + _$WidgetItem? _$v; - OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); - set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + String? _subtitle; + String? get subtitle => _$this._subtitle; + set subtitle(covariant String? subtitle) => _$this._subtitle = subtitle; - MapBuilder? _data; - MapBuilder get data => _$this._data ??= MapBuilder(); - set data(covariant MapBuilder? data) => _$this._data = data; + String? _title; + String? get title => _$this._title; + set title(covariant String? title) => _$this._title = title; - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get _$this { + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; + + String? _overlayIconUrl; + String? get overlayIconUrl => _$this._overlayIconUrl; + set overlayIconUrl(covariant String? overlayIconUrl) => + _$this._overlayIconUrl = overlayIconUrl; + + String? _sinceId; + String? get sinceId => _$this._sinceId; + set sinceId(covariant String? sinceId) => _$this._sinceId = sinceId; + + WidgetItemBuilder(); + + WidgetItemBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _subtitle = $v.subtitle; + _title = $v.title; + _link = $v.link; + _iconUrl = $v.iconUrl; + _overlayIconUrl = $v.overlayIconUrl; + _sinceId = $v.sinceId; _$v = null; } return this; } @override - void replace(covariant DashboardApiGetWidgetsResponseApplicationJson_Ocs other) { + void replace(covariant WidgetItem other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DashboardApiGetWidgetsResponseApplicationJson_Ocs; + _$v = other as _$WidgetItem; } @override - void update(void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? updates) { + void update(void Function(WidgetItemBuilder)? updates) { if (updates != null) updates(this); } @override - DashboardApiGetWidgetsResponseApplicationJson_Ocs build() => _build(); + WidgetItem build() => _build(); - _$DashboardApiGetWidgetsResponseApplicationJson_Ocs _build() { - _$DashboardApiGetWidgetsResponseApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$DashboardApiGetWidgetsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$WidgetItem _build() { + final _$result = _$v ?? + new _$WidgetItem._( + subtitle: BuiltValueNullFieldError.checkNotNull( + subtitle, r'WidgetItem', 'subtitle'), + title: BuiltValueNullFieldError.checkNotNull( + title, r'WidgetItem', 'title'), + link: BuiltValueNullFieldError.checkNotNull( + link, r'WidgetItem', 'link'), + iconUrl: BuiltValueNullFieldError.checkNotNull( + iconUrl, r'WidgetItem', 'iconUrl'), + overlayIconUrl: BuiltValueNullFieldError.checkNotNull( + overlayIconUrl, r'WidgetItem', 'overlayIconUrl'), + sinceId: BuiltValueNullFieldError.checkNotNull( + sinceId, r'WidgetItem', 'sinceId')); replace(_$result); return _$result; } } -abstract mixin class DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder { - void replace(DashboardApiGetWidgetsResponseApplicationJsonInterface other); - void update(void Function(DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder) updates); - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get ocs; - set ocs(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? ocs); +abstract mixin class WidgetItemsInterfaceBuilder { + void replace(WidgetItemsInterface other); + void update(void Function(WidgetItemsInterfaceBuilder) updates); + ListBuilder get items; + set items(ListBuilder? items); + + String? get emptyContentMessage; + set emptyContentMessage(String? emptyContentMessage); + + String? get halfEmptyContentMessage; + set halfEmptyContentMessage(String? halfEmptyContentMessage); } -class _$DashboardApiGetWidgetsResponseApplicationJson extends DashboardApiGetWidgetsResponseApplicationJson { +class _$WidgetItems extends WidgetItems { @override - final DashboardApiGetWidgetsResponseApplicationJson_Ocs ocs; + final BuiltList items; + @override + final String emptyContentMessage; + @override + final String halfEmptyContentMessage; - factory _$DashboardApiGetWidgetsResponseApplicationJson( - [void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? updates]) => - (DashboardApiGetWidgetsResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$WidgetItems([void Function(WidgetItemsBuilder)? updates]) => + (new WidgetItemsBuilder()..update(updates))._build(); - _$DashboardApiGetWidgetsResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'DashboardApiGetWidgetsResponseApplicationJson', 'ocs'); + _$WidgetItems._( + {required this.items, + required this.emptyContentMessage, + required this.halfEmptyContentMessage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(items, r'WidgetItems', 'items'); + BuiltValueNullFieldError.checkNotNull( + emptyContentMessage, r'WidgetItems', 'emptyContentMessage'); + BuiltValueNullFieldError.checkNotNull( + halfEmptyContentMessage, r'WidgetItems', 'halfEmptyContentMessage'); } @override - DashboardApiGetWidgetsResponseApplicationJson rebuild( - void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder) updates) => + WidgetItems rebuild(void Function(WidgetItemsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - DashboardApiGetWidgetsResponseApplicationJsonBuilder toBuilder() => - DashboardApiGetWidgetsResponseApplicationJsonBuilder()..replace(this); + WidgetItemsBuilder toBuilder() => new WidgetItemsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetsResponseApplicationJson && ocs == other.ocs; + return other is WidgetItems && + items == other.items && + emptyContentMessage == other.emptyContentMessage && + halfEmptyContentMessage == other.halfEmptyContentMessage; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, items.hashCode); + _$hash = $jc(_$hash, emptyContentMessage.hashCode); + _$hash = $jc(_$hash, halfEmptyContentMessage.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetsResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'WidgetItems') + ..add('items', items) + ..add('emptyContentMessage', emptyContentMessage) + ..add('halfEmptyContentMessage', halfEmptyContentMessage)) + .toString(); } } -class DashboardApiGetWidgetsResponseApplicationJsonBuilder +class WidgetItemsBuilder implements - Builder, - DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder { - _$DashboardApiGetWidgetsResponseApplicationJson? _$v; + Builder, + WidgetItemsInterfaceBuilder { + _$WidgetItems? _$v; - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? _ocs; - DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); - set ocs(covariant DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + ListBuilder? _items; + ListBuilder get items => + _$this._items ??= new ListBuilder(); + set items(covariant ListBuilder? items) => _$this._items = items; - DashboardApiGetWidgetsResponseApplicationJsonBuilder(); + String? _emptyContentMessage; + String? get emptyContentMessage => _$this._emptyContentMessage; + set emptyContentMessage(covariant String? emptyContentMessage) => + _$this._emptyContentMessage = emptyContentMessage; - DashboardApiGetWidgetsResponseApplicationJsonBuilder get _$this { + String? _halfEmptyContentMessage; + String? get halfEmptyContentMessage => _$this._halfEmptyContentMessage; + set halfEmptyContentMessage(covariant String? halfEmptyContentMessage) => + _$this._halfEmptyContentMessage = halfEmptyContentMessage; + + WidgetItemsBuilder(); + + WidgetItemsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _items = $v.items.toBuilder(); + _emptyContentMessage = $v.emptyContentMessage; + _halfEmptyContentMessage = $v.halfEmptyContentMessage; _$v = null; } return this; } @override - void replace(covariant DashboardApiGetWidgetsResponseApplicationJson other) { + void replace(covariant WidgetItems other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$DashboardApiGetWidgetsResponseApplicationJson; + _$v = other as _$WidgetItems; } @override - void update(void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? updates) { + void update(void Function(WidgetItemsBuilder)? updates) { if (updates != null) updates(this); } @override - DashboardApiGetWidgetsResponseApplicationJson build() => _build(); + WidgetItems build() => _build(); - _$DashboardApiGetWidgetsResponseApplicationJson _build() { - _$DashboardApiGetWidgetsResponseApplicationJson _$result; + _$WidgetItems _build() { + _$WidgetItems _$result; try { - _$result = _$v ?? _$DashboardApiGetWidgetsResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$WidgetItems._( + items: items.build(), + emptyContentMessage: BuiltValueNullFieldError.checkNotNull( + emptyContentMessage, r'WidgetItems', 'emptyContentMessage'), + halfEmptyContentMessage: BuiltValueNullFieldError.checkNotNull( + halfEmptyContentMessage, + r'WidgetItems', + 'halfEmptyContentMessage')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'items'; + items.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'DashboardApiGetWidgetsResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'WidgetItems', _$failedField, e.toString()); } rethrow; } @@ -1371,178 +1626,290 @@ class DashboardApiGetWidgetsResponseApplicationJsonBuilder } } -abstract mixin class WidgetItemInterfaceBuilder { - void replace(WidgetItemInterface other); - void update(void Function(WidgetItemInterfaceBuilder) updates); - String? get subtitle; - set subtitle(String? subtitle); +abstract mixin class DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder { + void replace( + DashboardApiGetWidgetsResponseApplicationJson_OcsInterface other); + void update( + void Function( + DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder) + updates); + OCSMetaBuilder get meta; + set meta(OCSMetaBuilder? meta); - String? get title; - set title(String? title); + MapBuilder get data; + set data(MapBuilder? data); +} - String? get link; - set link(String? link); +class _$DashboardApiGetWidgetsResponseApplicationJson_Ocs + extends DashboardApiGetWidgetsResponseApplicationJson_Ocs { + @override + final OCSMeta meta; + @override + final BuiltMap data; - String? get iconUrl; - set iconUrl(String? iconUrl); + factory _$DashboardApiGetWidgetsResponseApplicationJson_Ocs( + [void Function( + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? + updates]) => + (new DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', 'data'); + } - String? get overlayIconUrl; - set overlayIconUrl(String? overlayIconUrl); + @override + DashboardApiGetWidgetsResponseApplicationJson_Ocs rebuild( + void Function( + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); - String? get sinceId; - set sinceId(String? sinceId); -} + @override + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder toBuilder() => + new DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder() + ..replace(this); -class _$WidgetItem extends WidgetItem { @override - final String subtitle; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is DashboardApiGetWidgetsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + @override - final String title; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + @override - final String link; + String toString() { + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetsResponseApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder + implements + Builder, + DashboardApiGetWidgetsResponseApplicationJson_OcsInterfaceBuilder { + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs? _$v; + + OCSMetaBuilder? _meta; + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); + set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder? _data; + MapBuilder get data => + _$this._data ??= new MapBuilder(); + set data(covariant MapBuilder? data) => _$this._data = data; + + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); + + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + @override - final String iconUrl; + void replace( + covariant DashboardApiGetWidgetsResponseApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$DashboardApiGetWidgetsResponseApplicationJson_Ocs; + } + @override - final String overlayIconUrl; + void update( + void Function(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder)? + updates) { + if (updates != null) updates(this); + } + @override - final String sinceId; + DashboardApiGetWidgetsResponseApplicationJson_Ocs build() => _build(); - factory _$WidgetItem([void Function(WidgetItemBuilder)? updates]) => (WidgetItemBuilder()..update(updates))._build(); + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs _build() { + _$DashboardApiGetWidgetsResponseApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + new _$DashboardApiGetWidgetsResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetsResponseApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} - _$WidgetItem._( - {required this.subtitle, - required this.title, - required this.link, - required this.iconUrl, - required this.overlayIconUrl, - required this.sinceId}) +abstract mixin class DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder { + void replace(DashboardApiGetWidgetsResponseApplicationJsonInterface other); + void update( + void Function( + DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder) + updates); + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get ocs; + set ocs(DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? ocs); +} + +class _$DashboardApiGetWidgetsResponseApplicationJson + extends DashboardApiGetWidgetsResponseApplicationJson { + @override + final DashboardApiGetWidgetsResponseApplicationJson_Ocs ocs; + + factory _$DashboardApiGetWidgetsResponseApplicationJson( + [void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? + updates]) => + (new DashboardApiGetWidgetsResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetsResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(subtitle, r'WidgetItem', 'subtitle'); - BuiltValueNullFieldError.checkNotNull(title, r'WidgetItem', 'title'); - BuiltValueNullFieldError.checkNotNull(link, r'WidgetItem', 'link'); - BuiltValueNullFieldError.checkNotNull(iconUrl, r'WidgetItem', 'iconUrl'); - BuiltValueNullFieldError.checkNotNull(overlayIconUrl, r'WidgetItem', 'overlayIconUrl'); - BuiltValueNullFieldError.checkNotNull(sinceId, r'WidgetItem', 'sinceId'); + BuiltValueNullFieldError.checkNotNull( + ocs, r'DashboardApiGetWidgetsResponseApplicationJson', 'ocs'); } @override - WidgetItem rebuild(void Function(WidgetItemBuilder) updates) => (toBuilder()..update(updates)).build(); + DashboardApiGetWidgetsResponseApplicationJson rebuild( + void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - WidgetItemBuilder toBuilder() => WidgetItemBuilder()..replace(this); + DashboardApiGetWidgetsResponseApplicationJsonBuilder toBuilder() => + new DashboardApiGetWidgetsResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is WidgetItem && - subtitle == other.subtitle && - title == other.title && - link == other.link && - iconUrl == other.iconUrl && - overlayIconUrl == other.overlayIconUrl && - sinceId == other.sinceId; + return other is DashboardApiGetWidgetsResponseApplicationJson && + ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, subtitle.hashCode); - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, link.hashCode); - _$hash = $jc(_$hash, iconUrl.hashCode); - _$hash = $jc(_$hash, overlayIconUrl.hashCode); - _$hash = $jc(_$hash, sinceId.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'WidgetItem') - ..add('subtitle', subtitle) - ..add('title', title) - ..add('link', link) - ..add('iconUrl', iconUrl) - ..add('overlayIconUrl', overlayIconUrl) - ..add('sinceId', sinceId)) + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetsResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class WidgetItemBuilder implements Builder, WidgetItemInterfaceBuilder { - _$WidgetItem? _$v; - - String? _subtitle; - String? get subtitle => _$this._subtitle; - set subtitle(covariant String? subtitle) => _$this._subtitle = subtitle; - - String? _title; - String? get title => _$this._title; - set title(covariant String? title) => _$this._title = title; - - String? _link; - String? get link => _$this._link; - set link(covariant String? link) => _$this._link = link; - - String? _iconUrl; - String? get iconUrl => _$this._iconUrl; - set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; - - String? _overlayIconUrl; - String? get overlayIconUrl => _$this._overlayIconUrl; - set overlayIconUrl(covariant String? overlayIconUrl) => _$this._overlayIconUrl = overlayIconUrl; +class DashboardApiGetWidgetsResponseApplicationJsonBuilder + implements + Builder, + DashboardApiGetWidgetsResponseApplicationJsonInterfaceBuilder { + _$DashboardApiGetWidgetsResponseApplicationJson? _$v; - String? _sinceId; - String? get sinceId => _$this._sinceId; - set sinceId(covariant String? sinceId) => _$this._sinceId = sinceId; + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? _ocs; + DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= + new DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder(); + set ocs( + covariant DashboardApiGetWidgetsResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; - WidgetItemBuilder(); + DashboardApiGetWidgetsResponseApplicationJsonBuilder(); - WidgetItemBuilder get _$this { + DashboardApiGetWidgetsResponseApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _subtitle = $v.subtitle; - _title = $v.title; - _link = $v.link; - _iconUrl = $v.iconUrl; - _overlayIconUrl = $v.overlayIconUrl; - _sinceId = $v.sinceId; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(covariant WidgetItem other) { + void replace(covariant DashboardApiGetWidgetsResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WidgetItem; + _$v = other as _$DashboardApiGetWidgetsResponseApplicationJson; } @override - void update(void Function(WidgetItemBuilder)? updates) { + void update( + void Function(DashboardApiGetWidgetsResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @override - WidgetItem build() => _build(); + DashboardApiGetWidgetsResponseApplicationJson build() => _build(); - _$WidgetItem _build() { - final _$result = _$v ?? - _$WidgetItem._( - subtitle: BuiltValueNullFieldError.checkNotNull(subtitle, r'WidgetItem', 'subtitle'), - title: BuiltValueNullFieldError.checkNotNull(title, r'WidgetItem', 'title'), - link: BuiltValueNullFieldError.checkNotNull(link, r'WidgetItem', 'link'), - iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'WidgetItem', 'iconUrl'), - overlayIconUrl: BuiltValueNullFieldError.checkNotNull(overlayIconUrl, r'WidgetItem', 'overlayIconUrl'), - sinceId: BuiltValueNullFieldError.checkNotNull(sinceId, r'WidgetItem', 'sinceId')); + _$DashboardApiGetWidgetsResponseApplicationJson _build() { + _$DashboardApiGetWidgetsResponseApplicationJson _$result; + try { + _$result = _$v ?? + new _$DashboardApiGetWidgetsResponseApplicationJson._( + ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetsResponseApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } abstract mixin class DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterfaceBuilder { - void replace(DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterface other); - void update(void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterfaceBuilder) updates); + void replace( + DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterface other); + void update( + void Function( + DashboardApiGetWidgetItemsResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -1558,27 +1925,40 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs final BuiltMap> data; factory _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs( - [void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? updates]) => - (DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder()..update(updates))._build(); - - _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', 'data'); + [void Function( + DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? + updates]) => + (new DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', 'data'); } @override DashboardApiGetWidgetItemsResponseApplicationJson_Ocs rebuild( - void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder) updates) => + void Function( + DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder toBuilder() => - DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder()..replace(this); + new DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetItemsResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is DashboardApiGetWidgetItemsResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -1592,7 +1972,8 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -1607,12 +1988,14 @@ class DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; MapBuilder>? _data; - MapBuilder> get data => _$this._data ??= MapBuilder>(); - set data(covariant MapBuilder>? data) => _$this._data = data; + MapBuilder> get data => + _$this._data ??= new MapBuilder>(); + set data(covariant MapBuilder>? data) => + _$this._data = data; DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder(); @@ -1627,13 +2010,17 @@ class DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder } @override - void replace(covariant DashboardApiGetWidgetItemsResponseApplicationJson_Ocs other) { + void replace( + covariant DashboardApiGetWidgetItemsResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs; } @override - void update(void Function(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @@ -1643,8 +2030,9 @@ class DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs _build() { _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$DashboardApiGetWidgetItemsResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -1653,8 +2041,10 @@ class DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetItemsResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -1664,37 +2054,52 @@ class DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder } abstract mixin class DashboardApiGetWidgetItemsResponseApplicationJsonInterfaceBuilder { - void replace(DashboardApiGetWidgetItemsResponseApplicationJsonInterface other); - void update(void Function(DashboardApiGetWidgetItemsResponseApplicationJsonInterfaceBuilder) updates); + void replace( + DashboardApiGetWidgetItemsResponseApplicationJsonInterface other); + void update( + void Function( + DashboardApiGetWidgetItemsResponseApplicationJsonInterfaceBuilder) + updates); DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder get ocs; set ocs(DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder? ocs); } -class _$DashboardApiGetWidgetItemsResponseApplicationJson extends DashboardApiGetWidgetItemsResponseApplicationJson { +class _$DashboardApiGetWidgetItemsResponseApplicationJson + extends DashboardApiGetWidgetItemsResponseApplicationJson { @override final DashboardApiGetWidgetItemsResponseApplicationJson_Ocs ocs; factory _$DashboardApiGetWidgetItemsResponseApplicationJson( - [void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? updates]) => - (DashboardApiGetWidgetItemsResponseApplicationJsonBuilder()..update(updates))._build(); - - _$DashboardApiGetWidgetItemsResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'DashboardApiGetWidgetItemsResponseApplicationJson', 'ocs'); + [void Function( + DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? + updates]) => + (new DashboardApiGetWidgetItemsResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetItemsResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'DashboardApiGetWidgetItemsResponseApplicationJson', 'ocs'); } @override DashboardApiGetWidgetItemsResponseApplicationJson rebuild( - void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder) updates) => + void Function( + DashboardApiGetWidgetItemsResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DashboardApiGetWidgetItemsResponseApplicationJsonBuilder toBuilder() => - DashboardApiGetWidgetItemsResponseApplicationJsonBuilder()..replace(this); + new DashboardApiGetWidgetItemsResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetItemsResponseApplicationJson && ocs == other.ocs; + return other is DashboardApiGetWidgetItemsResponseApplicationJson && + ocs == other.ocs; } @override @@ -1707,7 +2112,9 @@ class _$DashboardApiGetWidgetItemsResponseApplicationJson extends DashboardApiGe @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetItemsResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetItemsResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } @@ -1721,8 +2128,12 @@ class DashboardApiGetWidgetItemsResponseApplicationJsonBuilder DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder? _ocs; DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder(); - set ocs(covariant DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= + new DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder(); + set ocs( + covariant DashboardApiGetWidgetItemsResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; DashboardApiGetWidgetItemsResponseApplicationJsonBuilder(); @@ -1736,13 +2147,16 @@ class DashboardApiGetWidgetItemsResponseApplicationJsonBuilder } @override - void replace(covariant DashboardApiGetWidgetItemsResponseApplicationJson other) { + void replace( + covariant DashboardApiGetWidgetItemsResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$DashboardApiGetWidgetItemsResponseApplicationJson; } @override - void update(void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? updates) { + void update( + void Function(DashboardApiGetWidgetItemsResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @@ -1752,149 +2166,19 @@ class DashboardApiGetWidgetItemsResponseApplicationJsonBuilder _$DashboardApiGetWidgetItemsResponseApplicationJson _build() { _$DashboardApiGetWidgetItemsResponseApplicationJson _$result; try { - _$result = _$v ?? _$DashboardApiGetWidgetItemsResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$DashboardApiGetWidgetItemsResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'DashboardApiGetWidgetItemsResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } - replace(_$result); - return _$result; - } -} - -abstract mixin class WidgetItemsInterfaceBuilder { - void replace(WidgetItemsInterface other); - void update(void Function(WidgetItemsInterfaceBuilder) updates); - ListBuilder get items; - set items(ListBuilder? items); - - String? get emptyContentMessage; - set emptyContentMessage(String? emptyContentMessage); - - String? get halfEmptyContentMessage; - set halfEmptyContentMessage(String? halfEmptyContentMessage); -} - -class _$WidgetItems extends WidgetItems { - @override - final BuiltList items; - @override - final String emptyContentMessage; - @override - final String halfEmptyContentMessage; - - factory _$WidgetItems([void Function(WidgetItemsBuilder)? updates]) => - (WidgetItemsBuilder()..update(updates))._build(); - - _$WidgetItems._({required this.items, required this.emptyContentMessage, required this.halfEmptyContentMessage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(items, r'WidgetItems', 'items'); - BuiltValueNullFieldError.checkNotNull(emptyContentMessage, r'WidgetItems', 'emptyContentMessage'); - BuiltValueNullFieldError.checkNotNull(halfEmptyContentMessage, r'WidgetItems', 'halfEmptyContentMessage'); - } - - @override - WidgetItems rebuild(void Function(WidgetItemsBuilder) updates) => (toBuilder()..update(updates)).build(); - - @override - WidgetItemsBuilder toBuilder() => WidgetItemsBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is WidgetItems && - items == other.items && - emptyContentMessage == other.emptyContentMessage && - halfEmptyContentMessage == other.halfEmptyContentMessage; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, items.hashCode); - _$hash = $jc(_$hash, emptyContentMessage.hashCode); - _$hash = $jc(_$hash, halfEmptyContentMessage.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper(r'WidgetItems') - ..add('items', items) - ..add('emptyContentMessage', emptyContentMessage) - ..add('halfEmptyContentMessage', halfEmptyContentMessage)) - .toString(); - } -} - -class WidgetItemsBuilder implements Builder, WidgetItemsInterfaceBuilder { - _$WidgetItems? _$v; - - ListBuilder? _items; - ListBuilder get items => _$this._items ??= ListBuilder(); - set items(covariant ListBuilder? items) => _$this._items = items; - - String? _emptyContentMessage; - String? get emptyContentMessage => _$this._emptyContentMessage; - set emptyContentMessage(covariant String? emptyContentMessage) => _$this._emptyContentMessage = emptyContentMessage; - - String? _halfEmptyContentMessage; - String? get halfEmptyContentMessage => _$this._halfEmptyContentMessage; - set halfEmptyContentMessage(covariant String? halfEmptyContentMessage) => - _$this._halfEmptyContentMessage = halfEmptyContentMessage; - - WidgetItemsBuilder(); - - WidgetItemsBuilder get _$this { - final $v = _$v; - if ($v != null) { - _items = $v.items.toBuilder(); - _emptyContentMessage = $v.emptyContentMessage; - _halfEmptyContentMessage = $v.halfEmptyContentMessage; - _$v = null; - } - return this; - } - - @override - void replace(covariant WidgetItems other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$WidgetItems; - } - - @override - void update(void Function(WidgetItemsBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - WidgetItems build() => _build(); - - _$WidgetItems _build() { - _$WidgetItems _$result; - try { - _$result = _$v ?? - _$WidgetItems._( - items: items.build(), - emptyContentMessage: - BuiltValueNullFieldError.checkNotNull(emptyContentMessage, r'WidgetItems', 'emptyContentMessage'), - halfEmptyContentMessage: BuiltValueNullFieldError.checkNotNull( - halfEmptyContentMessage, r'WidgetItems', 'halfEmptyContentMessage')); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'items'; - items.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'WidgetItems', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetItemsResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -1904,8 +2188,12 @@ class WidgetItemsBuilder implements Builder, Wi } abstract mixin class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterfaceBuilder { - void replace(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterface other); - void update(void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterfaceBuilder) updates); + void replace( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterface other); + void update( + void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -1921,27 +2209,40 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs final BuiltMap data; factory _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs( - [void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? updates]) => - (DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder()..update(updates))._build(); - - _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', 'data'); + [void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? + updates]) => + (new DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', 'data'); } @override DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs rebuild( - void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder) updates) => + void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder toBuilder() => - DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder()..replace(this); + new DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -1955,7 +2256,8 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -1970,12 +2272,14 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; MapBuilder? _data; - MapBuilder get data => _$this._data ??= MapBuilder(); - set data(covariant MapBuilder? data) => _$this._data = data; + MapBuilder get data => + _$this._data ??= new MapBuilder(); + set data(covariant MapBuilder? data) => + _$this._data = data; DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder(); @@ -1990,13 +2294,17 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder } @override - void replace(covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs other) { + void replace( + covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs; } @override - void update(void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @@ -2006,8 +2314,9 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs _build() { _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs _$result; try { - _$result = - _$v ?? _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -2016,8 +2325,10 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -2027,8 +2338,12 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder } abstract mixin class DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterfaceBuilder { - void replace(DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterface other); - void update(void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterfaceBuilder) updates); + void replace( + DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterface other); + void update( + void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJsonInterfaceBuilder) + updates); DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder get ocs; set ocs(DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder? ocs); } @@ -2039,26 +2354,36 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson final DashboardApiGetWidgetItemsV2ResponseApplicationJson_Ocs ocs; factory _$DashboardApiGetWidgetItemsV2ResponseApplicationJson( - [void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? updates]) => - (DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder()..update(updates))._build(); - - _$DashboardApiGetWidgetItemsV2ResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'DashboardApiGetWidgetItemsV2ResponseApplicationJson', 'ocs'); + [void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? + updates]) => + (new DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder() + ..update(updates)) + ._build(); + + _$DashboardApiGetWidgetItemsV2ResponseApplicationJson._({required this.ocs}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'DashboardApiGetWidgetItemsV2ResponseApplicationJson', 'ocs'); } @override DashboardApiGetWidgetItemsV2ResponseApplicationJson rebuild( - void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder) updates) => + void Function( + DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder toBuilder() => - DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder()..replace(this); + new DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DashboardApiGetWidgetItemsV2ResponseApplicationJson && ocs == other.ocs; + return other is DashboardApiGetWidgetItemsV2ResponseApplicationJson && + ocs == other.ocs; } @override @@ -2071,7 +2396,9 @@ class _$DashboardApiGetWidgetItemsV2ResponseApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'DashboardApiGetWidgetItemsV2ResponseApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson') + ..add('ocs', ocs)) .toString(); } } @@ -2085,8 +2412,12 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder? _ocs; DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder(); - set ocs(covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= + new DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder(); + set ocs( + covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson_OcsBuilder? + ocs) => + _$this._ocs = ocs; DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder(); @@ -2100,13 +2431,16 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder } @override - void replace(covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson other) { + void replace( + covariant DashboardApiGetWidgetItemsV2ResponseApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$DashboardApiGetWidgetItemsV2ResponseApplicationJson; } @override - void update(void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? updates) { + void update( + void Function(DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder)? + updates) { if (updates != null) updates(this); } @@ -2116,15 +2450,19 @@ class DashboardApiGetWidgetItemsV2ResponseApplicationJsonBuilder _$DashboardApiGetWidgetItemsV2ResponseApplicationJson _build() { _$DashboardApiGetWidgetItemsV2ResponseApplicationJson _$result; try { - _$result = _$v ?? _$DashboardApiGetWidgetItemsV2ResponseApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + new _$DashboardApiGetWidgetItemsV2ResponseApplicationJson._( + ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'DashboardApiGetWidgetItemsV2ResponseApplicationJson', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DashboardApiGetWidgetItemsV2ResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/api/dav.openapi.dart b/packages/nextcloud/lib/src/api/dav.openapi.dart index 3190a3d1716..d61d4e1fa3e 100644 --- a/packages/nextcloud/lib/src/api/dav.openapi.dart +++ b/packages/nextcloud/lib/src/api/dav.openapi.dart @@ -2,14 +2,19 @@ // ignore_for_file: discarded_futures // ignore_for_file: public_member_api_docs // ignore_for_file: unreachable_switch_case +import 'dart:convert'; import 'dart:typed_data'; +import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; +import 'package:built_value/json_object.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; +import 'package:dynamite_runtime/models.dart'; +import 'package:dynamite_runtime/utils.dart'; import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; @@ -25,7 +30,7 @@ class Client extends DynamiteClient { super.authentications, }); - Client.fromClient(final DynamiteClient client) + Client.fromClient(DynamiteClient client) : super( client.baseURL, baseHeaders: client.baseHeaders, @@ -61,9 +66,9 @@ class DirectClient { /// See: /// * [getUrlRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getUrl({ - required final int fileId, - final int? expirationTime, - final bool oCSAPIRequest = true, + required int fileId, + int? expirationTime, + bool oCSAPIRequest = true, }) async { final rawResponse = getUrlRaw( fileId: fileId, @@ -96,15 +101,15 @@ class DirectClient { /// * [getUrl] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getUrlRaw({ - required final int fileId, - final int? expirationTime, - final bool oCSAPIRequest = true, + required int fileId, + int? expirationTime, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -115,7 +120,7 @@ class DirectClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -123,29 +128,76 @@ class DirectClient { } // coverage:ignore-end - queryParameters['fileId'] = fileId.toString(); + _queryParameters['fileId'] = fileId.toString(); if (expirationTime != null) { - queryParameters['expirationTime'] = expirationTime.toString(); + _queryParameters['expirationTime'] = expirationTime.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/dav/api/v1/direct'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/dav/api/v1/direct'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DirectGetUrlResponseApplicationJson), + bodyType: FullType(DirectGetUrlResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } } +@BuiltValue(instantiable: false) +abstract interface class Capabilities_DavInterface { + String get chunking; + String? get bulkupload; +} + +abstract class Capabilities_Dav implements Capabilities_DavInterface, Built { + factory Capabilities_Dav([void Function(Capabilities_DavBuilder)? b]) = _$Capabilities_Dav; + + // coverage:ignore-start + const Capabilities_Dav._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities_Dav.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilitiesDavSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CapabilitiesInterface { + Capabilities_Dav get dav; +} + +abstract class Capabilities implements CapabilitiesInterface, Built { + factory Capabilities([void Function(CapabilitiesBuilder)? b]) = _$Capabilities; + + // coverage:ignore-start + const Capabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilitiesSerializer; +} + @BuiltValue(instantiable: false) abstract interface class OCSMetaInterface { String get status; @@ -156,14 +208,14 @@ abstract interface class OCSMetaInterface { } abstract class OCSMeta implements OCSMetaInterface, Built { - factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; + factory OCSMeta([void Function(OCSMetaBuilder)? b]) = _$OCSMeta; // coverage:ignore-start const OCSMeta._(); // coverage:ignore-end // coverage:ignore-start - factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory OCSMeta.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -182,16 +234,16 @@ abstract class DirectGetUrlResponseApplicationJson_Ocs_Data implements DirectGetUrlResponseApplicationJson_Ocs_DataInterface, Built { - factory DirectGetUrlResponseApplicationJson_Ocs_Data([ - final void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? b, - ]) = _$DirectGetUrlResponseApplicationJson_Ocs_Data; + factory DirectGetUrlResponseApplicationJson_Ocs_Data( + [void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? b]) = + _$DirectGetUrlResponseApplicationJson_Ocs_Data; // coverage:ignore-start const DirectGetUrlResponseApplicationJson_Ocs_Data._(); // coverage:ignore-end // coverage:ignore-start - factory DirectGetUrlResponseApplicationJson_Ocs_Data.fromJson(final Map json) => + factory DirectGetUrlResponseApplicationJson_Ocs_Data.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -213,16 +265,15 @@ abstract class DirectGetUrlResponseApplicationJson_Ocs implements DirectGetUrlResponseApplicationJson_OcsInterface, Built { - factory DirectGetUrlResponseApplicationJson_Ocs([ - final void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? b, - ]) = _$DirectGetUrlResponseApplicationJson_Ocs; + factory DirectGetUrlResponseApplicationJson_Ocs([void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? b]) = + _$DirectGetUrlResponseApplicationJson_Ocs; // coverage:ignore-start const DirectGetUrlResponseApplicationJson_Ocs._(); // coverage:ignore-end // coverage:ignore-start - factory DirectGetUrlResponseApplicationJson_Ocs.fromJson(final Map json) => + factory DirectGetUrlResponseApplicationJson_Ocs.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -243,7 +294,7 @@ abstract class DirectGetUrlResponseApplicationJson implements DirectGetUrlResponseApplicationJsonInterface, Built { - factory DirectGetUrlResponseApplicationJson([final void Function(DirectGetUrlResponseApplicationJsonBuilder)? b]) = + factory DirectGetUrlResponseApplicationJson([void Function(DirectGetUrlResponseApplicationJsonBuilder)? b]) = _$DirectGetUrlResponseApplicationJson; // coverage:ignore-start @@ -251,7 +302,7 @@ abstract class DirectGetUrlResponseApplicationJson // coverage:ignore-end // coverage:ignore-start - factory DirectGetUrlResponseApplicationJson.fromJson(final Map json) => + factory DirectGetUrlResponseApplicationJson.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end @@ -263,74 +314,14 @@ abstract class DirectGetUrlResponseApplicationJson _$directGetUrlResponseApplicationJsonSerializer; } -@BuiltValue(instantiable: false) -abstract interface class Capabilities_DavInterface { - String get chunking; - String? get bulkupload; -} - -abstract class Capabilities_Dav implements Capabilities_DavInterface, Built { - factory Capabilities_Dav([final void Function(Capabilities_DavBuilder)? b]) = _$Capabilities_Dav; - - // coverage:ignore-start - const Capabilities_Dav._(); - // coverage:ignore-end - - // coverage:ignore-start - factory Capabilities_Dav.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$capabilitiesDavSerializer; -} - -@BuiltValue(instantiable: false) -abstract interface class CapabilitiesInterface { - Capabilities_Dav get dav; -} - -abstract class Capabilities implements CapabilitiesInterface, Built { - factory Capabilities([final void Function(CapabilitiesBuilder)? b]) = _$Capabilities; - - // coverage:ignore-start - const Capabilities._(); - // coverage:ignore-end - - // coverage:ignore-start - factory Capabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-end - - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end - - static Serializer get serializer => _$capabilitiesSerializer; -} - // coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory(const FullType(DirectGetUrlResponseApplicationJson), DirectGetUrlResponseApplicationJson.new) - ..add(DirectGetUrlResponseApplicationJson.serializer) - ..addBuilderFactory( - const FullType(DirectGetUrlResponseApplicationJson_Ocs), - DirectGetUrlResponseApplicationJson_Ocs.new, - ) - ..add(DirectGetUrlResponseApplicationJson_Ocs.serializer) - ..addBuilderFactory(const FullType(OCSMeta), OCSMeta.new) - ..add(OCSMeta.serializer) - ..addBuilderFactory( - const FullType(DirectGetUrlResponseApplicationJson_Ocs_Data), - DirectGetUrlResponseApplicationJson_Ocs_Data.new, - ) - ..add(DirectGetUrlResponseApplicationJson_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(Capabilities), Capabilities.new) + ..addBuilderFactory(FullType(Capabilities), Capabilities.new) ..add(Capabilities.serializer) - ..addBuilderFactory(const FullType(Capabilities_Dav), Capabilities_Dav.new) - ..add(Capabilities_Dav.serializer)) + ..addBuilderFactory(FullType(Capabilities_Dav), Capabilities_Dav.new) + ..add(Capabilities_Dav.serializer) + ..addBuilderFactory(FullType(OCSMeta), OCSMeta.new) + ..add(OCSMeta.serializer)) .build(); final Serializers _jsonSerializers = (_serializers.toBuilder() diff --git a/packages/nextcloud/lib/src/api/dav.openapi.g.dart b/packages/nextcloud/lib/src/api/dav.openapi.g.dart index 68ab577fd88..4a43f44e611 100644 --- a/packages/nextcloud/lib/src/api/dav.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/dav.openapi.g.dart @@ -6,15 +6,115 @@ part of 'dav.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); -Serializer _$directGetUrlResponseApplicationJsonOcsDataSerializer = - _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer(); -Serializer _$directGetUrlResponseApplicationJsonOcsSerializer = - _$DirectGetUrlResponseApplicationJson_OcsSerializer(); -Serializer _$directGetUrlResponseApplicationJsonSerializer = - _$DirectGetUrlResponseApplicationJsonSerializer(); -Serializer _$capabilitiesDavSerializer = _$Capabilities_DavSerializer(); -Serializer _$capabilitiesSerializer = _$CapabilitiesSerializer(); +Serializer _$capabilitiesDavSerializer = + new _$Capabilities_DavSerializer(); +Serializer _$capabilitiesSerializer = + new _$CapabilitiesSerializer(); +Serializer _$oCSMetaSerializer = new _$OCSMetaSerializer(); +Serializer + _$directGetUrlResponseApplicationJsonOcsDataSerializer = + new _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer(); +Serializer + _$directGetUrlResponseApplicationJsonOcsSerializer = + new _$DirectGetUrlResponseApplicationJson_OcsSerializer(); +Serializer + _$directGetUrlResponseApplicationJsonSerializer = + new _$DirectGetUrlResponseApplicationJsonSerializer(); + +class _$Capabilities_DavSerializer + implements StructuredSerializer { + @override + final Iterable types = const [Capabilities_Dav, _$Capabilities_Dav]; + @override + final String wireName = 'Capabilities_Dav'; + + @override + Iterable serialize(Serializers serializers, Capabilities_Dav object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'chunking', + serializers.serialize(object.chunking, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.bulkupload; + if (value != null) { + result + ..add('bulkupload') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + Capabilities_Dav deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new Capabilities_DavBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'chunking': + result.chunking = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; + break; + case 'bulkupload': + result.bulkupload = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$CapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [Capabilities, _$Capabilities]; + @override + final String wireName = 'Capabilities'; + + @override + Iterable serialize(Serializers serializers, Capabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'dav', + serializers.serialize(object.dav, + specifiedType: const FullType(Capabilities_Dav)), + ]; + + return result; + } + + @override + Capabilities deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new CapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'dav': + result.dav.replace(serializers.deserialize(value, + specifiedType: const FullType(Capabilities_Dav))! + as Capabilities_Dav); + break; + } + } + + return result.build(); + } +} class _$OCSMetaSerializer implements StructuredSerializer { @override @@ -27,28 +127,33 @@ class _$OCSMetaSerializer implements StructuredSerializer { {FullType specifiedType = FullType.unspecified}) { final result = [ 'status', - serializers.serialize(object.status, specifiedType: const FullType(String)), + serializers.serialize(object.status, + specifiedType: const FullType(String)), 'statuscode', - serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + serializers.serialize(object.statuscode, + specifiedType: const FullType(int)), ]; Object? value; value = object.message; if (value != null) { result ..add('message') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } value = object.totalitems; if (value != null) { result ..add('totalitems') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } value = object.itemsperpage; if (value != null) { result ..add('itemsperpage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); } return result; } @@ -56,7 +161,7 @@ class _$OCSMetaSerializer implements StructuredSerializer { @override OCSMeta deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = OCSMetaBuilder(); + final result = new OCSMetaBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -65,19 +170,24 @@ class _$OCSMetaSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.status = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; case 'statuscode': - result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.statuscode = serializers.deserialize(value, + specifiedType: const FullType(int))! as int; break; case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.message = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; case 'totalitems': - result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.totalitems = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; case 'itemsperpage': - result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.itemsperpage = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; break; } } @@ -87,7 +197,8 @@ class _$OCSMetaSerializer implements StructuredSerializer { } class _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { + implements + StructuredSerializer { @override final Iterable types = const [ DirectGetUrlResponseApplicationJson_Ocs_Data, @@ -97,7 +208,8 @@ class _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer final String wireName = 'DirectGetUrlResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, DirectGetUrlResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + DirectGetUrlResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'url', @@ -108,9 +220,10 @@ class _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer } @override - DirectGetUrlResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + DirectGetUrlResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DirectGetUrlResponseApplicationJson_Ocs_DataBuilder(); + final result = new DirectGetUrlResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -119,7 +232,8 @@ class _$DirectGetUrlResponseApplicationJson_Ocs_DataSerializer final Object? value = iterator.current; switch (key) { case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.url = serializers.deserialize(value, + specifiedType: const FullType(String))! as String; break; } } @@ -139,22 +253,27 @@ class _$DirectGetUrlResponseApplicationJson_OcsSerializer final String wireName = 'DirectGetUrlResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, DirectGetUrlResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, DirectGetUrlResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + serializers.serialize(object.meta, + specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(DirectGetUrlResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, + specifiedType: + const FullType(DirectGetUrlResponseApplicationJson_Ocs_Data)), ]; return result; } @override - DirectGetUrlResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + DirectGetUrlResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DirectGetUrlResponseApplicationJson_OcsBuilder(); + final result = new DirectGetUrlResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -163,11 +282,13 @@ class _$DirectGetUrlResponseApplicationJson_OcsSerializer final Object? value = iterator.current; switch (key) { case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + result.meta.replace(serializers.deserialize(value, + specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(DirectGetUrlResponseApplicationJson_Ocs_Data))! + specifiedType: const FullType( + DirectGetUrlResponseApplicationJson_Ocs_Data))! as DirectGetUrlResponseApplicationJson_Ocs_Data); break; } @@ -180,25 +301,32 @@ class _$DirectGetUrlResponseApplicationJson_OcsSerializer class _$DirectGetUrlResponseApplicationJsonSerializer implements StructuredSerializer { @override - final Iterable types = const [DirectGetUrlResponseApplicationJson, _$DirectGetUrlResponseApplicationJson]; + final Iterable types = const [ + DirectGetUrlResponseApplicationJson, + _$DirectGetUrlResponseApplicationJson + ]; @override final String wireName = 'DirectGetUrlResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, DirectGetUrlResponseApplicationJson object, + Iterable serialize( + Serializers serializers, DirectGetUrlResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(DirectGetUrlResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: + const FullType(DirectGetUrlResponseApplicationJson_Ocs)), ]; return result; } @override - DirectGetUrlResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + DirectGetUrlResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = DirectGetUrlResponseApplicationJsonBuilder(); + final result = new DirectGetUrlResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -207,9 +335,10 @@ class _$DirectGetUrlResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(DirectGetUrlResponseApplicationJson_Ocs))! - as DirectGetUrlResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(DirectGetUrlResponseApplicationJson_Ocs))! + as DirectGetUrlResponseApplicationJson_Ocs); break; } } @@ -218,89 +347,216 @@ class _$DirectGetUrlResponseApplicationJsonSerializer } } -class _$Capabilities_DavSerializer implements StructuredSerializer { +abstract mixin class Capabilities_DavInterfaceBuilder { + void replace(Capabilities_DavInterface other); + void update(void Function(Capabilities_DavInterfaceBuilder) updates); + String? get chunking; + set chunking(String? chunking); + + String? get bulkupload; + set bulkupload(String? bulkupload); +} + +class _$Capabilities_Dav extends Capabilities_Dav { + @override + final String chunking; + @override + final String? bulkupload; + + factory _$Capabilities_Dav( + [void Function(Capabilities_DavBuilder)? updates]) => + (new Capabilities_DavBuilder()..update(updates))._build(); + + _$Capabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { + BuiltValueNullFieldError.checkNotNull( + chunking, r'Capabilities_Dav', 'chunking'); + } + @override - final Iterable types = const [Capabilities_Dav, _$Capabilities_Dav]; + Capabilities_Dav rebuild(void Function(Capabilities_DavBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'Capabilities_Dav'; + Capabilities_DavBuilder toBuilder() => + new Capabilities_DavBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, Capabilities_Dav object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'chunking', - serializers.serialize(object.chunking, specifiedType: const FullType(String)), - ]; - Object? value; - value = object.bulkupload; - if (value != null) { - result - ..add('bulkupload') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Capabilities_Dav && + chunking == other.chunking && + bulkupload == other.bulkupload; } @override - Capabilities_Dav deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = Capabilities_DavBuilder(); + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, chunking.hashCode); + _$hash = $jc(_$hash, bulkupload.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'chunking': - result.chunking = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'bulkupload': - result.bulkupload = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - } + @override + String toString() { + return (newBuiltValueToStringHelper(r'Capabilities_Dav') + ..add('chunking', chunking) + ..add('bulkupload', bulkupload)) + .toString(); + } +} + +class Capabilities_DavBuilder + implements + Builder, + Capabilities_DavInterfaceBuilder { + _$Capabilities_Dav? _$v; + + String? _chunking; + String? get chunking => _$this._chunking; + set chunking(covariant String? chunking) => _$this._chunking = chunking; + + String? _bulkupload; + String? get bulkupload => _$this._bulkupload; + set bulkupload(covariant String? bulkupload) => + _$this._bulkupload = bulkupload; + + Capabilities_DavBuilder(); + + Capabilities_DavBuilder get _$this { + final $v = _$v; + if ($v != null) { + _chunking = $v.chunking; + _bulkupload = $v.bulkupload; + _$v = null; } + return this; + } - return result.build(); + @override + void replace(covariant Capabilities_Dav other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Capabilities_Dav; + } + + @override + void update(void Function(Capabilities_DavBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Capabilities_Dav build() => _build(); + + _$Capabilities_Dav _build() { + final _$result = _$v ?? + new _$Capabilities_Dav._( + chunking: BuiltValueNullFieldError.checkNotNull( + chunking, r'Capabilities_Dav', 'chunking'), + bulkupload: bulkupload); + replace(_$result); + return _$result; } } -class _$CapabilitiesSerializer implements StructuredSerializer { +abstract mixin class CapabilitiesInterfaceBuilder { + void replace(CapabilitiesInterface other); + void update(void Function(CapabilitiesInterfaceBuilder) updates); + Capabilities_DavBuilder get dav; + set dav(Capabilities_DavBuilder? dav); +} + +class _$Capabilities extends Capabilities { @override - final Iterable types = const [Capabilities, _$Capabilities]; + final Capabilities_Dav dav; + + factory _$Capabilities([void Function(CapabilitiesBuilder)? updates]) => + (new CapabilitiesBuilder()..update(updates))._build(); + + _$Capabilities._({required this.dav}) : super._() { + BuiltValueNullFieldError.checkNotNull(dav, r'Capabilities', 'dav'); + } + @override - final String wireName = 'Capabilities'; + Capabilities rebuild(void Function(CapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - Iterable serialize(Serializers serializers, Capabilities object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'dav', - serializers.serialize(object.dav, specifiedType: const FullType(Capabilities_Dav)), - ]; + CapabilitiesBuilder toBuilder() => new CapabilitiesBuilder()..replace(this); - return result; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is Capabilities && dav == other.dav; } @override - Capabilities deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CapabilitiesBuilder(); + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, dav.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'dav': - result.dav.replace( - serializers.deserialize(value, specifiedType: const FullType(Capabilities_Dav))! as Capabilities_Dav); - break; - } + @override + String toString() { + return (newBuiltValueToStringHelper(r'Capabilities')..add('dav', dav)) + .toString(); + } +} + +class CapabilitiesBuilder + implements + Builder, + CapabilitiesInterfaceBuilder { + _$Capabilities? _$v; + + Capabilities_DavBuilder? _dav; + Capabilities_DavBuilder get dav => + _$this._dav ??= new Capabilities_DavBuilder(); + set dav(covariant Capabilities_DavBuilder? dav) => _$this._dav = dav; + + CapabilitiesBuilder(); + + CapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _dav = $v.dav.toBuilder(); + _$v = null; } + return this; + } - return result.build(); + @override + void replace(covariant Capabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$Capabilities; + } + + @override + void update(void Function(CapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + Capabilities build() => _build(); + + _$Capabilities _build() { + _$Capabilities _$result; + try { + _$result = _$v ?? new _$Capabilities._(dav: dav.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'dav'; + dav.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + r'Capabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; } } @@ -335,19 +591,26 @@ class _$OCSMeta extends OCSMeta { @override final String? itemsperpage; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => + (new OCSMetaBuilder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + _$OCSMeta._( + {required this.status, + required this.statuscode, + this.message, + this.totalitems, + this.itemsperpage}) : super._() { BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + OCSMetaBuilder toBuilder() => new OCSMetaBuilder()..replace(this); @override bool operator ==(Object other) { @@ -384,7 +647,8 @@ class _$OCSMeta extends OCSMeta { } } -class OCSMetaBuilder implements Builder, OCSMetaInterfaceBuilder { +class OCSMetaBuilder + implements Builder, OCSMetaInterfaceBuilder { _$OCSMeta? _$v; String? _status; @@ -401,11 +665,13 @@ class OCSMetaBuilder implements Builder, OCSMetaInterfa String? _totalitems; String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + set totalitems(covariant String? totalitems) => + _$this._totalitems = totalitems; String? _itemsperpage; String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + set itemsperpage(covariant String? itemsperpage) => + _$this._itemsperpage = itemsperpage; OCSMetaBuilder(); @@ -438,9 +704,11 @@ class OCSMetaBuilder implements Builder, OCSMetaInterfa _$OCSMeta _build() { final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + new _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull( + status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull( + statuscode, r'OCSMeta', 'statuscode'), message: message, totalitems: totalitems, itemsperpage: itemsperpage); @@ -451,36 +719,47 @@ class OCSMetaBuilder implements Builder, OCSMetaInterfa abstract mixin class DirectGetUrlResponseApplicationJson_Ocs_DataInterfaceBuilder { void replace(DirectGetUrlResponseApplicationJson_Ocs_DataInterface other); - void update(void Function(DirectGetUrlResponseApplicationJson_Ocs_DataInterfaceBuilder) updates); + void update( + void Function( + DirectGetUrlResponseApplicationJson_Ocs_DataInterfaceBuilder) + updates); String? get url; set url(String? url); } -class _$DirectGetUrlResponseApplicationJson_Ocs_Data extends DirectGetUrlResponseApplicationJson_Ocs_Data { +class _$DirectGetUrlResponseApplicationJson_Ocs_Data + extends DirectGetUrlResponseApplicationJson_Ocs_Data { @override final String url; factory _$DirectGetUrlResponseApplicationJson_Ocs_Data( - [void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? updates]) => - (DirectGetUrlResponseApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + [void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? + updates]) => + (new DirectGetUrlResponseApplicationJson_Ocs_DataBuilder() + ..update(updates)) + ._build(); - _$DirectGetUrlResponseApplicationJson_Ocs_Data._({required this.url}) : super._() { - BuiltValueNullFieldError.checkNotNull(url, r'DirectGetUrlResponseApplicationJson_Ocs_Data', 'url'); + _$DirectGetUrlResponseApplicationJson_Ocs_Data._({required this.url}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + url, r'DirectGetUrlResponseApplicationJson_Ocs_Data', 'url'); } @override DirectGetUrlResponseApplicationJson_Ocs_Data rebuild( - void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder) updates) => + void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DirectGetUrlResponseApplicationJson_Ocs_DataBuilder toBuilder() => - DirectGetUrlResponseApplicationJson_Ocs_DataBuilder()..replace(this); + new DirectGetUrlResponseApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DirectGetUrlResponseApplicationJson_Ocs_Data && url == other.url; + return other is DirectGetUrlResponseApplicationJson_Ocs_Data && + url == other.url; } @override @@ -493,13 +772,17 @@ class _$DirectGetUrlResponseApplicationJson_Ocs_Data extends DirectGetUrlRespons @override String toString() { - return (newBuiltValueToStringHelper(r'DirectGetUrlResponseApplicationJson_Ocs_Data')..add('url', url)).toString(); + return (newBuiltValueToStringHelper( + r'DirectGetUrlResponseApplicationJson_Ocs_Data') + ..add('url', url)) + .toString(); } } class DirectGetUrlResponseApplicationJson_Ocs_DataBuilder implements - Builder, + Builder, DirectGetUrlResponseApplicationJson_Ocs_DataInterfaceBuilder { _$DirectGetUrlResponseApplicationJson_Ocs_Data? _$v; @@ -525,7 +808,9 @@ class DirectGetUrlResponseApplicationJson_Ocs_DataBuilder } @override - void update(void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder)? + updates) { if (updates != null) updates(this); } @@ -534,8 +819,9 @@ class DirectGetUrlResponseApplicationJson_Ocs_DataBuilder _$DirectGetUrlResponseApplicationJson_Ocs_Data _build() { final _$result = _$v ?? - _$DirectGetUrlResponseApplicationJson_Ocs_Data._( - url: BuiltValueNullFieldError.checkNotNull(url, r'DirectGetUrlResponseApplicationJson_Ocs_Data', 'url')); + new _$DirectGetUrlResponseApplicationJson_Ocs_Data._( + url: BuiltValueNullFieldError.checkNotNull( + url, r'DirectGetUrlResponseApplicationJson_Ocs_Data', 'url')); replace(_$result); return _$result; } @@ -543,7 +829,9 @@ class DirectGetUrlResponseApplicationJson_Ocs_DataBuilder abstract mixin class DirectGetUrlResponseApplicationJson_OcsInterfaceBuilder { void replace(DirectGetUrlResponseApplicationJson_OcsInterface other); - void update(void Function(DirectGetUrlResponseApplicationJson_OcsInterfaceBuilder) updates); + void update( + void Function(DirectGetUrlResponseApplicationJson_OcsInterfaceBuilder) + updates); OCSMetaBuilder get meta; set meta(OCSMetaBuilder? meta); @@ -551,34 +839,44 @@ abstract mixin class DirectGetUrlResponseApplicationJson_OcsInterfaceBuilder { set data(DirectGetUrlResponseApplicationJson_Ocs_DataBuilder? data); } -class _$DirectGetUrlResponseApplicationJson_Ocs extends DirectGetUrlResponseApplicationJson_Ocs { +class _$DirectGetUrlResponseApplicationJson_Ocs + extends DirectGetUrlResponseApplicationJson_Ocs { @override final OCSMeta meta; @override final DirectGetUrlResponseApplicationJson_Ocs_Data data; factory _$DirectGetUrlResponseApplicationJson_Ocs( - [void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? updates]) => - (DirectGetUrlResponseApplicationJson_OcsBuilder()..update(updates))._build(); + [void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? + updates]) => + (new DirectGetUrlResponseApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$DirectGetUrlResponseApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'DirectGetUrlResponseApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'DirectGetUrlResponseApplicationJson_Ocs', 'data'); + _$DirectGetUrlResponseApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'DirectGetUrlResponseApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'DirectGetUrlResponseApplicationJson_Ocs', 'data'); } @override DirectGetUrlResponseApplicationJson_Ocs rebuild( - void Function(DirectGetUrlResponseApplicationJson_OcsBuilder) updates) => + void Function(DirectGetUrlResponseApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override DirectGetUrlResponseApplicationJson_OcsBuilder toBuilder() => - DirectGetUrlResponseApplicationJson_OcsBuilder()..replace(this); + new DirectGetUrlResponseApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is DirectGetUrlResponseApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is DirectGetUrlResponseApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -592,7 +890,8 @@ class _$DirectGetUrlResponseApplicationJson_Ocs extends DirectGetUrlResponseAppl @override String toString() { - return (newBuiltValueToStringHelper(r'DirectGetUrlResponseApplicationJson_Ocs') + return (newBuiltValueToStringHelper( + r'DirectGetUrlResponseApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); @@ -601,18 +900,23 @@ class _$DirectGetUrlResponseApplicationJson_Ocs extends DirectGetUrlResponseAppl class DirectGetUrlResponseApplicationJson_OcsBuilder implements - Builder, + Builder, DirectGetUrlResponseApplicationJson_OcsInterfaceBuilder { _$DirectGetUrlResponseApplicationJson_Ocs? _$v; OCSMetaBuilder? _meta; - OCSMetaBuilder get meta => _$this._meta ??= OCSMetaBuilder(); + OCSMetaBuilder get meta => _$this._meta ??= new OCSMetaBuilder(); set meta(covariant OCSMetaBuilder? meta) => _$this._meta = meta; DirectGetUrlResponseApplicationJson_Ocs_DataBuilder? _data; DirectGetUrlResponseApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= DirectGetUrlResponseApplicationJson_Ocs_DataBuilder(); - set data(covariant DirectGetUrlResponseApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + _$this._data ??= + new DirectGetUrlResponseApplicationJson_Ocs_DataBuilder(); + set data( + covariant DirectGetUrlResponseApplicationJson_Ocs_DataBuilder? + data) => + _$this._data = data; DirectGetUrlResponseApplicationJson_OcsBuilder(); @@ -633,7 +937,8 @@ class DirectGetUrlResponseApplicationJson_OcsBuilder } @override - void update(void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? updates) { + void update( + void Function(DirectGetUrlResponseApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @@ -643,7 +948,9 @@ class DirectGetUrlResponseApplicationJson_OcsBuilder _$DirectGetUrlResponseApplicationJson_Ocs _build() { _$DirectGetUrlResponseApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$DirectGetUrlResponseApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + new _$DirectGetUrlResponseApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -652,7 +959,10 @@ class DirectGetUrlResponseApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'DirectGetUrlResponseApplicationJson_Ocs', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DirectGetUrlResponseApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -663,28 +973,37 @@ class DirectGetUrlResponseApplicationJson_OcsBuilder abstract mixin class DirectGetUrlResponseApplicationJsonInterfaceBuilder { void replace(DirectGetUrlResponseApplicationJsonInterface other); - void update(void Function(DirectGetUrlResponseApplicationJsonInterfaceBuilder) updates); + void update( + void Function(DirectGetUrlResponseApplicationJsonInterfaceBuilder) + updates); DirectGetUrlResponseApplicationJson_OcsBuilder get ocs; set ocs(DirectGetUrlResponseApplicationJson_OcsBuilder? ocs); } -class _$DirectGetUrlResponseApplicationJson extends DirectGetUrlResponseApplicationJson { +class _$DirectGetUrlResponseApplicationJson + extends DirectGetUrlResponseApplicationJson { @override final DirectGetUrlResponseApplicationJson_Ocs ocs; - factory _$DirectGetUrlResponseApplicationJson([void Function(DirectGetUrlResponseApplicationJsonBuilder)? updates]) => - (DirectGetUrlResponseApplicationJsonBuilder()..update(updates))._build(); + factory _$DirectGetUrlResponseApplicationJson( + [void Function(DirectGetUrlResponseApplicationJsonBuilder)? + updates]) => + (new DirectGetUrlResponseApplicationJsonBuilder()..update(updates)) + ._build(); _$DirectGetUrlResponseApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'DirectGetUrlResponseApplicationJson', 'ocs'); + BuiltValueNullFieldError.checkNotNull( + ocs, r'DirectGetUrlResponseApplicationJson', 'ocs'); } @override - DirectGetUrlResponseApplicationJson rebuild(void Function(DirectGetUrlResponseApplicationJsonBuilder) updates) => + DirectGetUrlResponseApplicationJson rebuild( + void Function(DirectGetUrlResponseApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - DirectGetUrlResponseApplicationJsonBuilder toBuilder() => DirectGetUrlResponseApplicationJsonBuilder()..replace(this); + DirectGetUrlResponseApplicationJsonBuilder toBuilder() => + new DirectGetUrlResponseApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { @@ -702,20 +1021,24 @@ class _$DirectGetUrlResponseApplicationJson extends DirectGetUrlResponseApplicat @override String toString() { - return (newBuiltValueToStringHelper(r'DirectGetUrlResponseApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'DirectGetUrlResponseApplicationJson') + ..add('ocs', ocs)) + .toString(); } } class DirectGetUrlResponseApplicationJsonBuilder implements - Builder, + Builder, DirectGetUrlResponseApplicationJsonInterfaceBuilder { _$DirectGetUrlResponseApplicationJson? _$v; DirectGetUrlResponseApplicationJson_OcsBuilder? _ocs; DirectGetUrlResponseApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= DirectGetUrlResponseApplicationJson_OcsBuilder(); - set ocs(covariant DirectGetUrlResponseApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + _$this._ocs ??= new DirectGetUrlResponseApplicationJson_OcsBuilder(); + set ocs(covariant DirectGetUrlResponseApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; DirectGetUrlResponseApplicationJsonBuilder(); @@ -735,7 +1058,8 @@ class DirectGetUrlResponseApplicationJsonBuilder } @override - void update(void Function(DirectGetUrlResponseApplicationJsonBuilder)? updates) { + void update( + void Function(DirectGetUrlResponseApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @@ -745,210 +1069,18 @@ class DirectGetUrlResponseApplicationJsonBuilder _$DirectGetUrlResponseApplicationJson _build() { _$DirectGetUrlResponseApplicationJson _$result; try { - _$result = _$v ?? _$DirectGetUrlResponseApplicationJson._(ocs: ocs.build()); + _$result = + _$v ?? new _$DirectGetUrlResponseApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'DirectGetUrlResponseApplicationJson', _$failedField, e.toString()); - } - rethrow; - } - replace(_$result); - return _$result; - } -} - -abstract mixin class Capabilities_DavInterfaceBuilder { - void replace(Capabilities_DavInterface other); - void update(void Function(Capabilities_DavInterfaceBuilder) updates); - String? get chunking; - set chunking(String? chunking); - - String? get bulkupload; - set bulkupload(String? bulkupload); -} - -class _$Capabilities_Dav extends Capabilities_Dav { - @override - final String chunking; - @override - final String? bulkupload; - - factory _$Capabilities_Dav([void Function(Capabilities_DavBuilder)? updates]) => - (Capabilities_DavBuilder()..update(updates))._build(); - - _$Capabilities_Dav._({required this.chunking, this.bulkupload}) : super._() { - BuiltValueNullFieldError.checkNotNull(chunking, r'Capabilities_Dav', 'chunking'); - } - - @override - Capabilities_Dav rebuild(void Function(Capabilities_DavBuilder) updates) => (toBuilder()..update(updates)).build(); - - @override - Capabilities_DavBuilder toBuilder() => Capabilities_DavBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is Capabilities_Dav && chunking == other.chunking && bulkupload == other.bulkupload; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, chunking.hashCode); - _$hash = $jc(_$hash, bulkupload.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper(r'Capabilities_Dav') - ..add('chunking', chunking) - ..add('bulkupload', bulkupload)) - .toString(); - } -} - -class Capabilities_DavBuilder - implements Builder, Capabilities_DavInterfaceBuilder { - _$Capabilities_Dav? _$v; - - String? _chunking; - String? get chunking => _$this._chunking; - set chunking(covariant String? chunking) => _$this._chunking = chunking; - - String? _bulkupload; - String? get bulkupload => _$this._bulkupload; - set bulkupload(covariant String? bulkupload) => _$this._bulkupload = bulkupload; - - Capabilities_DavBuilder(); - - Capabilities_DavBuilder get _$this { - final $v = _$v; - if ($v != null) { - _chunking = $v.chunking; - _bulkupload = $v.bulkupload; - _$v = null; - } - return this; - } - - @override - void replace(covariant Capabilities_Dav other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities_Dav; - } - - @override - void update(void Function(Capabilities_DavBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - Capabilities_Dav build() => _build(); - - _$Capabilities_Dav _build() { - final _$result = _$v ?? - _$Capabilities_Dav._( - chunking: BuiltValueNullFieldError.checkNotNull(chunking, r'Capabilities_Dav', 'chunking'), - bulkupload: bulkupload); - replace(_$result); - return _$result; - } -} - -abstract mixin class CapabilitiesInterfaceBuilder { - void replace(CapabilitiesInterface other); - void update(void Function(CapabilitiesInterfaceBuilder) updates); - Capabilities_DavBuilder get dav; - set dav(Capabilities_DavBuilder? dav); -} - -class _$Capabilities extends Capabilities { - @override - final Capabilities_Dav dav; - - factory _$Capabilities([void Function(CapabilitiesBuilder)? updates]) => - (CapabilitiesBuilder()..update(updates))._build(); - - _$Capabilities._({required this.dav}) : super._() { - BuiltValueNullFieldError.checkNotNull(dav, r'Capabilities', 'dav'); - } - - @override - Capabilities rebuild(void Function(CapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); - - @override - CapabilitiesBuilder toBuilder() => CapabilitiesBuilder()..replace(this); - - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is Capabilities && dav == other.dav; - } - - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, dav.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - - @override - String toString() { - return (newBuiltValueToStringHelper(r'Capabilities')..add('dav', dav)).toString(); - } -} - -class CapabilitiesBuilder implements Builder, CapabilitiesInterfaceBuilder { - _$Capabilities? _$v; - - Capabilities_DavBuilder? _dav; - Capabilities_DavBuilder get dav => _$this._dav ??= Capabilities_DavBuilder(); - set dav(covariant Capabilities_DavBuilder? dav) => _$this._dav = dav; - - CapabilitiesBuilder(); - - CapabilitiesBuilder get _$this { - final $v = _$v; - if ($v != null) { - _dav = $v.dav.toBuilder(); - _$v = null; - } - return this; - } - - @override - void replace(covariant Capabilities other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$Capabilities; - } - - @override - void update(void Function(CapabilitiesBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - Capabilities build() => _build(); - - _$Capabilities _build() { - _$Capabilities _$result; - try { - _$result = _$v ?? _$Capabilities._(dav: dav.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'dav'; - dav.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'Capabilities', _$failedField, e.toString()); + throw new BuiltValueNestedFieldError( + r'DirectGetUrlResponseApplicationJson', + _$failedField, + e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/api/files.openapi.dart b/packages/nextcloud/lib/src/api/files.openapi.dart index 3c9c38014e7..d5e394bce9e 100644 --- a/packages/nextcloud/lib/src/api/files.openapi.dart +++ b/packages/nextcloud/lib/src/api/files.openapi.dart @@ -2,6 +2,7 @@ // ignore_for_file: discarded_futures // ignore_for_file: public_member_api_docs // ignore_for_file: unreachable_switch_case +import 'dart:convert'; import 'dart:typed_data'; import 'package:built_collection/built_collection.dart'; @@ -12,6 +13,7 @@ import 'package:built_value/standard_json_plugin.dart'; import 'package:collection/collection.dart'; import 'package:dynamite_runtime/built_value.dart'; import 'package:dynamite_runtime/http_client.dart'; +import 'package:dynamite_runtime/models.dart'; import 'package:dynamite_runtime/utils.dart'; import 'package:meta/meta.dart'; import 'package:universal_io/io.dart'; @@ -28,7 +30,7 @@ class Client extends DynamiteClient { super.authentications, }); - Client.fromClient(final DynamiteClient client) + Client.fromClient(DynamiteClient client) : super( client.baseURL, baseHeaders: client.baseHeaders, @@ -71,9 +73,9 @@ class ApiClient { /// See: /// * [getThumbnailRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> getThumbnail({ - required final int x, - required final int y, - required final String file, + required int x, + required int y, + required String file, }) async { final rawResponse = getThumbnailRaw( x: x, @@ -105,15 +107,15 @@ class ApiClient { /// * [getThumbnail] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse getThumbnailRaw({ - required final int x, - required final int y, - required final String file, + required int x, + required int y, + required String file, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': '*/*', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -124,7 +126,7 @@ class ApiClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -132,22 +134,22 @@ class ApiClient { } // coverage:ignore-end - final x0 = Uri.encodeQueryComponent(x.toString()); - final y0 = Uri.encodeQueryComponent(y.toString()); + final _x = Uri.encodeQueryComponent(x.toString()); + final _y = Uri.encodeQueryComponent(y.toString()); checkPattern(file, RegExp(r'^.+$'), 'file'); // coverage:ignore-line - final file0 = Uri.encodeQueryComponent(file); - final path = '/index.php/apps/files/api/v1/thumbnail/$x0/$y0/$file0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _file = Uri.encodeQueryComponent(file); + final _path = '/index.php/apps/files/api/v1/thumbnail/$_x/$_y/$_file'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(Uint8List), + bodyType: FullType(Uint8List), headersType: null, serializers: _jsonSerializers, ); @@ -172,9 +174,7 @@ class DirectEditingClient { /// /// See: /// * [infoRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> info({ - final bool oCSAPIRequest = true, - }) async { + Future> info({bool oCSAPIRequest = true}) async { final rawResponse = infoRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -198,12 +198,12 @@ class DirectEditingClient { /// See: /// * [info] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse infoRaw({final bool oCSAPIRequest = true}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse infoRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -214,7 +214,7 @@ class DirectEditingClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -222,19 +222,19 @@ class DirectEditingClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/files/api/v1/directEditing'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/directEditing'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DirectEditingInfoResponseApplicationJson), + bodyType: FullType(DirectEditingInfoResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -257,9 +257,9 @@ class DirectEditingClient { /// See: /// * [templatesRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> templates({ - required final String editorId, - required final String creatorId, - final bool oCSAPIRequest = true, + required String editorId, + required String creatorId, + bool oCSAPIRequest = true, }) async { final rawResponse = templatesRaw( editorId: editorId, @@ -290,15 +290,15 @@ class DirectEditingClient { /// * [templates] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse templatesRaw({ - required final String editorId, - required final String creatorId, - final bool oCSAPIRequest = true, + required String editorId, + required String creatorId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -309,7 +309,7 @@ class DirectEditingClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -317,21 +317,21 @@ class DirectEditingClient { } // coverage:ignore-end - final editorId0 = Uri.encodeQueryComponent(editorId); - final creatorId0 = Uri.encodeQueryComponent(creatorId); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/apps/files/api/v1/directEditing/templates/$editorId0/$creatorId0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _editorId = Uri.encodeQueryComponent(editorId); + final _creatorId = Uri.encodeQueryComponent(creatorId); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/directEditing/templates/$_editorId/$_creatorId'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DirectEditingTemplatesResponseApplicationJson), + bodyType: FullType(DirectEditingTemplatesResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -356,10 +356,10 @@ class DirectEditingClient { /// See: /// * [openRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> open({ - required final String path, - final String? editorId, - final int? fileId, - final bool oCSAPIRequest = true, + required String path, + String? editorId, + int? fileId, + bool oCSAPIRequest = true, }) async { final rawResponse = openRaw( path: path, @@ -393,16 +393,16 @@ class DirectEditingClient { /// * [open] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse openRaw({ - required final String path, - final String? editorId, - final int? fileId, - final bool oCSAPIRequest = true, + required String path, + String? editorId, + int? fileId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -413,7 +413,7 @@ class DirectEditingClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -421,26 +421,26 @@ class DirectEditingClient { } // coverage:ignore-end - queryParameters['path'] = path; + _queryParameters['path'] = path; if (editorId != null) { - queryParameters['editorId'] = editorId; + _queryParameters['editorId'] = editorId; } if (fileId != null) { - queryParameters['fileId'] = fileId.toString(); + _queryParameters['fileId'] = fileId.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path0 = '/ocs/v2.php/apps/files/api/v1/directEditing/open'; - final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/directEditing/open'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DirectEditingOpenResponseApplicationJson), + bodyType: FullType(DirectEditingOpenResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -466,11 +466,11 @@ class DirectEditingClient { /// See: /// * [createRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> create({ - required final String path, - required final String editorId, - required final String creatorId, - final String? templateId, - final bool oCSAPIRequest = true, + required String path, + required String editorId, + required String creatorId, + String? templateId, + bool oCSAPIRequest = true, }) async { final rawResponse = createRaw( path: path, @@ -506,17 +506,17 @@ class DirectEditingClient { /// * [create] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse createRaw({ - required final String path, - required final String editorId, - required final String creatorId, - final String? templateId, - final bool oCSAPIRequest = true, + required String path, + required String editorId, + required String creatorId, + String? templateId, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -527,7 +527,7 @@ class DirectEditingClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -535,25 +535,25 @@ class DirectEditingClient { } // coverage:ignore-end - queryParameters['path'] = path; - queryParameters['editorId'] = editorId; - queryParameters['creatorId'] = creatorId; + _queryParameters['path'] = path; + _queryParameters['editorId'] = editorId; + _queryParameters['creatorId'] = creatorId; if (templateId != null) { - queryParameters['templateId'] = templateId; + _queryParameters['templateId'] = templateId; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path0 = '/ocs/v2.php/apps/files/api/v1/directEditing/create'; - final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/directEditing/create'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(DirectEditingCreateResponseApplicationJson), + bodyType: FullType(DirectEditingCreateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -581,8 +581,8 @@ class OpenLocalEditorClient { /// See: /// * [createRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> create({ - required final String path, - final bool oCSAPIRequest = true, + required String path, + bool oCSAPIRequest = true, }) async { final rawResponse = createRaw( path: path, @@ -611,14 +611,14 @@ class OpenLocalEditorClient { /// * [create] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse createRaw({ - required final String path, - final bool oCSAPIRequest = true, + required String path, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -629,7 +629,7 @@ class OpenLocalEditorClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -637,20 +637,20 @@ class OpenLocalEditorClient { } // coverage:ignore-end - queryParameters['path'] = path; - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path0 = '/ocs/v2.php/apps/files/api/v1/openlocaleditor'; - final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['path'] = path; + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/openlocaleditor'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(OpenLocalEditorCreateResponseApplicationJson), + bodyType: FullType(OpenLocalEditorCreateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -673,9 +673,9 @@ class OpenLocalEditorClient { /// See: /// * [validateRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> validate({ - required final String path, - required final String token, - final bool oCSAPIRequest = true, + required String path, + required String token, + bool oCSAPIRequest = true, }) async { final rawResponse = validateRaw( path: path, @@ -706,15 +706,15 @@ class OpenLocalEditorClient { /// * [validate] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse validateRaw({ - required final String path, - required final String token, - final bool oCSAPIRequest = true, + required String path, + required String token, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -725,7 +725,7 @@ class OpenLocalEditorClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -733,21 +733,21 @@ class OpenLocalEditorClient { } // coverage:ignore-end - queryParameters['path'] = path; - final token0 = Uri.encodeQueryComponent(token); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path0 = '/ocs/v2.php/apps/files/api/v1/openlocaleditor/$token0'; - final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['path'] = path; + final _token = Uri.encodeQueryComponent(token); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/openlocaleditor/$_token'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(OpenLocalEditorValidateResponseApplicationJson), + bodyType: FullType(OpenLocalEditorValidateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -772,7 +772,7 @@ class TemplateClient { /// /// See: /// * [listRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. - Future> list({final bool oCSAPIRequest = true}) async { + Future> list({bool oCSAPIRequest = true}) async { final rawResponse = listRaw( oCSAPIRequest: oCSAPIRequest, ); @@ -796,12 +796,12 @@ class TemplateClient { /// See: /// * [list] for an operation that returns a [DynamiteResponse] with a stable API. @experimental - DynamiteRawResponse listRaw({final bool oCSAPIRequest = true}) { - final queryParameters = {}; - final headers = { + DynamiteRawResponse listRaw({bool oCSAPIRequest = true}) { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -812,7 +812,7 @@ class TemplateClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -820,19 +820,19 @@ class TemplateClient { } // coverage:ignore-end - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/files/api/v1/templates'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/templates'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'get', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TemplateListResponseApplicationJson), + bodyType: FullType(TemplateListResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -856,10 +856,10 @@ class TemplateClient { /// See: /// * [createRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> create({ - required final String filePath, - final String templatePath = '', - final String templateType = 'user', - final bool oCSAPIRequest = true, + required String filePath, + String templatePath = '', + String templateType = 'user', + bool oCSAPIRequest = true, }) async { final rawResponse = createRaw( filePath: filePath, @@ -892,16 +892,16 @@ class TemplateClient { /// * [create] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse createRaw({ - required final String filePath, - final String templatePath = '', - final String templateType = 'user', - final bool oCSAPIRequest = true, + required String filePath, + String templatePath = '', + String templateType = 'user', + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -912,7 +912,7 @@ class TemplateClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -920,26 +920,26 @@ class TemplateClient { } // coverage:ignore-end - queryParameters['filePath'] = filePath; + _queryParameters['filePath'] = filePath; if (templatePath != '') { - queryParameters['templatePath'] = templatePath; + _queryParameters['templatePath'] = templatePath; } if (templateType != 'user') { - queryParameters['templateType'] = templateType; + _queryParameters['templateType'] = templateType; } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/files/api/v1/templates/create'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/templates/create'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TemplateCreateResponseApplicationJson), + bodyType: FullType(TemplateCreateResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -962,9 +962,9 @@ class TemplateClient { /// See: /// * [pathRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> path({ - final String templatePath = '', - final int copySystemTemplates = 0, - final bool oCSAPIRequest = true, + String templatePath = '', + int copySystemTemplates = 0, + bool oCSAPIRequest = true, }) async { final rawResponse = pathRaw( templatePath: templatePath, @@ -995,15 +995,15 @@ class TemplateClient { /// * [path] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse pathRaw({ - final String templatePath = '', - final int copySystemTemplates = 0, - final bool oCSAPIRequest = true, + String templatePath = '', + int copySystemTemplates = 0, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1014,7 +1014,7 @@ class TemplateClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1023,24 +1023,24 @@ class TemplateClient { // coverage:ignore-end if (templatePath != '') { - queryParameters['templatePath'] = templatePath; + _queryParameters['templatePath'] = templatePath; } if (copySystemTemplates != 0) { - queryParameters['copySystemTemplates'] = copySystemTemplates.toString(); + _queryParameters['copySystemTemplates'] = copySystemTemplates.toString(); } - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path = '/ocs/v2.php/apps/files/api/v1/templates/path'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/templates/path'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200}, ), - bodyType: const FullType(TemplatePathResponseApplicationJson), + bodyType: FullType(TemplatePathResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1070,9 +1070,9 @@ class TransferOwnershipClient { /// See: /// * [transferRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> transfer({ - required final String recipient, - required final String path, - final bool oCSAPIRequest = true, + required String recipient, + required String path, + bool oCSAPIRequest = true, }) async { final rawResponse = transferRaw( recipient: recipient, @@ -1104,15 +1104,15 @@ class TransferOwnershipClient { /// * [transfer] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse transferRaw({ - required final String recipient, - required final String path, - final bool oCSAPIRequest = true, + required String recipient, + required String path, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1123,7 +1123,7 @@ class TransferOwnershipClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1131,21 +1131,21 @@ class TransferOwnershipClient { } // coverage:ignore-end - queryParameters['recipient'] = recipient; - queryParameters['path'] = path; - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - const path0 = '/ocs/v2.php/apps/files/api/v1/transferownership'; - final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + _queryParameters['recipient'] = recipient; + _queryParameters['path'] = path; + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/transferownership'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 400, 403}, ), - bodyType: const FullType(TransferOwnershipTransferResponseApplicationJson), + bodyType: FullType(TransferOwnershipTransferResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1168,8 +1168,8 @@ class TransferOwnershipClient { /// See: /// * [acceptRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> accept({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) async { final rawResponse = acceptRaw( id: id, @@ -1199,14 +1199,14 @@ class TransferOwnershipClient { /// * [accept] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse acceptRaw({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1217,7 +1217,7 @@ class TransferOwnershipClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1225,20 +1225,20 @@ class TransferOwnershipClient { } // coverage:ignore-end - final id0 = Uri.encodeQueryComponent(id.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/apps/files/api/v1/transferownership/$id0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _id = Uri.encodeQueryComponent(id.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/transferownership/$_id'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'post', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 403, 404}, ), - bodyType: const FullType(TransferOwnershipAcceptResponseApplicationJson), + bodyType: FullType(TransferOwnershipAcceptResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); @@ -1261,8 +1261,8 @@ class TransferOwnershipClient { /// See: /// * [rejectRaw] for an experimental operation that returns a [DynamiteRawResponse] that can be serialized. Future> reject({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) async { final rawResponse = rejectRaw( id: id, @@ -1292,14 +1292,14 @@ class TransferOwnershipClient { /// * [reject] for an operation that returns a [DynamiteResponse] with a stable API. @experimental DynamiteRawResponse rejectRaw({ - required final int id, - final bool oCSAPIRequest = true, + required int id, + bool oCSAPIRequest = true, }) { - final queryParameters = {}; - final headers = { + final _queryParameters = {}; + final _headers = { 'Accept': 'application/json', }; - Uint8List? body; + Uint8List? _body; // coverage:ignore-start final authentication = _rootClient.authentications.firstWhereOrNull( @@ -1310,7 +1310,7 @@ class TransferOwnershipClient { ); if (authentication != null) { - headers.addAll( + _headers.addAll( authentication.headers, ); } else { @@ -1318,26 +1318,106 @@ class TransferOwnershipClient { } // coverage:ignore-end - final id0 = Uri.encodeQueryComponent(id.toString()); - headers['OCS-APIRequest'] = oCSAPIRequest.toString(); - final path = '/ocs/v2.php/apps/files/api/v1/transferownership/$id0'; - final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); + final _id = Uri.encodeQueryComponent(id.toString()); + _headers['OCS-APIRequest'] = oCSAPIRequest.toString(); + final _path = '/ocs/v2.php/apps/files/api/v1/transferownership/$_id'; + final _uri = Uri(path: _path, queryParameters: _queryParameters.isNotEmpty ? _queryParameters : null); return DynamiteRawResponse( response: _rootClient.executeRequest( 'delete', - uri, - headers, - body, + _uri, + _headers, + _body, const {200, 403, 404}, ), - bodyType: const FullType(TransferOwnershipRejectResponseApplicationJson), + bodyType: FullType(TransferOwnershipRejectResponseApplicationJson), headersType: null, serializers: _jsonSerializers, ); } } +@BuiltValue(instantiable: false) +abstract interface class Capabilities_Files_DirectEditingInterface { + String get url; + String get etag; + bool get supportsFileId; +} + +abstract class Capabilities_Files_DirectEditing + implements + Capabilities_Files_DirectEditingInterface, + Built { + factory Capabilities_Files_DirectEditing([void Function(Capabilities_Files_DirectEditingBuilder)? b]) = + _$Capabilities_Files_DirectEditing; + + // coverage:ignore-start + const Capabilities_Files_DirectEditing._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities_Files_DirectEditing.fromJson(Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilitiesFilesDirectEditingSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class Capabilities_FilesInterface { + bool get bigfilechunking; + @BuiltValueField(wireName: 'blacklisted_files') + BuiltList get blacklistedFiles; + Capabilities_Files_DirectEditing get directEditing; +} + +abstract class Capabilities_Files + implements Capabilities_FilesInterface, Built { + factory Capabilities_Files([void Function(Capabilities_FilesBuilder)? b]) = _$Capabilities_Files; + + // coverage:ignore-start + const Capabilities_Files._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities_Files.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilitiesFilesSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class CapabilitiesInterface { + Capabilities_Files get files; +} + +abstract class Capabilities implements CapabilitiesInterface, Built { + factory Capabilities([void Function(CapabilitiesBuilder)? b]) = _$Capabilities; + + // coverage:ignore-start + const Capabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Capabilities.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer get serializer => _$capabilitiesSerializer; +} + @BuiltValue(instantiable: false) abstract interface class OCSMetaInterface { String get status; @@ -1348,14 +1428,14 @@ abstract interface class OCSMetaInterface { } abstract class OCSMeta implements OCSMetaInterface, Built { - factory OCSMeta([final void Function(OCSMetaBuilder)? b]) = _$OCSMeta; + factory OCSMeta([void Function(OCSMetaBuilder)? b]) = _$OCSMeta; // coverage:ignore-start const OCSMeta._(); // coverage:ignore-end // coverage:ignore-start - factory OCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + factory OCSMeta.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-end // coverage:ignore-start @@ -1365,6 +1445,103 @@ abstract class OCSMeta implements OCSMetaInterface, Built get serializer => _$oCSMetaSerializer; } +@BuiltValue(instantiable: false) +abstract interface class TemplateInterface { + String get templateType; + String get templateId; + String get basename; + String get etag; + int get fileid; + String get filename; + int get lastmod; + String get mime; + int get size; + String get type; + bool get hasPreview; + String? get previewUrl; +} + +abstract class Template implements TemplateInterface, Built { + factory Template([void Function(TemplateBuilder)? b]) = _$Template; + + // coverage:ignore-start + const Template._(); + // coverage:ignore-end + + // coverage:ignore-start + factory Template.fromJson(Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + static Serializer