From b4b7347ab098b919db3b2c2f539ad53342044d6e Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 4 Aug 2023 18:35:15 +0200 Subject: [PATCH] feat(tool,nextcloud): Add files_sharing --- external/nextcloud-server | 2 +- .../nextcloud/lib/src/api/core.openapi.dart | 488 + .../nextcloud/lib/src/api/core.openapi.g.dart | 10650 ++++++---- .../nextcloud/lib/src/api/core.openapi.json | 216 + .../lib/src/api/files_sharing.openapi.dart | 3792 ++++ .../lib/src/api/files_sharing.openapi.g.dart | 16375 ++++++++++++++++ .../lib/src/api/files_sharing.openapi.json | 3031 +++ tool/generate-specs.sh | 2 +- 8 files changed, 30786 insertions(+), 3770 deletions(-) create mode 100644 packages/nextcloud/lib/src/api/files_sharing.openapi.dart create mode 100644 packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart create mode 100644 packages/nextcloud/lib/src/api/files_sharing.openapi.json diff --git a/external/nextcloud-server b/external/nextcloud-server index 752299d0..8606f162 160000 --- a/external/nextcloud-server +++ b/external/nextcloud-server @@ -1 +1 @@ -Subproject commit 752299d063f8c82c329bd73b66ae7efc85ca1e2a +Subproject commit 8606f162c5b5b5d6a355e7e2f27e05585b3d0360 diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 07f056c2..9bec345b 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -2800,6 +2800,383 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer; } +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enforced; + bool get askForOptionalPassword; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicPasswordSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + implements + Built< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder> { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + implements + Built< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder> { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? get password; + @BuiltValueField(wireName: 'multiple_links') + bool? get multipleLinks; + @BuiltValueField(wireName: 'expire_date') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? get expireDate; + @BuiltValueField(wireName: 'expire_date_internal') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? + get expireDateInternal; + @BuiltValueField(wireName: 'expire_date_remote') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? + get expireDateRemote; + @BuiltValueField(wireName: 'send_mail') + bool? get sendMail; + bool? get upload; + @BuiltValueField(wireName: 'upload_files_drop') + bool? get uploadFilesDrop; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserExpireDateSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'send_mail') + bool get sendMail; + @BuiltValueField(wireName: 'expire_date') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? get expireDate; + static Serializer + get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + @BuiltValueField(wireName: 'expire_date') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? get expireDate; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + implements + Built< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder> { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder, + )? b, + ]) = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get outgoing; + bool get incoming; + @BuiltValueField(wireName: 'expire_date') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + get expireDate; + @BuiltValueField(wireName: 'expire_date_supported') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + get expireDateSupported; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee([ + final void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder, + )? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'query_lookup_default') + bool get queryLookupDefault; + @BuiltValueField(wireName: 'always_show_unique') + bool get alwaysShowUnique; + static Serializer + get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingShareeSerializer; +} + +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing + implements + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'api_enabled') + bool get apiEnabled; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public get public; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User get user; + bool get resharing; + @BuiltValueField(wireName: 'group_sharing') + bool? get groupSharing; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? get group; + @BuiltValueField(wireName: 'default_permissions') + int? get defaultPermissions; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation get federation; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee get sharee; + static Serializer + get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingSerializer; +} + abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes implements Built toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'files_sharing') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? get filesSharing; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? get notes; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? get notifications; @BuiltValueField(wireName: 'provisioning_api') @@ -4393,6 +4772,115 @@ final Serializers _serializers = (Serializers().toBuilder() CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.new, ) ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.serializer) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing.serializer) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public.serializer) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password.serializer, + ) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate + .serializer, + ) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + .new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + .serializer, + ) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + .serializer, + ) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User.serializer) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.serializer, + ) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group.serializer) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.serializer, + ) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation.serializer) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + .serializer, + ) + ..addBuilderFactory( + const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, + ), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + .new, + ) + ..add( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + .serializer, + ) + ..addBuilderFactory( + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee.new, + ) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee.serializer) ..addBuilderFactory( const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes), CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.new, diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index 84abfc63..f425cdb2 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -113,6 +113,50 @@ Serializer Serializer _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicPasswordSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer(); +Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingPublicSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserExpireDateSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingUserSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingGroupSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer(); +Serializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingFederationSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingShareeSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesFilesSharingSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingSerializer(); Serializer _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotesSerializer = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer(); @@ -2516,42 +2560,39 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSeriali } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password 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 = [ + 'enforced', + serializers.serialize(object.enforced, specifiedType: const FullType(bool)), + 'askForOptionalPassword', + serializers.serialize(object.askForOptionalPassword, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2559,12 +2600,11 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'api_version': - result.apiVersion.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'enforced': + result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'askForOptionalPassword': + result.askForOptionalPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -2573,49 +2613,49 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer implements - StructuredSerializer { + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate'; @override Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications object, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; Object? value; - value = object.ocsEndpoints; - if (value != null) { - result - ..add('ocs-endpoints') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.push; + value = object.days; if (value != null) { result - ..add('push') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + ..add('days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); } - value = object.adminNotifications; + value = object.enforced; if (value != null) { result - ..add('admin-notifications') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + ..add('enforced') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); } return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2623,17 +2663,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N 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); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'push': - result.push.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'days': + result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; - case 'admin-notifications': - result.adminNotifications.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'enforced': + result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; } } @@ -2642,40 +2679,51 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_N } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer implements - StructuredSerializer { + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal'; @override - Iterable serialize(Serializers serializers, - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi object, + Iterable serialize( + Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + 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)), + '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 - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2683,20 +2731,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_P 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; + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'AccountPropertyScopesFederatedEnabled': - result.accountPropertyScopesFederatedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'days': + result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; - case 'AccountPropertyScopesPublishedEnabled': - result.accountPropertyScopesPublishedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'enforced': + result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; } } @@ -2705,59 +2747,51 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_P } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote'; @override Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming object, + Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + 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)), + '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 - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2765,47 +2799,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_T 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; + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'logoheader': - result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'days': + result.days = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; - case 'favicon': - result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'enforced': + result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; } } @@ -2814,37 +2815,91 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_T } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public 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)), ]; - + Object? value; + value = object.password; + if (value != null) { + result + ..add('password') + ..add(serializers.serialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))); + } + value = object.expireDateInternal; + if (value != null) { + result + ..add('expire_date_internal') + ..add(serializers.serialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))); + } + value = object.expireDateRemote; + if (value != null) { + result + ..add('expire_date_remote') + ..add(serializers.serialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))); + } + 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 - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2855,11 +2910,41 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_U 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 'password': + result.password.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password); break; - case 'supports_emoji': - result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'multiple_links': + result.multipleLinks = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate); + break; + case 'expire_date_internal': + result.expireDateInternal.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal); + break; + case 'expire_date_remote': + result.expireDateRemote.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote); + 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; } } @@ -2868,70 +2953,37 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_U } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate'; @override - Iterable serialize( - Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.notes; - if (value != null) { - result - ..add('notes') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))); - } - value = object.notifications; - if (value != null) { - result - ..add('notifications') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))); - } - value = object.provisioningApi; - if (value != null) { - result - ..add('provisioning_api') - ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))); - } - value = object.theming; - if (value != null) { - result - ..add('theming') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))); - } - value = object.userStatus; - if (value != null) { - result - ..add('user_status') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))); - } + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2939,35 +2991,8 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSe iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'notes': - result.notes.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes); - break; - case 'notifications': - result.notifications.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications); - break; - case 'provisioning_api': - result.provisioningApi.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi); - break; - case 'theming': - result.theming.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming); - break; - case 'user_status': - result.userStatus.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -2976,36 +3001,42 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSe } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User'; @override - Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'version', - serializers.serialize(object.version, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version)), - 'capabilities', - serializers.serialize(object.capabilities, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities)), + '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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))); + } return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3013,16 +3044,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version); + case 'send_mail': + result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'capabilities': - result.capabilities.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities); + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate); break; } } @@ -3031,35 +3060,37 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate'; @override - Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), ]; return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3067,14 +3098,8 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3083,32 +3108,43 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group> { @override final Iterable types = const [ - CoreOcsGetCapabilitiesResponse200ApplicationJson, - _$CoreOcsGetCapabilitiesResponse200ApplicationJson + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group ]; @override - final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group'; @override - Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))); + } return result; } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3116,10 +3152,14 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs))! - as CoreOcsGetCapabilitiesResponse200ApplicationJson_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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate); break; } } @@ -3128,34 +3168,37 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer } } -class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate> { @override final Iterable types = const [ - CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs, - _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate ]; @override - final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate'; @override - Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), ]; return result; } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3163,12 +3206,8 @@ class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3177,33 +3216,39 @@ class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer } } -class _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> { @override final Iterable types = const [ - CoreProfileApiSetVisibilityResponse200ApplicationJson, - _$CoreProfileApiSetVisibilityResponse200ApplicationJson + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported ]; @override - final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported'; @override - Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), ]; return result; } @override - CoreProfileApiSetVisibilityResponse200ApplicationJson deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3211,10 +3256,8 @@ class _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs))! - as CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3223,34 +3266,47 @@ class _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer } } -class _$CoreReferenceSerializer implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation> { @override - final Iterable types = const [CoreReference, _$CoreReference]; + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation + ]; @override - final String wireName = 'CoreReference'; + final String wireName = + 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation'; @override - Iterable serialize(Serializers serializers, CoreReference object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation 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(CoreOpenGraphObject)), - 'accessible', - serializers.serialize(object.accessible, specifiedType: const FullType(bool)), + '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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate)), + 'expire_date_supported', + serializers.serialize(object.expireDateSupported, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported)), ]; return result; } @override - CoreReference deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceBuilder(); + final result = + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3258,19 +3314,23 @@ class _$CoreReferenceSerializer 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 'outgoing': + result.outgoing = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'richObject': - result.richObject.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + case 'incoming': + result.incoming = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'openGraphObject': - result.openGraphObject.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreOpenGraphObject))! as CoreOpenGraphObject); + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate); break; - case 'accessible': - result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'expire_date_supported': + result.expireDateSupported.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported); break; } } @@ -3279,34 +3339,37 @@ class _$CoreReferenceSerializer implements StructuredSerializer { } } -class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer + implements + StructuredSerializer< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee> { @override final Iterable types = const [ - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data, - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee ]; @override - final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(CoreReference)])), + '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 - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3314,9 +3377,11 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJson_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(CoreReference)]))!); + 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; } } @@ -3325,35 +3390,72 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs, - _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing ]; @override - final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data)), + 'api_enabled', + serializers.serialize(object.apiEnabled, specifiedType: const FullType(bool)), + 'public', + serializers.serialize(object.public, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public)), + 'user', + serializers.serialize(object.user, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User)), + 'resharing', + serializers.serialize(object.resharing, specifiedType: const FullType(bool)), + 'federation', + serializers.serialize(object.federation, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation)), + 'sharee', + serializers.serialize(object.sharee, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group))); + } + value = object.defaultPermissions; + if (value != null) { + result + ..add('default_permissions') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } return result; } @override - CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3361,14 +3463,47 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + case 'api_enabled': + result.apiEnabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data))! - as CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data); + case 'public': + result.public.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public); + break; + case 'user': + result.user.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User); + 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( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group); + break; + case 'default_permissions': + result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'federation': + result.federation.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation); + break; + case 'sharee': + result.sharee.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee); break; } } @@ -3377,33 +3512,42 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer } } -class _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiResolveOneResponse200ApplicationJson, - _$CoreReferenceApiResolveOneResponse200ApplicationJson + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes ]; @override - final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs)), - ]; - + 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))); + } return result; } @override - CoreReferenceApiResolveOneResponse200ApplicationJson deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3411,10 +3555,12 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs))! - as CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs); + case 'api_version': + result.apiVersion.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -3423,35 +3569,49 @@ class _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer } } -class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data, - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications ]; @override - final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, - [FullType(String), FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References)])), - ]; - + final result = []; + Object? value; + value = object.ocsEndpoints; + if (value != null) { + result + ..add('ocs-endpoints') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.push; + if (value != null) { + result + ..add('push') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.adminNotifications; + if (value != null) { + result + ..add('admin-notifications') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } return result; } @override - CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3459,12 +3619,17 @@ class _$CoreReferenceApiResolveResponse200ApplicationJson_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(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References) - ]))!); + 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); break; } } @@ -3473,35 +3638,40 @@ class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiResolveResponse200ApplicationJson_Ocs, - _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi ]; @override - final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data)), + '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 - CoreReferenceApiResolveResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3509,14 +3679,20 @@ class _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data))! - as CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data); + 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; break; } } @@ -3525,32 +3701,59 @@ class _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer } } -class _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiResolveResponse200ApplicationJson, - _$CoreReferenceApiResolveResponse200ApplicationJson - ]; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming + ]; @override - final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'slogan', + serializers.serialize(object.slogan, specifiedType: const FullType(String)), + 'color', + serializers.serialize(object.color, specifiedType: const FullType(String)), + 'color-text', + serializers.serialize(object.colorText, specifiedType: const FullType(String)), + 'color-element', + serializers.serialize(object.colorElement, specifiedType: const FullType(String)), + 'color-element-bright', + serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), + 'color-element-dark', + serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), + 'logo', + serializers.serialize(object.logo, specifiedType: const FullType(String)), + 'background', + serializers.serialize(object.background, specifiedType: const FullType(String)), + 'background-plain', + serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), + 'background-default', + serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), + 'logoheader', + serializers.serialize(object.logoheader, specifiedType: const FullType(String)), + 'favicon', + serializers.serialize(object.favicon, specifiedType: const FullType(String)), ]; return result; } @override - CoreReferenceApiResolveResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3558,10 +3761,47 @@ class _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs))! - as CoreReferenceApiResolveResponse200ApplicationJson_Ocs); + 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; break; } } @@ -3570,35 +3810,37 @@ class _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer } } -class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data, - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus ]; @override - final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus'; @override Iterable serialize( - Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data object, + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'references', - serializers.serialize(object.references, - specifiedType: const FullType(BuiltMap, - [FullType(String), FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References)])), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'restore', + serializers.serialize(object.restore, specifiedType: const FullType(bool)), + 'supports_emoji', + serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), ]; return result; } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3606,12 +3848,14 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_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(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References) - ]))!); + 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; + break; + case 'supports_emoji': + result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3620,35 +3864,78 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiExtractResponse200ApplicationJson_Ocs, - _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities ]; @override - final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data)), - ]; - + final result = []; + Object? value; + value = object.filesSharing; + if (value != null) { + result + ..add('files_sharing') + ..add(serializers.serialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing))); + } + value = object.notes; + if (value != null) { + result + ..add('notes') + ..add(serializers.serialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))); + } + value = object.notifications; + if (value != null) { + result + ..add('notifications') + ..add(serializers.serialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))); + } + value = object.provisioningApi; + if (value != null) { + result + ..add('provisioning_api') + ..add(serializers.serialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))); + } + value = object.theming; + if (value != null) { + result + ..add('theming') + ..add(serializers.serialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))); + } + value = object.userStatus; + if (value != null) { + result + ..add('user_status') + ..add(serializers.serialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))); + } return result; } @override - CoreReferenceApiExtractResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3656,14 +3943,41 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + case 'files_sharing': + result.filesSharing.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing); break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data))! - as CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data); + case 'notes': + result.notes.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes); + break; + case 'notifications': + result.notifications.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications); + break; + case 'provisioning_api': + result.provisioningApi.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi); + break; + case 'theming': + result.theming.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming); + break; + case 'user_status': + result.userStatus.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus); break; } } @@ -3672,84 +3986,36 @@ class _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer } } -class _$CoreReferenceApiExtractResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiExtractResponse200ApplicationJson, - _$CoreReferenceApiExtractResponse200ApplicationJson + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs)), - ]; - - return result; - } - - @override - CoreReferenceApiExtractResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); - - 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(CoreReferenceApiExtractResponse200ApplicationJson_Ocs))! - as CoreReferenceApiExtractResponse200ApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$CoreReferenceProviderSerializer implements StructuredSerializer { - @override - final Iterable types = const [CoreReferenceProvider, _$CoreReferenceProvider]; - @override - final String wireName = 'CoreReferenceProvider'; - - @override - Iterable serialize(Serializers serializers, CoreReferenceProvider 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)), + 'version', + serializers.serialize(object.version, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version)), + 'capabilities', + serializers.serialize(object.capabilities, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities)), ]; - 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 - CoreReferenceProvider deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceProviderBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3757,21 +4023,16 @@ class _$CoreReferenceProviderSerializer implements StructuredSerializer); + case 'capabilities': + result.capabilities.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities); break; } } @@ -3780,35 +4041,35 @@ class _$CoreReferenceProviderSerializer implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs, - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)])), + serializers.serialize(object.data, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3822,7 +4083,8 @@ class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)]))! as BuiltList); + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data); break; } } @@ -3831,34 +4093,32 @@ class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsSerializer } } -class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson, - _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson + CoreOcsGetCapabilitiesResponse200ApplicationJson, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson ]; @override - final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreReferenceApiGetProvidersInfoResponse200ApplicationJson deserialize( - Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3868,8 +4128,8 @@ class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs))! - as CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs); break; } } @@ -3878,33 +4138,34 @@ class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data, - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs, + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'success', - serializers.serialize(object.success, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data deserialize( + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3912,8 +4173,12 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'success': - result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -3922,36 +4187,33 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializ } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs, - _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs + CoreProfileApiSetVisibilityResponse200ApplicationJson, + _$CoreProfileApiSetVisibilityResponse200ApplicationJson ]; @override - final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs deserialize( + CoreProfileApiSetVisibilityResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); + final result = CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3959,14 +4221,10 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data))! - as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs))! + as CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs); break; } } @@ -3975,33 +4233,34 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer } } -class _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreReferenceApiTouchProviderResponse200ApplicationJson, - _$CoreReferenceApiTouchProviderResponse200ApplicationJson - ]; + final Iterable types = const [CoreReference, _$CoreReference]; @override - final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson'; + final String wireName = 'CoreReference'; @override - Iterable serialize(Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreReference object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs)), + 'richObjectType', + serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, specifiedType: const FullType(CoreOpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, specifiedType: const FullType(bool)), ]; return result; } @override - CoreReferenceApiTouchProviderResponse200ApplicationJson deserialize( - Serializers serializers, Iterable serialized, + CoreReference deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); + final result = CoreReferenceBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4009,10 +4268,19 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs))! - as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs); + case 'richObjectType': + result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'richObject': + result.richObject.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + break; + case 'openGraphObject': + result.openGraphObject.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreOpenGraphObject))! as CoreOpenGraphObject); + break; + case 'accessible': + result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -4021,37 +4289,34 @@ class _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesSerializer - implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types, - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types object, + Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'description', - serializers.serialize(object.description, specifiedType: const FullType(String)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(CoreReference)])), ]; return result; } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types deserialize( + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4059,14 +4324,9 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesS iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(CoreReference)]))!); break; } } @@ -4075,35 +4335,35 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesS } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data, - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs, + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'types', - serializers.serialize(object.types, - specifiedType: const FullType( - BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data deserialize( + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4111,11 +4371,14 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'types': - result.types.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)]))! - as BuiltList); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data); break; } } @@ -4124,36 +4387,33 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSeriali } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs, - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs + CoreReferenceApiResolveOneResponse200ApplicationJson, + _$CoreReferenceApiResolveOneResponse200ApplicationJson ]; @override - final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs deserialize( + CoreReferenceApiResolveOneResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4161,14 +4421,10 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data))! - as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs))! + as CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs); break; } } @@ -4177,33 +4433,35 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer } } -class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiTaskTypesResponse200ApplicationJson, - _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + [FullType(String), FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References)])), ]; return result; } @override - CoreTextProcessingApiTaskTypesResponse200ApplicationJson deserialize( + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4211,10 +4469,12 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs))! - as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs); + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References) + ]))!); break; } } @@ -4223,53 +4483,35 @@ class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer } } -class _$CoreTextProcessingTaskSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreTextProcessingTask, _$CoreTextProcessingTask]; + final Iterable types = const [ + CoreReferenceApiResolveResponse200ApplicationJson_Ocs, + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreTextProcessingTask'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreTextProcessingTask object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs 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)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data)), ]; - 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 - CoreTextProcessingTask deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingTaskBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4277,29 +4519,14 @@ class _$CoreTextProcessingTaskSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data, - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data + CoreReferenceApiResolveResponse200ApplicationJson, + _$CoreReferenceApiResolveResponse200ApplicationJson ]; @override - final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + CoreReferenceApiResolveResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4342,9 +4568,10 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'task': - result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! - as CoreTextProcessingTask); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs))! + as CoreReferenceApiResolveResponse200ApplicationJson_Ocs); break; } } @@ -4353,36 +4580,85 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataSerializ } } -class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs, - _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs object, + Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + [FullType(String), FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References)])), + ]; + + return result; + } + + @override + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreReferenceApiExtractResponse200ApplicationJson_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(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreReferenceApiExtractResponse200ApplicationJson_Ocs, + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data)), + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs deserialize( + CoreReferenceApiExtractResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4396,8 +4672,8 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data))! - as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data); + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data); break; } } @@ -4406,33 +4682,32 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer } } -class _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceApiExtractResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiScheduleResponse200ApplicationJson, - _$CoreTextProcessingApiScheduleResponse200ApplicationJson + CoreReferenceApiExtractResponse200ApplicationJson, + _$CoreReferenceApiExtractResponse200ApplicationJson ]; @override - final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson'; + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTextProcessingApiScheduleResponse200ApplicationJson deserialize( - Serializers serializers, Iterable serialized, + CoreReferenceApiExtractResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); + final result = CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4442,8 +4717,8 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs))! - as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs))! + as CoreReferenceApiExtractResponse200ApplicationJson_Ocs); break; } } @@ -4452,33 +4727,39 @@ class _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreReferenceProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data, - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data - ]; + final Iterable types = const [CoreReferenceProvider, _$CoreReferenceProvider]; @override - final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreReferenceProvider'; @override - Iterable serialize( - Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreReferenceProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'task', - serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, specifiedType: const FullType(String)), + 'icon_url', + serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.searchProvidersIds; + if (value != null) { + result + ..add('search_providers_ids') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } return result; } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + CoreReferenceProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreReferenceProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4486,9 +4767,21 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'task': - result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! - as CoreTextProcessingTask); + case 'id': + 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; + 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, [FullType(String)]))! as BuiltList); break; } } @@ -4497,36 +4790,35 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerialize } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs, - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs, + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs object, + Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)])), ]; return result; } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs deserialize( + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4540,8 +4832,7 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data))! - as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data); + specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)]))! as BuiltList); break; } } @@ -4550,33 +4841,34 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer } } -class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTextProcessingApiGetTaskResponse200ApplicationJson, - _$CoreTextProcessingApiGetTaskResponse200ApplicationJson + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson, + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson ]; @override - final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson'; + final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTextProcessingApiGetTaskResponse200ApplicationJson deserialize( + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); + final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4586,8 +4878,8 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs))! - as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs))! + as CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs); break; } } @@ -4596,39 +4888,33 @@ class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer - implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages object, + Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'from', - serializers.serialize(object.from, specifiedType: const FullType(String)), - 'fromLabel', - serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), - 'to', - serializers.serialize(object.to, specifiedType: const FullType(String)), - 'toLabel', - serializers.serialize(object.toLabel, specifiedType: const FullType(String)), + 'success', + serializers.serialize(object.success, specifiedType: const FullType(bool)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages deserialize( + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4636,17 +4922,8 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'fromLabel': - result.fromLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'to': - result.to = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'toLabel': - result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'success': + result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -4655,37 +4932,36 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data object, + Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'languages', - serializers.serialize(object.languages, - specifiedType: const FullType( - BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)])), - 'languageDetection', - serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data deserialize( + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4693,14 +4969,14 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'languages': - result.languages.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]))! - as BuiltList); - break; - case 'languageDetection': - result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data); break; } } @@ -4709,35 +4985,33 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs, - _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs + CoreReferenceApiTouchProviderResponse200ApplicationJson, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs deserialize( + CoreReferenceApiTouchProviderResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4745,14 +5019,10 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data))! - as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs))! + as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs); break; } } @@ -4761,33 +5031,37 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer } } -class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiLanguagesResponse200ApplicationJson, - _$CoreTranslationApiLanguagesResponse200ApplicationJson + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types ]; @override - final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs)), + '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 - CoreTranslationApiLanguagesResponse200ApplicationJson deserialize( + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4795,10 +5069,14 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs))! - as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -4807,39 +5085,35 @@ class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data, - _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data object, + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'text', - serializers.serialize(object.text, specifiedType: const FullType(String)), + 'types', + serializers.serialize(object.types, + specifiedType: const FullType( + BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)])), ]; - Object? value; - value = object.from; - if (value != null) { - result - ..add('from') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data deserialize( + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4847,11 +5121,11 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'text': - result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'from': - result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'types': + result.types.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)]))! + as BuiltList); break; } } @@ -4860,35 +5134,36 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs, - _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data)), + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson_Ocs deserialize( + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4902,8 +5177,8 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data))! - as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data); + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data); break; } } @@ -4912,33 +5187,33 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer } } -class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreTranslationApiTranslateResponse200ApplicationJson, - _$CoreTranslationApiTranslateResponse200ApplicationJson + CoreTextProcessingApiTaskTypesResponse200ApplicationJson, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson ]; @override - final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreTranslationApiTranslateResponse200ApplicationJson deserialize( + CoreTextProcessingApiTaskTypesResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4948,8 +5223,8 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs))! - as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs); break; } } @@ -4958,31 +5233,53 @@ class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer } } -class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { +class _$CoreTextProcessingTaskSerializer implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; + final Iterable types = const [CoreTextProcessingTask, _$CoreTextProcessingTask]; @override - final String wireName = 'CoreUnifiedSearchProvider'; + final String wireName = 'CoreTextProcessingTask'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider object, + Iterable serialize(Serializers serializers, CoreTextProcessingTask 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)), + '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 - CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + CoreTextProcessingTask deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchProviderBuilder(); + final result = CoreTextProcessingTaskBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4991,13 +5288,28 @@ class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs object, + Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), ]; return result; } @override - CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs deserialize( + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); + final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5043,13 +5352,9 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); + case 'task': + result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! + as CoreTextProcessingTask); break; } } @@ -5058,33 +5363,36 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchGetProvidersResponse200ApplicationJson, - _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreUnifiedSearchGetProvidersResponse200ApplicationJson deserialize( + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5092,10 +5400,14 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data); break; } } @@ -5104,39 +5416,33 @@ class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer } } -class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; + final Iterable types = const [ + CoreTextProcessingApiScheduleResponse200ApplicationJson, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson + ]; @override - final String wireName = 'CoreUnifiedSearchResultEntry'; + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry object, + Iterable serialize(Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'thumbnailUrl', - serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), - 'title', - serializers.serialize(object.title, specifiedType: const FullType(String)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'resourceUrl', - serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'rounded', - serializers.serialize(object.rounded, specifiedType: const FullType(bool)), - 'attributes', - serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + CoreTextProcessingApiScheduleResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultEntryBuilder(); + final result = CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5144,27 +5450,10 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs); break; } } @@ -5173,38 +5462,33 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; + final Iterable types = const [ + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreUnifiedSearchResult'; + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'isPaginated', - serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), - 'entries', - serializers.serialize(object.entries, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), + 'task', + serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), ]; - Object? value; - value = object.cursor; - if (value != null) { - result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); - } + return result; } @override - CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultBuilder(); + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5212,20 +5496,9 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer); - break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); + case 'task': + result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! + as CoreTextProcessingTask); break; } } @@ -5234,34 +5507,36 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), + serializers.serialize(object.data, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs deserialize( + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5274,8 +5549,9 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! - as CoreUnifiedSearchResult); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data); break; } } @@ -5284,32 +5560,33 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchSearchResponse200ApplicationJson, - _$CoreUnifiedSearchSearchResponse200ApplicationJson + CoreTextProcessingApiGetTaskResponse200ApplicationJson, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson ]; @override - final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson'; + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreTextProcessingApiGetTaskResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5319,8 +5596,8 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs); break; } } @@ -5329,35 +5606,39 @@ class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer - implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages'; @override Iterable serialize( - Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew object, + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'regular', - serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'admin', - serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'from', + serializers.serialize(object.from, specifiedType: const FullType(String)), + 'fromLabel', + serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), + 'to', + serializers.serialize(object.to, specifiedType: const FullType(String)), + 'toLabel', + serializers.serialize(object.toLabel, specifiedType: const FullType(String)), ]; return result; } @override - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew deserialize( + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5365,57 +5646,56 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'regular': - result.regular.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'admin': - result.admin.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'fromLabel': + result.fromLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - } - } - + case 'to': + result.to = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'toLabel': + result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + return result.build(); } } -class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data object, + Iterable serialize( + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'changelogURL', - serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), - 'product', - serializers.serialize(object.product, specifiedType: const FullType(String)), - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), + 'languages', + serializers.serialize(object.languages, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)])), + 'languageDetection', + serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), ]; - Object? value; - value = object.whatsNew; - if (value != null) { - result - ..add('whatsNew') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))); - } + return result; } @override - CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5423,19 +5703,14 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'changelogURL': - result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'product': - result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'languages': + result.languages.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]))! + as BuiltList); break; - case 'whatsNew': - result.whatsNew.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew); + case 'languageDetection': + result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -5444,34 +5719,35 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson_Ocs, - _$CoreWhatsNewGetResponse200ApplicationJson_Ocs + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data)), + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreWhatsNewGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5485,8 +5761,8 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data); + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data); break; } } @@ -5495,31 +5771,33 @@ class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer } } -class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewGetResponse200ApplicationJson, - _$CoreWhatsNewGetResponse200ApplicationJson + CoreTranslationApiLanguagesResponse200ApplicationJson, + _$CoreTranslationApiLanguagesResponse200ApplicationJson ]; @override - final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson'; + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreWhatsNewGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiLanguagesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewGetResponse200ApplicationJsonBuilder(); + final result = CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5529,8 +5807,8 @@ class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs))! - as CoreWhatsNewGetResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs); break; } } @@ -5539,33 +5817,88 @@ class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer } } -class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewDismissResponse200ApplicationJson_Ocs, - _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'text', + serializers.serialize(object.text, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiTranslateResponse200ApplicationJson_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 'text': + result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreWhatsNewDismissResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + final result = CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5578,7 +5911,9 @@ class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data); break; } } @@ -5587,32 +5922,33 @@ class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer } } -class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreWhatsNewDismissResponse200ApplicationJson, - _$CoreWhatsNewDismissResponse200ApplicationJson + CoreTranslationApiTranslateResponse200ApplicationJson, + _$CoreTranslationApiTranslateResponse200ApplicationJson ]; @override - final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson'; + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreWhatsNewDismissResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreTranslationApiTranslateResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); + final result = CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5622,8 +5958,8 @@ class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs))! - as CoreWhatsNewDismissResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs); break; } } @@ -5632,31 +5968,31 @@ class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer } } -class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreWipeCheckWipeResponse200ApplicationJson, - _$CoreWipeCheckWipeResponse200ApplicationJson - ]; + final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; @override - final String wireName = 'CoreWipeCheckWipeResponse200ApplicationJson'; + final String wireName = 'CoreUnifiedSearchProvider'; @override - Iterable serialize(Serializers serializers, CoreWipeCheckWipeResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'wipe', - serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + '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 - CoreWipeCheckWipeResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); + final result = CoreUnifiedSearchProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -5664,8 +6000,14 @@ class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'wipe': - result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + 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; } } @@ -5674,505 +6016,2628 @@ class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer } } -class _$CoreStatus extends CoreStatus { +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final bool installed; + final Iterable types = const [ + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), + ]; + + return result; + } + + @override + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchGetProvidersResponse200ApplicationJson, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreUnifiedSearchGetProvidersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); + + 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(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; + @override + final String wireName = 'CoreUnifiedSearchResultEntry'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry 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 + CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchResultEntryBuilder(); + + 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 _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; + @override + final String wireName = 'CoreUnifiedSearchResult'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'isPaginated', + serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), + 'entries', + serializers.serialize(object.entries, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), + ]; + Object? value; + value = object.cursor; + if (value != null) { + result + ..add('cursor') + ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); + } + return result; + } + + @override + CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchResultBuilder(); + + 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(CoreUnifiedSearchResultEntry)]))! + as BuiltList); + break; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), + ]; + + return result; + } + + @override + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! + as CoreUnifiedSearchResult); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchSearchResponse200ApplicationJson, + _$CoreUnifiedSearchSearchResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreUnifiedSearchSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew'; + + @override + Iterable serialize( + Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'regular', + serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'admin', + serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'regular': + result.regular.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'admin': + result.admin.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'changelogURL', + serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), + 'product', + serializers.serialize(object.product, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.whatsNew; + if (value != null) { + result + ..add('whatsNew') + ..add(serializers.serialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))); + } + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'changelogURL': + result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'product': + result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'whatsNew': + result.whatsNew.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson, + _$CoreWhatsNewGetResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson_Ocs, + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson, + _$CoreWhatsNewDismissResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs))! + as CoreWhatsNewDismissResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWipeCheckWipeResponse200ApplicationJson, + _$CoreWipeCheckWipeResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWipeCheckWipeResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWipeCheckWipeResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'wipe', + serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + CoreWipeCheckWipeResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'wipe': + result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$CoreStatus extends CoreStatus { + @override + final bool installed; @override final bool maintenance; @override - final bool needsDbUpgrade; + final bool needsDbUpgrade; + @override + final String version; + @override + final String versionstring; + @override + final String edition; + @override + final String productname; + @override + final bool extendedSupport; + + factory _$CoreStatus([void Function(CoreStatusBuilder)? updates]) => (CoreStatusBuilder()..update(updates))._build(); + + _$CoreStatus._( + {required this.installed, + required this.maintenance, + required this.needsDbUpgrade, + required this.version, + required this.versionstring, + required this.edition, + required this.productname, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'); + BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'); + BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'); + BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'); + BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'); + BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport'); + } + + @override + CoreStatus rebuild(void Function(CoreStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreStatusBuilder toBuilder() => CoreStatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreStatus && + installed == other.installed && + maintenance == other.maintenance && + needsDbUpgrade == other.needsDbUpgrade && + version == other.version && + versionstring == other.versionstring && + edition == other.edition && + productname == other.productname && + extendedSupport == other.extendedSupport; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, installed.hashCode); + _$hash = $jc(_$hash, maintenance.hashCode); + _$hash = $jc(_$hash, needsDbUpgrade.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, versionstring.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, productname.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreStatus') + ..add('installed', installed) + ..add('maintenance', maintenance) + ..add('needsDbUpgrade', needsDbUpgrade) + ..add('version', version) + ..add('versionstring', versionstring) + ..add('edition', edition) + ..add('productname', productname) + ..add('extendedSupport', extendedSupport)) + .toString(); + } +} + +class CoreStatusBuilder implements Builder { + _$CoreStatus? _$v; + + bool? _installed; + bool? get installed => _$this._installed; + set installed(bool? installed) => _$this._installed = installed; + + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(bool? maintenance) => _$this._maintenance = maintenance; + + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(String? versionstring) => _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(String? productname) => _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + CoreStatusBuilder(); + + CoreStatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _installed = $v.installed; + _maintenance = $v.maintenance; + _needsDbUpgrade = $v.needsDbUpgrade; + _version = $v.version; + _versionstring = $v.versionstring; + _edition = $v.edition; + _productname = $v.productname; + _extendedSupport = $v.extendedSupport; + _$v = null; + } + return this; + } + + @override + void replace(CoreStatus other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreStatus; + } + + @override + void update(void Function(CoreStatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreStatus build() => _build(); + + _$CoreStatus _build() { + final _$result = _$v ?? + _$CoreStatus._( + installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport')); + replace(_$result); + return _$result; + } +} + +class _$CoreOCSMeta extends CoreOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => + (CoreOCSMetaBuilder()..update(updates))._build(); + + _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); + } + + @override + CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class CoreOCSMetaBuilder implements Builder { + _$CoreOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + CoreOCSMetaBuilder(); + + CoreOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(CoreOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOCSMeta; + } + + @override + void update(void Function(CoreOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOCSMeta build() => _build(); + + _$CoreOCSMeta _build() { + final _$result = _$v ?? + _$CoreOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final JsonObject data; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutocompleteResult extends CoreAutocompleteResult { + @override + final String id; + @override + final String label; + @override + final String icon; + @override + final String source; + @override + final String status; + @override + final String subline; + @override + final String shareWithDisplayNameUnique; + + factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => + (CoreAutocompleteResultBuilder()..update(updates))._build(); + + _$CoreAutocompleteResult._( + {required this.id, + required this.label, + required this.icon, + required this.source, + required this.status, + required this.subline, + required this.shareWithDisplayNameUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique'); + } + + @override + CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutocompleteResult && + id == other.id && + label == other.label && + icon == other.icon && + source == other.source && + status == other.status && + subline == other.subline && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + .toString(); + } +} + +class CoreAutocompleteResultBuilder implements Builder { + _$CoreAutocompleteResult? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _label; + String? get label => _$this._label; + set label(String? label) => _$this._label = label; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _source; + String? get source => _$this._source; + set source(String? source) => _$this._source = source; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + CoreAutocompleteResultBuilder(); + + CoreAutocompleteResultBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _label = $v.label; + _icon = $v.icon; + _source = $v.source; + _status = $v.status; + _subline = $v.subline; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _$v = null; + } + return this; + } + + @override + void replace(CoreAutocompleteResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutocompleteResult; + } + + @override + void update(void Function(CoreAutocompleteResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutocompleteResult build() => _build(); + + _$CoreAutocompleteResult _build() { + final _$result = _$v ?? + _$CoreAutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'), + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique')); + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoCompleteGetResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final BuiltList data; + + factory _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs( + [void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutoCompleteGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAutoCompleteGetResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + } + @override - final String version; + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + @override - final String versionstring; + CoreAutoCompleteGetResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGetResponse200ApplicationJson { @override - final String edition; + final CoreAutoCompleteGetResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAutoCompleteGetResponse200ApplicationJson( + [void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutoCompleteGetResponse200ApplicationJson', 'ocs'); + } + @override - final String productname; + CoreAutoCompleteGetResponse200ApplicationJson rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final bool extendedSupport; + CoreAutoCompleteGetResponse200ApplicationJsonBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..replace(this); - factory _$CoreStatus([void Function(CoreStatusBuilder)? updates]) => (CoreStatusBuilder()..update(updates))._build(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutoCompleteGetResponse200ApplicationJson && ocs == other.ocs; + } - _$CoreStatus._( - {required this.installed, - required this.maintenance, - required this.needsDbUpgrade, - required this.version, - required this.versionstring, - required this.edition, - required this.productname, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport'); + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - CoreStatus rebuild(void Function(CoreStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CoreAutoCompleteGetResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson? _$v; + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); + + CoreAutoCompleteGetResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } @override - CoreStatusBuilder toBuilder() => CoreStatusBuilder()..replace(this); + void replace(CoreAutoCompleteGetResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreAutoCompleteGetResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAvatarAvatarGetAvatarDarkHeaders extends CoreAvatarAvatarGetAvatarDarkHeaders { + @override + final int? xNcIscustomavatar; + + factory _$CoreAvatarAvatarGetAvatarDarkHeaders( + [void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + + _$CoreAvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + CoreAvatarAvatarGetAvatarDarkHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => + CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreStatus && - installed == other.installed && - maintenance == other.maintenance && - needsDbUpgrade == other.needsDbUpgrade && - version == other.version && - versionstring == other.versionstring && - edition == other.edition && - productname == other.productname && - extendedSupport == other.extendedSupport; + return other is CoreAvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) + .toString(); + } +} + +class CoreAvatarAvatarGetAvatarDarkHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarDarkHeaders? _$v; + + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + + CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); + + CoreAvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNcIscustomavatar = $v.xNcIscustomavatar; + _$v = null; + } + return this; + } + + @override + void replace(CoreAvatarAvatarGetAvatarDarkHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAvatarAvatarGetAvatarDarkHeaders; + } + + @override + void update(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAvatarAvatarGetAvatarDarkHeaders build() => _build(); + + _$CoreAvatarAvatarGetAvatarDarkHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + replace(_$result); + return _$result; + } +} + +class _$CoreAvatarAvatarGetAvatarHeaders extends CoreAvatarAvatarGetAvatarHeaders { + @override + final int? xNcIscustomavatar; + + factory _$CoreAvatarAvatarGetAvatarHeaders([void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + + _$CoreAvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + CoreAvatarAvatarGetAvatarHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAvatarAvatarGetAvatarHeadersBuilder toBuilder() => CoreAvatarAvatarGetAvatarHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; } @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, xNcIscustomavatar.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreStatus') - ..add('installed', installed) - ..add('maintenance', maintenance) - ..add('needsDbUpgrade', needsDbUpgrade) - ..add('version', version) - ..add('versionstring', versionstring) - ..add('edition', edition) - ..add('productname', productname) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) .toString(); } } -class CoreStatusBuilder implements Builder { - _$CoreStatus? _$v; - - bool? _installed; - bool? get installed => _$this._installed; - set installed(bool? installed) => _$this._installed = installed; - - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(bool? maintenance) => _$this._maintenance = maintenance; - - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; - - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; - - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(String? versionstring) => _$this._versionstring = versionstring; - - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; - - String? _productname; - String? get productname => _$this._productname; - set productname(String? productname) => _$this._productname = productname; +class CoreAvatarAvatarGetAvatarHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarHeaders? _$v; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; - CoreStatusBuilder(); + CoreAvatarAvatarGetAvatarHeadersBuilder(); - CoreStatusBuilder get _$this { + CoreAvatarAvatarGetAvatarHeadersBuilder 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; + _xNcIscustomavatar = $v.xNcIscustomavatar; _$v = null; } return this; } @override - void replace(CoreStatus other) { + void replace(CoreAvatarAvatarGetAvatarHeaders other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreStatus; + _$v = other as _$CoreAvatarAvatarGetAvatarHeaders; } @override - void update(void Function(CoreStatusBuilder)? updates) { + void update(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates) { if (updates != null) updates(this); } @override - CoreStatus build() => _build(); + CoreAvatarAvatarGetAvatarHeaders build() => _build(); - _$CoreStatus _build() { - final _$result = _$v ?? - _$CoreStatus._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'), - needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport')); + _$CoreAvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); replace(_$result); return _$result; } } -class _$CoreOCSMeta extends CoreOCSMeta { - @override - final String status; - @override - final int statuscode; +class _$CoreLoginFlowV2Credentials extends CoreLoginFlowV2Credentials { @override - final String? message; + final String server; @override - final String? totalitems; + final String loginName; @override - final String? itemsperpage; + final String appPassword; - factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => - (CoreOCSMetaBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2Credentials([void Function(CoreLoginFlowV2CredentialsBuilder)? updates]) => + (CoreLoginFlowV2CredentialsBuilder()..update(updates))._build(); - _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + _$CoreLoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); + BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword'); } @override - CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreLoginFlowV2Credentials rebuild(void Function(CoreLoginFlowV2CredentialsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + CoreLoginFlowV2CredentialsBuilder toBuilder() => CoreLoginFlowV2CredentialsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is CoreLoginFlowV2Credentials && + server == other.server && + loginName == other.loginName && + appPassword == other.appPassword; } @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, server.hashCode); + _$hash = $jc(_$hash, loginName.hashCode); + _$hash = $jc(_$hash, appPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) .toString(); } } -class CoreOCSMetaBuilder implements Builder { - _$CoreOCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(int? statuscode) => _$this._statuscode = statuscode; +class CoreLoginFlowV2CredentialsBuilder + implements Builder { + _$CoreLoginFlowV2Credentials? _$v; - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; + String? _server; + String? get server => _$this._server; + set server(String? server) => _$this._server = server; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(String? totalitems) => _$this._totalitems = totalitems; + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(String? loginName) => _$this._loginName = loginName; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(String? appPassword) => _$this._appPassword = appPassword; - CoreOCSMetaBuilder(); + CoreLoginFlowV2CredentialsBuilder(); - CoreOCSMetaBuilder get _$this { + CoreLoginFlowV2CredentialsBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; _$v = null; } return this; } @override - void replace(CoreOCSMeta other) { + void replace(CoreLoginFlowV2Credentials other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOCSMeta; + _$v = other as _$CoreLoginFlowV2Credentials; } @override - void update(void Function(CoreOCSMetaBuilder)? updates) { + void update(void Function(CoreLoginFlowV2CredentialsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOCSMeta build() => _build(); + CoreLoginFlowV2Credentials build() => _build(); - _$CoreOCSMeta _build() { + _$CoreLoginFlowV2Credentials _build() { final _$result = _$v ?? - _$CoreOCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$CoreLoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'), + appPassword: + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword')); replace(_$result); return _$result; } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data { +class _$CoreLoginFlowV2_Poll extends CoreLoginFlowV2_Poll { @override - final String apppassword; + final String token; + @override + final String endpoint; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2_Poll([void Function(CoreLoginFlowV2_PollBuilder)? updates]) => + (CoreLoginFlowV2_PollBuilder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + _$CoreLoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint'); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreLoginFlowV2_Poll rebuild(void Function(CoreLoginFlowV2_PollBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreLoginFlowV2_PollBuilder toBuilder() => CoreLoginFlowV2_PollBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data && - apppassword == other.apppassword; + return other is CoreLoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, endpoint.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; +class CoreLoginFlowV2_PollBuilder implements Builder { + _$CoreLoginFlowV2_Poll? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(String? apppassword) => _$this._apppassword = apppassword; + String? _token; + String? get token => _$this._token; + set token(String? token) => _$this._token = token; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(String? endpoint) => _$this._endpoint = endpoint; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreLoginFlowV2_PollBuilder(); + + CoreLoginFlowV2_PollBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _token = $v.token; + _endpoint = $v.endpoint; _$v = null; } return this; } @override - void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreLoginFlowV2_Poll other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreLoginFlowV2_Poll; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreLoginFlowV2_PollBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreLoginFlowV2_Poll build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + _$CoreLoginFlowV2_Poll _build() { final _$result = _$v ?? - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + _$CoreLoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint')); replace(_$result); return _$result; } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs { +class _$CoreLoginFlowV2 extends CoreLoginFlowV2 { @override - final CoreOCSMeta meta; + final CoreLoginFlowV2_Poll poll; @override - final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data data; + final String login; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreLoginFlowV2([void Function(CoreLoginFlowV2Builder)? updates]) => + (CoreLoginFlowV2Builder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'data'); + _$CoreLoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login'); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreLoginFlowV2 rebuild(void Function(CoreLoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreLoginFlowV2Builder toBuilder() => CoreLoginFlowV2Builder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreLoginFlowV2 && poll == other.poll && login == other.login; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2') + ..add('poll', poll) + ..add('login', login)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs? _$v; +class CoreLoginFlowV2Builder implements Builder { + _$CoreLoginFlowV2? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + CoreLoginFlowV2_PollBuilder? _poll; + CoreLoginFlowV2_PollBuilder get poll => _$this._poll ??= CoreLoginFlowV2_PollBuilder(); + set poll(CoreLoginFlowV2_PollBuilder? poll) => _$this._poll = poll; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _login; + String? get login => _$this._login; + set login(String? login) => _$this._login = login; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + CoreLoginFlowV2Builder(); - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + CoreLoginFlowV2Builder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _poll = $v.poll.toBuilder(); + _login = $v.login; _$v = null; } return this; } @override - void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreLoginFlowV2 other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreLoginFlowV2; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreLoginFlowV2Builder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreLoginFlowV2 build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _$result; + _$CoreLoginFlowV2 _build() { + _$CoreLoginFlowV2 _$result; try { _$result = _$v ?? - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CoreLoginFlowV2._( + poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login')); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'poll'; + poll.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreLoginFlowV2', _$failedField, e.toString()); } rethrow; } @@ -6181,306 +8646,380 @@ class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder } } -class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson - extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson { +class _$CoreOpenGraphObject_OpenGraphObject extends CoreOpenGraphObject_OpenGraphObject { @override - final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ocs; + final String id; + @override + final String name; + @override + final String? description; + @override + final String? thumb; + @override + final String link; - factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreOpenGraphObject_OpenGraphObject([void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObject_OpenGraphObjectBuilder()..update(updates))._build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreOpenGraphObject_OpenGraphObject._( + {required this.id, required this.name, this.description, this.thumb, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link'); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreOpenGraphObject_OpenGraphObject rebuild(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreOpenGraphObject_OpenGraphObjectBuilder toBuilder() => CoreOpenGraphObject_OpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreOpenGraphObject_OpenGraphObject && + id == other.id && + name == other.name && + description == other.description && + thumb == other.thumb && + link == other.link; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, 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'CoreAppPasswordGetAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject_OpenGraphObject') + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) .toString(); } } -class CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson? _$v; +class CoreOpenGraphObject_OpenGraphObjectBuilder + implements Builder { + _$CoreOpenGraphObject_OpenGraphObject? _$v; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder get _$this { + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(String? thumb) => _$this._thumb = thumb; + + String? _link; + String? get link => _$this._link; + set link(String? link) => _$this._link = link; + + CoreOpenGraphObject_OpenGraphObjectBuilder(); + + CoreOpenGraphObject_OpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { - _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(CoreAppPasswordGetAppPasswordResponse200ApplicationJson other) { + void replace(CoreOpenGraphObject_OpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreOpenGraphObject_OpenGraphObject; } @override - void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordGetAppPasswordResponse200ApplicationJson build() => _build(); + CoreOpenGraphObject_OpenGraphObject build() => _build(); - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _$result; - try { - _$result = _$v ?? _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOpenGraphObject_OpenGraphObject _build() { + final _$result = _$v ?? + _$CoreOpenGraphObject_OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link')); replace(_$result); return _$result; } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data { +class _$CoreOpenGraphObject extends CoreOpenGraphObject { + @override + final String richObjectType; @override - final String apppassword; + final BuiltMap richObject; + @override + final CoreOpenGraphObject_OpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreOpenGraphObject([void Function(CoreOpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObjectBuilder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { - BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + _$CoreOpenGraphObject._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'CoreOpenGraphObject', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreOpenGraphObject', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreOpenGraphObject rebuild(void Function(CoreOpenGraphObjectBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreOpenGraphObjectBuilder toBuilder() => CoreOpenGraphObjectBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data && - apppassword == other.apppassword; + return other is CoreOpenGraphObject && + 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'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data') - ..add('apppassword', apppassword)) + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder - implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; +class CoreOpenGraphObjectBuilder implements Builder { + _$CoreOpenGraphObject? _$v; - String? _apppassword; - String? get apppassword => _$this._apppassword; - set apppassword(String? apppassword) => _$this._apppassword = apppassword; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(MapBuilder? richObject) => _$this._richObject = richObject; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + CoreOpenGraphObject_OpenGraphObjectBuilder? _openGraphObject; + CoreOpenGraphObject_OpenGraphObjectBuilder get openGraphObject => + _$this._openGraphObject ??= CoreOpenGraphObject_OpenGraphObjectBuilder(); + set openGraphObject(CoreOpenGraphObject_OpenGraphObjectBuilder? openGraphObject) => + _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(bool? accessible) => _$this._accessible = accessible; + + CoreOpenGraphObjectBuilder(); + + CoreOpenGraphObjectBuilder get _$this { final $v = _$v; if ($v != null) { - _apppassword = $v.apppassword; + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreOpenGraphObject other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreOpenGraphObject; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update(void Function(CoreOpenGraphObjectBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreOpenGraphObject build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data _build() { - final _$result = _$v ?? - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._( - apppassword: BuiltValueNullFieldError.checkNotNull( - apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + _$CoreOpenGraphObject _build() { + _$CoreOpenGraphObject _$result; + try { + _$result = _$v ?? + _$CoreOpenGraphObject._( + richObjectType: + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreOpenGraphObject', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs { +class _$CoreCollection extends CoreCollection { @override - final CoreOCSMeta meta; + final int id; @override - final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data data; + final String name; + @override + final BuiltList resources; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollection([void Function(CoreCollectionBuilder)? updates]) => + (CoreCollectionBuilder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'data'); + _$CoreCollection._({required this.id, required this.name, required this.resources}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'); + BuiltValueNullFieldError.checkNotNull(resources, r'CoreCollection', 'resources'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreCollection rebuild(void Function(CoreCollectionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollectionBuilder toBuilder() => CoreCollectionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreCollection && id == other.id && name == other.name && resources == other.resources; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, resources.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreCollection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs? _$v; +class CoreCollectionBuilder implements Builder { + _$CoreCollection? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + ListBuilder? _resources; + ListBuilder get resources => _$this._resources ??= ListBuilder(); + set resources(ListBuilder? resources) => _$this._resources = resources; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollectionBuilder(); + + CoreCollectionBuilder 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(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreCollection other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollection; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreCollectionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreCollection build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _$result; + _$CoreCollection _build() { + _$CoreCollection _$result; try { _$result = _$v ?? - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CoreCollection._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'), + resources: resources.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'resources'; + resources.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreCollection', _$failedField, e.toString()); } rethrow; } @@ -6489,97 +9028,118 @@ class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder } } -class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson - extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson { +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs { @override - final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final BuiltList data; - factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs? _$v; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordRotateAppPasswordResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -6588,116 +9148,99 @@ class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder } } -class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs - extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson { @override - final JsonObject data; + final CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ocs; - factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs( - [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data'); + ocs, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', 'ocs'); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson && 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'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder implements - Builder { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs other) { + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; } @override - void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson build() => _build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _build() { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _$result; + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._( - meta: meta.build(), - data: BuiltValueNullFieldError.checkNotNull( - data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data')); + _$result = _$v ?? _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -6706,97 +9249,116 @@ class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder } } -class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson - extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson { +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs { @override - final CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ocs; + final CoreOCSMeta meta; + @override + final CoreCollection data; - factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson( - [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates]) => - (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', 'ocs'); + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson rebuild( - void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder toBuilder() => - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs? _$v; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _build() { - _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -6805,199 +9367,141 @@ class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder } } -class _$CoreAutocompleteResult extends CoreAutocompleteResult { - @override - final String id; - @override - final String label; - @override - final String icon; - @override - final String source; - @override - final String status; - @override - final String subline; +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson { @override - final String shareWithDisplayNameUnique; + final CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ocs; - factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => - (CoreAutocompleteResultBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAutocompleteResult._( - {required this.id, - required this.label, - required this.icon, - required this.source, - required this.status, - required this.subline, - required this.shareWithDisplayNameUnique}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'); + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique'); + ocs, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', 'ocs'); } @override - CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutocompleteResult && - id == other.id && - label == other.label && - icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, label.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, source.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult') - ..add('id', id) - ..add('label', label) - ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreAutocompleteResultBuilder implements Builder { - _$CoreAutocompleteResult? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _label; - String? get label => _$this._label; - set label(String? label) => _$this._label = label; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _source; - String? get source => _$this._source; - set source(String? source) => _$this._source = source; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; - - String? _subline; - String? get subline => _$this._subline; - set subline(String? subline) => _$this._subline = subline; +class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson? _$v; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAutocompleteResultBuilder(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); - CoreAutocompleteResultBuilder get _$this { + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _label = $v.label; - _icon = $v.icon; - _source = $v.source; - _status = $v.status; - _subline = $v.subline; - _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAutocompleteResult other) { + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult; + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; } @override - void update(void Function(CoreAutocompleteResultBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult build() => _build(); + CoreCollaborationResourcesListCollectionResponse200ApplicationJson build() => _build(); - _$CoreAutocompleteResult _build() { - final _$result = _$v ?? - _$CoreAutocompleteResult._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'), - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique')); + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoCompleteGetResponse200ApplicationJson_Ocs { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final BuiltList data; + final CoreCollection data; - factory _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs( - [void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'data'); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAutoCompleteGetResponse200ApplicationJson_Ocs rebuild( - void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder) updates) => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutoCompleteGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -7011,30 +9515,30 @@ class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoComple @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get _$this { + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -7045,23 +9549,25 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreAutoCompleteGetResponse200ApplicationJson_Ocs other) { + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutoCompleteGetResponse200ApplicationJson_Ocs build() => _build(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _build() { - _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _$result; + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -7071,7 +9577,7 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -7080,31 +9586,33 @@ class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder } } -class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGetResponse200ApplicationJson { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson { @override - final CoreAutoCompleteGetResponse200ApplicationJson_Ocs ocs; + final CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ocs; - factory _$CoreAutoCompleteGetResponse200ApplicationJson( - [void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates]) => - (CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAutoCompleteGetResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutoCompleteGetResponse200ApplicationJson', 'ocs'); + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', 'ocs'); } @override - CoreAutoCompleteGetResponse200ApplicationJson rebuild( - void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder) updates) => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutoCompleteGetResponse200ApplicationJsonBuilder toBuilder() => - CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..replace(this); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutoCompleteGetResponse200ApplicationJson && ocs == other.ocs; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson && ocs == other.ocs; } @override @@ -7117,23 +9625,26 @@ class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGe @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class CoreAutoCompleteGetResponse200ApplicationJsonBuilder +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder implements - Builder { - _$CoreAutoCompleteGetResponse200ApplicationJson? _$v; + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson? _$v; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? _ocs; - CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); - CoreAutoCompleteGetResponse200ApplicationJsonBuilder get _$this { + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -7143,30 +9654,31 @@ class CoreAutoCompleteGetResponse200ApplicationJsonBuilder } @override - void replace(CoreAutoCompleteGetResponse200ApplicationJson other) { + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson; + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; } @override - void update(void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutoCompleteGetResponse200ApplicationJson build() => _build(); + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson build() => _build(); - _$CoreAutoCompleteGetResponse200ApplicationJson _build() { - _$CoreAutoCompleteGetResponse200ApplicationJson _$result; + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutoCompleteGetResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -7175,727 +9687,796 @@ class CoreAutoCompleteGetResponse200ApplicationJsonBuilder } } -class _$CoreAvatarAvatarGetAvatarDarkHeaders extends CoreAvatarAvatarGetAvatarDarkHeaders { +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs { @override - final int? xNcIscustomavatar; + final CoreOCSMeta meta; + @override + final CoreCollection data; - factory _$CoreAvatarAvatarGetAvatarDarkHeaders( - [void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => - (CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreAvatarAvatarGetAvatarDarkHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => - CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarDarkHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAvatarAvatarGetAvatarDarkHeadersBuilder - implements Builder { - _$CoreAvatarAvatarGetAvatarDarkHeaders? _$v; +class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreAvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAvatarAvatarGetAvatarDarkHeaders other) { + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAvatarAvatarGetAvatarDarkHeaders; + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAvatarAvatarGetAvatarDarkHeaders build() => _build(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAvatarAvatarGetAvatarDarkHeaders _build() { - final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAvatarAvatarGetAvatarHeaders extends CoreAvatarAvatarGetAvatarHeaders { +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson { @override - final int? xNcIscustomavatar; + final CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreAvatarAvatarGetAvatarHeaders([void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates]) => - (CoreAvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', 'ocs'); + } @override - CoreAvatarAvatarGetAvatarHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder) updates) => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAvatarAvatarGetAvatarHeadersBuilder toBuilder() => CoreAvatarAvatarGetAvatarHeadersBuilder()..replace(this); + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarHeaders') - ..add('xNcIscustomavatar', xNcIscustomavatar)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreAvatarAvatarGetAvatarHeadersBuilder - implements Builder { - _$CoreAvatarAvatarGetAvatarHeaders? _$v; +class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson? _$v; - int? _xNcIscustomavatar; - int? get xNcIscustomavatar => _$this._xNcIscustomavatar; - set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAvatarAvatarGetAvatarHeadersBuilder(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); - CoreAvatarAvatarGetAvatarHeadersBuilder get _$this { + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _xNcIscustomavatar = $v.xNcIscustomavatar; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAvatarAvatarGetAvatarHeaders other) { + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAvatarAvatarGetAvatarHeaders; + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; } @override - void update(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAvatarAvatarGetAvatarHeaders build() => _build(); + CoreCollaborationResourcesAddResourceResponse200ApplicationJson build() => _build(); - _$CoreAvatarAvatarGetAvatarHeaders _build() { - final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2Credentials extends CoreLoginFlowV2Credentials { - @override - final String server; +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs { @override - final String loginName; + final CoreOCSMeta meta; @override - final String appPassword; + final CoreCollection data; - factory _$CoreLoginFlowV2Credentials([void Function(CoreLoginFlowV2CredentialsBuilder)? updates]) => - (CoreLoginFlowV2CredentialsBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreLoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreLoginFlowV2Credentials rebuild(void Function(CoreLoginFlowV2CredentialsBuilder) updates) => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2CredentialsBuilder toBuilder() => CoreLoginFlowV2CredentialsBuilder()..replace(this); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2Credentials && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, server.hashCode); - _$hash = $jc(_$hash, loginName.hashCode); - _$hash = $jc(_$hash, appPassword.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowV2Credentials') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreLoginFlowV2CredentialsBuilder - implements Builder { - _$CoreLoginFlowV2Credentials? _$v; - - String? _server; - String? get server => _$this._server; - set server(String? server) => _$this._server = server; - - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(String? loginName) => _$this._loginName = loginName; +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs? _$v; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(String? appPassword) => _$this._appPassword = appPassword; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreLoginFlowV2CredentialsBuilder(); + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreLoginFlowV2CredentialsBuilder get _$this { + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _server = $v.server; - _loginName = $v.loginName; - _appPassword = $v.appPassword; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowV2Credentials other) { + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2Credentials; + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreLoginFlowV2CredentialsBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2Credentials build() => _build(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreLoginFlowV2Credentials _build() { - final _$result = _$v ?? - _$CoreLoginFlowV2Credentials._( - server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'), - appPassword: - BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword')); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_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'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2_Poll extends CoreLoginFlowV2_Poll { - @override - final String token; +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson + extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson { @override - final String endpoint; + final CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreLoginFlowV2_Poll([void Function(CoreLoginFlowV2_PollBuilder)? updates]) => - (CoreLoginFlowV2_PollBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreLoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint'); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', 'ocs'); } @override - CoreLoginFlowV2_Poll rebuild(void Function(CoreLoginFlowV2_PollBuilder) updates) => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2_PollBuilder toBuilder() => CoreLoginFlowV2_PollBuilder()..replace(this); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, token.hashCode); - _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowV2_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreLoginFlowV2_PollBuilder implements Builder { - _$CoreLoginFlowV2_Poll? _$v; - - String? _token; - String? get token => _$this._token; - set token(String? token) => _$this._token = token; +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson? _$v; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(String? endpoint) => _$this._endpoint = endpoint; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreLoginFlowV2_PollBuilder(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); - CoreLoginFlowV2_PollBuilder get _$this { + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _token = $v.token; - _endpoint = $v.endpoint; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowV2_Poll other) { + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2_Poll; + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; } @override - void update(void Function(CoreLoginFlowV2_PollBuilder)? updates) { + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2_Poll build() => _build(); + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson build() => _build(); - _$CoreLoginFlowV2_Poll _build() { - final _$result = _$v ?? - _$CoreLoginFlowV2_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint')); + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreLoginFlowV2 extends CoreLoginFlowV2 { +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs { @override - final CoreLoginFlowV2_Poll poll; + final CoreOCSMeta meta; @override - final String login; + final BuiltList data; - factory _$CoreLoginFlowV2([void Function(CoreLoginFlowV2Builder)? updates]) => - (CoreLoginFlowV2Builder()..update(updates))._build(); + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$CoreLoginFlowV2._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowV2', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login'); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreLoginFlowV2 rebuild(void Function(CoreLoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - CoreLoginFlowV2Builder toBuilder() => CoreLoginFlowV2Builder()..replace(this); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowV2 && poll == other.poll && login == other.login; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowV2') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreLoginFlowV2Builder implements Builder { - _$CoreLoginFlowV2? _$v; +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs? _$v; - CoreLoginFlowV2_PollBuilder? _poll; - CoreLoginFlowV2_PollBuilder get poll => _$this._poll ??= CoreLoginFlowV2_PollBuilder(); - set poll(CoreLoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _login; - String? get login => _$this._login; - set login(String? login) => _$this._login = login; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreLoginFlowV2Builder(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); - CoreLoginFlowV2Builder get _$this { + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowV2 other) { + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowV2; + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreLoginFlowV2Builder)? updates) { + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowV2 build() => _build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreLoginFlowV2 _build() { - _$CoreLoginFlowV2 _$result; + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreLoginFlowV2._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login')); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'poll'; - poll.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreLoginFlowV2', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } replace(_$result); - return _$result; - } -} - -class _$CoreOpenGraphObject_OpenGraphObject extends CoreOpenGraphObject_OpenGraphObject { - @override - final String id; - @override - final String name; - @override - final String? description; - @override - final String? thumb; + return _$result; + } +} + +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson + extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson { @override - final String link; + final CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreOpenGraphObject_OpenGraphObject([void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates]) => - (CoreOpenGraphObject_OpenGraphObjectBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreOpenGraphObject_OpenGraphObject._( - {required this.id, required this.name, this.description, this.thumb, required this.link}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'); - BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link'); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', 'ocs'); } @override - CoreOpenGraphObject_OpenGraphObject rebuild(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder) updates) => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreOpenGraphObject_OpenGraphObjectBuilder toBuilder() => CoreOpenGraphObject_OpenGraphObjectBuilder()..replace(this); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOpenGraphObject_OpenGraphObject && - id == other.id && - name == other.name && - description == other.description && - thumb == other.thumb && - link == other.link; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, description.hashCode); - _$hash = $jc(_$hash, thumb.hashCode); - _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOpenGraphObject_OpenGraphObject') - ..add('id', id) - ..add('name', name) - ..add('description', description) - ..add('thumb', thumb) - ..add('link', link)) + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreOpenGraphObject_OpenGraphObjectBuilder - implements Builder { - _$CoreOpenGraphObject_OpenGraphObject? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - String? _description; - String? get description => _$this._description; - set description(String? description) => _$this._description = description; - - String? _thumb; - String? get thumb => _$this._thumb; - set thumb(String? thumb) => _$this._thumb = thumb; +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson? _$v; - String? _link; - String? get link => _$this._link; - set link(String? link) => _$this._link = link; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CoreOpenGraphObject_OpenGraphObjectBuilder(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); - CoreOpenGraphObject_OpenGraphObjectBuilder get _$this { + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _description = $v.description; - _thumb = $v.thumb; - _link = $v.link; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOpenGraphObject_OpenGraphObject other) { + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOpenGraphObject_OpenGraphObject; + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; } @override - void update(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOpenGraphObject_OpenGraphObject build() => _build(); + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson build() => _build(); - _$CoreOpenGraphObject_OpenGraphObject _build() { - final _$result = _$v ?? - _$CoreOpenGraphObject_OpenGraphObject._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'), - description: description, - thumb: thumb, - link: BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link')); + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _$result; + try { + _$result = + _$v ?? _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOpenGraphObject extends CoreOpenGraphObject { - @override - final String richObjectType; - @override - final BuiltMap richObject; +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs { @override - final CoreOpenGraphObject_OpenGraphObject openGraphObject; + final CoreOCSMeta meta; @override - final bool accessible; + final CoreCollection data; - factory _$CoreOpenGraphObject([void Function(CoreOpenGraphObjectBuilder)? updates]) => - (CoreOpenGraphObjectBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); - _$CoreOpenGraphObject._( - {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'); - BuiltValueNullFieldError.checkNotNull(richObject, r'CoreOpenGraphObject', 'richObject'); - BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreOpenGraphObject', 'openGraphObject'); - BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible'); + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'data'); } @override - CoreOpenGraphObject rebuild(void Function(CoreOpenGraphObjectBuilder) updates) => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreOpenGraphObjectBuilder toBuilder() => CoreOpenGraphObjectBuilder()..replace(this); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOpenGraphObject && - richObjectType == other.richObjectType && - richObject == other.richObject && - openGraphObject == other.openGraphObject && - accessible == other.accessible; + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, richObjectType.hashCode); - _$hash = $jc(_$hash, richObject.hashCode); - _$hash = $jc(_$hash, openGraphObject.hashCode); - _$hash = $jc(_$hash, accessible.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOpenGraphObject') - ..add('richObjectType', richObjectType) - ..add('richObject', richObject) - ..add('openGraphObject', openGraphObject) - ..add('accessible', accessible)) + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreOpenGraphObjectBuilder implements Builder { - _$CoreOpenGraphObject? _$v; - - String? _richObjectType; - String? get richObjectType => _$this._richObjectType; - set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - - MapBuilder? _richObject; - MapBuilder get richObject => _$this._richObject ??= MapBuilder(); - set richObject(MapBuilder? richObject) => _$this._richObject = richObject; +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs? _$v; - CoreOpenGraphObject_OpenGraphObjectBuilder? _openGraphObject; - CoreOpenGraphObject_OpenGraphObjectBuilder get openGraphObject => - _$this._openGraphObject ??= CoreOpenGraphObject_OpenGraphObjectBuilder(); - set openGraphObject(CoreOpenGraphObject_OpenGraphObjectBuilder? openGraphObject) => - _$this._openGraphObject = openGraphObject; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _accessible; - bool? get accessible => _$this._accessible; - set accessible(bool? accessible) => _$this._accessible = accessible; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - CoreOpenGraphObjectBuilder(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); - CoreOpenGraphObjectBuilder get _$this { + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _richObjectType = $v.richObjectType; - _richObject = $v.richObject.toBuilder(); - _openGraphObject = $v.openGraphObject.toBuilder(); - _accessible = $v.accessible; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOpenGraphObject other) { + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOpenGraphObject; + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreOpenGraphObjectBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreOpenGraphObject build() => _build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs build() => _build(); - _$CoreOpenGraphObject _build() { - _$CoreOpenGraphObject _$result; + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreOpenGraphObject._( - richObjectType: - BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'), - richObject: richObject.build(), - openGraphObject: openGraphObject.build(), - accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible')); + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'richObject'; - richObject.build(); - _$failedField = 'openGraphObject'; - openGraphObject.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreOpenGraphObject', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); } rethrow; } @@ -7904,112 +10485,108 @@ class CoreOpenGraphObjectBuilder implements Builder resources; + final CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollection([void Function(CoreCollectionBuilder)? updates]) => - (CoreCollectionBuilder()..update(updates))._build(); + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..update(updates)) + ._build(); - _$CoreCollection._({required this.id, required this.name, required this.resources}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'); - BuiltValueNullFieldError.checkNotNull(resources, r'CoreCollection', 'resources'); + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', 'ocs'); } @override - CoreCollection rebuild(void Function(CoreCollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - CoreCollectionBuilder toBuilder() => CoreCollectionBuilder()..replace(this); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollection && id == other.id && name == other.name && resources == other.resources; + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, resources.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollection') - ..add('id', id) - ..add('name', name) - ..add('resources', resources)) + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreCollectionBuilder implements Builder { - _$CoreCollection? _$v; - - int? _id; - int? get id => _$this._id; - set id(int? id) => _$this._id = id; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson? _$v; - ListBuilder? _resources; - ListBuilder get resources => _$this._resources ??= ListBuilder(); - set resources(ListBuilder? resources) => _$this._resources = resources; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CoreCollectionBuilder(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); - CoreCollectionBuilder get _$this { + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _resources = $v.resources.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreCollection other) { + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollection; + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; } @override - void update(void Function(CoreCollectionBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollection build() => _build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson build() => _build(); - _$CoreCollection _build() { - _$CoreCollection _$result; + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreCollection._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'), - resources: resources.build()); + _$result = + _$v ?? _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resources'; - resources.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreCollection', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', + _$failedField, + e.toString()); } rethrow; } @@ -8018,219 +10595,249 @@ class CoreCollectionBuilder implements Builder data; + final String icon; + @override + final String hyperlink; + @override + final String appId; - factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreContactsAction([void Function(CoreContactsActionBuilder)? updates]) => + (CoreContactsActionBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$CoreContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'data'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId'); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder) updates) => + CoreContactsAction rebuild(void Function(CoreContactsActionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreContactsActionBuilder toBuilder() => CoreContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, hyperlink.hashCode); + _$hash = $jc(_$hash, appId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs? _$v; +class CoreContactsActionBuilder implements Builder { + _$CoreContactsAction? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(String? hyperlink) => _$this._hyperlink = hyperlink; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get _$this { + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; + + CoreContactsActionBuilder(); + + CoreContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs other) { + void replace(CoreContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; + _$v = other as _$CoreContactsAction; } @override - void update( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs build() => _build(); + CoreContactsAction build() => _build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_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'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreContactsAction _build() { + final _$result = _$v ?? + _$CoreContactsAction._( + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId')); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson - extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data + extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data { @override - final CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ocs; + final String userId; + @override + final String displayName; + @override + final BuiltList actions; - factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) + : super._() { + BuiltValueNullFieldError.checkNotNull(userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'); BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', 'ocs'); + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull( + actions, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'actions'); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson && ocs == other.ocs; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, actions.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) .toString(); } } -class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder +class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data? _$v; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(String? displayName) => _$this._displayName = displayName; - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder get _$this { + ListBuilder? _actions; + ListBuilder get actions => _$this._actions ??= ListBuilder(); + set actions(ListBuilder? actions) => _$this._actions = actions; + + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'), + actions: actions.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'actions'; + actions.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -8239,40 +10846,34 @@ class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuild } } -class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreCollection data; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data data; - factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'data'); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -8286,30 +10887,31 @@ class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder +class CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -8320,25 +10922,23 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuil } @override - void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -8348,7 +10948,7 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuil data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -8357,33 +10957,31 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuil } } -class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson - extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson { +class _$CoreHoverCardGetUserResponse200ApplicationJson extends CoreHoverCardGetUserResponse200ApplicationJson { @override - final CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ocs; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson( + [void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', 'ocs'); + _$CoreHoverCardGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreHoverCardGetUserResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson && ocs == other.ocs; + return other is CoreHoverCardGetUserResponse200ApplicationJson && ocs == other.ocs; } @override @@ -8396,26 +10994,23 @@ class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson') - ..add('ocs', ocs)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder +class CoreHoverCardGetUserResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson? _$v; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? _ocs; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -8425,23 +11020,23 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder } @override - void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesListCollectionResponse200ApplicationJson build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _$result; + _$CoreHoverCardGetUserResponse200ApplicationJson _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -8449,7 +11044,7 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreHoverCardGetUserResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -8458,217 +11053,299 @@ class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs { +class _$CoreNavigationEntry_Order extends CoreNavigationEntry_Order { @override - final CoreOCSMeta meta; + final JsonObject data; @override - final CoreCollection data; + final int? $int; + @override + final String? string; - factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry_Order([void Function(CoreNavigationEntry_OrderBuilder)? updates]) => + (CoreNavigationEntry_OrderBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'data'); + _$CoreNavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder) updates) => + CoreNavigationEntry_Order rebuild(void Function(CoreNavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationEntry_OrderBuilder toBuilder() => CoreNavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreNavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry_Order') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs? _$v; +class CoreNavigationEntry_OrderBuilder implements Builder { + _$CoreNavigationEntry_Order? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationEntry_OrderBuilder(); + + CoreNavigationEntry_OrderBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationEntry_Order; } @override - void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationEntry_OrderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationEntry_Order build() => _build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreNavigationEntry_Order _build() { + final _$result = _$v ?? + _$CoreNavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson - extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson { +class _$CoreNavigationEntry extends CoreNavigationEntry { @override - final CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ocs; + final String id; + @override + final CoreNavigationEntry_Order order; + @override + final String href; + @override + final String icon; + @override + final String type; + @override + final String name; + @override + final bool active; + @override + final String classes; + @override + final int unread; - factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry([void Function(CoreNavigationEntryBuilder)? updates]) => + (CoreNavigationEntryBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', 'ocs'); + _$CoreNavigationEntry._( + {required this.id, + required this.order, + required this.href, + required this.icon, + required this.type, + required this.name, + required this.active, + required this.classes, + required this.unread}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'); + BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread'); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder) updates) => + CoreNavigationEntry rebuild(void Function(CoreNavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationEntryBuilder toBuilder() => CoreNavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationEntry && + id == other.id && + order == other.order && + href == other.href && + icon == other.icon && + type == other.type && + name == other.name && + active == other.active && + classes == other.classes && + unread == other.unread; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, href.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, active.hashCode); + _$hash = $jc(_$hash, classes.hashCode); + _$hash = $jc(_$hash, unread.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry') + ..add('id', id) + ..add('order', order) + ..add('href', href) + ..add('icon', icon) + ..add('type', type) + ..add('name', name) + ..add('active', active) + ..add('classes', classes) + ..add('unread', unread)) .toString(); } } -class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson? _$v; +class CoreNavigationEntryBuilder implements Builder { + _$CoreNavigationEntry? _$v; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); + CoreNavigationEntry_OrderBuilder? _order; + CoreNavigationEntry_OrderBuilder get order => _$this._order ??= CoreNavigationEntry_OrderBuilder(); + set order(CoreNavigationEntry_OrderBuilder? order) => _$this._order = order; - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder get _$this { + String? _href; + String? get href => _$this._href; + set href(String? href) => _$this._href = href; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + bool? _active; + bool? get active => _$this._active; + set active(bool? active) => _$this._active = active; + + String? _classes; + String? get classes => _$this._classes; + set classes(String? classes) => _$this._classes = classes; + + int? _unread; + int? get unread => _$this._unread; + set unread(int? unread) => _$this._unread = unread; + + CoreNavigationEntryBuilder(); + + CoreNavigationEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _id = $v.id; + _order = $v.order.toBuilder(); + _href = $v.href; + _icon = $v.icon; + _type = $v.type; + _name = $v.name; + _active = $v.active; + _classes = $v.classes; + _unread = $v.unread; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson other) { + void replace(CoreNavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; + _$v = other as _$CoreNavigationEntry; } @override - void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson build() => _build(); + CoreNavigationEntry build() => _build(); - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _$result; + _$CoreNavigationEntry _build() { + _$CoreNavigationEntry _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreNavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread')); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'order'; + order.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreNavigationEntry', _$failedField, e.toString()); } rethrow; } @@ -8677,38 +11354,38 @@ class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilde } } -class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreCollection data; + final BuiltList data; - factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'meta'); + meta, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'data'); + data, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs && + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -8724,30 +11401,30 @@ class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -8758,25 +11435,24 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -8786,7 +11462,7 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -8795,33 +11471,32 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder } } -class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson - extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson { @override - final CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ocs; + final CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', 'ocs'); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override @@ -8834,26 +11509,25 @@ class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson? _$v; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -8863,23 +11537,23 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder } @override - void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesAddResourceResponse200ApplicationJson build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -8887,7 +11561,7 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -8896,38 +11570,38 @@ class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreCollection data; + final BuiltList data; - factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'meta'); + meta, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'meta'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'data'); + data, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'data'); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder) updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs && + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @@ -8943,30 +11617,30 @@ class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -8977,25 +11651,24 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil } @override - void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _$result; + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -9005,7 +11678,7 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9014,33 +11687,32 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuil } } -class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson - extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson { @override - final CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs ocs; + final CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates]) => - (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', 'ocs'); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', 'ocs'); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder) updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson && ocs == other.ocs; + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override @@ -9053,26 +11725,26 @@ class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson') + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson') ..add('ocs', ocs)) .toString(); } } -class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson? _$v; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -9082,23 +11754,23 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder } @override - void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; } @override - void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson build() => _build(); - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _$result; + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { @@ -9106,7 +11778,7 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -9115,284 +11787,361 @@ class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder } } -class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version { @override - final CoreOCSMeta meta; + final int major; @override - final BuiltList data; + final int minor; + @override + final int micro; + @override + final String string; + @override + final String edition; + @override + final bool extendedSupport; - factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? - updates]) => - (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) - ._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'meta'); + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'data'); + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport'); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder) - updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version && + major == other.major && + minor == other.minor && + micro == other.micro && + string == other.string && + edition == other.edition && + extendedSupport == other.extendedSupport; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, major.hashCode); + _$hash = $jc(_$hash, minor.hashCode); + _$hash = $jc(_$hash, micro.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder implements - Builder { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + int? _major; + int? get major => _$this._major; + set major(int? major) => _$this._major = major; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + int? _minor; + int? get minor => _$this._minor; + set minor(int? minor) => _$this._minor = minor; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + int? _micro; + int? get micro => _$this._micro; + set micro(int? micro) => _$this._micro = micro; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get _$this { + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; + + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _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(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; } @override - void update( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version build() => _build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_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'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport')); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson - extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password { @override - final CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ocs; + final bool enforced; + @override + final bool askForOptionalPassword; - factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? updates]) => - (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder() + ..update(updates)) + ._build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) + : super._() { BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', 'ocs'); + enforced, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', + 'enforced'); + BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', + 'askForOptionalPassword'); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson && ocs == other.ocs; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) .toString(); } } -class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder implements - Builder { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? _$v; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword) => _$this._askForOptionalPassword = askForOptionalPassword; - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; _$v = null; } return this; } @override - void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; + _$v = + other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password; } @override void update( - void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? updates) { + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password build() => + _build(); - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _$result; - try { - _$result = - _$v ?? _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._( + enforced: BuiltValueNullFieldError.checkNotNull( + enforced, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', + 'enforced'), + askForOptionalPassword: BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password', + 'askForOptionalPassword')); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs - extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate { @override - final CoreOCSMeta meta; + final bool enabled; @override - final CoreCollection data; + final int? days; + @override + final bool? enforced; - factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs( - [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => - (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder() + ..update(updates)) ._build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( - {required this.meta, required this.data}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._( + {required this.enabled, this.days, this.enforced}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'data'); + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate', + 'enabled'); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs rebuild( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder) + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate && + 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; } @@ -9400,117 +12149,135 @@ class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200Applicati @override String toString() { return (newBuiltValueToStringHelper( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder implements - Builder { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreCollectionBuilder? _data; - CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); - set data(CoreCollectionBuilder? data) => _$this._data = data; + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder + 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(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; + _$v = other + as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; } @override void update( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate build() => + _build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _build() { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( - meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson - extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal { @override - final CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ocs; + final bool enabled; + @override + final int? days; + @override + final bool? enforced; - factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson( - [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => - (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..update(updates)) + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder() + ..update(updates)) ._build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._( + {required this.enabled, this.days, this.enforced}) + : super._() { BuiltValueNullFieldError.checkNotNull( - ocs, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', 'ocs'); + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal', + 'enabled'); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson rebuild( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder) + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder toBuilder() => - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson && ocs == other.ocs; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal && + 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; } @@ -9518,316 +12285,463 @@ class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200Applicati @override String toString() { return (newBuiltValueToStringHelper( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson') - ..add('ocs', ocs)) + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder implements - Builder { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson? _$v; + Builder< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder> { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? _$v; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? _ocs; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? ocs) => - _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder get _$this { + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder + 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(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; + _$v = other + as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; } @override void update( - void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? updates) { + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + build() => _build(); - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _build() { - _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _$result; - try { - _$result = - _$v ?? _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', - _$failedField, - e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreContactsAction extends CoreContactsAction { - @override - final String title; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote { @override - final String icon; + final bool enabled; @override - final String hyperlink; + final int? days; @override - final String appId; + final bool? enforced; - factory _$CoreContactsAction([void Function(CoreContactsActionBuilder)? updates]) => - (CoreContactsActionBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder() + ..update(updates)) + ._build(); - _$CoreContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._( + {required this.enabled, this.days, this.enforced}) : super._() { - BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'); - BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'); - BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId'); + BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote', + 'enabled'); } @override - CoreContactsAction rebuild(void Function(CoreContactsActionBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreContactsActionBuilder toBuilder() => CoreContactsActionBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreContactsAction && - title == other.title && - icon == other.icon && - hyperlink == other.hyperlink && - appId == other.appId; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, hyperlink.hashCode); - _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreContactsAction') - ..add('title', title) - ..add('icon', icon) - ..add('hyperlink', hyperlink) - ..add('appId', appId)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) .toString(); } } -class CoreContactsActionBuilder implements Builder { - _$CoreContactsAction? _$v; - - String? _title; - String? get title => _$this._title; - set title(String? title) => _$this._title = title; +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder + implements + Builder< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder> { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? _$v; - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - String? _hyperlink; - String? get hyperlink => _$this._hyperlink; - set hyperlink(String? hyperlink) => _$this._hyperlink = hyperlink; + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; - String? _appId; - String? get appId => _$this._appId; - set appId(String? appId) => _$this._appId = appId; + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; - CoreContactsActionBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - CoreContactsActionBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder + get _$this { final $v = _$v; if ($v != null) { - _title = $v.title; - _icon = $v.icon; - _hyperlink = $v.hyperlink; - _appId = $v.appId; + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; _$v = null; } return this; } @override - void replace(CoreContactsAction other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreContactsAction; + _$v = other + as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; } @override - void update(void Function(CoreContactsActionBuilder)? updates) { + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreContactsAction build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote build() => + _build(); - _$CoreContactsAction _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + _build() { final _$result = _$v ?? - _$CoreContactsAction._( - title: BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'), - hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'), - appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId')); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote', + 'enabled'), + days: days, + enforced: enforced); replace(_$result); return _$result; } } -class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data - extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public { @override - final String userId; + final bool enabled; @override - final String displayName; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? password; @override - final BuiltList actions; + final bool? multipleLinks; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? + expireDate; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? + expireDateInternal; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? + expireDateRemote; + @override + final bool? sendMail; + @override + final bool? upload; + @override + final bool? uploadFilesDrop; - factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data( - [void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder() + ..update(updates)) + ._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( - {required this.userId, required this.displayName, required this.actions}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._( + {required this.enabled, + this.password, + this.multipleLinks, + this.expireDate, + this.expireDateInternal, + this.expireDateRemote, + this.sendMail, + this.upload, + this.uploadFilesDrop}) : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'); - BuiltValueNullFieldError.checkNotNull( - displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'); - BuiltValueNullFieldError.checkNotNull( - actions, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'actions'); + BuiltValueNullFieldError.checkNotNull(enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', 'enabled'); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data && - userId == other.userId && - displayName == other.displayName && - actions == other.actions; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public && + enabled == other.enabled && + password == other.password && + multipleLinks == other.multipleLinks && + expireDate == other.expireDate && + expireDateInternal == other.expireDateInternal && + expireDateRemote == other.expireDateRemote && + sendMail == other.sendMail && + upload == other.upload && + uploadFilesDrop == other.uploadFilesDrop; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, displayName.hashCode); - _$hash = $jc(_$hash, actions.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, multipleLinks.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateInternal.hashCode); + _$hash = $jc(_$hash, expireDateRemote.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, upload.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data') - ..add('userId', userId) - ..add('displayName', displayName) - ..add('actions', actions)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public') + ..add('enabled', enabled) + ..add('password', password) + ..add('multipleLinks', multipleLinks) + ..add('expireDate', expireDate) + ..add('expireDateInternal', expireDateInternal) + ..add('expireDateRemote', expireDateRemote) + ..add('sendMail', sendMail) + ..add('upload', upload) + ..add('uploadFilesDrop', uploadFilesDrop)) .toString(); } } -class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder - implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data? _$v; - - String? _userId; - String? get userId => _$this._userId; - set userId(String? userId) => _$this._userId = userId; - - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(String? displayName) => _$this._displayName = displayName; - - ListBuilder? _actions; - ListBuilder get actions => _$this._actions ??= ListBuilder(); - set actions(ListBuilder? actions) => _$this._actions = actions; - - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder + implements + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public? _$v; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? _password; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder + get password => _$this._password ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + set password( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? + password) => + _$this._password = password; + + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(bool? multipleLinks) => _$this._multipleLinks = multipleLinks; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? + _expireDate; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? + _expireDateInternal; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder + get expireDateInternal => _$this._expireDateInternal ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + set expireDateInternal( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? + expireDateInternal) => + _$this._expireDateInternal = expireDateInternal; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? + _expireDateRemote; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder + get expireDateRemote => _$this._expireDateRemote ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + set expireDateRemote( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? + expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _displayName = $v.displayName; - _actions = $v.actions.toBuilder(); + _enabled = $v.enabled; + _password = $v.password?.toBuilder(); + _multipleLinks = $v.multipleLinks; + _expireDate = $v.expireDate?.toBuilder(); + _expireDateInternal = $v.expireDateInternal?.toBuilder(); + _expireDateRemote = $v.expireDateRemote?.toBuilder(); + _sendMail = $v.sendMail; + _upload = $v.upload; + _uploadFilesDrop = $v.uploadFilesDrop; _$v = null; } return this; } @override - void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public build() => _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public _$result; try { _$result = _$v ?? - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( - userId: BuiltValueNullFieldError.checkNotNull( - userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'), - displayName: BuiltValueNullFieldError.checkNotNull( - displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'), - actions: actions.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', + 'enabled'), + password: _password?.build(), + multipleLinks: multipleLinks, + expireDate: _expireDate?.build(), + expireDateInternal: _expireDateInternal?.build(), + expireDateRemote: _expireDateRemote?.build(), + sendMail: sendMail, + upload: upload, + uploadFilesDrop: uploadFilesDrop); } catch (_) { late String _$failedField; try { - _$failedField = 'actions'; - actions.build(); + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public', + _$failedField, + e.toString()); } rethrow; } @@ -9836,205 +12750,247 @@ class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder } } -class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate { @override - final CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data data; + final bool enabled; - factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs( - [void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'data'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate', + 'enabled'); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? _$v; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? _data; - CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get data => - _$this._data ??= CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); - set data(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder + get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; + _$v = + other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate build() => + _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -class _$CoreHoverCardGetUserResponse200ApplicationJson extends CoreHoverCardGetUserResponse200ApplicationJson { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User { @override - final CoreHoverCardGetUserResponse200ApplicationJson_Ocs ocs; + final bool sendMail; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? expireDate; - factory _$CoreHoverCardGetUserResponse200ApplicationJson( - [void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates]) => - (CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder() + ..update(updates)) + ._build(); - _$CoreHoverCardGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreHoverCardGetUserResponse200ApplicationJson', 'ocs'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._( + {required this.sendMail, this.expireDate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(sendMail, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', 'sendMail'); } @override - CoreHoverCardGetUserResponse200ApplicationJson rebuild( - void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreHoverCardGetUserResponse200ApplicationJsonBuilder toBuilder() => - CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreHoverCardGetUserResponse200ApplicationJson && ocs == other.ocs; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User && + sendMail == other.sendMail && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) + .toString(); } } -class CoreHoverCardGetUserResponse200ApplicationJsonBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder implements - Builder { - _$CoreHoverCardGetUserResponse200ApplicationJson? _$v; - - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? _ocs; - CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - - CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); - - CoreHoverCardGetUserResponse200ApplicationJsonBuilder get _$this { + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User? _$v; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? + _expireDate; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreHoverCardGetUserResponse200ApplicationJson other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User; } @override - void update(void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreHoverCardGetUserResponse200ApplicationJson build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User build() => _build(); - _$CoreHoverCardGetUserResponse200ApplicationJson _build() { - _$CoreHoverCardGetUserResponse200ApplicationJson _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User _$result; try { - _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull( + sendMail, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', + 'sendMail'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreHoverCardGetUserResponse200ApplicationJson', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User', + _$failedField, + e.toString()); } rethrow; } @@ -10043,299 +12999,249 @@ class CoreHoverCardGetUserResponse200ApplicationJsonBuilder } } -class _$CoreNavigationEntry_Order extends CoreNavigationEntry_Order { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate { @override - final JsonObject data; - @override - final int? $int; - @override - final String? string; + final bool enabled; - factory _$CoreNavigationEntry_Order([void Function(CoreNavigationEntry_OrderBuilder)? updates]) => - (CoreNavigationEntry_OrderBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CoreNavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate', + 'enabled'); } @override - CoreNavigationEntry_Order rebuild(void Function(CoreNavigationEntry_OrderBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationEntry_OrderBuilder toBuilder() => CoreNavigationEntry_OrderBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationEntry_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationEntry_OrderBuilder implements Builder { - _$CoreNavigationEntry_Order? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; - - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder + implements + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? _$v; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationEntry_OrderBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); - CoreNavigationEntry_OrderBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder + get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationEntry_Order other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationEntry_Order; + _$v = + other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; } @override - void update(void Function(CoreNavigationEntry_OrderBuilder)? updates) { + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreNavigationEntry_Order build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate build() => + _build(); - _$CoreNavigationEntry_Order _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate _build() { final _$result = _$v ?? - _$CoreNavigationEntry_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'), - $int: $int, - string: string); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationEntry extends CoreNavigationEntry { - @override - final String id; - @override - final CoreNavigationEntry_Order order; - @override - final String href; - @override - final String icon; - @override - final String type; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group { @override - final String name; - @override - final bool active; - @override - final String classes; - @override - final int unread; - - factory _$CoreNavigationEntry([void Function(CoreNavigationEntryBuilder)? updates]) => - (CoreNavigationEntryBuilder()..update(updates))._build(); - - _$CoreNavigationEntry._( - {required this.id, - required this.order, - required this.href, - required this.icon, - required this.type, - required this.name, - required this.active, - required this.classes, - required this.unread}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationEntry', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread'); + final bool enabled; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? + expireDate; + + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder() + ..update(updates)) + ._build(); + + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._( + {required this.enabled, this.expireDate}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', 'enabled'); } @override - CoreNavigationEntry rebuild(void Function(CoreNavigationEntryBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationEntryBuilder toBuilder() => CoreNavigationEntryBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationEntry && - id == other.id && - order == other.order && - href == other.href && - icon == other.icon && - type == other.type && - name == other.name && - active == other.active && - classes == other.classes && - unread == other.unread; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group && + enabled == other.enabled && + expireDate == other.expireDate; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, order.hashCode); - _$hash = $jc(_$hash, href.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, type.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, active.hashCode); - _$hash = $jc(_$hash, classes.hashCode); - _$hash = $jc(_$hash, unread.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationEntry') - ..add('id', id) - ..add('order', order) - ..add('href', href) - ..add('icon', icon) - ..add('type', type) - ..add('name', name) - ..add('active', active) - ..add('classes', classes) - ..add('unread', unread)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) .toString(); } } -class CoreNavigationEntryBuilder implements Builder { - _$CoreNavigationEntry? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - CoreNavigationEntry_OrderBuilder? _order; - CoreNavigationEntry_OrderBuilder get order => _$this._order ??= CoreNavigationEntry_OrderBuilder(); - set order(CoreNavigationEntry_OrderBuilder? order) => _$this._order = order; - - String? _href; - String? get href => _$this._href; - set href(String? href) => _$this._href = href; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _type; - String? get type => _$this._type; - set type(String? type) => _$this._type = type; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - bool? _active; - bool? get active => _$this._active; - set active(bool? active) => _$this._active = active; +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder + implements + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? _$v; - String? _classes; - String? get classes => _$this._classes; - set classes(String? classes) => _$this._classes = classes; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - int? _unread; - int? get unread => _$this._unread; - set unread(int? unread) => _$this._unread = unread; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? + _expireDate; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; - CoreNavigationEntryBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); - CoreNavigationEntryBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder 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; + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreNavigationEntry other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationEntry; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group; } @override - void update(void Function(CoreNavigationEntryBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreNavigationEntry build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group build() => _build(); - _$CoreNavigationEntry _build() { - _$CoreNavigationEntry _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group _$result; try { _$result = _$v ?? - _$CoreNavigationEntry._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread')); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', + 'enabled'), + expireDate: _expireDate?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'order'; - order.build(); + _$failedField = 'expireDate'; + _expireDate?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreNavigationEntry', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group', + _$failedField, + e.toString()); } rethrow; } @@ -10344,331 +13250,415 @@ class CoreNavigationEntryBuilder implements Builder data; + final bool enabled; - factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs( - [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder() + ..update(updates)) + ._build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._( + {required this.enabled}) : super._() { BuiltValueNullFieldError.checkNotNull( - meta, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull( - data, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'data'); + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate', + 'enabled'); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs rebuild( - void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder implements - Builder { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs? _$v; + Builder< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder> { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder + get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; + _$v = other + as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; } @override - void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate build() => + _build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _build() { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _$result; - try { - _$result = _$v ?? - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate', + 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson - extends CoreNavigationGetAppsNavigationResponse200ApplicationJson { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported { @override - final CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ocs; + final bool enabled; - factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson( - [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates]) => - (CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() + ..update(updates)) + ._build(); - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', 'ocs'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._( + {required this.enabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported', + 'enabled'); } @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson rebuild( - void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) + updates) => + (toBuilder()..update(updates)).build(); @override - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder toBuilder() => - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson && ocs == other.ocs; + return other + is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported && + enabled == other.enabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) .toString(); } } -class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder implements - Builder { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson? _$v; + Builder< + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder> { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported? + _$v; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; - CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _enabled = $v.enabled; _$v = null; } return this; } @override - void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson other) { + void replace( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; + _$v = other + as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; } @override - void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates) { - if (updates != null) updates(this); - } - - @override - CoreNavigationGetAppsNavigationResponse200ApplicationJson build() => _build(); - - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _build() { - _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _$result; - try { - _$result = _$v ?? _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + build() => _build(); + + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported', + 'enabled')); replace(_$result); return _$result; } } -class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs - extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation { @override - final CoreOCSMeta meta; + final bool outgoing; @override - final BuiltList data; + final bool incoming; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + expireDate; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + expireDateSupported; - factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs( - [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder() + ..update(updates)) + ._build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._( + {required this.outgoing, required this.incoming, required this.expireDate, required this.expireDateSupported}) : super._() { + BuiltValueNullFieldError.checkNotNull(outgoing, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', 'outgoing'); + BuiltValueNullFieldError.checkNotNull(incoming, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', 'incoming'); BuiltValueNullFieldError.checkNotNull( - meta, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'meta'); + expireDate, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', + 'expireDate'); BuiltValueNullFieldError.checkNotNull( - data, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'data'); + expireDateSupported, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', + 'expireDateSupported'); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs rebuild( - void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation && + outgoing == other.outgoing && + incoming == other.incoming && + expireDate == other.expireDate && + expireDateSupported == other.expireDateSupported; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.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'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) .toString(); } } -class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder implements - Builder { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; - - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get _$this { + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation? _$v; + + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(bool? outgoing) => _$this._outgoing = outgoing; + + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(bool? incoming) => _$this._incoming = incoming; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? + _expireDate; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder + get expireDate => _$this._expireDate ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? + expireDate) => + _$this._expireDate = expireDate; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? + _expireDateSupported; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + get expireDateSupported => _$this._expireDateSupported ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? + expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _outgoing = $v.outgoing; + _incoming = $v.incoming; + _expireDate = $v.expireDate.toBuilder(); + _expireDateSupported = $v.expireDateSupported.toBuilder(); _$v = null; } return this; } @override - void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation; } @override - void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { + void update( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation build() => _build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _build() { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation _$result; try { _$result = _$v ?? - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', + 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', + 'incoming'), + expireDate: expireDate.build(), + expireDateSupported: expireDateSupported.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'expireDate'; + expireDate.build(); + _$failedField = 'expireDateSupported'; + expireDateSupported.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation', + _$failedField, + e.toString()); } rethrow; } @@ -10677,269 +13667,376 @@ class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder } } -class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson - extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee { @override - final CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ocs; + final bool queryLookupDefault; + @override + final bool alwaysShowUnique; - factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson( - [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates]) => - (CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee( + [void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder() + ..update(updates)) + ._build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', 'ocs'); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._( + {required this.queryLookupDefault, required this.alwaysShowUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', + 'queryLookupDefault'); + BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', + 'alwaysShowUnique'); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson rebuild( - void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee rebuild( + void Function( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder toBuilder() => - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder() + ..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson && ocs == other.ocs; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson') - ..add('ocs', ocs)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) .toString(); } } -class CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder implements - Builder { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee? _$v; - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; - CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; - CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; _$v = null; } return this; } @override - void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee; } @override - void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreNavigationGetSettingsNavigationResponse200ApplicationJson build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee build() => _build(); - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _build() { - _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _$result; - try { - _$result = _$v ?? _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._( + queryLookupDefault: BuiltValueNullFieldError.checkNotNull( + queryLookupDefault, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', + 'queryLookupDefault'), + alwaysShowUnique: BuiltValueNullFieldError.checkNotNull( + alwaysShowUnique, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee', + 'alwaysShowUnique')); replace(_$result); return _$result; } } -class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version - extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing { @override - final int major; + final bool apiEnabled; @override - final int minor; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public public; @override - final int micro; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User user; @override - final String string; + final bool resharing; @override - final String edition; + final bool? groupSharing; @override - final bool extendedSupport; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group? group; + @override + final int? defaultPermissions; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation federation; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee sharee; - factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version( - [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates]) => - (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder()..update(updates)) + ._build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( - {required this.major, - required this.minor, - required this.micro, - required this.string, - required this.edition, - required this.extendedSupport}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._( + {required this.apiEnabled, + required this.public, + required this.user, + required this.resharing, + this.groupSharing, + this.group, + this.defaultPermissions, + required this.federation, + required this.sharee}) : super._() { + BuiltValueNullFieldError.checkNotNull(apiEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'apiEnabled'); BuiltValueNullFieldError.checkNotNull( - major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'); - BuiltValueNullFieldError.checkNotNull( - minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'); - BuiltValueNullFieldError.checkNotNull( - micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'); + public, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'public'); BuiltValueNullFieldError.checkNotNull( - string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'); + user, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'user'); BuiltValueNullFieldError.checkNotNull( - edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'); + resharing, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'resharing'); + BuiltValueNullFieldError.checkNotNull(federation, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'federation'); BuiltValueNullFieldError.checkNotNull( - extendedSupport, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport'); + sharee, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'sharee'); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version rebuild( - void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder toBuilder() => - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing && + apiEnabled == other.apiEnabled && + public == other.public && + user == other.user && + resharing == other.resharing && + groupSharing == other.groupSharing && + group == other.group && + defaultPermissions == other.defaultPermissions && + federation == other.federation && + sharee == other.sharee; } @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, apiEnabled.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, user.hashCode); + _$hash = $jc(_$hash, resharing.hashCode); + _$hash = $jc(_$hash, groupSharing.hashCode); + _$hash = $jc(_$hash, group.hashCode); + _$hash = $jc(_$hash, defaultPermissions.hashCode); + _$hash = $jc(_$hash, federation.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing') + ..add('apiEnabled', apiEnabled) + ..add('public', public) + ..add('user', user) + ..add('resharing', resharing) + ..add('groupSharing', groupSharing) + ..add('group', group) + ..add('defaultPermissions', defaultPermissions) + ..add('federation', federation) + ..add('sharee', sharee)) .toString(); } } -class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder implements - Builder { - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(int? minor) => _$this._minor = minor; - - int? _micro; - int? get micro => _$this._micro; - set micro(int? micro) => _$this._micro = micro; - - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; - - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; - - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); - - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get _$this { + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? _$v; + + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(bool? apiEnabled) => _$this._apiEnabled = apiEnabled; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? _public; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); + set public( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? public) => + _$this._public = public; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder? _user; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder get user => + _$this._user ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + set user(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder? user) => + _$this._user = user; + + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(bool? resharing) => _$this._resharing = resharing; + + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(bool? groupSharing) => _$this._groupSharing = groupSharing; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? _group; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); + set group(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? group) => + _$this._group = group; + + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? _federation; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder + get federation => _$this._federation ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); + set federation( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? + federation) => + _$this._federation = federation; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? _sharee; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + set sharee( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? sharee) => + _$this._sharee = sharee; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder 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; + _apiEnabled = $v.apiEnabled; + _public = $v.public.toBuilder(); + _user = $v.user.toBuilder(); + _resharing = $v.resharing; + _groupSharing = $v.groupSharing; + _group = $v.group?.toBuilder(); + _defaultPermissions = $v.defaultPermissions; + _federation = $v.federation.toBuilder(); + _sharee = $v.sharee.toBuilder(); _$v = null; } return this; } @override - void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing; } @override - void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing build() => _build(); - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _build() { - final _$result = _$v ?? - _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( - major: BuiltValueNullFieldError.checkNotNull( - major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'), - minor: BuiltValueNullFieldError.checkNotNull( - minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'), - micro: BuiltValueNullFieldError.checkNotNull( - micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'), - string: BuiltValueNullFieldError.checkNotNull( - string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'), - edition: BuiltValueNullFieldError.checkNotNull( - edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'), - extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, - r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport')); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing _$result; + try { + _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._( + apiEnabled: BuiltValueNullFieldError.checkNotNull(apiEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'apiEnabled'), + public: public.build(), + user: user.build(), + resharing: BuiltValueNullFieldError.checkNotNull(resharing, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', 'resharing'), + groupSharing: groupSharing, + group: _group?.build(), + defaultPermissions: defaultPermissions, + federation: federation.build(), + sharee: sharee.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'public'; + public.build(); + _$failedField = 'user'; + user.build(); + + _$failedField = 'group'; + _group?.build(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } @@ -11771,6 +14868,8 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Use class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities { @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? filesSharing; + @override final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? notes; @override final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? notifications; @@ -11786,7 +14885,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( - {this.notes, this.notifications, this.provisioningApi, this.theming, this.userStatus}) + {this.filesSharing, this.notes, this.notifications, this.provisioningApi, this.theming, this.userStatus}) : super._(); @override @@ -11802,6 +14901,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities bool operator ==(Object other) { if (identical(other, this)) return true; return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities && + filesSharing == other.filesSharing && notes == other.notes && notifications == other.notifications && provisioningApi == other.provisioningApi && @@ -11812,6 +14912,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, filesSharing.hashCode); _$hash = $jc(_$hash, notes.hashCode); _$hash = $jc(_$hash, notifications.hashCode); _$hash = $jc(_$hash, provisioningApi.hashCode); @@ -11824,6 +14925,7 @@ class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities @override String toString() { return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities') + ..add('filesSharing', filesSharing) ..add('notes', notes) ..add('notifications', notifications) ..add('provisioningApi', provisioningApi) @@ -11839,6 +14941,14 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder> { _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities? _$v; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder? _filesSharing; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder(); + set filesSharing( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder? filesSharing) => + _$this._filesSharing = filesSharing; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder? _notes; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder get notes => _$this._notes ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); @@ -11880,6 +14990,7 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { + _filesSharing = $v.filesSharing?.toBuilder(); _notes = $v.notes?.toBuilder(); _notifications = $v.notifications?.toBuilder(); _provisioningApi = $v.provisioningApi?.toBuilder(); @@ -11909,6 +15020,7 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuil try { _$result = _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( + filesSharing: _filesSharing?.build(), notes: _notes?.build(), notifications: _notifications?.build(), provisioningApi: _provisioningApi?.build(), @@ -11917,6 +15029,8 @@ class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuil } catch (_) { late String _$failedField; try { + _$failedField = 'filesSharing'; + _filesSharing?.build(); _$failedField = 'notes'; _notes?.build(); _$failedField = 'notifications'; diff --git a/packages/nextcloud/lib/src/api/core.openapi.json b/packages/nextcloud/lib/src/api/core.openapi.json index 0d231d32..60f76237 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.json +++ b/packages/nextcloud/lib/src/api/core.openapi.json @@ -1218,6 +1218,222 @@ "type": "object" }, "properties": { + "files_sharing": { + "type": "object", + "required": [ + "api_enabled", + "public", + "user", + "resharing", + "federation", + "sharee" + ], + "properties": { + "api_enabled": { + "type": "boolean" + }, + "public": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "password": { + "type": "object", + "required": [ + "enforced", + "askForOptionalPassword" + ], + "properties": { + "enforced": { + "type": "boolean" + }, + "askForOptionalPassword": { + "type": "boolean" + } + } + }, + "multiple_links": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_internal": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_remote": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "send_mail": { + "type": "boolean" + }, + "upload": { + "type": "boolean" + }, + "upload_files_drop": { + "type": "boolean" + } + } + }, + "user": { + "type": "object", + "required": [ + "send_mail" + ], + "properties": { + "send_mail": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "resharing": { + "type": "boolean" + }, + "group_sharing": { + "type": "boolean" + }, + "group": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "default_permissions": { + "type": "integer", + "format": "int64" + }, + "federation": { + "type": "object", + "required": [ + "outgoing", + "incoming", + "expire_date", + "expire_date_supported" + ], + "properties": { + "outgoing": { + "type": "boolean" + }, + "incoming": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "expire_date_supported": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "sharee": { + "type": "object", + "required": [ + "query_lookup_default", + "always_show_unique" + ], + "properties": { + "query_lookup_default": { + "type": "boolean" + }, + "always_show_unique": { + "type": "boolean" + } + } + } + } + }, "notes": { "type": "object", "additionalProperties": true, diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart new file mode 100644 index 00000000..111402b5 --- /dev/null +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart @@ -0,0 +1,3792 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: public_member_api_docs +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:dynamite_runtime/content_string.dart'; +import 'package:dynamite_runtime/http_client.dart'; +import 'package:universal_io/io.dart'; + +export 'package:dynamite_runtime/http_client.dart'; + +part 'files_sharing.openapi.g.dart'; + +class FilesSharingResponse extends DynamiteResponse { + FilesSharingResponse( + super.data, + super.headers, + ); + + @override + String toString() => 'FilesSharingResponse(data: $data, headers: $headers)'; +} + +class FilesSharingApiException extends DynamiteApiException { + FilesSharingApiException( + super.statusCode, + super.headers, + super.body, + ); + + static Future fromResponse(final HttpClientResponse response) async { + final data = await response.bodyBytes; + + String body; + try { + body = utf8.decode(data); + } on FormatException { + body = 'binary'; + } + + return FilesSharingApiException( + response.statusCode, + response.responseHeaders, + body, + ); + } + + @override + String toString() => 'FilesSharingApiException(statusCode: $statusCode, headers: $headers, body: $body)'; +} + +class FilesSharingClient extends DynamiteClient { + FilesSharingClient( + super.baseURL, { + super.baseHeaders, + super.userAgent, + super.httpClient, + super.cookieJar, + super.authentications, + }); + + FilesSharingClient.fromClient(final DynamiteClient client) + : super( + client.baseURL, + baseHeaders: client.baseHeaders, + httpClient: client.httpClient, + cookieJar: client.cookieJar, + authentications: client.authentications, + ); + + FilesSharingDeletedShareapiClient get deletedShareapi => FilesSharingDeletedShareapiClient(this); + FilesSharingPublicPreviewClient get publicPreview => FilesSharingPublicPreviewClient(this); + FilesSharingRemoteClient get remote => FilesSharingRemoteClient(this); + FilesSharingShareInfoClient get shareInfo => FilesSharingShareInfoClient(this); + FilesSharingShareapiClient get shareapi => FilesSharingShareapiClient(this); + FilesSharingShareesapiClient get shareesapi => FilesSharingShareesapiClient(this); +} + +class FilesSharingDeletedShareapiClient { + FilesSharingDeletedShareapiClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Get a list of all deleted shares + Future list({final String oCSAPIRequest = 'true'}) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/deletedshares'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingDeletedShareapiListResponse200ApplicationJson), + )! as FilesSharingDeletedShareapiListResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Undelete a deleted share + Future undelete({ + required final String id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/deletedshares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson), + )! as FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class FilesSharingPublicPreviewClient { + FilesSharingPublicPreviewClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Get a direct link preview for a shared file + Future directLink({ + required final String token, + final String oCSAPIRequest = 'true', + }) async { + var path = '/index.php/s/{token}/preview'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a preview for a shared file + Future getPreview({ + required final String token, + final String file = '', + final int x = 32, + final int y = 32, + final int a = 0, + final String oCSAPIRequest = 'true', + }) async { + var path = '/index.php/apps/files_sharing/publicpreview/{token}'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); + if (file != '') { + queryParameters['file'] = file; + } + if (x != 32) { + queryParameters['x'] = x.toString(); + } + if (y != 32) { + queryParameters['y'] = y.toString(); + } + if (a != 0) { + queryParameters['a'] = a.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class FilesSharingRemoteClient { + FilesSharingRemoteClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Get a list of accepted remote shares + Future getShares({final String oCSAPIRequest = 'true'}) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteGetSharesResponse200ApplicationJson), + )! as FilesSharingRemoteGetSharesResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get list of pending remote shares + Future getOpenShares({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/pending'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson), + )! as FilesSharingRemoteGetOpenSharesResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Accept a remote share + Future acceptShare({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/pending/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteAcceptShareResponse200ApplicationJson), + )! as FilesSharingRemoteAcceptShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Decline a remote share + Future declineShare({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/pending/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteDeclineShareResponse200ApplicationJson), + )! as FilesSharingRemoteDeclineShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get info of a remote share + Future getShare({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteGetShareResponse200ApplicationJson), + )! as FilesSharingRemoteGetShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Unshare a remote share + Future unshare({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingRemoteUnshareResponse200ApplicationJson), + )! as FilesSharingRemoteUnshareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class FilesSharingShareInfoClient { + FilesSharingShareInfoClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Get the info about a share + Future info({ + required final String t, + final String? password, + final String? dir, + final int depth = -1, + }) async { + const path = '/index.php/apps/files_sharing/shareinfo'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['t'] = t; + if (password != null) { + queryParameters['password'] = password; + } + if (dir != null) { + queryParameters['dir'] = dir; + } + if (depth != -1) { + queryParameters['depth'] = depth.toString(); + } + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareInfo), + )! as FilesSharingShareInfo; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class FilesSharingShareapiClient { + FilesSharingShareapiClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Get shares of the current user + Future getShares({ + final String sharedWithMe = 'false', + final String reshares = 'false', + final String subfiles = 'false', + final String path = '', + final String includeTags = 'false', + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/shares'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (sharedWithMe != 'false') { + queryParameters['shared_with_me'] = sharedWithMe; + } + if (reshares != 'false') { + queryParameters['reshares'] = reshares; + } + if (subfiles != 'false') { + queryParameters['subfiles'] = subfiles; + } + if (path != '') { + queryParameters['path'] = path; + } + if (includeTags != 'false') { + queryParameters['include_tags'] = includeTags; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiGetSharesResponse200ApplicationJson), + )! as FilesSharingShareapiGetSharesResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Create a share + Future createShare({ + final String? path, + final int? permissions, + final int shareType = -1, + final String? shareWith, + final String publicUpload = 'false', + final String password = '', + final String? sendPasswordByTalk, + final String expireDate = '', + final String note = '', + final String label = '', + final String? attributes, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/shares'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['path'] = path; + if (permissions != null) { + queryParameters['permissions'] = permissions.toString(); + } + if (shareType != -1) { + queryParameters['shareType'] = shareType.toString(); + } + if (shareWith != null) { + queryParameters['shareWith'] = shareWith; + } + if (publicUpload != 'false') { + queryParameters['publicUpload'] = publicUpload; + } + if (password != '') { + queryParameters['password'] = password; + } + if (sendPasswordByTalk != null) { + queryParameters['sendPasswordByTalk'] = sendPasswordByTalk; + } + if (expireDate != '') { + queryParameters['expireDate'] = expireDate; + } + if (note != '') { + queryParameters['note'] = note; + } + if (label != '') { + queryParameters['label'] = label; + } + if (attributes != null) { + queryParameters['attributes'] = attributes; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiCreateShareResponse200ApplicationJson), + )! as FilesSharingShareapiCreateShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get all shares relative to a file, including parent folders shares rights + Future getInheritedShares({ + required final String path, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/inherited'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['path'] = path; + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson), + )! as FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get all shares that are still pending + Future pendingShares({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/pending'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiPendingSharesResponse200ApplicationJson), + )! as FilesSharingShareapiPendingSharesResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a specific share by id + Future getShare({ + required final String id, + final int includeTags = 0, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); + if (includeTags != 0) { + queryParameters['include_tags'] = includeTags.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiGetShareResponse200ApplicationJson), + )! as FilesSharingShareapiGetShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Update a share + Future updateShare({ + required final String id, + final int? permissions, + final String? password, + final String? sendPasswordByTalk, + final String? publicUpload, + final String? expireDate, + final String? note, + final String? label, + final String? hideDownload, + final String? attributes, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); + if (permissions != null) { + queryParameters['permissions'] = permissions.toString(); + } + if (password != null) { + queryParameters['password'] = password; + } + if (sendPasswordByTalk != null) { + queryParameters['sendPasswordByTalk'] = sendPasswordByTalk; + } + if (publicUpload != null) { + queryParameters['publicUpload'] = publicUpload; + } + if (expireDate != null) { + queryParameters['expireDate'] = expireDate; + } + if (note != null) { + queryParameters['note'] = note; + } + if (label != null) { + queryParameters['label'] = label; + } + if (hideDownload != null) { + queryParameters['hideDownload'] = hideDownload; + } + if (attributes != null) { + queryParameters['attributes'] = attributes; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiUpdateShareResponse200ApplicationJson), + )! as FilesSharingShareapiUpdateShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete a share + Future deleteShare({ + required final String id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiDeleteShareResponse200ApplicationJson), + )! as FilesSharingShareapiDeleteShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Accept a share + Future acceptShare({ + required final String id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareapiAcceptShareResponse200ApplicationJson), + )! as FilesSharingShareapiAcceptShareResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class FilesSharingShareesapiClient { + FilesSharingShareesapiClient(this.rootClient); + + final FilesSharingClient rootClient; + + /// Search for sharees + Future< + FilesSharingResponse> search({ + final String search = '', + final String? itemType, + final int page = 1, + final int perPage = 200, + final ContentString? shareType, + final int lookup = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/sharees'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (search != '') { + queryParameters['search'] = search; + } + if (itemType != null) { + queryParameters['itemType'] = itemType; + } + if (page != 1) { + queryParameters['page'] = page.toString(); + } + if (perPage != 200) { + queryParameters['perPage'] = perPage.toString(); + } + if (shareType != null) { + queryParameters['shareType'] = _jsonSerializers.serialize( + shareType, + specifiedType: const FullType(ContentString, [FullType(FilesSharingShareesapiSearchShareType)]), + ); + } + if (lookup != 0) { + queryParameters['lookup'] = lookup.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return FilesSharingResponse( + _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareesapiSearchResponse200ApplicationJson), + )! as FilesSharingShareesapiSearchResponse200ApplicationJson, + _jsonSerializers.deserialize( + response.responseHeaders, + specifiedType: const FullType(FilesSharingShareesapiShareesapiSearchHeaders), + )! as FilesSharingShareesapiShareesapiSearchHeaders, + ); + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Find recommended sharees + Future findRecommended({ + required final String itemType, + final ContentString? shareType, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/files_sharing/api/v1/sharees_recommended'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['itemType'] = itemType; + if (shareType != null) { + queryParameters['shareType'] = _jsonSerializers.serialize( + shareType, + specifiedType: const FullType(ContentString, [FullType(FilesSharingShareesapiFindRecommendedShareType)]), + ); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson), + )! as FilesSharingShareesapiFindRecommendedResponse200ApplicationJson; + } + throw await FilesSharingApiException.fromResponse(response); // coverage:ignore-line + } +} + +abstract class FilesSharingOCSMeta implements Built { + factory FilesSharingOCSMeta([final void Function(FilesSharingOCSMetaBuilder)? b]) = _$FilesSharingOCSMeta; + const FilesSharingOCSMeta._(); + + factory FilesSharingOCSMeta.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; + static Serializer get serializer => _$filesSharingOCSMetaSerializer; +} + +abstract class FilesSharingDeletedShare implements Built { + factory FilesSharingDeletedShare([final void Function(FilesSharingDeletedShareBuilder)? b]) = + _$FilesSharingDeletedShare; + const FilesSharingDeletedShare._(); + + factory FilesSharingDeletedShare.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + @BuiltValueField(wireName: 'share_type') + int get shareType; + @BuiltValueField(wireName: 'uid_owner') + String get uidOwner; + @BuiltValueField(wireName: 'displayname_owner') + String get displaynameOwner; + int get permissions; + int get stime; + @BuiltValueField(wireName: 'uid_file_owner') + String get uidFileOwner; + @BuiltValueField(wireName: 'displayname_file_owner') + String get displaynameFileOwner; + String get path; + @BuiltValueField(wireName: 'item_type') + String get itemType; + String get mimetype; + int get storage; + @BuiltValueField(wireName: 'item_source') + int get itemSource; + @BuiltValueField(wireName: 'file_source') + int get fileSource; + @BuiltValueField(wireName: 'file_parent') + int get fileParent; + @BuiltValueField(wireName: 'file_target') + int get fileTarget; + String? get expiration; + @BuiltValueField(wireName: 'share_with') + String? get shareWith; + @BuiltValueField(wireName: 'share_with_displayname') + String? get shareWithDisplayname; + @BuiltValueField(wireName: 'share_with_link') + String? get shareWithLink; + static Serializer get serializer => _$filesSharingDeletedShareSerializer; +} + +abstract class FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs; + const FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs._(); + + factory FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingDeletedShareapiListResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingDeletedShareapiListResponse200ApplicationJson + implements + Built { + factory FilesSharingDeletedShareapiListResponse200ApplicationJson([ + final void Function(FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingDeletedShareapiListResponse200ApplicationJson; + const FilesSharingDeletedShareapiListResponse200ApplicationJson._(); + + factory FilesSharingDeletedShareapiListResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingDeletedShareapiListResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs; + const FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs._(); + + factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingDeletedShareapiUndeleteResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson + implements + Built { + factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson([ + final void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson; + const FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson._(); + + factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingDeletedShareapiUndeleteResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteShare implements Built { + factory FilesSharingRemoteShare([final void Function(FilesSharingRemoteShareBuilder)? b]) = _$FilesSharingRemoteShare; + const FilesSharingRemoteShare._(); + + factory FilesSharingRemoteShare.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get accepted; + @BuiltValueField(wireName: 'file_id') + int? get fileId; + int get id; + String? get mimetype; + String get mountpoint; + int? get mtime; + String get name; + String get owner; + int? get parent; + int? get permissions; + String get remote; + @BuiltValueField(wireName: 'remote_id') + String get remoteId; + @BuiltValueField(wireName: 'share_token') + String get shareToken; + @BuiltValueField(wireName: 'share_type') + int get shareType; + String? get type; + String get user; + static Serializer get serializer => _$filesSharingRemoteShareSerializer; +} + +abstract class FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs; + const FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingRemoteGetSharesResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteGetSharesResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteGetSharesResponse200ApplicationJson([ + final void Function(FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteGetSharesResponse200ApplicationJson; + const FilesSharingRemoteGetSharesResponse200ApplicationJson._(); + + factory FilesSharingRemoteGetSharesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteGetSharesResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs; + const FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingRemoteGetOpenSharesResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteGetOpenSharesResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson([ + final void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson; + const FilesSharingRemoteGetOpenSharesResponse200ApplicationJson._(); + + factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteGetOpenSharesResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs; + const FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingRemoteAcceptShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteAcceptShareResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteAcceptShareResponse200ApplicationJson([ + final void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteAcceptShareResponse200ApplicationJson; + const FilesSharingRemoteAcceptShareResponse200ApplicationJson._(); + + factory FilesSharingRemoteAcceptShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteAcceptShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs; + const FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingRemoteDeclineShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteDeclineShareResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteDeclineShareResponse200ApplicationJson([ + final void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteDeclineShareResponse200ApplicationJson; + const FilesSharingRemoteDeclineShareResponse200ApplicationJson._(); + + factory FilesSharingRemoteDeclineShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteDeclineShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs; + const FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingRemoteShare get data; + static Serializer get serializer => + _$filesSharingRemoteGetShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteGetShareResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteGetShareResponse200ApplicationJson([ + final void Function(FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteGetShareResponse200ApplicationJson; + const FilesSharingRemoteGetShareResponse200ApplicationJson._(); + + factory FilesSharingRemoteGetShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteGetShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs; + const FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingRemoteUnshareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingRemoteUnshareResponse200ApplicationJson + implements + Built { + factory FilesSharingRemoteUnshareResponse200ApplicationJson([ + final void Function(FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingRemoteUnshareResponse200ApplicationJson; + const FilesSharingRemoteUnshareResponse200ApplicationJson._(); + + factory FilesSharingRemoteUnshareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingRemoteUnshareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareInfo_Size + implements Built { + factory FilesSharingShareInfo_Size([final void Function(FilesSharingShareInfo_SizeBuilder)? b]) = + _$FilesSharingShareInfo_Size; + const FilesSharingShareInfo_Size._(); + + JsonObject get data; + int? get $int; + num? get $num; + static FilesSharingShareInfo_Size fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareInfo_SizeSerializer(); +} + +class _$FilesSharingShareInfo_SizeSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareInfo_Size, _$FilesSharingShareInfo_Size]; + + @override + final String wireName = 'FilesSharingShareInfo_Size'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareInfo_Size object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareInfo_Size deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareInfo_SizeBuilder()..data = JsonObject(data); + try { + result._$int = data as int?; + } catch (_) {} + try { + result._$num = data as num?; + } catch (_) {} + assert([result._$int, result._$num].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +abstract class FilesSharingShareInfo implements Built { + factory FilesSharingShareInfo([final void Function(FilesSharingShareInfoBuilder)? b]) = _$FilesSharingShareInfo; + const FilesSharingShareInfo._(); + + factory FilesSharingShareInfo.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + int get id; + int get parentId; + int get mtime; + String get name; + int get permissions; + String get mimetype; + FilesSharingShareInfo_Size get size; + String get type; + String get etag; + BuiltList>? get children; + static Serializer get serializer => _$filesSharingShareInfoSerializer; +} + +abstract class FilesSharingShare_ItemSize + implements Built { + factory FilesSharingShare_ItemSize([final void Function(FilesSharingShare_ItemSizeBuilder)? b]) = + _$FilesSharingShare_ItemSize; + const FilesSharingShare_ItemSize._(); + + JsonObject get data; + num? get $num; + int? get $int; + static FilesSharingShare_ItemSize fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShare_ItemSizeSerializer(); +} + +class _$FilesSharingShare_ItemSizeSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShare_ItemSize, _$FilesSharingShare_ItemSize]; + + @override + final String wireName = 'FilesSharingShare_ItemSize'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShare_ItemSize object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShare_ItemSize deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShare_ItemSizeBuilder()..data = JsonObject(data); + try { + result._$num = data as num?; + } catch (_) {} + try { + result._$int = data as int?; + } catch (_) {} + assert([result._$num, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +class FilesSharingShare_ItemType extends EnumClass { + const FilesSharingShare_ItemType._(super.name); + + static const FilesSharingShare_ItemType file = _$filesSharingShareItemTypeFile; + + static const FilesSharingShare_ItemType folder = _$filesSharingShareItemTypeFolder; + + static BuiltSet get values => _$filesSharingShareItemTypeValues; + static FilesSharingShare_ItemType valueOf(final String name) => _$valueOfFilesSharingShare_ItemType(name); + static Serializer get serializer => _$filesSharingShareItemTypeSerializer; +} + +abstract class FilesSharingShare_Status implements Built { + factory FilesSharingShare_Status([final void Function(FilesSharingShare_StatusBuilder)? b]) = + _$FilesSharingShare_Status; + const FilesSharingShare_Status._(); + + factory FilesSharingShare_Status.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + int? get clearAt; + String? get icon; + String? get message; + String? get status; + static Serializer get serializer => _$filesSharingShareStatusSerializer; +} + +abstract class FilesSharingShare implements Built { + factory FilesSharingShare([final void Function(FilesSharingShareBuilder)? b]) = _$FilesSharingShare; + const FilesSharingShare._(); + + factory FilesSharingShare.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String? get attributes; + @BuiltValueField(wireName: 'can_delete') + bool get canDelete; + @BuiltValueField(wireName: 'can_edit') + bool get canEdit; + @BuiltValueField(wireName: 'displayname_file_owner') + String get displaynameFileOwner; + @BuiltValueField(wireName: 'displayname_owner') + String get displaynameOwner; + String? get expiration; + @BuiltValueField(wireName: 'file_parent') + int get fileParent; + @BuiltValueField(wireName: 'file_source') + int get fileSource; + @BuiltValueField(wireName: 'file_target') + String get fileTarget; + @BuiltValueField(wireName: 'has_preview') + bool get hasPreview; + @BuiltValueField(wireName: 'hide_download') + int get hideDownload; + String get id; + @BuiltValueField(wireName: 'item_mtime') + int get itemMtime; + @BuiltValueField(wireName: 'item_permissions') + int? get itemPermissions; + @BuiltValueField(wireName: 'item_size') + FilesSharingShare_ItemSize get itemSize; + @BuiltValueField(wireName: 'item_source') + int get itemSource; + @BuiltValueField(wireName: 'item_type') + FilesSharingShare_ItemType get itemType; + String get label; + @BuiltValueField(wireName: 'mail_send') + int get mailSend; + String get mimetype; + String get note; + JsonObject? get parent; + String? get password; + @BuiltValueField(wireName: 'password_expiration_time') + String? get passwordExpirationTime; + String? get path; + int get permissions; + @BuiltValueField(wireName: 'send_password_by_talk') + bool? get sendPasswordByTalk; + @BuiltValueField(wireName: 'share_type') + int get shareType; + @BuiltValueField(wireName: 'share_with') + String? get shareWith; + @BuiltValueField(wireName: 'share_with_avatar') + String? get shareWithAvatar; + @BuiltValueField(wireName: 'share_with_displayname') + String? get shareWithDisplayname; + @BuiltValueField(wireName: 'share_with_displayname_unique') + String? get shareWithDisplaynameUnique; + @BuiltValueField(wireName: 'share_with_link') + String? get shareWithLink; + FilesSharingShare_Status? get status; + int get stime; + int get storage; + @BuiltValueField(wireName: 'storage_id') + String get storageId; + String? get token; + @BuiltValueField(wireName: 'uid_file_owner') + String get uidFileOwner; + @BuiltValueField(wireName: 'uid_owner') + String get uidOwner; + String? get url; + static Serializer get serializer => _$filesSharingShareSerializer; +} + +abstract class FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs; + const FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingShareapiGetSharesResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiGetSharesResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiGetSharesResponse200ApplicationJson([ + final void Function(FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiGetSharesResponse200ApplicationJson; + const FilesSharingShareapiGetSharesResponse200ApplicationJson._(); + + factory FilesSharingShareapiGetSharesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiGetSharesResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs; + const FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingShare get data; + static Serializer get serializer => + _$filesSharingShareapiCreateShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiCreateShareResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiCreateShareResponse200ApplicationJson([ + final void Function(FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiCreateShareResponse200ApplicationJson; + const FilesSharingShareapiCreateShareResponse200ApplicationJson._(); + + factory FilesSharingShareapiCreateShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiCreateShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs; + const FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingShareapiGetInheritedSharesResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson([ + final void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson; + const FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson._(); + + factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiGetInheritedSharesResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs; + const FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$filesSharingShareapiPendingSharesResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiPendingSharesResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiPendingSharesResponse200ApplicationJson([ + final void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiPendingSharesResponse200ApplicationJson; + const FilesSharingShareapiPendingSharesResponse200ApplicationJson._(); + + factory FilesSharingShareapiPendingSharesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiPendingSharesResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs; + const FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingShare get data; + static Serializer get serializer => + _$filesSharingShareapiGetShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiGetShareResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiGetShareResponse200ApplicationJson([ + final void Function(FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiGetShareResponse200ApplicationJson; + const FilesSharingShareapiGetShareResponse200ApplicationJson._(); + + factory FilesSharingShareapiGetShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiGetShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs; + const FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingShare get data; + static Serializer get serializer => + _$filesSharingShareapiUpdateShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiUpdateShareResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiUpdateShareResponse200ApplicationJson([ + final void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiUpdateShareResponse200ApplicationJson; + const FilesSharingShareapiUpdateShareResponse200ApplicationJson._(); + + factory FilesSharingShareapiUpdateShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiUpdateShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs; + const FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingShareapiDeleteShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiDeleteShareResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiDeleteShareResponse200ApplicationJson([ + final void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiDeleteShareResponse200ApplicationJson; + const FilesSharingShareapiDeleteShareResponse200ApplicationJson._(); + + factory FilesSharingShareapiDeleteShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiDeleteShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs; + const FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$filesSharingShareapiAcceptShareResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson + implements + Built { + factory FilesSharingShareapiAcceptShareResponse200ApplicationJson([ + final void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareapiAcceptShareResponse200ApplicationJson; + const FilesSharingShareapiAcceptShareResponse200ApplicationJson._(); + + factory FilesSharingShareapiAcceptShareResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareapiAcceptShareResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareesapiSearchShareType + implements Built { + factory FilesSharingShareesapiSearchShareType([ + final void Function(FilesSharingShareesapiSearchShareTypeBuilder)? b, + ]) = _$FilesSharingShareesapiSearchShareType; + const FilesSharingShareesapiSearchShareType._(); + + JsonObject get data; + int? get $int; + BuiltList? get builtListInt; + static FilesSharingShareesapiSearchShareType fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$FilesSharingShareesapiSearchShareTypeSerializer(); +} + +class _$FilesSharingShareesapiSearchShareTypeSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareesapiSearchShareType, _$FilesSharingShareesapiSearchShareType]; + + @override + final String wireName = 'FilesSharingShareesapiSearchShareType'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareesapiSearchShareType object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareesapiSearchShareType deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareesapiSearchShareTypeBuilder()..data = JsonObject(data); + try { + result._$int = data as int?; + } catch (_) {} + try { + result._builtListInt = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(int)]), + )! as BuiltList) + .toBuilder(); + } catch (_) {} + assert( + [result._$int, result._builtListInt].where((final x) => x != null).isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class FilesSharingShareesapiShareesapiSearchHeaders + implements + Built { + factory FilesSharingShareesapiShareesapiSearchHeaders([ + final void Function(FilesSharingShareesapiShareesapiSearchHeadersBuilder)? b, + ]) = _$FilesSharingShareesapiShareesapiSearchHeaders; + const FilesSharingShareesapiShareesapiSearchHeaders._(); + + factory FilesSharingShareesapiShareesapiSearchHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String? get link; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$FilesSharingShareesapiShareesapiSearchHeadersSerializer(); +} + +class _$FilesSharingShareesapiShareesapiSearchHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiShareesapiSearchHeaders, + _$FilesSharingShareesapiShareesapiSearchHeaders + ]; + + @override + final String wireName = 'FilesSharingShareesapiShareesapiSearchHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final FilesSharingShareesapiShareesapiSearchHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + FilesSharingShareesapiShareesapiSearchHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareesapiShareesapiSearchHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'link': + result.link = value; + break; + } + } + + return result.build(); + } +} + +abstract class FilesSharingSharee implements Built { + factory FilesSharingSharee([final void Function(FilesSharingShareeBuilder)? b]) = _$FilesSharingSharee; + const FilesSharingSharee._(); + + factory FilesSharingSharee.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + int? get count; + String get label; + static Serializer get serializer => _$filesSharingShareeSerializer; +} + +abstract class FilesSharingShareeValue implements Built { + factory FilesSharingShareeValue([final void Function(FilesSharingShareeValueBuilder)? b]) = _$FilesSharingShareeValue; + const FilesSharingShareeValue._(); + + factory FilesSharingShareeValue.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + int get shareType; + String get shareWith; + static Serializer get serializer => _$filesSharingShareeValueSerializer; +} + +abstract class FilesSharingShareeCircle1_Value1 + implements Built { + factory FilesSharingShareeCircle1_Value1([final void Function(FilesSharingShareeCircle1_Value1Builder)? b]) = + _$FilesSharingShareeCircle1_Value1; + const FilesSharingShareeCircle1_Value1._(); + + factory FilesSharingShareeCircle1_Value1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get circle; + static Serializer get serializer => _$filesSharingShareeCircle1Value1Serializer; +} + +abstract class FilesSharingShareeCircle1_Value + implements Built { + factory FilesSharingShareeCircle1_Value([final void Function(FilesSharingShareeCircle1_ValueBuilder)? b]) = + _$FilesSharingShareeCircle1_Value; + const FilesSharingShareeCircle1_Value._(); + + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeCircle1_Value1 get shareeCircle1Value1; + static FilesSharingShareeCircle1_Value fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeCircle1_ValueSerializer(); +} + +class _$FilesSharingShareeCircle1_ValueSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeCircle1_Value, _$FilesSharingShareeCircle1_Value]; + + @override + final String wireName = 'FilesSharingShareeCircle1_Value'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeCircle1_Value object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeCircle1_Value deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeCircle1_ValueBuilder()..data = JsonObject(data); + result.shareeValue.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeValue), + )! as FilesSharingShareeValue, + ); + result.shareeCircle1Value1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeCircle1_Value1), + )! as FilesSharingShareeCircle1_Value1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeCircle1 implements Built { + factory FilesSharingShareeCircle1([final void Function(FilesSharingShareeCircle1Builder)? b]) = + _$FilesSharingShareeCircle1; + const FilesSharingShareeCircle1._(); + + factory FilesSharingShareeCircle1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get shareWithDescription; + FilesSharingShareeCircle1_Value get value; + static Serializer get serializer => _$filesSharingShareeCircle1Serializer; +} + +abstract class FilesSharingShareeCircle implements Built { + factory FilesSharingShareeCircle([final void Function(FilesSharingShareeCircleBuilder)? b]) = + _$FilesSharingShareeCircle; + const FilesSharingShareeCircle._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeCircle1 get shareeCircle1; + static FilesSharingShareeCircle fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeCircleSerializer(); +} + +class _$FilesSharingShareeCircleSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeCircle, _$FilesSharingShareeCircle]; + + @override + final String wireName = 'FilesSharingShareeCircle'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeCircle object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeCircle deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeCircleBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeCircle1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeCircle1), + )! as FilesSharingShareeCircle1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeEmail1 implements Built { + factory FilesSharingShareeEmail1([final void Function(FilesSharingShareeEmail1Builder)? b]) = + _$FilesSharingShareeEmail1; + const FilesSharingShareeEmail1._(); + + factory FilesSharingShareeEmail1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get uuid; + String get name; + String get type; + String get shareWithDisplayNameUnique; + FilesSharingShareeValue get value; + static Serializer get serializer => _$filesSharingShareeEmail1Serializer; +} + +abstract class FilesSharingShareeEmail implements Built { + factory FilesSharingShareeEmail([final void Function(FilesSharingShareeEmailBuilder)? b]) = _$FilesSharingShareeEmail; + const FilesSharingShareeEmail._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeEmail1 get shareeEmail1; + static FilesSharingShareeEmail fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeEmailSerializer(); +} + +class _$FilesSharingShareeEmailSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeEmail, _$FilesSharingShareeEmail]; + + @override + final String wireName = 'FilesSharingShareeEmail'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeEmail object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeEmail deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeEmailBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeEmail1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeEmail1), + )! as FilesSharingShareeEmail1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeRemoteGroup1_Value1 + implements Built { + factory FilesSharingShareeRemoteGroup1_Value1([ + final void Function(FilesSharingShareeRemoteGroup1_Value1Builder)? b, + ]) = _$FilesSharingShareeRemoteGroup1_Value1; + const FilesSharingShareeRemoteGroup1_Value1._(); + + factory FilesSharingShareeRemoteGroup1_Value1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get server; + static Serializer get serializer => + _$filesSharingShareeRemoteGroup1Value1Serializer; +} + +abstract class FilesSharingShareeRemoteGroup1_Value + implements Built { + factory FilesSharingShareeRemoteGroup1_Value([final void Function(FilesSharingShareeRemoteGroup1_ValueBuilder)? b]) = + _$FilesSharingShareeRemoteGroup1_Value; + const FilesSharingShareeRemoteGroup1_Value._(); + + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeRemoteGroup1_Value1 get shareeRemoteGroup1Value1; + static FilesSharingShareeRemoteGroup1_Value fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$FilesSharingShareeRemoteGroup1_ValueSerializer(); +} + +class _$FilesSharingShareeRemoteGroup1_ValueSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeRemoteGroup1_Value, _$FilesSharingShareeRemoteGroup1_Value]; + + @override + final String wireName = 'FilesSharingShareeRemoteGroup1_Value'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeRemoteGroup1_Value object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeRemoteGroup1_Value deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeRemoteGroup1_ValueBuilder()..data = JsonObject(data); + result.shareeValue.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeValue), + )! as FilesSharingShareeValue, + ); + result.shareeRemoteGroup1Value1.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingShareeRemoteGroup1_Value1))! + as FilesSharingShareeRemoteGroup1_Value1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeRemoteGroup1 + implements Built { + factory FilesSharingShareeRemoteGroup1([final void Function(FilesSharingShareeRemoteGroup1Builder)? b]) = + _$FilesSharingShareeRemoteGroup1; + const FilesSharingShareeRemoteGroup1._(); + + factory FilesSharingShareeRemoteGroup1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get guid; + String get name; + FilesSharingShareeRemoteGroup1_Value get value; + static Serializer get serializer => _$filesSharingShareeRemoteGroup1Serializer; +} + +abstract class FilesSharingShareeRemoteGroup + implements Built { + factory FilesSharingShareeRemoteGroup([final void Function(FilesSharingShareeRemoteGroupBuilder)? b]) = + _$FilesSharingShareeRemoteGroup; + const FilesSharingShareeRemoteGroup._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeRemoteGroup1 get shareeRemoteGroup1; + static FilesSharingShareeRemoteGroup fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeRemoteGroupSerializer(); +} + +class _$FilesSharingShareeRemoteGroupSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeRemoteGroup, _$FilesSharingShareeRemoteGroup]; + + @override + final String wireName = 'FilesSharingShareeRemoteGroup'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeRemoteGroup object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeRemoteGroup deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeRemoteGroupBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeRemoteGroup1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeRemoteGroup1), + )! as FilesSharingShareeRemoteGroup1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeRemote1_Value1 + implements Built { + factory FilesSharingShareeRemote1_Value1([final void Function(FilesSharingShareeRemote1_Value1Builder)? b]) = + _$FilesSharingShareeRemote1_Value1; + const FilesSharingShareeRemote1_Value1._(); + + factory FilesSharingShareeRemote1_Value1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get server; + static Serializer get serializer => _$filesSharingShareeRemote1Value1Serializer; +} + +abstract class FilesSharingShareeRemote1_Value + implements Built { + factory FilesSharingShareeRemote1_Value([final void Function(FilesSharingShareeRemote1_ValueBuilder)? b]) = + _$FilesSharingShareeRemote1_Value; + const FilesSharingShareeRemote1_Value._(); + + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeRemote1_Value1 get shareeRemote1Value1; + static FilesSharingShareeRemote1_Value fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeRemote1_ValueSerializer(); +} + +class _$FilesSharingShareeRemote1_ValueSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeRemote1_Value, _$FilesSharingShareeRemote1_Value]; + + @override + final String wireName = 'FilesSharingShareeRemote1_Value'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeRemote1_Value object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeRemote1_Value deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeRemote1_ValueBuilder()..data = JsonObject(data); + result.shareeValue.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeValue), + )! as FilesSharingShareeValue, + ); + result.shareeRemote1Value1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeRemote1_Value1), + )! as FilesSharingShareeRemote1_Value1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeRemote1 implements Built { + factory FilesSharingShareeRemote1([final void Function(FilesSharingShareeRemote1Builder)? b]) = + _$FilesSharingShareeRemote1; + const FilesSharingShareeRemote1._(); + + factory FilesSharingShareeRemote1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get uuid; + String get name; + String get type; + FilesSharingShareeRemote1_Value get value; + static Serializer get serializer => _$filesSharingShareeRemote1Serializer; +} + +abstract class FilesSharingShareeRemote implements Built { + factory FilesSharingShareeRemote([final void Function(FilesSharingShareeRemoteBuilder)? b]) = + _$FilesSharingShareeRemote; + const FilesSharingShareeRemote._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeRemote1 get shareeRemote1; + static FilesSharingShareeRemote fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeRemoteSerializer(); +} + +class _$FilesSharingShareeRemoteSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeRemote, _$FilesSharingShareeRemote]; + + @override + final String wireName = 'FilesSharingShareeRemote'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeRemote object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeRemote deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeRemoteBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeRemote1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeRemote1), + )! as FilesSharingShareeRemote1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeUser1_Status + implements Built { + factory FilesSharingShareeUser1_Status([final void Function(FilesSharingShareeUser1_StatusBuilder)? b]) = + _$FilesSharingShareeUser1_Status; + const FilesSharingShareeUser1_Status._(); + + factory FilesSharingShareeUser1_Status.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get status; + String get message; + String get icon; + int? get clearAt; + static Serializer get serializer => _$filesSharingShareeUser1StatusSerializer; +} + +abstract class FilesSharingShareeUser1 implements Built { + factory FilesSharingShareeUser1([final void Function(FilesSharingShareeUser1Builder)? b]) = _$FilesSharingShareeUser1; + const FilesSharingShareeUser1._(); + + factory FilesSharingShareeUser1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get subline; + String get icon; + String get shareWithDisplayNameUnique; + FilesSharingShareeUser1_Status get status; + FilesSharingShareeValue get value; + static Serializer get serializer => _$filesSharingShareeUser1Serializer; +} + +abstract class FilesSharingShareeUser implements Built { + factory FilesSharingShareeUser([final void Function(FilesSharingShareeUserBuilder)? b]) = _$FilesSharingShareeUser; + const FilesSharingShareeUser._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeUser1 get shareeUser1; + static FilesSharingShareeUser fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeUserSerializer(); +} + +class _$FilesSharingShareeUserSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeUser, _$FilesSharingShareeUser]; + + @override + final String wireName = 'FilesSharingShareeUser'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeUser object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeUser deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeUserBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeUser1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeUser1), + )! as FilesSharingShareeUser1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareesSearchResult_Exact + implements Built { + factory FilesSharingShareesSearchResult_Exact([ + final void Function(FilesSharingShareesSearchResult_ExactBuilder)? b, + ]) = _$FilesSharingShareesSearchResult_Exact; + const FilesSharingShareesSearchResult_Exact._(); + + factory FilesSharingShareesSearchResult_Exact.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get circles; + BuiltList get emails; + BuiltList get groups; + @BuiltValueField(wireName: 'remote_groups') + BuiltList get remoteGroups; + BuiltList get remotes; + BuiltList get rooms; + BuiltList get users; + static Serializer get serializer => + _$filesSharingShareesSearchResultExactSerializer; +} + +abstract class FilesSharingLookup implements Built { + factory FilesSharingLookup([final void Function(FilesSharingLookupBuilder)? b]) = _$FilesSharingLookup; + const FilesSharingLookup._(); + + factory FilesSharingLookup.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get value; + int get verified; + static Serializer get serializer => _$filesSharingLookupSerializer; +} + +abstract class FilesSharingShareeLookup1_Extra + implements Built { + factory FilesSharingShareeLookup1_Extra([final void Function(FilesSharingShareeLookup1_ExtraBuilder)? b]) = + _$FilesSharingShareeLookup1_Extra; + const FilesSharingShareeLookup1_Extra._(); + + factory FilesSharingShareeLookup1_Extra.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get federationId; + FilesSharingLookup? get name; + FilesSharingLookup? get email; + FilesSharingLookup? get address; + FilesSharingLookup? get website; + FilesSharingLookup? get twitter; + FilesSharingLookup? get phone; + @BuiltValueField(wireName: 'twitter_signature') + FilesSharingLookup? get twitterSignature; + @BuiltValueField(wireName: 'website_signature') + FilesSharingLookup? get websiteSignature; + FilesSharingLookup? get userid; + static Serializer get serializer => _$filesSharingShareeLookup1ExtraSerializer; +} + +abstract class FilesSharingShareeLookup1_Value1 + implements Built { + factory FilesSharingShareeLookup1_Value1([final void Function(FilesSharingShareeLookup1_Value1Builder)? b]) = + _$FilesSharingShareeLookup1_Value1; + const FilesSharingShareeLookup1_Value1._(); + + factory FilesSharingShareeLookup1_Value1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get globalScale; + static Serializer get serializer => _$filesSharingShareeLookup1Value1Serializer; +} + +abstract class FilesSharingShareeLookup1_Value + implements Built { + factory FilesSharingShareeLookup1_Value([final void Function(FilesSharingShareeLookup1_ValueBuilder)? b]) = + _$FilesSharingShareeLookup1_Value; + const FilesSharingShareeLookup1_Value._(); + + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeLookup1_Value1 get shareeLookup1Value1; + static FilesSharingShareeLookup1_Value fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeLookup1_ValueSerializer(); +} + +class _$FilesSharingShareeLookup1_ValueSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeLookup1_Value, _$FilesSharingShareeLookup1_Value]; + + @override + final String wireName = 'FilesSharingShareeLookup1_Value'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeLookup1_Value object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeLookup1_Value deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeLookup1_ValueBuilder()..data = JsonObject(data); + result.shareeValue.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeValue), + )! as FilesSharingShareeValue, + ); + result.shareeLookup1Value1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeLookup1_Value1), + )! as FilesSharingShareeLookup1_Value1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareeLookup1 implements Built { + factory FilesSharingShareeLookup1([final void Function(FilesSharingShareeLookup1Builder)? b]) = + _$FilesSharingShareeLookup1; + const FilesSharingShareeLookup1._(); + + factory FilesSharingShareeLookup1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareeLookup1_Extra get extra; + FilesSharingShareeLookup1_Value get value; + static Serializer get serializer => _$filesSharingShareeLookup1Serializer; +} + +abstract class FilesSharingShareeLookup implements Built { + factory FilesSharingShareeLookup([final void Function(FilesSharingShareeLookupBuilder)? b]) = + _$FilesSharingShareeLookup; + const FilesSharingShareeLookup._(); + + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeLookup1 get shareeLookup1; + static FilesSharingShareeLookup fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$FilesSharingShareeLookupSerializer(); +} + +class _$FilesSharingShareeLookupSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShareeLookup, _$FilesSharingShareeLookup]; + + @override + final String wireName = 'FilesSharingShareeLookup'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareeLookup object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareeLookup deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareeLookupBuilder()..data = JsonObject(data); + result.sharee.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(FilesSharingSharee))! as FilesSharingSharee, + ); + result.shareeLookup1.replace( + _jsonSerializers.deserialize( + data, + specifiedType: const FullType(FilesSharingShareeLookup1), + )! as FilesSharingShareeLookup1, + ); + return result.build(); + } +} + +abstract class FilesSharingShareesSearchResult + implements Built { + factory FilesSharingShareesSearchResult([final void Function(FilesSharingShareesSearchResultBuilder)? b]) = + _$FilesSharingShareesSearchResult; + const FilesSharingShareesSearchResult._(); + + factory FilesSharingShareesSearchResult.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareesSearchResult_Exact get exact; + BuiltList get circles; + BuiltList get emails; + BuiltList get groups; + BuiltList get lookup; + @BuiltValueField(wireName: 'remote_groups') + BuiltList get remoteGroups; + BuiltList get remotes; + BuiltList get rooms; + BuiltList get users; + bool get lookupEnabled; + static Serializer get serializer => _$filesSharingShareesSearchResultSerializer; +} + +abstract class FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs; + const FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingShareesSearchResult get data; + static Serializer get serializer => + _$filesSharingShareesapiSearchResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareesapiSearchResponse200ApplicationJson + implements + Built { + factory FilesSharingShareesapiSearchResponse200ApplicationJson([ + final void Function(FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareesapiSearchResponse200ApplicationJson; + const FilesSharingShareesapiSearchResponse200ApplicationJson._(); + + factory FilesSharingShareesapiSearchResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareesapiSearchResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingShareesapiFindRecommendedShareType + implements + Built { + factory FilesSharingShareesapiFindRecommendedShareType([ + final void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder)? b, + ]) = _$FilesSharingShareesapiFindRecommendedShareType; + const FilesSharingShareesapiFindRecommendedShareType._(); + + JsonObject get data; + int? get $int; + BuiltList? get builtListInt; + static FilesSharingShareesapiFindRecommendedShareType fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$FilesSharingShareesapiFindRecommendedShareTypeSerializer(); +} + +class _$FilesSharingShareesapiFindRecommendedShareTypeSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiFindRecommendedShareType, + _$FilesSharingShareesapiFindRecommendedShareType + ]; + + @override + final String wireName = 'FilesSharingShareesapiFindRecommendedShareType'; + + @override + Object serialize( + final Serializers serializers, + final FilesSharingShareesapiFindRecommendedShareType object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + FilesSharingShareesapiFindRecommendedShareType deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = FilesSharingShareesapiFindRecommendedShareTypeBuilder()..data = JsonObject(data); + try { + result._$int = data as int?; + } catch (_) {} + try { + result._builtListInt = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(BuiltList, [FullType(int)]), + )! as BuiltList) + .toBuilder(); + } catch (_) {} + assert( + [result._$int, result._builtListInt].where((final x) => x != null).isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class FilesSharingShareesRecommendedResult_Exact + implements Built { + factory FilesSharingShareesRecommendedResult_Exact([ + final void Function(FilesSharingShareesRecommendedResult_ExactBuilder)? b, + ]) = _$FilesSharingShareesRecommendedResult_Exact; + const FilesSharingShareesRecommendedResult_Exact._(); + + factory FilesSharingShareesRecommendedResult_Exact.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get emails; + BuiltList get groups; + @BuiltValueField(wireName: 'remote_groups') + BuiltList get remoteGroups; + BuiltList get remotes; + BuiltList get users; + static Serializer get serializer => + _$filesSharingShareesRecommendedResultExactSerializer; +} + +abstract class FilesSharingShareesRecommendedResult + implements Built { + factory FilesSharingShareesRecommendedResult([final void Function(FilesSharingShareesRecommendedResultBuilder)? b]) = + _$FilesSharingShareesRecommendedResult; + const FilesSharingShareesRecommendedResult._(); + + factory FilesSharingShareesRecommendedResult.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareesRecommendedResult_Exact get exact; + BuiltList get emails; + BuiltList get groups; + @BuiltValueField(wireName: 'remote_groups') + BuiltList get remoteGroups; + BuiltList get remotes; + BuiltList get users; + static Serializer get serializer => + _$filesSharingShareesRecommendedResultSerializer; +} + +abstract class FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs + implements + Built { + factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs([ + final void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs; + const FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs._(); + + factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingOCSMeta get meta; + FilesSharingShareesRecommendedResult get data; + static Serializer get serializer => + _$filesSharingShareesapiFindRecommendedResponse200ApplicationJsonOcsSerializer; +} + +abstract class FilesSharingShareesapiFindRecommendedResponse200ApplicationJson + implements + Built { + factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson([ + final void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder)? b, + ]) = _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson; + const FilesSharingShareesapiFindRecommendedResponse200ApplicationJson._(); + + factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$filesSharingShareesapiFindRecommendedResponse200ApplicationJsonSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Public_Password + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Public_Password([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_Password; + const FilesSharingCapabilities_FilesSharing_Public_Password._(); + + factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enforced; + bool get askForOptionalPassword; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicPasswordSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); + + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); + + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateInternalSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ + final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); + + factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + int? get days; + bool? get enforced; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Public + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Public([ + final void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Public; + const FilesSharingCapabilities_FilesSharing_Public._(); + + factory FilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + 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; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingPublicSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate + implements + Built { + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); + + factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_User + implements Built { + factory FilesSharingCapabilities_FilesSharing_User([ + final void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_User; + const FilesSharingCapabilities_FilesSharing_User._(); + + factory FilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'send_mail') + bool get sendMail; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_User_ExpireDate? get expireDate; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingUserSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); + + factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Group + implements Built { + factory FilesSharingCapabilities_FilesSharing_Group([ + final void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Group; + const FilesSharingCapabilities_FilesSharing_Group._(); + + factory FilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + @BuiltValueField(wireName: 'expire_date') + FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingGroupSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ + final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); + + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ + final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); + + factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get enabled; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Federation + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Federation([ + final void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Federation; + const FilesSharingCapabilities_FilesSharing_Federation._(); + + factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + 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; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingFederationSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing_Sharee + implements + Built { + factory FilesSharingCapabilities_FilesSharing_Sharee([ + final void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing_Sharee; + const FilesSharingCapabilities_FilesSharing_Sharee._(); + + factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'query_lookup_default') + bool get queryLookupDefault; + @BuiltValueField(wireName: 'always_show_unique') + bool get alwaysShowUnique; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingShareeSerializer; +} + +abstract class FilesSharingCapabilities_FilesSharing + implements Built { + factory FilesSharingCapabilities_FilesSharing([ + final void Function(FilesSharingCapabilities_FilesSharingBuilder)? b, + ]) = _$FilesSharingCapabilities_FilesSharing; + const FilesSharingCapabilities_FilesSharing._(); + + factory FilesSharingCapabilities_FilesSharing.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @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; + static Serializer get serializer => + _$filesSharingCapabilitiesFilesSharingSerializer; +} + +abstract class FilesSharingCapabilities implements Built { + factory FilesSharingCapabilities([final void Function(FilesSharingCapabilitiesBuilder)? b]) = + _$FilesSharingCapabilities; + const FilesSharingCapabilities._(); + + factory FilesSharingCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'files_sharing') + FilesSharingCapabilities_FilesSharing get filesSharing; + static Serializer get serializer => _$filesSharingCapabilitiesSerializer; +} + +final Serializers _serializers = (Serializers().toBuilder() + ..addBuilderFactory( + const FullType(FilesSharingDeletedShareapiListResponse200ApplicationJson), + FilesSharingDeletedShareapiListResponse200ApplicationJson.new, + ) + ..add(FilesSharingDeletedShareapiListResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs), + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FilesSharingOCSMeta), FilesSharingOCSMeta.new) + ..add(FilesSharingOCSMeta.serializer) + ..addBuilderFactory(const FullType(FilesSharingDeletedShare), FilesSharingDeletedShare.new) + ..add(FilesSharingDeletedShare.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingDeletedShare)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson), + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson.new, + ) + ..add(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs), + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetSharesResponse200ApplicationJson), + FilesSharingRemoteGetSharesResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteGetSharesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs), + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FilesSharingRemoteShare), FilesSharingRemoteShare.new) + ..add(FilesSharingRemoteShare.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingRemoteShare)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson), + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs), + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteAcceptShareResponse200ApplicationJson), + FilesSharingRemoteAcceptShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteAcceptShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs), + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteDeclineShareResponse200ApplicationJson), + FilesSharingRemoteDeclineShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteDeclineShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs), + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetShareResponse200ApplicationJson), + FilesSharingRemoteGetShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteGetShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs), + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteUnshareResponse200ApplicationJson), + FilesSharingRemoteUnshareResponse200ApplicationJson.new, + ) + ..add(FilesSharingRemoteUnshareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs), + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareInfo), FilesSharingShareInfo.new) + ..add(FilesSharingShareInfo.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareInfo_Size), FilesSharingShareInfo_Size.new) + ..add(FilesSharingShareInfo_Size.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetSharesResponse200ApplicationJson), + FilesSharingShareapiGetSharesResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiGetSharesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs), + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FilesSharingShare), FilesSharingShare.new) + ..add(FilesSharingShare.serializer) + ..addBuilderFactory(const FullType(FilesSharingShare_ItemSize), FilesSharingShare_ItemSize.new) + ..add(FilesSharingShare_ItemSize.serializer) + ..add(FilesSharingShare_ItemType.serializer) + ..addBuilderFactory(const FullType(FilesSharingShare_Status), FilesSharingShare_Status.new) + ..add(FilesSharingShare_Status.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(FilesSharingShare)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(FilesSharingShareapiCreateShareResponse200ApplicationJson), + FilesSharingShareapiCreateShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiCreateShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs), + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson), + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs), + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiPendingSharesResponse200ApplicationJson), + FilesSharingShareapiPendingSharesResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiPendingSharesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs), + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetShareResponse200ApplicationJson), + FilesSharingShareapiGetShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiGetShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs), + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiUpdateShareResponse200ApplicationJson), + FilesSharingShareapiUpdateShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiUpdateShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs), + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiDeleteShareResponse200ApplicationJson), + FilesSharingShareapiDeleteShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiDeleteShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs), + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiAcceptShareResponse200ApplicationJson), + FilesSharingShareapiAcceptShareResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareapiAcceptShareResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs), + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiSearchShareType), + FilesSharingShareesapiSearchShareType.new, + ) + ..add(FilesSharingShareesapiSearchShareType.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(ContentString, [FullType(FilesSharingShareesapiSearchShareType)]), + ContentString.new, + ) + ..add(ContentString.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiShareesapiSearchHeaders), + FilesSharingShareesapiShareesapiSearchHeaders.new, + ) + ..add(FilesSharingShareesapiShareesapiSearchHeaders.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiSearchResponse200ApplicationJson), + FilesSharingShareesapiSearchResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareesapiSearchResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs), + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareesSearchResult), FilesSharingShareesSearchResult.new) + ..add(FilesSharingShareesSearchResult.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesSearchResult_Exact), + FilesSharingShareesSearchResult_Exact.new, + ) + ..add(FilesSharingShareesSearchResult_Exact.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeCircle), FilesSharingShareeCircle.new) + ..add(FilesSharingShareeCircle.serializer) + ..addBuilderFactory(const FullType(FilesSharingSharee), FilesSharingSharee.new) + ..add(FilesSharingSharee.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeCircle1), FilesSharingShareeCircle1.new) + ..add(FilesSharingShareeCircle1.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeCircle1_Value), FilesSharingShareeCircle1_Value.new) + ..add(FilesSharingShareeCircle1_Value.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeValue), FilesSharingShareeValue.new) + ..add(FilesSharingShareeValue.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeCircle1_Value1), FilesSharingShareeCircle1_Value1.new) + ..add(FilesSharingShareeCircle1_Value1.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeCircle)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(FilesSharingShareeEmail), FilesSharingShareeEmail.new) + ..add(FilesSharingShareeEmail.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeEmail1), FilesSharingShareeEmail1.new) + ..add(FilesSharingShareeEmail1.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeEmail)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingSharee)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(FilesSharingShareeRemoteGroup), FilesSharingShareeRemoteGroup.new) + ..add(FilesSharingShareeRemoteGroup.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeRemoteGroup1), FilesSharingShareeRemoteGroup1.new) + ..add(FilesSharingShareeRemoteGroup1.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareeRemoteGroup1_Value), + FilesSharingShareeRemoteGroup1_Value.new, + ) + ..add(FilesSharingShareeRemoteGroup1_Value.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareeRemoteGroup1_Value1), + FilesSharingShareeRemoteGroup1_Value1.new, + ) + ..add(FilesSharingShareeRemoteGroup1_Value1.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(FilesSharingShareeRemote), FilesSharingShareeRemote.new) + ..add(FilesSharingShareeRemote.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeRemote1), FilesSharingShareeRemote1.new) + ..add(FilesSharingShareeRemote1.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeRemote1_Value), FilesSharingShareeRemote1_Value.new) + ..add(FilesSharingShareeRemote1_Value.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeRemote1_Value1), FilesSharingShareeRemote1_Value1.new) + ..add(FilesSharingShareeRemote1_Value1.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeRemote)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(FilesSharingShareeUser), FilesSharingShareeUser.new) + ..add(FilesSharingShareeUser.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeUser1), FilesSharingShareeUser1.new) + ..add(FilesSharingShareeUser1.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeUser1_Status), FilesSharingShareeUser1_Status.new) + ..add(FilesSharingShareeUser1_Status.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeUser)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(FilesSharingShareeLookup), FilesSharingShareeLookup.new) + ..add(FilesSharingShareeLookup.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeLookup1), FilesSharingShareeLookup1.new) + ..add(FilesSharingShareeLookup1.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeLookup1_Extra), FilesSharingShareeLookup1_Extra.new) + ..add(FilesSharingShareeLookup1_Extra.serializer) + ..addBuilderFactory(const FullType(FilesSharingLookup), FilesSharingLookup.new) + ..add(FilesSharingLookup.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeLookup1_Value), FilesSharingShareeLookup1_Value.new) + ..add(FilesSharingShareeLookup1_Value.serializer) + ..addBuilderFactory(const FullType(FilesSharingShareeLookup1_Value1), FilesSharingShareeLookup1_Value1.new) + ..add(FilesSharingShareeLookup1_Value1.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(FilesSharingShareeLookup)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiFindRecommendedShareType), + FilesSharingShareesapiFindRecommendedShareType.new, + ) + ..add(FilesSharingShareesapiFindRecommendedShareType.serializer) + ..addBuilderFactory( + const FullType(ContentString, [FullType(FilesSharingShareesapiFindRecommendedShareType)]), + ContentString.new, + ) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson), + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson.new, + ) + ..add(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs), + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs.new, + ) + ..add(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesRecommendedResult), + FilesSharingShareesRecommendedResult.new, + ) + ..add(FilesSharingShareesRecommendedResult.serializer) + ..addBuilderFactory( + const FullType(FilesSharingShareesRecommendedResult_Exact), + FilesSharingShareesRecommendedResult_Exact.new, + ) + ..add(FilesSharingShareesRecommendedResult_Exact.serializer) + ..addBuilderFactory(const FullType(FilesSharingCapabilities), FilesSharingCapabilities.new) + ..add(FilesSharingCapabilities.serializer) + ..addBuilderFactory( + const FullType(FilesSharingCapabilities_FilesSharing), + FilesSharingCapabilities_FilesSharing.new, + ) + ..add(FilesSharingCapabilities_FilesSharing.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_Public_Password.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_User.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_Group.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_Federation.serializer) + ..addBuilderFactory( + const 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, + ) + ..add(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.serializer) + ..addBuilderFactory( + const FullType(FilesSharingCapabilities_FilesSharing_Sharee), + FilesSharingCapabilities_FilesSharing_Sharee.new, + ) + ..add(FilesSharingCapabilities_FilesSharing_Sharee.serializer)) + .build(); + +Serializers get filesSharingSerializers => _serializers; + +final Serializers _jsonSerializers = (_serializers.toBuilder() + ..addPlugin(StandardJsonPlugin()) + ..addPlugin(const ContentStringPlugin())) + .build(); + +// coverage:ignore-start +T deserializeFilesSharing(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; + +Object? serializeFilesSharing(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); +// coverage:ignore-end diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart new file mode 100644 index 00000000..e3994677 --- /dev/null +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.g.dart @@ -0,0 +1,16375 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'files_sharing.openapi.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +const FilesSharingShare_ItemType _$filesSharingShareItemTypeFile = FilesSharingShare_ItemType._('file'); +const FilesSharingShare_ItemType _$filesSharingShareItemTypeFolder = FilesSharingShare_ItemType._('folder'); + +FilesSharingShare_ItemType _$valueOfFilesSharingShare_ItemType(String name) { + switch (name) { + case 'file': + return _$filesSharingShareItemTypeFile; + case 'folder': + return _$filesSharingShareItemTypeFolder; + default: + throw ArgumentError(name); + } +} + +final BuiltSet _$filesSharingShareItemTypeValues = + BuiltSet(const [ + _$filesSharingShareItemTypeFile, + _$filesSharingShareItemTypeFolder, +]); + +Serializer _$filesSharingOCSMetaSerializer = _$FilesSharingOCSMetaSerializer(); +Serializer _$filesSharingDeletedShareSerializer = _$FilesSharingDeletedShareSerializer(); +Serializer + _$filesSharingDeletedShareapiListResponse200ApplicationJsonOcsSerializer = + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingDeletedShareapiListResponse200ApplicationJsonSerializer = + _$FilesSharingDeletedShareapiListResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingDeletedShareapiUndeleteResponse200ApplicationJsonOcsSerializer = + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingDeletedShareapiUndeleteResponse200ApplicationJsonSerializer = + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonSerializer(); +Serializer _$filesSharingRemoteShareSerializer = _$FilesSharingRemoteShareSerializer(); +Serializer + _$filesSharingRemoteGetSharesResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteGetSharesResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteGetSharesResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingRemoteGetOpenSharesResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteGetOpenSharesResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingRemoteAcceptShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteAcceptShareResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteAcceptShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingRemoteDeclineShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteDeclineShareResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteDeclineShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingRemoteGetShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteGetShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteGetShareResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteGetShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingRemoteUnshareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingRemoteUnshareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingRemoteUnshareResponse200ApplicationJsonSerializer = + _$FilesSharingRemoteUnshareResponse200ApplicationJsonSerializer(); +Serializer _$filesSharingShareInfoSerializer = _$FilesSharingShareInfoSerializer(); +Serializer _$filesSharingShareItemTypeSerializer = _$FilesSharingShare_ItemTypeSerializer(); +Serializer _$filesSharingShareStatusSerializer = _$FilesSharingShare_StatusSerializer(); +Serializer _$filesSharingShareSerializer = _$FilesSharingShareSerializer(); +Serializer + _$filesSharingShareapiGetSharesResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiGetSharesResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiGetSharesResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiCreateShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiCreateShareResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiCreateShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiGetInheritedSharesResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiGetInheritedSharesResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiPendingSharesResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiPendingSharesResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiPendingSharesResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiGetShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiGetShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiGetShareResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiGetShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiUpdateShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiUpdateShareResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiUpdateShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiDeleteShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiDeleteShareResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiDeleteShareResponse200ApplicationJsonSerializer(); +Serializer + _$filesSharingShareapiAcceptShareResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareapiAcceptShareResponse200ApplicationJsonSerializer = + _$FilesSharingShareapiAcceptShareResponse200ApplicationJsonSerializer(); +Serializer _$filesSharingShareeSerializer = _$FilesSharingShareeSerializer(); +Serializer _$filesSharingShareeValueSerializer = _$FilesSharingShareeValueSerializer(); +Serializer _$filesSharingShareeCircle1Value1Serializer = + _$FilesSharingShareeCircle1_Value1Serializer(); +Serializer _$filesSharingShareeCircle1Serializer = _$FilesSharingShareeCircle1Serializer(); +Serializer _$filesSharingShareeEmail1Serializer = _$FilesSharingShareeEmail1Serializer(); +Serializer _$filesSharingShareeRemoteGroup1Value1Serializer = + _$FilesSharingShareeRemoteGroup1_Value1Serializer(); +Serializer _$filesSharingShareeRemoteGroup1Serializer = + _$FilesSharingShareeRemoteGroup1Serializer(); +Serializer _$filesSharingShareeRemote1Value1Serializer = + _$FilesSharingShareeRemote1_Value1Serializer(); +Serializer _$filesSharingShareeRemote1Serializer = _$FilesSharingShareeRemote1Serializer(); +Serializer _$filesSharingShareeUser1StatusSerializer = + _$FilesSharingShareeUser1_StatusSerializer(); +Serializer _$filesSharingShareeUser1Serializer = _$FilesSharingShareeUser1Serializer(); +Serializer _$filesSharingShareesSearchResultExactSerializer = + _$FilesSharingShareesSearchResult_ExactSerializer(); +Serializer _$filesSharingLookupSerializer = _$FilesSharingLookupSerializer(); +Serializer _$filesSharingShareeLookup1ExtraSerializer = + _$FilesSharingShareeLookup1_ExtraSerializer(); +Serializer _$filesSharingShareeLookup1Value1Serializer = + _$FilesSharingShareeLookup1_Value1Serializer(); +Serializer _$filesSharingShareeLookup1Serializer = _$FilesSharingShareeLookup1Serializer(); +Serializer _$filesSharingShareesSearchResultSerializer = + _$FilesSharingShareesSearchResultSerializer(); +Serializer + _$filesSharingShareesapiSearchResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareesapiSearchResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareesapiSearchResponse200ApplicationJsonSerializer = + _$FilesSharingShareesapiSearchResponse200ApplicationJsonSerializer(); +Serializer _$filesSharingShareesRecommendedResultExactSerializer = + _$FilesSharingShareesRecommendedResult_ExactSerializer(); +Serializer _$filesSharingShareesRecommendedResultSerializer = + _$FilesSharingShareesRecommendedResultSerializer(); +Serializer + _$filesSharingShareesapiFindRecommendedResponse200ApplicationJsonOcsSerializer = + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsSerializer(); +Serializer + _$filesSharingShareesapiFindRecommendedResponse200ApplicationJsonSerializer = + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonSerializer(); +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(); + +class _$FilesSharingOCSMetaSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingOCSMeta, _$FilesSharingOCSMeta]; + @override + final String wireName = 'FilesSharingOCSMeta'; + + @override + Iterable serialize(Serializers serializers, FilesSharingOCSMeta object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'status', + serializers.serialize(object.status, specifiedType: const FullType(String)), + 'statuscode', + serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.message; + if (value != null) { + result + ..add('message') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.totalitems; + if (value != null) { + result + ..add('totalitems') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.itemsperpage; + if (value != null) { + result + ..add('itemsperpage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + FilesSharingOCSMeta deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingOCSMetaBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'statuscode': + result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'totalitems': + result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'itemsperpage': + result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingDeletedShareSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingDeletedShare, _$FilesSharingDeletedShare]; + @override + final String wireName = 'FilesSharingDeletedShare'; + + @override + Iterable serialize(Serializers serializers, FilesSharingDeletedShare object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'share_type', + serializers.serialize(object.shareType, specifiedType: const FullType(int)), + 'uid_owner', + serializers.serialize(object.uidOwner, specifiedType: const FullType(String)), + 'displayname_owner', + serializers.serialize(object.displaynameOwner, specifiedType: const FullType(String)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'stime', + serializers.serialize(object.stime, specifiedType: const FullType(int)), + 'uid_file_owner', + serializers.serialize(object.uidFileOwner, specifiedType: const FullType(String)), + 'displayname_file_owner', + serializers.serialize(object.displaynameFileOwner, specifiedType: const FullType(String)), + 'path', + serializers.serialize(object.path, specifiedType: const FullType(String)), + 'item_type', + serializers.serialize(object.itemType, specifiedType: const FullType(String)), + 'mimetype', + serializers.serialize(object.mimetype, specifiedType: const FullType(String)), + 'storage', + serializers.serialize(object.storage, specifiedType: const FullType(int)), + 'item_source', + serializers.serialize(object.itemSource, specifiedType: const FullType(int)), + 'file_source', + serializers.serialize(object.fileSource, specifiedType: const FullType(int)), + 'file_parent', + serializers.serialize(object.fileParent, specifiedType: const FullType(int)), + 'file_target', + serializers.serialize(object.fileTarget, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.expiration; + if (value != null) { + result + ..add('expiration') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWith; + if (value != null) { + result + ..add('share_with') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithDisplayname; + if (value != null) { + result + ..add('share_with_displayname') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithLink; + if (value != null) { + result + ..add('share_with_link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + FilesSharingDeletedShare deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingDeletedShareBuilder(); + + 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 'share_type': + result.shareType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'uid_owner': + result.uidOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayname_owner': + result.displaynameOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'stime': + result.stime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'uid_file_owner': + result.uidFileOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayname_file_owner': + result.displaynameFileOwner = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'path': + result.path = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'item_type': + result.itemType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'mimetype': + result.mimetype = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'storage': + result.storage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'item_source': + result.itemSource = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'file_source': + result.fileSource = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'file_parent': + result.fileParent = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'file_target': + result.fileTarget = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'expiration': + result.expiration = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with': + result.shareWith = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_displayname': + result.shareWithDisplayname = + serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_link': + result.shareWithLink = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs, + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingDeletedShare)])), + ]; + + return result; + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingDeletedShareapiListResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingDeletedShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingDeletedShareapiListResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingDeletedShareapiListResponse200ApplicationJson, + _$FilesSharingDeletedShareapiListResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingDeletedShareapiListResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingDeletedShareapiListResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder(); + + 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(FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs))! + as FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs, + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson, + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder(); + + 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(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs))! + as FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteShareSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingRemoteShare, _$FilesSharingRemoteShare]; + @override + final String wireName = 'FilesSharingRemoteShare'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteShare object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'accepted', + serializers.serialize(object.accepted, specifiedType: const FullType(bool)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'mountpoint', + serializers.serialize(object.mountpoint, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'owner', + serializers.serialize(object.owner, specifiedType: const FullType(String)), + 'remote', + serializers.serialize(object.remote, specifiedType: const FullType(String)), + 'remote_id', + serializers.serialize(object.remoteId, specifiedType: const FullType(String)), + 'share_token', + serializers.serialize(object.shareToken, specifiedType: const FullType(String)), + 'share_type', + serializers.serialize(object.shareType, specifiedType: const FullType(int)), + 'user', + serializers.serialize(object.user, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.fileId; + if (value != null) { + result + ..add('file_id') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.mimetype; + if (value != null) { + result + ..add('mimetype') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.mtime; + if (value != null) { + result + ..add('mtime') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.parent; + if (value != null) { + result + ..add('parent') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.permissions; + if (value != null) { + result + ..add('permissions') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.type; + if (value != null) { + result + ..add('type') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + FilesSharingRemoteShare deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteShareBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'accepted': + result.accepted = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'file_id': + result.fileId = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'mimetype': + result.mimetype = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'mountpoint': + result.mountpoint = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'mtime': + result.mtime = 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 'owner': + result.owner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'parent': + result.parent = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'remote': + result.remote = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'remote_id': + result.remoteId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'share_token': + result.shareToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'share_type': + result.shareType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'user': + result.user = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FilesSharingRemoteShare)])), + ]; + + return result; + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetSharesResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingRemoteShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetSharesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetSharesResponse200ApplicationJson, + _$FilesSharingRemoteGetSharesResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteGetSharesResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteGetSharesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FilesSharingRemoteShare)])), + ]; + + return result; + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingRemoteShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson, + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteGetOpenSharesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteAcceptShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteAcceptShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteAcceptShareResponse200ApplicationJson, + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteAcceptShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteAcceptShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteDeclineShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteDeclineShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteDeclineShareResponse200ApplicationJson, + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteDeclineShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteDeclineShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingRemoteShare)), + ]; + + return result; + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(FilesSharingRemoteShare))! + as FilesSharingRemoteShare); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteGetShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteGetShareResponse200ApplicationJson, + _$FilesSharingRemoteGetShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteGetShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteGetShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteUnshareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs, + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteUnshareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingRemoteUnshareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingRemoteUnshareResponse200ApplicationJson, + _$FilesSharingRemoteUnshareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingRemoteUnshareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingRemoteUnshareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs))! + as FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareInfoSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareInfo, _$FilesSharingShareInfo]; + @override + final String wireName = 'FilesSharingShareInfo'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareInfo object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'parentId', + serializers.serialize(object.parentId, specifiedType: const FullType(int)), + 'mtime', + serializers.serialize(object.mtime, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'mimetype', + serializers.serialize(object.mimetype, specifiedType: const FullType(String)), + 'size', + serializers.serialize(object.size, specifiedType: const FullType(FilesSharingShareInfo_Size)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'etag', + serializers.serialize(object.etag, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.children; + if (value != null) { + result + ..add('children') + ..add(serializers.serialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))); + } + return result; + } + + @override + FilesSharingShareInfo deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareInfoBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'parentId': + result.parentId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'mtime': + result.mtime = 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 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'mimetype': + result.mimetype = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'size': + result.size.replace(serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareInfo_Size))! + as FilesSharingShareInfo_Size); + break; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'etag': + result.etag = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'children': + result.children.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShare_ItemTypeSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [FilesSharingShare_ItemType]; + @override + final String wireName = 'FilesSharingShare_ItemType'; + + @override + Object serialize(Serializers serializers, FilesSharingShare_ItemType object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + FilesSharingShare_ItemType deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + FilesSharingShare_ItemType.valueOf(serialized as String); +} + +class _$FilesSharingShare_StatusSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShare_Status, _$FilesSharingShare_Status]; + @override + final String wireName = 'FilesSharingShare_Status'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShare_Status object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.clearAt; + if (value != null) { + result + ..add('clearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.icon; + if (value != null) { + result + ..add('icon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.message; + if (value != null) { + result + ..add('message') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + FilesSharingShare_Status deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShare_StatusBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clearAt': + result.clearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShare, _$FilesSharingShare]; + @override + final String wireName = 'FilesSharingShare'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShare object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'can_delete', + serializers.serialize(object.canDelete, specifiedType: const FullType(bool)), + 'can_edit', + serializers.serialize(object.canEdit, specifiedType: const FullType(bool)), + 'displayname_file_owner', + serializers.serialize(object.displaynameFileOwner, specifiedType: const FullType(String)), + 'displayname_owner', + serializers.serialize(object.displaynameOwner, specifiedType: const FullType(String)), + 'file_parent', + serializers.serialize(object.fileParent, specifiedType: const FullType(int)), + 'file_source', + serializers.serialize(object.fileSource, specifiedType: const FullType(int)), + 'file_target', + serializers.serialize(object.fileTarget, specifiedType: const FullType(String)), + 'has_preview', + serializers.serialize(object.hasPreview, specifiedType: const FullType(bool)), + 'hide_download', + serializers.serialize(object.hideDownload, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'item_mtime', + serializers.serialize(object.itemMtime, specifiedType: const FullType(int)), + 'item_size', + serializers.serialize(object.itemSize, specifiedType: const FullType(FilesSharingShare_ItemSize)), + 'item_source', + serializers.serialize(object.itemSource, specifiedType: const FullType(int)), + 'item_type', + serializers.serialize(object.itemType, specifiedType: const FullType(FilesSharingShare_ItemType)), + 'label', + serializers.serialize(object.label, specifiedType: const FullType(String)), + 'mail_send', + serializers.serialize(object.mailSend, specifiedType: const FullType(int)), + 'mimetype', + serializers.serialize(object.mimetype, specifiedType: const FullType(String)), + 'note', + serializers.serialize(object.note, specifiedType: const FullType(String)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'share_type', + serializers.serialize(object.shareType, specifiedType: const FullType(int)), + 'stime', + serializers.serialize(object.stime, specifiedType: const FullType(int)), + 'storage', + serializers.serialize(object.storage, specifiedType: const FullType(int)), + 'storage_id', + serializers.serialize(object.storageId, specifiedType: const FullType(String)), + 'uid_file_owner', + serializers.serialize(object.uidFileOwner, specifiedType: const FullType(String)), + 'uid_owner', + serializers.serialize(object.uidOwner, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.attributes; + if (value != null) { + result + ..add('attributes') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.expiration; + if (value != null) { + result + ..add('expiration') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.itemPermissions; + if (value != null) { + result + ..add('item_permissions') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.parent; + if (value != null) { + result + ..add('parent') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.password; + if (value != null) { + result + ..add('password') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.passwordExpirationTime; + if (value != null) { + result + ..add('password_expiration_time') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.path; + if (value != null) { + result + ..add('path') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.sendPasswordByTalk; + if (value != null) { + result + ..add('send_password_by_talk') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.shareWith; + if (value != null) { + result + ..add('share_with') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithAvatar; + if (value != null) { + result + ..add('share_with_avatar') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithDisplayname; + if (value != null) { + result + ..add('share_with_displayname') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithDisplaynameUnique; + if (value != null) { + result + ..add('share_with_displayname_unique') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.shareWithLink; + if (value != null) { + result + ..add('share_with_link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingShare_Status))); + } + value = object.token; + if (value != null) { + result + ..add('token') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.url; + if (value != null) { + result + ..add('url') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + FilesSharingShare deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'attributes': + result.attributes = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'can_delete': + result.canDelete = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'can_edit': + result.canEdit = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'displayname_file_owner': + result.displaynameFileOwner = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayname_owner': + result.displaynameOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'expiration': + result.expiration = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'file_parent': + result.fileParent = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'file_source': + result.fileSource = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'file_target': + result.fileTarget = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'has_preview': + result.hasPreview = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'hide_download': + result.hideDownload = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'item_mtime': + result.itemMtime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'item_permissions': + result.itemPermissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'item_size': + result.itemSize.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShare_ItemSize))! as FilesSharingShare_ItemSize); + break; + case 'item_source': + result.itemSource = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'item_type': + result.itemType = serializers.deserialize(value, specifiedType: const FullType(FilesSharingShare_ItemType))! + as FilesSharingShare_ItemType; + break; + case 'label': + result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'mail_send': + result.mailSend = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'mimetype': + result.mimetype = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'note': + result.note = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'parent': + result.parent = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'password': + result.password = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'password_expiration_time': + result.passwordExpirationTime = + serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'path': + result.path = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'permissions': + result.permissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'send_password_by_talk': + result.sendPasswordByTalk = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'share_type': + result.shareType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'share_with': + result.shareWith = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_avatar': + result.shareWithAvatar = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_displayname': + result.shareWithDisplayname = + serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_displayname_unique': + result.shareWithDisplaynameUnique = + serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'share_with_link': + result.shareWithLink = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'status': + result.status.replace(serializers.deserialize(value, specifiedType: const FullType(FilesSharingShare_Status))! + as FilesSharingShare_Status); + break; + case 'stime': + result.stime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'storage': + result.storage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'storage_id': + result.storageId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'uid_file_owner': + result.uidFileOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'uid_owner': + result.uidOwner = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url': + result.url = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)])), + ]; + + return result; + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetSharesResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetSharesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetSharesResponse200ApplicationJson, + _$FilesSharingShareapiGetSharesResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiGetSharesResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiGetSharesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingShare)), + ]; + + return result; + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiCreateShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShare))! as FilesSharingShare); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiCreateShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiCreateShareResponse200ApplicationJson, + _$FilesSharingShareapiCreateShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiCreateShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiCreateShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)])), + ]; + + return result; + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson, + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)])), + ]; + + return result; + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiPendingSharesResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShare)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiPendingSharesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiPendingSharesResponse200ApplicationJson, + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiPendingSharesResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiPendingSharesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingShare)), + ]; + + return result; + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShare))! as FilesSharingShare); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiGetShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiGetShareResponse200ApplicationJson, + _$FilesSharingShareapiGetShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiGetShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiGetShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingShare)), + ]; + + return result; + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiUpdateShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShare))! as FilesSharingShare); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiUpdateShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiUpdateShareResponse200ApplicationJson, + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiUpdateShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiUpdateShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiDeleteShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiDeleteShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiDeleteShareResponse200ApplicationJson, + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiDeleteShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiDeleteShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs, + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiAcceptShareResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareapiAcceptShareResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareapiAcceptShareResponse200ApplicationJson, + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareapiAcceptShareResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareapiAcceptShareResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs))! + as FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingSharee, _$FilesSharingSharee]; + @override + final String wireName = 'FilesSharingSharee'; + + @override + Iterable serialize(Serializers serializers, FilesSharingSharee object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'label', + serializers.serialize(object.label, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.count; + if (value != null) { + result + ..add('count') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + FilesSharingSharee deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'count': + result.count = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'label': + result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeValueSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeValue, _$FilesSharingShareeValue]; + @override + final String wireName = 'FilesSharingShareeValue'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeValue object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'shareType', + serializers.serialize(object.shareType, specifiedType: const FullType(int)), + 'shareWith', + serializers.serialize(object.shareWith, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesSharingShareeValue deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeValueBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'shareType': + result.shareType = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'shareWith': + result.shareWith = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeCircle1_Value1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeCircle1_Value1, _$FilesSharingShareeCircle1_Value1]; + @override + final String wireName = 'FilesSharingShareeCircle1_Value1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeCircle1_Value1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'circle', + serializers.serialize(object.circle, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesSharingShareeCircle1_Value1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeCircle1_Value1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'circle': + result.circle = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeCircle1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeCircle1, _$FilesSharingShareeCircle1]; + @override + final String wireName = 'FilesSharingShareeCircle1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeCircle1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'shareWithDescription', + serializers.serialize(object.shareWithDescription, specifiedType: const FullType(String)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeCircle1_Value)), + ]; + + return result; + } + + @override + FilesSharingShareeCircle1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeCircle1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'shareWithDescription': + result.shareWithDescription = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'value': + result.value.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareeCircle1_Value))! as FilesSharingShareeCircle1_Value); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeEmail1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeEmail1, _$FilesSharingShareeEmail1]; + @override + final String wireName = 'FilesSharingShareeEmail1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeEmail1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'uuid', + serializers.serialize(object.uuid, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'shareWithDisplayNameUnique', + serializers.serialize(object.shareWithDisplayNameUnique, specifiedType: const FullType(String)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeValue)), + ]; + + return result; + } + + @override + FilesSharingShareeEmail1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeEmail1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'uuid': + result.uuid = 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 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'shareWithDisplayNameUnique': + result.shareWithDisplayNameUnique = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'value': + result.value.replace(serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareeValue))! + as FilesSharingShareeValue); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeRemoteGroup1_Value1Serializer + implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeRemoteGroup1_Value1, _$FilesSharingShareeRemoteGroup1_Value1]; + @override + final String wireName = 'FilesSharingShareeRemoteGroup1_Value1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeRemoteGroup1_Value1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'server', + serializers.serialize(object.server, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesSharingShareeRemoteGroup1_Value1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeRemoteGroup1_Value1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeRemoteGroup1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeRemoteGroup1, _$FilesSharingShareeRemoteGroup1]; + @override + final String wireName = 'FilesSharingShareeRemoteGroup1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeRemoteGroup1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'guid', + serializers.serialize(object.guid, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeRemoteGroup1_Value)), + ]; + + return result; + } + + @override + FilesSharingShareeRemoteGroup1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeRemoteGroup1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'guid': + result.guid = 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 'value': + result.value.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareeRemoteGroup1_Value))! + as FilesSharingShareeRemoteGroup1_Value); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeRemote1_Value1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeRemote1_Value1, _$FilesSharingShareeRemote1_Value1]; + @override + final String wireName = 'FilesSharingShareeRemote1_Value1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeRemote1_Value1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'server', + serializers.serialize(object.server, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + FilesSharingShareeRemote1_Value1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeRemote1_Value1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeRemote1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeRemote1, _$FilesSharingShareeRemote1]; + @override + final String wireName = 'FilesSharingShareeRemote1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeRemote1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'uuid', + serializers.serialize(object.uuid, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeRemote1_Value)), + ]; + + return result; + } + + @override + FilesSharingShareeRemote1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeRemote1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'uuid': + result.uuid = 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 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'value': + result.value.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareeRemote1_Value))! as FilesSharingShareeRemote1_Value); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeUser1_StatusSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeUser1_Status, _$FilesSharingShareeUser1_Status]; + @override + final String wireName = 'FilesSharingShareeUser1_Status'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeUser1_Status object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'status', + serializers.serialize(object.status, specifiedType: const FullType(String)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clearAt; + if (value != null) { + result + ..add('clearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + FilesSharingShareeUser1_Status deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeUser1_StatusBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'message': + result.message = 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 'clearAt': + result.clearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeUser1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeUser1, _$FilesSharingShareeUser1]; + @override + final String wireName = 'FilesSharingShareeUser1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeUser1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'subline', + serializers.serialize(object.subline, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'shareWithDisplayNameUnique', + serializers.serialize(object.shareWithDisplayNameUnique, specifiedType: const FullType(String)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(FilesSharingShareeUser1_Status)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeValue)), + ]; + + return result; + } + + @override + FilesSharingShareeUser1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeUser1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'subline': + result.subline = 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 'shareWithDisplayNameUnique': + result.shareWithDisplayNameUnique = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'status': + result.status.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareeUser1_Status))! as FilesSharingShareeUser1_Status); + break; + case 'value': + result.value.replace(serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareeValue))! + as FilesSharingShareeValue); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesSearchResult_ExactSerializer + implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareesSearchResult_Exact, _$FilesSharingShareesSearchResult_Exact]; + @override + final String wireName = 'FilesSharingShareesSearchResult_Exact'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareesSearchResult_Exact object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'circles', + serializers.serialize(object.circles, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeCircle)])), + 'emails', + serializers.serialize(object.emails, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)])), + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'remote_groups', + serializers.serialize(object.remoteGroups, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)])), + 'remotes', + serializers.serialize(object.remotes, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)])), + 'rooms', + serializers.serialize(object.rooms, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)])), + ]; + + return result; + } + + @override + FilesSharingShareesSearchResult_Exact deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesSearchResult_ExactBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'circles': + result.circles.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeCircle)]))! as BuiltList); + break; + case 'emails': + result.emails.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)]))! as BuiltList); + break; + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'remote_groups': + result.remoteGroups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)]))! + as BuiltList); + break; + case 'remotes': + result.remotes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)]))! as BuiltList); + break; + case 'rooms': + result.rooms.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingLookupSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingLookup, _$FilesSharingLookup]; + @override + final String wireName = 'FilesSharingLookup'; + + @override + Iterable serialize(Serializers serializers, FilesSharingLookup object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'value', + serializers.serialize(object.value, specifiedType: const FullType(String)), + 'verified', + serializers.serialize(object.verified, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + FilesSharingLookup deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingLookupBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'value': + result.value = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'verified': + result.verified = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeLookup1_ExtraSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeLookup1_Extra, _$FilesSharingShareeLookup1_Extra]; + @override + final String wireName = 'FilesSharingShareeLookup1_Extra'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeLookup1_Extra object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'federationId', + serializers.serialize(object.federationId, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.name; + if (value != null) { + result + ..add('name') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.email; + if (value != null) { + result + ..add('email') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.address; + if (value != null) { + result + ..add('address') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.website; + if (value != null) { + result + ..add('website') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.twitter; + if (value != null) { + result + ..add('twitter') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.phone; + if (value != null) { + result + ..add('phone') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.twitterSignature; + if (value != null) { + result + ..add('twitter_signature') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.websiteSignature; + if (value != null) { + result + ..add('website_signature') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + value = object.userid; + if (value != null) { + result + ..add('userid') + ..add(serializers.serialize(value, specifiedType: const FullType(FilesSharingLookup))); + } + return result; + } + + @override + FilesSharingShareeLookup1_Extra deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeLookup1_ExtraBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'federationId': + result.federationId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'email': + result.email.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'address': + result.address.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'website': + result.website.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'twitter': + result.twitter.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'phone': + result.phone.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'twitter_signature': + result.twitterSignature.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'website_signature': + result.websiteSignature.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + case 'userid': + result.userid.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingLookup))! as FilesSharingLookup); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeLookup1_Value1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeLookup1_Value1, _$FilesSharingShareeLookup1_Value1]; + @override + final String wireName = 'FilesSharingShareeLookup1_Value1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeLookup1_Value1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'globalScale', + serializers.serialize(object.globalScale, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingShareeLookup1_Value1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeLookup1_Value1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'globalScale': + result.globalScale = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareeLookup1Serializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareeLookup1, _$FilesSharingShareeLookup1]; + @override + final String wireName = 'FilesSharingShareeLookup1'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareeLookup1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'extra', + serializers.serialize(object.extra, specifiedType: const FullType(FilesSharingShareeLookup1_Extra)), + 'value', + serializers.serialize(object.value, specifiedType: const FullType(FilesSharingShareeLookup1_Value)), + ]; + + return result; + } + + @override + FilesSharingShareeLookup1 deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareeLookup1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'extra': + result.extra.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareeLookup1_Extra))! as FilesSharingShareeLookup1_Extra); + break; + case 'value': + result.value.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareeLookup1_Value))! as FilesSharingShareeLookup1_Value); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesSearchResultSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareesSearchResult, _$FilesSharingShareesSearchResult]; + @override + final String wireName = 'FilesSharingShareesSearchResult'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareesSearchResult object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'exact', + serializers.serialize(object.exact, specifiedType: const FullType(FilesSharingShareesSearchResult_Exact)), + 'circles', + serializers.serialize(object.circles, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeCircle)])), + 'emails', + serializers.serialize(object.emails, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)])), + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'lookup', + serializers.serialize(object.lookup, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeLookup)])), + 'remote_groups', + serializers.serialize(object.remoteGroups, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)])), + 'remotes', + serializers.serialize(object.remotes, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)])), + 'rooms', + serializers.serialize(object.rooms, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)])), + 'lookupEnabled', + serializers.serialize(object.lookupEnabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingShareesSearchResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesSearchResultBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'exact': + result.exact.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareesSearchResult_Exact))! + as FilesSharingShareesSearchResult_Exact); + break; + case 'circles': + result.circles.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeCircle)]))! as BuiltList); + break; + case 'emails': + result.emails.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)]))! as BuiltList); + break; + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'lookup': + result.lookup.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeLookup)]))! as BuiltList); + break; + case 'remote_groups': + result.remoteGroups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)]))! + as BuiltList); + break; + case 'remotes': + result.remotes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)]))! as BuiltList); + break; + case 'rooms': + result.rooms.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)]))! as BuiltList); + break; + case 'lookupEnabled': + result.lookupEnabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesapiSearchResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs, + _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingShareesSearchResult)), + ]; + + return result; + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesapiSearchResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingShareesSearchResult))! as FilesSharingShareesSearchResult); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesapiSearchResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiSearchResponse200ApplicationJson, + _$FilesSharingShareesapiSearchResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareesapiSearchResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareesapiSearchResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs))! + as FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesRecommendedResult_ExactSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesRecommendedResult_Exact, + _$FilesSharingShareesRecommendedResult_Exact + ]; + @override + final String wireName = 'FilesSharingShareesRecommendedResult_Exact'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareesRecommendedResult_Exact object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'emails', + serializers.serialize(object.emails, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)])), + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'remote_groups', + serializers.serialize(object.remoteGroups, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)])), + 'remotes', + serializers.serialize(object.remotes, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)])), + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)])), + ]; + + return result; + } + + @override + FilesSharingShareesRecommendedResult_Exact deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesRecommendedResult_ExactBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'emails': + result.emails.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)]))! as BuiltList); + break; + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'remote_groups': + result.remoteGroups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)]))! + as BuiltList); + break; + case 'remotes': + result.remotes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)]))! as BuiltList); + break; + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesRecommendedResultSerializer + implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingShareesRecommendedResult, _$FilesSharingShareesRecommendedResult]; + @override + final String wireName = 'FilesSharingShareesRecommendedResult'; + + @override + Iterable serialize(Serializers serializers, FilesSharingShareesRecommendedResult object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'exact', + serializers.serialize(object.exact, specifiedType: const FullType(FilesSharingShareesRecommendedResult_Exact)), + 'emails', + serializers.serialize(object.emails, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)])), + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)])), + 'remote_groups', + serializers.serialize(object.remoteGroups, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)])), + 'remotes', + serializers.serialize(object.remotes, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)])), + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)])), + ]; + + return result; + } + + @override + FilesSharingShareesRecommendedResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesRecommendedResultBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'exact': + result.exact.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareesRecommendedResult_Exact))! + as FilesSharingShareesRecommendedResult_Exact); + break; + case 'emails': + result.emails.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeEmail)]))! as BuiltList); + break; + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingSharee)]))! as BuiltList); + break; + case 'remote_groups': + result.remoteGroups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemoteGroup)]))! + as BuiltList); + break; + case 'remotes': + result.remotes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeRemote)]))! as BuiltList); + break; + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(FilesSharingShareeUser)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs, + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(FilesSharingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(FilesSharingShareesRecommendedResult)), + ]; + + return result; + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_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(FilesSharingOCSMeta))! + as FilesSharingOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingShareesRecommendedResult))! + as FilesSharingShareesRecommendedResult); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson, + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson + ]; + @override + final String wireName = 'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingShareesapiFindRecommendedResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder(); + + 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(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs))! + as FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_PasswordSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Public_Password, + _$FilesSharingCapabilities_FilesSharing_Public_Password + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_Password'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_Password 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)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Public_Password deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + 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; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Public_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDate'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDate object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_Public_ExpireDate deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case '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; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case '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; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote, + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case '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; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_PublicSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Public, + _$FilesSharingCapabilities_FilesSharing_Public + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Public'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Public object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_Public deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_PublicBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case '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; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDateSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_User_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_User_ExpireDate'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_User_ExpireDate object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_User_ExpireDate deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_UserSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_User, + _$FilesSharingCapabilities_FilesSharing_User + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_User'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_User object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_User deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_UserBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + 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); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDateSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Group_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Group_ExpireDate'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Group_ExpireDate object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Group_ExpireDate deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_GroupSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Group, + _$FilesSharingCapabilities_FilesSharing_Group + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Group'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Group object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + '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 + FilesSharingCapabilities_FilesSharing_Group deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_GroupBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'expire_date': + result.expireDate.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesSharingCapabilities_FilesSharing_Group_ExpireDate))! + as FilesSharingCapabilities_FilesSharing_Group_ExpireDate); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate, + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation_ExpireDate object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported, + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported'; + + @override + Iterable serialize( + Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_FederationSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Federation, + _$FilesSharingCapabilities_FilesSharing_Federation + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Federation'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Federation 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)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Federation deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_FederationBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + 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); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharing_ShareeSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + FilesSharingCapabilities_FilesSharing_Sharee, + _$FilesSharingCapabilities_FilesSharing_Sharee + ]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing_Sharee'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing_Sharee 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)), + ]; + + return result; + } + + @override + FilesSharingCapabilities_FilesSharing_Sharee deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + 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; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilities_FilesSharingSerializer + implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingCapabilities_FilesSharing, _$FilesSharingCapabilities_FilesSharing]; + @override + final String wireName = 'FilesSharingCapabilities_FilesSharing'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities_FilesSharing object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'api_enabled', + serializers.serialize(object.apiEnabled, specifiedType: const FullType(bool)), + 'public', + serializers.serialize(object.public, specifiedType: const FullType(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 + FilesSharingCapabilities_FilesSharing deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilities_FilesSharingBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + 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); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [FilesSharingCapabilities, _$FilesSharingCapabilities]; + @override + final String wireName = 'FilesSharingCapabilities'; + + @override + Iterable serialize(Serializers serializers, FilesSharingCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'files_sharing', + serializers.serialize(object.filesSharing, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing)), + ]; + + return result; + } + + @override + FilesSharingCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = FilesSharingCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'files_sharing': + result.filesSharing.replace( + serializers.deserialize(value, specifiedType: const FullType(FilesSharingCapabilities_FilesSharing))! + as FilesSharingCapabilities_FilesSharing); + break; + } + } + + return result.build(); + } +} + +class _$FilesSharingOCSMeta extends FilesSharingOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$FilesSharingOCSMeta([void Function(FilesSharingOCSMetaBuilder)? updates]) => + (FilesSharingOCSMetaBuilder()..update(updates))._build(); + + _$FilesSharingOCSMeta._( + {required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'FilesSharingOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'FilesSharingOCSMeta', 'statuscode'); + } + + @override + FilesSharingOCSMeta rebuild(void Function(FilesSharingOCSMetaBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingOCSMetaBuilder toBuilder() => FilesSharingOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class FilesSharingOCSMetaBuilder implements Builder { + _$FilesSharingOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + FilesSharingOCSMetaBuilder(); + + FilesSharingOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingOCSMeta; + } + + @override + void update(void Function(FilesSharingOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingOCSMeta build() => _build(); + + _$FilesSharingOCSMeta _build() { + final _$result = _$v ?? + _$FilesSharingOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'FilesSharingOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'FilesSharingOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingDeletedShare extends FilesSharingDeletedShare { + @override + final String id; + @override + final int shareType; + @override + final String uidOwner; + @override + final String displaynameOwner; + @override + final int permissions; + @override + final int stime; + @override + final String uidFileOwner; + @override + final String displaynameFileOwner; + @override + final String path; + @override + final String itemType; + @override + final String mimetype; + @override + final int storage; + @override + final int itemSource; + @override + final int fileSource; + @override + final int fileParent; + @override + final int fileTarget; + @override + final String? expiration; + @override + final String? shareWith; + @override + final String? shareWithDisplayname; + @override + final String? shareWithLink; + + factory _$FilesSharingDeletedShare([void Function(FilesSharingDeletedShareBuilder)? updates]) => + (FilesSharingDeletedShareBuilder()..update(updates))._build(); + + _$FilesSharingDeletedShare._( + {required this.id, + required this.shareType, + required this.uidOwner, + required this.displaynameOwner, + required this.permissions, + required this.stime, + required this.uidFileOwner, + required this.displaynameFileOwner, + required this.path, + required this.itemType, + required this.mimetype, + required this.storage, + required this.itemSource, + required this.fileSource, + required this.fileParent, + required this.fileTarget, + this.expiration, + this.shareWith, + this.shareWithDisplayname, + this.shareWithLink}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingDeletedShare', 'id'); + BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingDeletedShare', 'shareType'); + BuiltValueNullFieldError.checkNotNull(uidOwner, r'FilesSharingDeletedShare', 'uidOwner'); + BuiltValueNullFieldError.checkNotNull(displaynameOwner, r'FilesSharingDeletedShare', 'displaynameOwner'); + BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingDeletedShare', 'permissions'); + BuiltValueNullFieldError.checkNotNull(stime, r'FilesSharingDeletedShare', 'stime'); + BuiltValueNullFieldError.checkNotNull(uidFileOwner, r'FilesSharingDeletedShare', 'uidFileOwner'); + BuiltValueNullFieldError.checkNotNull(displaynameFileOwner, r'FilesSharingDeletedShare', 'displaynameFileOwner'); + BuiltValueNullFieldError.checkNotNull(path, r'FilesSharingDeletedShare', 'path'); + BuiltValueNullFieldError.checkNotNull(itemType, r'FilesSharingDeletedShare', 'itemType'); + BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingDeletedShare', 'mimetype'); + BuiltValueNullFieldError.checkNotNull(storage, r'FilesSharingDeletedShare', 'storage'); + BuiltValueNullFieldError.checkNotNull(itemSource, r'FilesSharingDeletedShare', 'itemSource'); + BuiltValueNullFieldError.checkNotNull(fileSource, r'FilesSharingDeletedShare', 'fileSource'); + BuiltValueNullFieldError.checkNotNull(fileParent, r'FilesSharingDeletedShare', 'fileParent'); + BuiltValueNullFieldError.checkNotNull(fileTarget, r'FilesSharingDeletedShare', 'fileTarget'); + } + + @override + FilesSharingDeletedShare rebuild(void Function(FilesSharingDeletedShareBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingDeletedShareBuilder toBuilder() => FilesSharingDeletedShareBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingDeletedShare && + id == other.id && + shareType == other.shareType && + uidOwner == other.uidOwner && + displaynameOwner == other.displaynameOwner && + permissions == other.permissions && + stime == other.stime && + uidFileOwner == other.uidFileOwner && + displaynameFileOwner == other.displaynameFileOwner && + path == other.path && + itemType == other.itemType && + mimetype == other.mimetype && + storage == other.storage && + itemSource == other.itemSource && + fileSource == other.fileSource && + fileParent == other.fileParent && + fileTarget == other.fileTarget && + expiration == other.expiration && + shareWith == other.shareWith && + shareWithDisplayname == other.shareWithDisplayname && + shareWithLink == other.shareWithLink; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, shareType.hashCode); + _$hash = $jc(_$hash, uidOwner.hashCode); + _$hash = $jc(_$hash, displaynameOwner.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, stime.hashCode); + _$hash = $jc(_$hash, uidFileOwner.hashCode); + _$hash = $jc(_$hash, displaynameFileOwner.hashCode); + _$hash = $jc(_$hash, path.hashCode); + _$hash = $jc(_$hash, itemType.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, storage.hashCode); + _$hash = $jc(_$hash, itemSource.hashCode); + _$hash = $jc(_$hash, fileSource.hashCode); + _$hash = $jc(_$hash, fileParent.hashCode); + _$hash = $jc(_$hash, fileTarget.hashCode); + _$hash = $jc(_$hash, expiration.hashCode); + _$hash = $jc(_$hash, shareWith.hashCode); + _$hash = $jc(_$hash, shareWithDisplayname.hashCode); + _$hash = $jc(_$hash, shareWithLink.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingDeletedShare') + ..add('id', id) + ..add('shareType', shareType) + ..add('uidOwner', uidOwner) + ..add('displaynameOwner', displaynameOwner) + ..add('permissions', permissions) + ..add('stime', stime) + ..add('uidFileOwner', uidFileOwner) + ..add('displaynameFileOwner', displaynameFileOwner) + ..add('path', path) + ..add('itemType', itemType) + ..add('mimetype', mimetype) + ..add('storage', storage) + ..add('itemSource', itemSource) + ..add('fileSource', fileSource) + ..add('fileParent', fileParent) + ..add('fileTarget', fileTarget) + ..add('expiration', expiration) + ..add('shareWith', shareWith) + ..add('shareWithDisplayname', shareWithDisplayname) + ..add('shareWithLink', shareWithLink)) + .toString(); + } +} + +class FilesSharingDeletedShareBuilder implements Builder { + _$FilesSharingDeletedShare? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _shareType; + int? get shareType => _$this._shareType; + set shareType(int? shareType) => _$this._shareType = shareType; + + String? _uidOwner; + String? get uidOwner => _$this._uidOwner; + set uidOwner(String? uidOwner) => _$this._uidOwner = uidOwner; + + String? _displaynameOwner; + String? get displaynameOwner => _$this._displaynameOwner; + set displaynameOwner(String? displaynameOwner) => _$this._displaynameOwner = displaynameOwner; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(int? permissions) => _$this._permissions = permissions; + + int? _stime; + int? get stime => _$this._stime; + set stime(int? stime) => _$this._stime = stime; + + String? _uidFileOwner; + String? get uidFileOwner => _$this._uidFileOwner; + set uidFileOwner(String? uidFileOwner) => _$this._uidFileOwner = uidFileOwner; + + String? _displaynameFileOwner; + String? get displaynameFileOwner => _$this._displaynameFileOwner; + set displaynameFileOwner(String? displaynameFileOwner) => _$this._displaynameFileOwner = displaynameFileOwner; + + String? _path; + String? get path => _$this._path; + set path(String? path) => _$this._path = path; + + String? _itemType; + String? get itemType => _$this._itemType; + set itemType(String? itemType) => _$this._itemType = itemType; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(String? mimetype) => _$this._mimetype = mimetype; + + int? _storage; + int? get storage => _$this._storage; + set storage(int? storage) => _$this._storage = storage; + + int? _itemSource; + int? get itemSource => _$this._itemSource; + set itemSource(int? itemSource) => _$this._itemSource = itemSource; + + int? _fileSource; + int? get fileSource => _$this._fileSource; + set fileSource(int? fileSource) => _$this._fileSource = fileSource; + + int? _fileParent; + int? get fileParent => _$this._fileParent; + set fileParent(int? fileParent) => _$this._fileParent = fileParent; + + int? _fileTarget; + int? get fileTarget => _$this._fileTarget; + set fileTarget(int? fileTarget) => _$this._fileTarget = fileTarget; + + String? _expiration; + String? get expiration => _$this._expiration; + set expiration(String? expiration) => _$this._expiration = expiration; + + String? _shareWith; + String? get shareWith => _$this._shareWith; + set shareWith(String? shareWith) => _$this._shareWith = shareWith; + + String? _shareWithDisplayname; + String? get shareWithDisplayname => _$this._shareWithDisplayname; + set shareWithDisplayname(String? shareWithDisplayname) => _$this._shareWithDisplayname = shareWithDisplayname; + + String? _shareWithLink; + String? get shareWithLink => _$this._shareWithLink; + set shareWithLink(String? shareWithLink) => _$this._shareWithLink = shareWithLink; + + FilesSharingDeletedShareBuilder(); + + FilesSharingDeletedShareBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _shareType = $v.shareType; + _uidOwner = $v.uidOwner; + _displaynameOwner = $v.displaynameOwner; + _permissions = $v.permissions; + _stime = $v.stime; + _uidFileOwner = $v.uidFileOwner; + _displaynameFileOwner = $v.displaynameFileOwner; + _path = $v.path; + _itemType = $v.itemType; + _mimetype = $v.mimetype; + _storage = $v.storage; + _itemSource = $v.itemSource; + _fileSource = $v.fileSource; + _fileParent = $v.fileParent; + _fileTarget = $v.fileTarget; + _expiration = $v.expiration; + _shareWith = $v.shareWith; + _shareWithDisplayname = $v.shareWithDisplayname; + _shareWithLink = $v.shareWithLink; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingDeletedShare other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingDeletedShare; + } + + @override + void update(void Function(FilesSharingDeletedShareBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingDeletedShare build() => _build(); + + _$FilesSharingDeletedShare _build() { + final _$result = _$v ?? + _$FilesSharingDeletedShare._( + id: BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingDeletedShare', 'id'), + shareType: BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingDeletedShare', 'shareType'), + uidOwner: BuiltValueNullFieldError.checkNotNull(uidOwner, r'FilesSharingDeletedShare', 'uidOwner'), + displaynameOwner: BuiltValueNullFieldError.checkNotNull( + displaynameOwner, r'FilesSharingDeletedShare', 'displaynameOwner'), + permissions: BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingDeletedShare', 'permissions'), + stime: BuiltValueNullFieldError.checkNotNull(stime, r'FilesSharingDeletedShare', 'stime'), + uidFileOwner: + BuiltValueNullFieldError.checkNotNull(uidFileOwner, r'FilesSharingDeletedShare', 'uidFileOwner'), + displaynameFileOwner: BuiltValueNullFieldError.checkNotNull( + displaynameFileOwner, r'FilesSharingDeletedShare', 'displaynameFileOwner'), + path: BuiltValueNullFieldError.checkNotNull(path, r'FilesSharingDeletedShare', 'path'), + itemType: BuiltValueNullFieldError.checkNotNull(itemType, r'FilesSharingDeletedShare', 'itemType'), + mimetype: BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingDeletedShare', 'mimetype'), + storage: BuiltValueNullFieldError.checkNotNull(storage, r'FilesSharingDeletedShare', 'storage'), + itemSource: BuiltValueNullFieldError.checkNotNull(itemSource, r'FilesSharingDeletedShare', 'itemSource'), + fileSource: BuiltValueNullFieldError.checkNotNull(fileSource, r'FilesSharingDeletedShare', 'fileSource'), + fileParent: BuiltValueNullFieldError.checkNotNull(fileParent, r'FilesSharingDeletedShare', 'fileParent'), + fileTarget: BuiltValueNullFieldError.checkNotNull(fileTarget, r'FilesSharingDeletedShare', 'fileTarget'), + expiration: expiration, + shareWith: shareWith, + shareWithDisplayname: shareWithDisplayname, + shareWithLink: shareWithLink); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs + extends FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs( + [void Function(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder(); + + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs _build() { + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingDeletedShareapiListResponse200ApplicationJson_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'FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingDeletedShareapiListResponse200ApplicationJson + extends FilesSharingDeletedShareapiListResponse200ApplicationJson { + @override + final FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingDeletedShareapiListResponse200ApplicationJson( + [void Function(FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingDeletedShareapiListResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingDeletedShareapiListResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson rebuild( + void Function(FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingDeletedShareapiListResponse200ApplicationJson && 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'FilesSharingDeletedShareapiListResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingDeletedShareapiListResponse200ApplicationJson? _$v; + + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder(); + + FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingDeletedShareapiListResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingDeletedShareapiListResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingDeletedShareapiListResponse200ApplicationJson build() => _build(); + + _$FilesSharingDeletedShareapiListResponse200ApplicationJson _build() { + _$FilesSharingDeletedShareapiListResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingDeletedShareapiListResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingDeletedShareapiListResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs + extends FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs( + [void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder(); + + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs _build() { + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson + extends FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson { + @override + final FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson( + [void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson rebuild( + void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson && 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'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson? _$v; + + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder(); + + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson build() => _build(); + + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson _build() { + _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteShare extends FilesSharingRemoteShare { + @override + final bool accepted; + @override + final int? fileId; + @override + final int id; + @override + final String? mimetype; + @override + final String mountpoint; + @override + final int? mtime; + @override + final String name; + @override + final String owner; + @override + final int? parent; + @override + final int? permissions; + @override + final String remote; + @override + final String remoteId; + @override + final String shareToken; + @override + final int shareType; + @override + final String? type; + @override + final String user; + + factory _$FilesSharingRemoteShare([void Function(FilesSharingRemoteShareBuilder)? updates]) => + (FilesSharingRemoteShareBuilder()..update(updates))._build(); + + _$FilesSharingRemoteShare._( + {required this.accepted, + this.fileId, + required this.id, + this.mimetype, + required this.mountpoint, + this.mtime, + required this.name, + required this.owner, + this.parent, + this.permissions, + required this.remote, + required this.remoteId, + required this.shareToken, + required this.shareType, + this.type, + required this.user}) + : super._() { + BuiltValueNullFieldError.checkNotNull(accepted, r'FilesSharingRemoteShare', 'accepted'); + BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingRemoteShare', 'id'); + BuiltValueNullFieldError.checkNotNull(mountpoint, r'FilesSharingRemoteShare', 'mountpoint'); + BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingRemoteShare', 'name'); + BuiltValueNullFieldError.checkNotNull(owner, r'FilesSharingRemoteShare', 'owner'); + BuiltValueNullFieldError.checkNotNull(remote, r'FilesSharingRemoteShare', 'remote'); + BuiltValueNullFieldError.checkNotNull(remoteId, r'FilesSharingRemoteShare', 'remoteId'); + BuiltValueNullFieldError.checkNotNull(shareToken, r'FilesSharingRemoteShare', 'shareToken'); + BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingRemoteShare', 'shareType'); + BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingRemoteShare', 'user'); + } + + @override + FilesSharingRemoteShare rebuild(void Function(FilesSharingRemoteShareBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteShareBuilder toBuilder() => FilesSharingRemoteShareBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteShare && + accepted == other.accepted && + fileId == other.fileId && + id == other.id && + mimetype == other.mimetype && + mountpoint == other.mountpoint && + mtime == other.mtime && + name == other.name && + owner == other.owner && + parent == other.parent && + permissions == other.permissions && + remote == other.remote && + remoteId == other.remoteId && + shareToken == other.shareToken && + shareType == other.shareType && + type == other.type && + user == other.user; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, accepted.hashCode); + _$hash = $jc(_$hash, fileId.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, mountpoint.hashCode); + _$hash = $jc(_$hash, mtime.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, owner.hashCode); + _$hash = $jc(_$hash, parent.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, remote.hashCode); + _$hash = $jc(_$hash, remoteId.hashCode); + _$hash = $jc(_$hash, shareToken.hashCode); + _$hash = $jc(_$hash, shareType.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, user.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteShare') + ..add('accepted', accepted) + ..add('fileId', fileId) + ..add('id', id) + ..add('mimetype', mimetype) + ..add('mountpoint', mountpoint) + ..add('mtime', mtime) + ..add('name', name) + ..add('owner', owner) + ..add('parent', parent) + ..add('permissions', permissions) + ..add('remote', remote) + ..add('remoteId', remoteId) + ..add('shareToken', shareToken) + ..add('shareType', shareType) + ..add('type', type) + ..add('user', user)) + .toString(); + } +} + +class FilesSharingRemoteShareBuilder implements Builder { + _$FilesSharingRemoteShare? _$v; + + bool? _accepted; + bool? get accepted => _$this._accepted; + set accepted(bool? accepted) => _$this._accepted = accepted; + + int? _fileId; + int? get fileId => _$this._fileId; + set fileId(int? fileId) => _$this._fileId = fileId; + + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(String? mimetype) => _$this._mimetype = mimetype; + + String? _mountpoint; + String? get mountpoint => _$this._mountpoint; + set mountpoint(String? mountpoint) => _$this._mountpoint = mountpoint; + + int? _mtime; + int? get mtime => _$this._mtime; + set mtime(int? mtime) => _$this._mtime = mtime; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _owner; + String? get owner => _$this._owner; + set owner(String? owner) => _$this._owner = owner; + + int? _parent; + int? get parent => _$this._parent; + set parent(int? parent) => _$this._parent = parent; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(int? permissions) => _$this._permissions = permissions; + + String? _remote; + String? get remote => _$this._remote; + set remote(String? remote) => _$this._remote = remote; + + String? _remoteId; + String? get remoteId => _$this._remoteId; + set remoteId(String? remoteId) => _$this._remoteId = remoteId; + + String? _shareToken; + String? get shareToken => _$this._shareToken; + set shareToken(String? shareToken) => _$this._shareToken = shareToken; + + int? _shareType; + int? get shareType => _$this._shareType; + set shareType(int? shareType) => _$this._shareType = shareType; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _user; + String? get user => _$this._user; + set user(String? user) => _$this._user = user; + + FilesSharingRemoteShareBuilder(); + + FilesSharingRemoteShareBuilder get _$this { + final $v = _$v; + if ($v != null) { + _accepted = $v.accepted; + _fileId = $v.fileId; + _id = $v.id; + _mimetype = $v.mimetype; + _mountpoint = $v.mountpoint; + _mtime = $v.mtime; + _name = $v.name; + _owner = $v.owner; + _parent = $v.parent; + _permissions = $v.permissions; + _remote = $v.remote; + _remoteId = $v.remoteId; + _shareToken = $v.shareToken; + _shareType = $v.shareType; + _type = $v.type; + _user = $v.user; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteShare other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteShare; + } + + @override + void update(void Function(FilesSharingRemoteShareBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteShare build() => _build(); + + _$FilesSharingRemoteShare _build() { + final _$result = _$v ?? + _$FilesSharingRemoteShare._( + accepted: BuiltValueNullFieldError.checkNotNull(accepted, r'FilesSharingRemoteShare', 'accepted'), + fileId: fileId, + id: BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingRemoteShare', 'id'), + mimetype: mimetype, + mountpoint: BuiltValueNullFieldError.checkNotNull(mountpoint, r'FilesSharingRemoteShare', 'mountpoint'), + mtime: mtime, + name: BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingRemoteShare', 'name'), + owner: BuiltValueNullFieldError.checkNotNull(owner, r'FilesSharingRemoteShare', 'owner'), + parent: parent, + permissions: permissions, + remote: BuiltValueNullFieldError.checkNotNull(remote, r'FilesSharingRemoteShare', 'remote'), + remoteId: BuiltValueNullFieldError.checkNotNull(remoteId, r'FilesSharingRemoteShare', 'remoteId'), + shareToken: BuiltValueNullFieldError.checkNotNull(shareToken, r'FilesSharingRemoteShare', 'shareToken'), + shareType: BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingRemoteShare', 'shareType'), + type: type, + user: BuiltValueNullFieldError.checkNotNull(user, r'FilesSharingRemoteShare', 'user')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs + extends FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$FilesSharingRemoteGetSharesResponse200ApplicationJson_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'FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetSharesResponse200ApplicationJson + extends FilesSharingRemoteGetSharesResponse200ApplicationJson { + @override + final FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteGetSharesResponse200ApplicationJson( + [void Function(FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetSharesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteGetSharesResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetSharesResponse200ApplicationJson && 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'FilesSharingRemoteGetSharesResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteGetSharesResponse200ApplicationJson? _$v; + + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetSharesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetSharesResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetSharesResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteGetSharesResponse200ApplicationJson _build() { + _$FilesSharingRemoteGetSharesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteGetSharesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteGetSharesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs + extends FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_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'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson + extends FilesSharingRemoteGetOpenSharesResponse200ApplicationJson { + @override + final FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson( + [void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetOpenSharesResponse200ApplicationJson && 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'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson? _$v; + + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetOpenSharesResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson _build() { + _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteGetOpenSharesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs + extends FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteAcceptShareResponse200ApplicationJson + extends FilesSharingRemoteAcceptShareResponse200ApplicationJson { + @override + final FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteAcceptShareResponse200ApplicationJson( + [void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteAcceptShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteAcceptShareResponse200ApplicationJson && 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'FilesSharingRemoteAcceptShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson? _$v; + + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteAcceptShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteAcceptShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteAcceptShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson _build() { + _$FilesSharingRemoteAcceptShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteAcceptShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteAcceptShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs + extends FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteDeclineShareResponse200ApplicationJson + extends FilesSharingRemoteDeclineShareResponse200ApplicationJson { + @override + final FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteDeclineShareResponse200ApplicationJson( + [void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteDeclineShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteDeclineShareResponse200ApplicationJson && 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'FilesSharingRemoteDeclineShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson? _$v; + + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteDeclineShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteDeclineShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteDeclineShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson _build() { + _$FilesSharingRemoteDeclineShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteDeclineShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteDeclineShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs + extends FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingRemoteShare data; + + factory _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingRemoteShareBuilder? _data; + FilesSharingRemoteShareBuilder get data => _$this._data ??= FilesSharingRemoteShareBuilder(); + set data(FilesSharingRemoteShareBuilder? data) => _$this._data = data; + + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$FilesSharingRemoteGetShareResponse200ApplicationJson_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'FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteGetShareResponse200ApplicationJson + extends FilesSharingRemoteGetShareResponse200ApplicationJson { + @override + final FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteGetShareResponse200ApplicationJson( + [void Function(FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteGetShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteGetShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteGetShareResponse200ApplicationJson && 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'FilesSharingRemoteGetShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteGetShareResponse200ApplicationJson? _$v; + + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteGetShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteGetShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteGetShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteGetShareResponse200ApplicationJson _build() { + _$FilesSharingRemoteGetShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteGetShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteGetShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs + extends FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingRemoteUnshareResponse200ApplicationJson + extends FilesSharingRemoteUnshareResponse200ApplicationJson { + @override + final FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingRemoteUnshareResponse200ApplicationJson( + [void Function(FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingRemoteUnshareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingRemoteUnshareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson rebuild( + void Function(FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingRemoteUnshareResponse200ApplicationJson && 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'FilesSharingRemoteUnshareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingRemoteUnshareResponse200ApplicationJson? _$v; + + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder(); + + FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingRemoteUnshareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingRemoteUnshareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingRemoteUnshareResponse200ApplicationJson build() => _build(); + + _$FilesSharingRemoteUnshareResponse200ApplicationJson _build() { + _$FilesSharingRemoteUnshareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingRemoteUnshareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingRemoteUnshareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareInfo_Size extends FilesSharingShareInfo_Size { + @override + final JsonObject data; + @override + final int? $int; + @override + final num? $num; + + factory _$FilesSharingShareInfo_Size([void Function(FilesSharingShareInfo_SizeBuilder)? updates]) => + (FilesSharingShareInfo_SizeBuilder()..update(updates))._build(); + + _$FilesSharingShareInfo_Size._({required this.data, this.$int, this.$num}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareInfo_Size', 'data'); + } + + @override + FilesSharingShareInfo_Size rebuild(void Function(FilesSharingShareInfo_SizeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareInfo_SizeBuilder toBuilder() => FilesSharingShareInfo_SizeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareInfo_Size && data == other.data && $int == other.$int && $num == other.$num; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, $num.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareInfo_Size') + ..add('data', data) + ..add('\$int', $int) + ..add('\$num', $num)) + .toString(); + } +} + +class FilesSharingShareInfo_SizeBuilder + implements Builder { + _$FilesSharingShareInfo_Size? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + num? _$num; + num? get $num => _$this._$num; + set $num(num? $num) => _$this._$num = $num; + + FilesSharingShareInfo_SizeBuilder(); + + FilesSharingShareInfo_SizeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$int = $v.$int; + _$num = $v.$num; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareInfo_Size other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareInfo_Size; + } + + @override + void update(void Function(FilesSharingShareInfo_SizeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareInfo_Size build() => _build(); + + _$FilesSharingShareInfo_Size _build() { + final _$result = _$v ?? + _$FilesSharingShareInfo_Size._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareInfo_Size', 'data'), + $int: $int, + $num: $num); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareInfo extends FilesSharingShareInfo { + @override + final int id; + @override + final int parentId; + @override + final int mtime; + @override + final String name; + @override + final int permissions; + @override + final String mimetype; + @override + final FilesSharingShareInfo_Size size; + @override + final String type; + @override + final String etag; + @override + final BuiltList>? children; + + factory _$FilesSharingShareInfo([void Function(FilesSharingShareInfoBuilder)? updates]) => + (FilesSharingShareInfoBuilder()..update(updates))._build(); + + _$FilesSharingShareInfo._( + {required this.id, + required this.parentId, + required this.mtime, + required this.name, + required this.permissions, + required this.mimetype, + required this.size, + required this.type, + required this.etag, + this.children}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingShareInfo', 'id'); + BuiltValueNullFieldError.checkNotNull(parentId, r'FilesSharingShareInfo', 'parentId'); + BuiltValueNullFieldError.checkNotNull(mtime, r'FilesSharingShareInfo', 'mtime'); + BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareInfo', 'name'); + BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingShareInfo', 'permissions'); + BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingShareInfo', 'mimetype'); + BuiltValueNullFieldError.checkNotNull(size, r'FilesSharingShareInfo', 'size'); + BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareInfo', 'type'); + BuiltValueNullFieldError.checkNotNull(etag, r'FilesSharingShareInfo', 'etag'); + } + + @override + FilesSharingShareInfo rebuild(void Function(FilesSharingShareInfoBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareInfoBuilder toBuilder() => FilesSharingShareInfoBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareInfo && + id == other.id && + parentId == other.parentId && + mtime == other.mtime && + name == other.name && + permissions == other.permissions && + mimetype == other.mimetype && + size == other.size && + type == other.type && + etag == other.etag && + children == other.children; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, parentId.hashCode); + _$hash = $jc(_$hash, mtime.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, size.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, etag.hashCode); + _$hash = $jc(_$hash, children.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareInfo') + ..add('id', id) + ..add('parentId', parentId) + ..add('mtime', mtime) + ..add('name', name) + ..add('permissions', permissions) + ..add('mimetype', mimetype) + ..add('size', size) + ..add('type', type) + ..add('etag', etag) + ..add('children', children)) + .toString(); + } +} + +class FilesSharingShareInfoBuilder implements Builder { + _$FilesSharingShareInfo? _$v; + + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; + + int? _parentId; + int? get parentId => _$this._parentId; + set parentId(int? parentId) => _$this._parentId = parentId; + + int? _mtime; + int? get mtime => _$this._mtime; + set mtime(int? mtime) => _$this._mtime = mtime; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(int? permissions) => _$this._permissions = permissions; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(String? mimetype) => _$this._mimetype = mimetype; + + FilesSharingShareInfo_SizeBuilder? _size; + FilesSharingShareInfo_SizeBuilder get size => _$this._size ??= FilesSharingShareInfo_SizeBuilder(); + set size(FilesSharingShareInfo_SizeBuilder? size) => _$this._size = size; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _etag; + String? get etag => _$this._etag; + set etag(String? etag) => _$this._etag = etag; + + ListBuilder>? _children; + ListBuilder> get children => + _$this._children ??= ListBuilder>(); + set children(ListBuilder>? children) => _$this._children = children; + + FilesSharingShareInfoBuilder(); + + FilesSharingShareInfoBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _parentId = $v.parentId; + _mtime = $v.mtime; + _name = $v.name; + _permissions = $v.permissions; + _mimetype = $v.mimetype; + _size = $v.size.toBuilder(); + _type = $v.type; + _etag = $v.etag; + _children = $v.children?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareInfo other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareInfo; + } + + @override + void update(void Function(FilesSharingShareInfoBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareInfo build() => _build(); + + _$FilesSharingShareInfo _build() { + _$FilesSharingShareInfo _$result; + try { + _$result = _$v ?? + _$FilesSharingShareInfo._( + id: BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingShareInfo', 'id'), + parentId: BuiltValueNullFieldError.checkNotNull(parentId, r'FilesSharingShareInfo', 'parentId'), + mtime: BuiltValueNullFieldError.checkNotNull(mtime, r'FilesSharingShareInfo', 'mtime'), + name: BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareInfo', 'name'), + permissions: BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingShareInfo', 'permissions'), + mimetype: BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingShareInfo', 'mimetype'), + size: size.build(), + type: BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareInfo', 'type'), + etag: BuiltValueNullFieldError.checkNotNull(etag, r'FilesSharingShareInfo', 'etag'), + children: _children?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'size'; + size.build(); + + _$failedField = 'children'; + _children?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareInfo', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShare_ItemSize extends FilesSharingShare_ItemSize { + @override + final JsonObject data; + @override + final num? $num; + @override + final int? $int; + + factory _$FilesSharingShare_ItemSize([void Function(FilesSharingShare_ItemSizeBuilder)? updates]) => + (FilesSharingShare_ItemSizeBuilder()..update(updates))._build(); + + _$FilesSharingShare_ItemSize._({required this.data, this.$num, this.$int}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShare_ItemSize', 'data'); + } + + @override + FilesSharingShare_ItemSize rebuild(void Function(FilesSharingShare_ItemSizeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShare_ItemSizeBuilder toBuilder() => FilesSharingShare_ItemSizeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShare_ItemSize && data == other.data && $num == other.$num && $int == other.$int; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $num.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShare_ItemSize') + ..add('data', data) + ..add('\$num', $num) + ..add('\$int', $int)) + .toString(); + } +} + +class FilesSharingShare_ItemSizeBuilder + implements Builder { + _$FilesSharingShare_ItemSize? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + num? _$num; + num? get $num => _$this._$num; + set $num(num? $num) => _$this._$num = $num; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + FilesSharingShare_ItemSizeBuilder(); + + FilesSharingShare_ItemSizeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$num = $v.$num; + _$int = $v.$int; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShare_ItemSize other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShare_ItemSize; + } + + @override + void update(void Function(FilesSharingShare_ItemSizeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShare_ItemSize build() => _build(); + + _$FilesSharingShare_ItemSize _build() { + final _$result = _$v ?? + _$FilesSharingShare_ItemSize._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShare_ItemSize', 'data'), + $num: $num, + $int: $int); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShare_Status extends FilesSharingShare_Status { + @override + final int? clearAt; + @override + final String? icon; + @override + final String? message; + @override + final String? status; + + factory _$FilesSharingShare_Status([void Function(FilesSharingShare_StatusBuilder)? updates]) => + (FilesSharingShare_StatusBuilder()..update(updates))._build(); + + _$FilesSharingShare_Status._({this.clearAt, this.icon, this.message, this.status}) : super._(); + + @override + FilesSharingShare_Status rebuild(void Function(FilesSharingShare_StatusBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShare_StatusBuilder toBuilder() => FilesSharingShare_StatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShare_Status && + clearAt == other.clearAt && + icon == other.icon && + message == other.message && + status == other.status; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShare_Status') + ..add('clearAt', clearAt) + ..add('icon', icon) + ..add('message', message) + ..add('status', status)) + .toString(); + } +} + +class FilesSharingShare_StatusBuilder implements Builder { + _$FilesSharingShare_Status? _$v; + + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(int? clearAt) => _$this._clearAt = clearAt; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + FilesSharingShare_StatusBuilder(); + + FilesSharingShare_StatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clearAt = $v.clearAt; + _icon = $v.icon; + _message = $v.message; + _status = $v.status; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShare_Status other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShare_Status; + } + + @override + void update(void Function(FilesSharingShare_StatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShare_Status build() => _build(); + + _$FilesSharingShare_Status _build() { + final _$result = + _$v ?? _$FilesSharingShare_Status._(clearAt: clearAt, icon: icon, message: message, status: status); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShare extends FilesSharingShare { + @override + final String? attributes; + @override + final bool canDelete; + @override + final bool canEdit; + @override + final String displaynameFileOwner; + @override + final String displaynameOwner; + @override + final String? expiration; + @override + final int fileParent; + @override + final int fileSource; + @override + final String fileTarget; + @override + final bool hasPreview; + @override + final int hideDownload; + @override + final String id; + @override + final int itemMtime; + @override + final int? itemPermissions; + @override + final FilesSharingShare_ItemSize itemSize; + @override + final int itemSource; + @override + final FilesSharingShare_ItemType itemType; + @override + final String label; + @override + final int mailSend; + @override + final String mimetype; + @override + final String note; + @override + final JsonObject? parent; + @override + final String? password; + @override + final String? passwordExpirationTime; + @override + final String? path; + @override + final int permissions; + @override + final bool? sendPasswordByTalk; + @override + final int shareType; + @override + final String? shareWith; + @override + final String? shareWithAvatar; + @override + final String? shareWithDisplayname; + @override + final String? shareWithDisplaynameUnique; + @override + final String? shareWithLink; + @override + final FilesSharingShare_Status? status; + @override + final int stime; + @override + final int storage; + @override + final String storageId; + @override + final String? token; + @override + final String uidFileOwner; + @override + final String uidOwner; + @override + final String? url; + + factory _$FilesSharingShare([void Function(FilesSharingShareBuilder)? updates]) => + (FilesSharingShareBuilder()..update(updates))._build(); + + _$FilesSharingShare._( + {this.attributes, + required this.canDelete, + required this.canEdit, + required this.displaynameFileOwner, + required this.displaynameOwner, + this.expiration, + required this.fileParent, + required this.fileSource, + required this.fileTarget, + required this.hasPreview, + required this.hideDownload, + required this.id, + required this.itemMtime, + this.itemPermissions, + required this.itemSize, + required this.itemSource, + required this.itemType, + required this.label, + required this.mailSend, + required this.mimetype, + required this.note, + this.parent, + this.password, + this.passwordExpirationTime, + this.path, + required this.permissions, + this.sendPasswordByTalk, + required this.shareType, + this.shareWith, + this.shareWithAvatar, + this.shareWithDisplayname, + this.shareWithDisplaynameUnique, + this.shareWithLink, + this.status, + required this.stime, + required this.storage, + required this.storageId, + this.token, + required this.uidFileOwner, + required this.uidOwner, + this.url}) + : super._() { + BuiltValueNullFieldError.checkNotNull(canDelete, r'FilesSharingShare', 'canDelete'); + BuiltValueNullFieldError.checkNotNull(canEdit, r'FilesSharingShare', 'canEdit'); + BuiltValueNullFieldError.checkNotNull(displaynameFileOwner, r'FilesSharingShare', 'displaynameFileOwner'); + BuiltValueNullFieldError.checkNotNull(displaynameOwner, r'FilesSharingShare', 'displaynameOwner'); + BuiltValueNullFieldError.checkNotNull(fileParent, r'FilesSharingShare', 'fileParent'); + BuiltValueNullFieldError.checkNotNull(fileSource, r'FilesSharingShare', 'fileSource'); + BuiltValueNullFieldError.checkNotNull(fileTarget, r'FilesSharingShare', 'fileTarget'); + BuiltValueNullFieldError.checkNotNull(hasPreview, r'FilesSharingShare', 'hasPreview'); + BuiltValueNullFieldError.checkNotNull(hideDownload, r'FilesSharingShare', 'hideDownload'); + BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingShare', 'id'); + BuiltValueNullFieldError.checkNotNull(itemMtime, r'FilesSharingShare', 'itemMtime'); + BuiltValueNullFieldError.checkNotNull(itemSize, r'FilesSharingShare', 'itemSize'); + BuiltValueNullFieldError.checkNotNull(itemSource, r'FilesSharingShare', 'itemSource'); + BuiltValueNullFieldError.checkNotNull(itemType, r'FilesSharingShare', 'itemType'); + BuiltValueNullFieldError.checkNotNull(label, r'FilesSharingShare', 'label'); + BuiltValueNullFieldError.checkNotNull(mailSend, r'FilesSharingShare', 'mailSend'); + BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingShare', 'mimetype'); + BuiltValueNullFieldError.checkNotNull(note, r'FilesSharingShare', 'note'); + BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingShare', 'permissions'); + BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingShare', 'shareType'); + BuiltValueNullFieldError.checkNotNull(stime, r'FilesSharingShare', 'stime'); + BuiltValueNullFieldError.checkNotNull(storage, r'FilesSharingShare', 'storage'); + BuiltValueNullFieldError.checkNotNull(storageId, r'FilesSharingShare', 'storageId'); + BuiltValueNullFieldError.checkNotNull(uidFileOwner, r'FilesSharingShare', 'uidFileOwner'); + BuiltValueNullFieldError.checkNotNull(uidOwner, r'FilesSharingShare', 'uidOwner'); + } + + @override + FilesSharingShare rebuild(void Function(FilesSharingShareBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareBuilder toBuilder() => FilesSharingShareBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShare && + attributes == other.attributes && + canDelete == other.canDelete && + canEdit == other.canEdit && + displaynameFileOwner == other.displaynameFileOwner && + displaynameOwner == other.displaynameOwner && + expiration == other.expiration && + fileParent == other.fileParent && + fileSource == other.fileSource && + fileTarget == other.fileTarget && + hasPreview == other.hasPreview && + hideDownload == other.hideDownload && + id == other.id && + itemMtime == other.itemMtime && + itemPermissions == other.itemPermissions && + itemSize == other.itemSize && + itemSource == other.itemSource && + itemType == other.itemType && + label == other.label && + mailSend == other.mailSend && + mimetype == other.mimetype && + note == other.note && + parent == other.parent && + password == other.password && + passwordExpirationTime == other.passwordExpirationTime && + path == other.path && + permissions == other.permissions && + sendPasswordByTalk == other.sendPasswordByTalk && + shareType == other.shareType && + shareWith == other.shareWith && + shareWithAvatar == other.shareWithAvatar && + shareWithDisplayname == other.shareWithDisplayname && + shareWithDisplaynameUnique == other.shareWithDisplaynameUnique && + shareWithLink == other.shareWithLink && + status == other.status && + stime == other.stime && + storage == other.storage && + storageId == other.storageId && + token == other.token && + uidFileOwner == other.uidFileOwner && + uidOwner == other.uidOwner && + url == other.url; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, attributes.hashCode); + _$hash = $jc(_$hash, canDelete.hashCode); + _$hash = $jc(_$hash, canEdit.hashCode); + _$hash = $jc(_$hash, displaynameFileOwner.hashCode); + _$hash = $jc(_$hash, displaynameOwner.hashCode); + _$hash = $jc(_$hash, expiration.hashCode); + _$hash = $jc(_$hash, fileParent.hashCode); + _$hash = $jc(_$hash, fileSource.hashCode); + _$hash = $jc(_$hash, fileTarget.hashCode); + _$hash = $jc(_$hash, hasPreview.hashCode); + _$hash = $jc(_$hash, hideDownload.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, itemMtime.hashCode); + _$hash = $jc(_$hash, itemPermissions.hashCode); + _$hash = $jc(_$hash, itemSize.hashCode); + _$hash = $jc(_$hash, itemSource.hashCode); + _$hash = $jc(_$hash, itemType.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, mailSend.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, note.hashCode); + _$hash = $jc(_$hash, parent.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, passwordExpirationTime.hashCode); + _$hash = $jc(_$hash, path.hashCode); + _$hash = $jc(_$hash, permissions.hashCode); + _$hash = $jc(_$hash, sendPasswordByTalk.hashCode); + _$hash = $jc(_$hash, shareType.hashCode); + _$hash = $jc(_$hash, shareWith.hashCode); + _$hash = $jc(_$hash, shareWithAvatar.hashCode); + _$hash = $jc(_$hash, shareWithDisplayname.hashCode); + _$hash = $jc(_$hash, shareWithDisplaynameUnique.hashCode); + _$hash = $jc(_$hash, shareWithLink.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, stime.hashCode); + _$hash = $jc(_$hash, storage.hashCode); + _$hash = $jc(_$hash, storageId.hashCode); + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, uidFileOwner.hashCode); + _$hash = $jc(_$hash, uidOwner.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShare') + ..add('attributes', attributes) + ..add('canDelete', canDelete) + ..add('canEdit', canEdit) + ..add('displaynameFileOwner', displaynameFileOwner) + ..add('displaynameOwner', displaynameOwner) + ..add('expiration', expiration) + ..add('fileParent', fileParent) + ..add('fileSource', fileSource) + ..add('fileTarget', fileTarget) + ..add('hasPreview', hasPreview) + ..add('hideDownload', hideDownload) + ..add('id', id) + ..add('itemMtime', itemMtime) + ..add('itemPermissions', itemPermissions) + ..add('itemSize', itemSize) + ..add('itemSource', itemSource) + ..add('itemType', itemType) + ..add('label', label) + ..add('mailSend', mailSend) + ..add('mimetype', mimetype) + ..add('note', note) + ..add('parent', parent) + ..add('password', password) + ..add('passwordExpirationTime', passwordExpirationTime) + ..add('path', path) + ..add('permissions', permissions) + ..add('sendPasswordByTalk', sendPasswordByTalk) + ..add('shareType', shareType) + ..add('shareWith', shareWith) + ..add('shareWithAvatar', shareWithAvatar) + ..add('shareWithDisplayname', shareWithDisplayname) + ..add('shareWithDisplaynameUnique', shareWithDisplaynameUnique) + ..add('shareWithLink', shareWithLink) + ..add('status', status) + ..add('stime', stime) + ..add('storage', storage) + ..add('storageId', storageId) + ..add('token', token) + ..add('uidFileOwner', uidFileOwner) + ..add('uidOwner', uidOwner) + ..add('url', url)) + .toString(); + } +} + +class FilesSharingShareBuilder implements Builder { + _$FilesSharingShare? _$v; + + String? _attributes; + String? get attributes => _$this._attributes; + set attributes(String? attributes) => _$this._attributes = attributes; + + bool? _canDelete; + bool? get canDelete => _$this._canDelete; + set canDelete(bool? canDelete) => _$this._canDelete = canDelete; + + bool? _canEdit; + bool? get canEdit => _$this._canEdit; + set canEdit(bool? canEdit) => _$this._canEdit = canEdit; + + String? _displaynameFileOwner; + String? get displaynameFileOwner => _$this._displaynameFileOwner; + set displaynameFileOwner(String? displaynameFileOwner) => _$this._displaynameFileOwner = displaynameFileOwner; + + String? _displaynameOwner; + String? get displaynameOwner => _$this._displaynameOwner; + set displaynameOwner(String? displaynameOwner) => _$this._displaynameOwner = displaynameOwner; + + String? _expiration; + String? get expiration => _$this._expiration; + set expiration(String? expiration) => _$this._expiration = expiration; + + int? _fileParent; + int? get fileParent => _$this._fileParent; + set fileParent(int? fileParent) => _$this._fileParent = fileParent; + + int? _fileSource; + int? get fileSource => _$this._fileSource; + set fileSource(int? fileSource) => _$this._fileSource = fileSource; + + String? _fileTarget; + String? get fileTarget => _$this._fileTarget; + set fileTarget(String? fileTarget) => _$this._fileTarget = fileTarget; + + bool? _hasPreview; + bool? get hasPreview => _$this._hasPreview; + set hasPreview(bool? hasPreview) => _$this._hasPreview = hasPreview; + + int? _hideDownload; + int? get hideDownload => _$this._hideDownload; + set hideDownload(int? hideDownload) => _$this._hideDownload = hideDownload; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + int? _itemMtime; + int? get itemMtime => _$this._itemMtime; + set itemMtime(int? itemMtime) => _$this._itemMtime = itemMtime; + + int? _itemPermissions; + int? get itemPermissions => _$this._itemPermissions; + set itemPermissions(int? itemPermissions) => _$this._itemPermissions = itemPermissions; + + FilesSharingShare_ItemSizeBuilder? _itemSize; + FilesSharingShare_ItemSizeBuilder get itemSize => _$this._itemSize ??= FilesSharingShare_ItemSizeBuilder(); + set itemSize(FilesSharingShare_ItemSizeBuilder? itemSize) => _$this._itemSize = itemSize; + + int? _itemSource; + int? get itemSource => _$this._itemSource; + set itemSource(int? itemSource) => _$this._itemSource = itemSource; + + FilesSharingShare_ItemType? _itemType; + FilesSharingShare_ItemType? get itemType => _$this._itemType; + set itemType(FilesSharingShare_ItemType? itemType) => _$this._itemType = itemType; + + String? _label; + String? get label => _$this._label; + set label(String? label) => _$this._label = label; + + int? _mailSend; + int? get mailSend => _$this._mailSend; + set mailSend(int? mailSend) => _$this._mailSend = mailSend; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(String? mimetype) => _$this._mimetype = mimetype; + + String? _note; + String? get note => _$this._note; + set note(String? note) => _$this._note = note; + + JsonObject? _parent; + JsonObject? get parent => _$this._parent; + set parent(JsonObject? parent) => _$this._parent = parent; + + String? _password; + String? get password => _$this._password; + set password(String? password) => _$this._password = password; + + String? _passwordExpirationTime; + String? get passwordExpirationTime => _$this._passwordExpirationTime; + set passwordExpirationTime(String? passwordExpirationTime) => _$this._passwordExpirationTime = passwordExpirationTime; + + String? _path; + String? get path => _$this._path; + set path(String? path) => _$this._path = path; + + int? _permissions; + int? get permissions => _$this._permissions; + set permissions(int? permissions) => _$this._permissions = permissions; + + bool? _sendPasswordByTalk; + bool? get sendPasswordByTalk => _$this._sendPasswordByTalk; + set sendPasswordByTalk(bool? sendPasswordByTalk) => _$this._sendPasswordByTalk = sendPasswordByTalk; + + int? _shareType; + int? get shareType => _$this._shareType; + set shareType(int? shareType) => _$this._shareType = shareType; + + String? _shareWith; + String? get shareWith => _$this._shareWith; + set shareWith(String? shareWith) => _$this._shareWith = shareWith; + + String? _shareWithAvatar; + String? get shareWithAvatar => _$this._shareWithAvatar; + set shareWithAvatar(String? shareWithAvatar) => _$this._shareWithAvatar = shareWithAvatar; + + String? _shareWithDisplayname; + String? get shareWithDisplayname => _$this._shareWithDisplayname; + set shareWithDisplayname(String? shareWithDisplayname) => _$this._shareWithDisplayname = shareWithDisplayname; + + String? _shareWithDisplaynameUnique; + String? get shareWithDisplaynameUnique => _$this._shareWithDisplaynameUnique; + set shareWithDisplaynameUnique(String? shareWithDisplaynameUnique) => + _$this._shareWithDisplaynameUnique = shareWithDisplaynameUnique; + + String? _shareWithLink; + String? get shareWithLink => _$this._shareWithLink; + set shareWithLink(String? shareWithLink) => _$this._shareWithLink = shareWithLink; + + FilesSharingShare_StatusBuilder? _status; + FilesSharingShare_StatusBuilder get status => _$this._status ??= FilesSharingShare_StatusBuilder(); + set status(FilesSharingShare_StatusBuilder? status) => _$this._status = status; + + int? _stime; + int? get stime => _$this._stime; + set stime(int? stime) => _$this._stime = stime; + + int? _storage; + int? get storage => _$this._storage; + set storage(int? storage) => _$this._storage = storage; + + String? _storageId; + String? get storageId => _$this._storageId; + set storageId(String? storageId) => _$this._storageId = storageId; + + String? _token; + String? get token => _$this._token; + set token(String? token) => _$this._token = token; + + String? _uidFileOwner; + String? get uidFileOwner => _$this._uidFileOwner; + set uidFileOwner(String? uidFileOwner) => _$this._uidFileOwner = uidFileOwner; + + String? _uidOwner; + String? get uidOwner => _$this._uidOwner; + set uidOwner(String? uidOwner) => _$this._uidOwner = uidOwner; + + String? _url; + String? get url => _$this._url; + set url(String? url) => _$this._url = url; + + FilesSharingShareBuilder(); + + FilesSharingShareBuilder get _$this { + final $v = _$v; + if ($v != null) { + _attributes = $v.attributes; + _canDelete = $v.canDelete; + _canEdit = $v.canEdit; + _displaynameFileOwner = $v.displaynameFileOwner; + _displaynameOwner = $v.displaynameOwner; + _expiration = $v.expiration; + _fileParent = $v.fileParent; + _fileSource = $v.fileSource; + _fileTarget = $v.fileTarget; + _hasPreview = $v.hasPreview; + _hideDownload = $v.hideDownload; + _id = $v.id; + _itemMtime = $v.itemMtime; + _itemPermissions = $v.itemPermissions; + _itemSize = $v.itemSize.toBuilder(); + _itemSource = $v.itemSource; + _itemType = $v.itemType; + _label = $v.label; + _mailSend = $v.mailSend; + _mimetype = $v.mimetype; + _note = $v.note; + _parent = $v.parent; + _password = $v.password; + _passwordExpirationTime = $v.passwordExpirationTime; + _path = $v.path; + _permissions = $v.permissions; + _sendPasswordByTalk = $v.sendPasswordByTalk; + _shareType = $v.shareType; + _shareWith = $v.shareWith; + _shareWithAvatar = $v.shareWithAvatar; + _shareWithDisplayname = $v.shareWithDisplayname; + _shareWithDisplaynameUnique = $v.shareWithDisplaynameUnique; + _shareWithLink = $v.shareWithLink; + _status = $v.status?.toBuilder(); + _stime = $v.stime; + _storage = $v.storage; + _storageId = $v.storageId; + _token = $v.token; + _uidFileOwner = $v.uidFileOwner; + _uidOwner = $v.uidOwner; + _url = $v.url; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShare other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShare; + } + + @override + void update(void Function(FilesSharingShareBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShare build() => _build(); + + _$FilesSharingShare _build() { + _$FilesSharingShare _$result; + try { + _$result = _$v ?? + _$FilesSharingShare._( + attributes: attributes, + canDelete: BuiltValueNullFieldError.checkNotNull(canDelete, r'FilesSharingShare', 'canDelete'), + canEdit: BuiltValueNullFieldError.checkNotNull(canEdit, r'FilesSharingShare', 'canEdit'), + displaynameFileOwner: BuiltValueNullFieldError.checkNotNull( + displaynameFileOwner, r'FilesSharingShare', 'displaynameFileOwner'), + displaynameOwner: + BuiltValueNullFieldError.checkNotNull(displaynameOwner, r'FilesSharingShare', 'displaynameOwner'), + expiration: expiration, + fileParent: BuiltValueNullFieldError.checkNotNull(fileParent, r'FilesSharingShare', 'fileParent'), + fileSource: BuiltValueNullFieldError.checkNotNull(fileSource, r'FilesSharingShare', 'fileSource'), + fileTarget: BuiltValueNullFieldError.checkNotNull(fileTarget, r'FilesSharingShare', 'fileTarget'), + hasPreview: BuiltValueNullFieldError.checkNotNull(hasPreview, r'FilesSharingShare', 'hasPreview'), + hideDownload: BuiltValueNullFieldError.checkNotNull(hideDownload, r'FilesSharingShare', 'hideDownload'), + id: BuiltValueNullFieldError.checkNotNull(id, r'FilesSharingShare', 'id'), + itemMtime: BuiltValueNullFieldError.checkNotNull(itemMtime, r'FilesSharingShare', 'itemMtime'), + itemPermissions: itemPermissions, + itemSize: itemSize.build(), + itemSource: BuiltValueNullFieldError.checkNotNull(itemSource, r'FilesSharingShare', 'itemSource'), + itemType: BuiltValueNullFieldError.checkNotNull(itemType, r'FilesSharingShare', 'itemType'), + label: BuiltValueNullFieldError.checkNotNull(label, r'FilesSharingShare', 'label'), + mailSend: BuiltValueNullFieldError.checkNotNull(mailSend, r'FilesSharingShare', 'mailSend'), + mimetype: BuiltValueNullFieldError.checkNotNull(mimetype, r'FilesSharingShare', 'mimetype'), + note: BuiltValueNullFieldError.checkNotNull(note, r'FilesSharingShare', 'note'), + parent: parent, + password: password, + passwordExpirationTime: passwordExpirationTime, + path: path, + permissions: BuiltValueNullFieldError.checkNotNull(permissions, r'FilesSharingShare', 'permissions'), + sendPasswordByTalk: sendPasswordByTalk, + shareType: BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingShare', 'shareType'), + shareWith: shareWith, + shareWithAvatar: shareWithAvatar, + shareWithDisplayname: shareWithDisplayname, + shareWithDisplaynameUnique: shareWithDisplaynameUnique, + shareWithLink: shareWithLink, + status: _status?.build(), + stime: BuiltValueNullFieldError.checkNotNull(stime, r'FilesSharingShare', 'stime'), + storage: BuiltValueNullFieldError.checkNotNull(storage, r'FilesSharingShare', 'storage'), + storageId: BuiltValueNullFieldError.checkNotNull(storageId, r'FilesSharingShare', 'storageId'), + token: token, + uidFileOwner: BuiltValueNullFieldError.checkNotNull(uidFileOwner, r'FilesSharingShare', 'uidFileOwner'), + uidOwner: BuiltValueNullFieldError.checkNotNull(uidOwner, r'FilesSharingShare', 'uidOwner'), + url: url); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'itemSize'; + itemSize.build(); + + _$failedField = 'status'; + _status?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShare', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs + extends FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiGetSharesResponse200ApplicationJson_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'FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetSharesResponse200ApplicationJson + extends FilesSharingShareapiGetSharesResponse200ApplicationJson { + @override + final FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiGetSharesResponse200ApplicationJson( + [void Function(FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetSharesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiGetSharesResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetSharesResponse200ApplicationJson && 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'FilesSharingShareapiGetSharesResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiGetSharesResponse200ApplicationJson? _$v; + + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetSharesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetSharesResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetSharesResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiGetSharesResponse200ApplicationJson _build() { + _$FilesSharingShareapiGetSharesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiGetSharesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiGetSharesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs + extends FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingShare data; + + factory _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingShareBuilder? _data; + FilesSharingShareBuilder get data => _$this._data ??= FilesSharingShareBuilder(); + set data(FilesSharingShareBuilder? data) => _$this._data = data; + + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiCreateShareResponse200ApplicationJson_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'FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiCreateShareResponse200ApplicationJson + extends FilesSharingShareapiCreateShareResponse200ApplicationJson { + @override + final FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiCreateShareResponse200ApplicationJson( + [void Function(FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiCreateShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiCreateShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiCreateShareResponse200ApplicationJson && 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'FilesSharingShareapiCreateShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiCreateShareResponse200ApplicationJson? _$v; + + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiCreateShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiCreateShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiCreateShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiCreateShareResponse200ApplicationJson _build() { + _$FilesSharingShareapiCreateShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiCreateShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiCreateShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs + extends FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_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'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson + extends FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson { + @override + final FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson( + [void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson && 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'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson? _$v; + + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson _build() { + _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs + extends FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final BuiltList data; + + factory _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_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'FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiPendingSharesResponse200ApplicationJson + extends FilesSharingShareapiPendingSharesResponse200ApplicationJson { + @override + final FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiPendingSharesResponse200ApplicationJson( + [void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiPendingSharesResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiPendingSharesResponse200ApplicationJson && 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'FilesSharingShareapiPendingSharesResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson? _$v; + + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiPendingSharesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiPendingSharesResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiPendingSharesResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson _build() { + _$FilesSharingShareapiPendingSharesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiPendingSharesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiPendingSharesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs + extends FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingShare data; + + factory _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingShareBuilder? _data; + FilesSharingShareBuilder get data => _$this._data ??= FilesSharingShareBuilder(); + set data(FilesSharingShareBuilder? data) => _$this._data = data; + + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$FilesSharingShareapiGetShareResponse200ApplicationJson_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'FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiGetShareResponse200ApplicationJson + extends FilesSharingShareapiGetShareResponse200ApplicationJson { + @override + final FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiGetShareResponse200ApplicationJson( + [void Function(FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiGetShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiGetShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiGetShareResponse200ApplicationJson && 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'FilesSharingShareapiGetShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiGetShareResponse200ApplicationJson? _$v; + + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiGetShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiGetShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiGetShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiGetShareResponse200ApplicationJson _build() { + _$FilesSharingShareapiGetShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiGetShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiGetShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs + extends FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingShare data; + + factory _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingShareBuilder? _data; + FilesSharingShareBuilder get data => _$this._data ??= FilesSharingShareBuilder(); + set data(FilesSharingShareBuilder? data) => _$this._data = data; + + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_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'FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiUpdateShareResponse200ApplicationJson + extends FilesSharingShareapiUpdateShareResponse200ApplicationJson { + @override + final FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiUpdateShareResponse200ApplicationJson( + [void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiUpdateShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiUpdateShareResponse200ApplicationJson && 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'FilesSharingShareapiUpdateShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson? _$v; + + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiUpdateShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiUpdateShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiUpdateShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson _build() { + _$FilesSharingShareapiUpdateShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiUpdateShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiUpdateShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs + extends FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiDeleteShareResponse200ApplicationJson + extends FilesSharingShareapiDeleteShareResponse200ApplicationJson { + @override + final FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiDeleteShareResponse200ApplicationJson( + [void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiDeleteShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiDeleteShareResponse200ApplicationJson && 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'FilesSharingShareapiDeleteShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson? _$v; + + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiDeleteShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiDeleteShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiDeleteShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson _build() { + _$FilesSharingShareapiDeleteShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiDeleteShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiDeleteShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs + extends FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final JsonObject data; + + factory _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareapiAcceptShareResponse200ApplicationJson + extends FilesSharingShareapiAcceptShareResponse200ApplicationJson { + @override + final FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareapiAcceptShareResponse200ApplicationJson( + [void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareapiAcceptShareResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson rebuild( + void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareapiAcceptShareResponse200ApplicationJson && 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'FilesSharingShareapiAcceptShareResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson? _$v; + + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder(); + + FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareapiAcceptShareResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareapiAcceptShareResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareapiAcceptShareResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson _build() { + _$FilesSharingShareapiAcceptShareResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareapiAcceptShareResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareapiAcceptShareResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiSearchShareType extends FilesSharingShareesapiSearchShareType { + @override + final JsonObject data; + @override + final int? $int; + @override + final BuiltList? builtListInt; + + factory _$FilesSharingShareesapiSearchShareType( + [void Function(FilesSharingShareesapiSearchShareTypeBuilder)? updates]) => + (FilesSharingShareesapiSearchShareTypeBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiSearchShareType._({required this.data, this.$int, this.builtListInt}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareesapiSearchShareType', 'data'); + } + + @override + FilesSharingShareesapiSearchShareType rebuild(void Function(FilesSharingShareesapiSearchShareTypeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiSearchShareTypeBuilder toBuilder() => + FilesSharingShareesapiSearchShareTypeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiSearchShareType && + data == other.data && + $int == other.$int && + builtListInt == other.builtListInt; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, builtListInt.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesapiSearchShareType') + ..add('data', data) + ..add('\$int', $int) + ..add('builtListInt', builtListInt)) + .toString(); + } +} + +class FilesSharingShareesapiSearchShareTypeBuilder + implements Builder { + _$FilesSharingShareesapiSearchShareType? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + ListBuilder? _builtListInt; + ListBuilder get builtListInt => _$this._builtListInt ??= ListBuilder(); + set builtListInt(ListBuilder? builtListInt) => _$this._builtListInt = builtListInt; + + FilesSharingShareesapiSearchShareTypeBuilder(); + + FilesSharingShareesapiSearchShareTypeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$int = $v.$int; + _builtListInt = $v.builtListInt?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiSearchShareType other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiSearchShareType; + } + + @override + void update(void Function(FilesSharingShareesapiSearchShareTypeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiSearchShareType build() => _build(); + + _$FilesSharingShareesapiSearchShareType _build() { + _$FilesSharingShareesapiSearchShareType _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesapiSearchShareType._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareesapiSearchShareType', 'data'), + $int: $int, + builtListInt: _builtListInt?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'builtListInt'; + _builtListInt?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareesapiSearchShareType', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiShareesapiSearchHeaders extends FilesSharingShareesapiShareesapiSearchHeaders { + @override + final String? link; + + factory _$FilesSharingShareesapiShareesapiSearchHeaders( + [void Function(FilesSharingShareesapiShareesapiSearchHeadersBuilder)? updates]) => + (FilesSharingShareesapiShareesapiSearchHeadersBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiShareesapiSearchHeaders._({this.link}) : super._(); + + @override + FilesSharingShareesapiShareesapiSearchHeaders rebuild( + void Function(FilesSharingShareesapiShareesapiSearchHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiShareesapiSearchHeadersBuilder toBuilder() => + FilesSharingShareesapiShareesapiSearchHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiShareesapiSearchHeaders && link == other.link; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesapiShareesapiSearchHeaders')..add('link', link)) + .toString(); + } +} + +class FilesSharingShareesapiShareesapiSearchHeadersBuilder + implements + Builder { + _$FilesSharingShareesapiShareesapiSearchHeaders? _$v; + + String? _link; + String? get link => _$this._link; + set link(String? link) => _$this._link = link; + + FilesSharingShareesapiShareesapiSearchHeadersBuilder(); + + FilesSharingShareesapiShareesapiSearchHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _link = $v.link; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiShareesapiSearchHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiShareesapiSearchHeaders; + } + + @override + void update(void Function(FilesSharingShareesapiShareesapiSearchHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiShareesapiSearchHeaders build() => _build(); + + _$FilesSharingShareesapiShareesapiSearchHeaders _build() { + final _$result = _$v ?? _$FilesSharingShareesapiShareesapiSearchHeaders._(link: link); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingSharee extends FilesSharingSharee { + @override + final int? count; + @override + final String label; + + factory _$FilesSharingSharee([void Function(FilesSharingShareeBuilder)? updates]) => + (FilesSharingShareeBuilder()..update(updates))._build(); + + _$FilesSharingSharee._({this.count, required this.label}) : super._() { + BuiltValueNullFieldError.checkNotNull(label, r'FilesSharingSharee', 'label'); + } + + @override + FilesSharingSharee rebuild(void Function(FilesSharingShareeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeBuilder toBuilder() => FilesSharingShareeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingSharee && count == other.count && label == other.label; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, count.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingSharee') + ..add('count', count) + ..add('label', label)) + .toString(); + } +} + +class FilesSharingShareeBuilder implements Builder { + _$FilesSharingSharee? _$v; + + int? _count; + int? get count => _$this._count; + set count(int? count) => _$this._count = count; + + String? _label; + String? get label => _$this._label; + set label(String? label) => _$this._label = label; + + FilesSharingShareeBuilder(); + + FilesSharingShareeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _count = $v.count; + _label = $v.label; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingSharee other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingSharee; + } + + @override + void update(void Function(FilesSharingShareeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingSharee build() => _build(); + + _$FilesSharingSharee _build() { + final _$result = _$v ?? + _$FilesSharingSharee._( + count: count, label: BuiltValueNullFieldError.checkNotNull(label, r'FilesSharingSharee', 'label')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeValue extends FilesSharingShareeValue { + @override + final int shareType; + @override + final String shareWith; + + factory _$FilesSharingShareeValue([void Function(FilesSharingShareeValueBuilder)? updates]) => + (FilesSharingShareeValueBuilder()..update(updates))._build(); + + _$FilesSharingShareeValue._({required this.shareType, required this.shareWith}) : super._() { + BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingShareeValue', 'shareType'); + BuiltValueNullFieldError.checkNotNull(shareWith, r'FilesSharingShareeValue', 'shareWith'); + } + + @override + FilesSharingShareeValue rebuild(void Function(FilesSharingShareeValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeValueBuilder toBuilder() => FilesSharingShareeValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeValue && shareType == other.shareType && shareWith == other.shareWith; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, shareType.hashCode); + _$hash = $jc(_$hash, shareWith.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeValue') + ..add('shareType', shareType) + ..add('shareWith', shareWith)) + .toString(); + } +} + +class FilesSharingShareeValueBuilder implements Builder { + _$FilesSharingShareeValue? _$v; + + int? _shareType; + int? get shareType => _$this._shareType; + set shareType(int? shareType) => _$this._shareType = shareType; + + String? _shareWith; + String? get shareWith => _$this._shareWith; + set shareWith(String? shareWith) => _$this._shareWith = shareWith; + + FilesSharingShareeValueBuilder(); + + FilesSharingShareeValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _shareType = $v.shareType; + _shareWith = $v.shareWith; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeValue other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeValue; + } + + @override + void update(void Function(FilesSharingShareeValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeValue build() => _build(); + + _$FilesSharingShareeValue _build() { + final _$result = _$v ?? + _$FilesSharingShareeValue._( + shareType: BuiltValueNullFieldError.checkNotNull(shareType, r'FilesSharingShareeValue', 'shareType'), + shareWith: BuiltValueNullFieldError.checkNotNull(shareWith, r'FilesSharingShareeValue', 'shareWith')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeCircle1_Value1 extends FilesSharingShareeCircle1_Value1 { + @override + final String circle; + + factory _$FilesSharingShareeCircle1_Value1([void Function(FilesSharingShareeCircle1_Value1Builder)? updates]) => + (FilesSharingShareeCircle1_Value1Builder()..update(updates))._build(); + + _$FilesSharingShareeCircle1_Value1._({required this.circle}) : super._() { + BuiltValueNullFieldError.checkNotNull(circle, r'FilesSharingShareeCircle1_Value1', 'circle'); + } + + @override + FilesSharingShareeCircle1_Value1 rebuild(void Function(FilesSharingShareeCircle1_Value1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeCircle1_Value1Builder toBuilder() => FilesSharingShareeCircle1_Value1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeCircle1_Value1 && circle == other.circle; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, circle.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeCircle1_Value1')..add('circle', circle)).toString(); + } +} + +class FilesSharingShareeCircle1_Value1Builder + implements Builder { + _$FilesSharingShareeCircle1_Value1? _$v; + + String? _circle; + String? get circle => _$this._circle; + set circle(String? circle) => _$this._circle = circle; + + FilesSharingShareeCircle1_Value1Builder(); + + FilesSharingShareeCircle1_Value1Builder get _$this { + final $v = _$v; + if ($v != null) { + _circle = $v.circle; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeCircle1_Value1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeCircle1_Value1; + } + + @override + void update(void Function(FilesSharingShareeCircle1_Value1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeCircle1_Value1 build() => _build(); + + _$FilesSharingShareeCircle1_Value1 _build() { + final _$result = _$v ?? + _$FilesSharingShareeCircle1_Value1._( + circle: BuiltValueNullFieldError.checkNotNull(circle, r'FilesSharingShareeCircle1_Value1', 'circle')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeCircle1_Value extends FilesSharingShareeCircle1_Value { + @override + final JsonObject data; + @override + final FilesSharingShareeValue shareeValue; + @override + final FilesSharingShareeCircle1_Value1 shareeCircle1Value1; + + factory _$FilesSharingShareeCircle1_Value([void Function(FilesSharingShareeCircle1_ValueBuilder)? updates]) => + (FilesSharingShareeCircle1_ValueBuilder()..update(updates))._build(); + + _$FilesSharingShareeCircle1_Value._( + {required this.data, required this.shareeValue, required this.shareeCircle1Value1}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeCircle1_Value', 'data'); + BuiltValueNullFieldError.checkNotNull(shareeValue, r'FilesSharingShareeCircle1_Value', 'shareeValue'); + BuiltValueNullFieldError.checkNotNull( + shareeCircle1Value1, r'FilesSharingShareeCircle1_Value', 'shareeCircle1Value1'); + } + + @override + FilesSharingShareeCircle1_Value rebuild(void Function(FilesSharingShareeCircle1_ValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeCircle1_ValueBuilder toBuilder() => FilesSharingShareeCircle1_ValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeCircle1_Value && + data == other.data && + shareeValue == other.shareeValue && + shareeCircle1Value1 == other.shareeCircle1Value1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, shareeValue.hashCode); + _$hash = $jc(_$hash, shareeCircle1Value1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeCircle1_Value') + ..add('data', data) + ..add('shareeValue', shareeValue) + ..add('shareeCircle1Value1', shareeCircle1Value1)) + .toString(); + } +} + +class FilesSharingShareeCircle1_ValueBuilder + implements Builder { + _$FilesSharingShareeCircle1_Value? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeValueBuilder? _shareeValue; + FilesSharingShareeValueBuilder get shareeValue => _$this._shareeValue ??= FilesSharingShareeValueBuilder(); + set shareeValue(FilesSharingShareeValueBuilder? shareeValue) => _$this._shareeValue = shareeValue; + + FilesSharingShareeCircle1_Value1Builder? _shareeCircle1Value1; + FilesSharingShareeCircle1_Value1Builder get shareeCircle1Value1 => + _$this._shareeCircle1Value1 ??= FilesSharingShareeCircle1_Value1Builder(); + set shareeCircle1Value1(FilesSharingShareeCircle1_Value1Builder? shareeCircle1Value1) => + _$this._shareeCircle1Value1 = shareeCircle1Value1; + + FilesSharingShareeCircle1_ValueBuilder(); + + FilesSharingShareeCircle1_ValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _shareeValue = $v.shareeValue.toBuilder(); + _shareeCircle1Value1 = $v.shareeCircle1Value1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeCircle1_Value other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeCircle1_Value; + } + + @override + void update(void Function(FilesSharingShareeCircle1_ValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeCircle1_Value build() => _build(); + + _$FilesSharingShareeCircle1_Value _build() { + _$FilesSharingShareeCircle1_Value _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeCircle1_Value._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeCircle1_Value', 'data'), + shareeValue: shareeValue.build(), + shareeCircle1Value1: shareeCircle1Value1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'shareeValue'; + shareeValue.build(); + _$failedField = 'shareeCircle1Value1'; + shareeCircle1Value1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeCircle1_Value', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeCircle1 extends FilesSharingShareeCircle1 { + @override + final String shareWithDescription; + @override + final FilesSharingShareeCircle1_Value value; + + factory _$FilesSharingShareeCircle1([void Function(FilesSharingShareeCircle1Builder)? updates]) => + (FilesSharingShareeCircle1Builder()..update(updates))._build(); + + _$FilesSharingShareeCircle1._({required this.shareWithDescription, required this.value}) : super._() { + BuiltValueNullFieldError.checkNotNull(shareWithDescription, r'FilesSharingShareeCircle1', 'shareWithDescription'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeCircle1', 'value'); + } + + @override + FilesSharingShareeCircle1 rebuild(void Function(FilesSharingShareeCircle1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeCircle1Builder toBuilder() => FilesSharingShareeCircle1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeCircle1 && + shareWithDescription == other.shareWithDescription && + value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, shareWithDescription.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeCircle1') + ..add('shareWithDescription', shareWithDescription) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeCircle1Builder implements Builder { + _$FilesSharingShareeCircle1? _$v; + + String? _shareWithDescription; + String? get shareWithDescription => _$this._shareWithDescription; + set shareWithDescription(String? shareWithDescription) => _$this._shareWithDescription = shareWithDescription; + + FilesSharingShareeCircle1_ValueBuilder? _value; + FilesSharingShareeCircle1_ValueBuilder get value => _$this._value ??= FilesSharingShareeCircle1_ValueBuilder(); + set value(FilesSharingShareeCircle1_ValueBuilder? value) => _$this._value = value; + + FilesSharingShareeCircle1Builder(); + + FilesSharingShareeCircle1Builder get _$this { + final $v = _$v; + if ($v != null) { + _shareWithDescription = $v.shareWithDescription; + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeCircle1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeCircle1; + } + + @override + void update(void Function(FilesSharingShareeCircle1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeCircle1 build() => _build(); + + _$FilesSharingShareeCircle1 _build() { + _$FilesSharingShareeCircle1 _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeCircle1._( + shareWithDescription: BuiltValueNullFieldError.checkNotNull( + shareWithDescription, r'FilesSharingShareeCircle1', 'shareWithDescription'), + value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeCircle1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeCircle extends FilesSharingShareeCircle { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeCircle1 shareeCircle1; + + factory _$FilesSharingShareeCircle([void Function(FilesSharingShareeCircleBuilder)? updates]) => + (FilesSharingShareeCircleBuilder()..update(updates))._build(); + + _$FilesSharingShareeCircle._({required this.data, required this.sharee, required this.shareeCircle1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeCircle', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeCircle', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeCircle1, r'FilesSharingShareeCircle', 'shareeCircle1'); + } + + @override + FilesSharingShareeCircle rebuild(void Function(FilesSharingShareeCircleBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeCircleBuilder toBuilder() => FilesSharingShareeCircleBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeCircle && + data == other.data && + sharee == other.sharee && + shareeCircle1 == other.shareeCircle1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeCircle1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeCircle') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeCircle1', shareeCircle1)) + .toString(); + } +} + +class FilesSharingShareeCircleBuilder implements Builder { + _$FilesSharingShareeCircle? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeCircle1Builder? _shareeCircle1; + FilesSharingShareeCircle1Builder get shareeCircle1 => _$this._shareeCircle1 ??= FilesSharingShareeCircle1Builder(); + set shareeCircle1(FilesSharingShareeCircle1Builder? shareeCircle1) => _$this._shareeCircle1 = shareeCircle1; + + FilesSharingShareeCircleBuilder(); + + FilesSharingShareeCircleBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeCircle1 = $v.shareeCircle1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeCircle other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeCircle; + } + + @override + void update(void Function(FilesSharingShareeCircleBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeCircle build() => _build(); + + _$FilesSharingShareeCircle _build() { + _$FilesSharingShareeCircle _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeCircle._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeCircle', 'data'), + sharee: sharee.build(), + shareeCircle1: shareeCircle1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeCircle1'; + shareeCircle1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeCircle', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeEmail1 extends FilesSharingShareeEmail1 { + @override + final String uuid; + @override + final String name; + @override + final String type; + @override + final String shareWithDisplayNameUnique; + @override + final FilesSharingShareeValue value; + + factory _$FilesSharingShareeEmail1([void Function(FilesSharingShareeEmail1Builder)? updates]) => + (FilesSharingShareeEmail1Builder()..update(updates))._build(); + + _$FilesSharingShareeEmail1._( + {required this.uuid, + required this.name, + required this.type, + required this.shareWithDisplayNameUnique, + required this.value}) + : super._() { + BuiltValueNullFieldError.checkNotNull(uuid, r'FilesSharingShareeEmail1', 'uuid'); + BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeEmail1', 'name'); + BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareeEmail1', 'type'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'FilesSharingShareeEmail1', 'shareWithDisplayNameUnique'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeEmail1', 'value'); + } + + @override + FilesSharingShareeEmail1 rebuild(void Function(FilesSharingShareeEmail1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeEmail1Builder toBuilder() => FilesSharingShareeEmail1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeEmail1 && + uuid == other.uuid && + name == other.name && + type == other.type && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique && + value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, uuid.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeEmail1') + ..add('uuid', uuid) + ..add('name', name) + ..add('type', type) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeEmail1Builder implements Builder { + _$FilesSharingShareeEmail1? _$v; + + String? _uuid; + String? get uuid => _$this._uuid; + set uuid(String? uuid) => _$this._uuid = uuid; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + FilesSharingShareeValueBuilder? _value; + FilesSharingShareeValueBuilder get value => _$this._value ??= FilesSharingShareeValueBuilder(); + set value(FilesSharingShareeValueBuilder? value) => _$this._value = value; + + FilesSharingShareeEmail1Builder(); + + FilesSharingShareeEmail1Builder get _$this { + final $v = _$v; + if ($v != null) { + _uuid = $v.uuid; + _name = $v.name; + _type = $v.type; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeEmail1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeEmail1; + } + + @override + void update(void Function(FilesSharingShareeEmail1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeEmail1 build() => _build(); + + _$FilesSharingShareeEmail1 _build() { + _$FilesSharingShareeEmail1 _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeEmail1._( + uuid: BuiltValueNullFieldError.checkNotNull(uuid, r'FilesSharingShareeEmail1', 'uuid'), + name: BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeEmail1', 'name'), + type: BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareeEmail1', 'type'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'FilesSharingShareeEmail1', 'shareWithDisplayNameUnique'), + value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeEmail1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeEmail extends FilesSharingShareeEmail { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeEmail1 shareeEmail1; + + factory _$FilesSharingShareeEmail([void Function(FilesSharingShareeEmailBuilder)? updates]) => + (FilesSharingShareeEmailBuilder()..update(updates))._build(); + + _$FilesSharingShareeEmail._({required this.data, required this.sharee, required this.shareeEmail1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeEmail', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeEmail', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeEmail1, r'FilesSharingShareeEmail', 'shareeEmail1'); + } + + @override + FilesSharingShareeEmail rebuild(void Function(FilesSharingShareeEmailBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeEmailBuilder toBuilder() => FilesSharingShareeEmailBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeEmail && + data == other.data && + sharee == other.sharee && + shareeEmail1 == other.shareeEmail1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeEmail1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeEmail') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeEmail1', shareeEmail1)) + .toString(); + } +} + +class FilesSharingShareeEmailBuilder implements Builder { + _$FilesSharingShareeEmail? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeEmail1Builder? _shareeEmail1; + FilesSharingShareeEmail1Builder get shareeEmail1 => _$this._shareeEmail1 ??= FilesSharingShareeEmail1Builder(); + set shareeEmail1(FilesSharingShareeEmail1Builder? shareeEmail1) => _$this._shareeEmail1 = shareeEmail1; + + FilesSharingShareeEmailBuilder(); + + FilesSharingShareeEmailBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeEmail1 = $v.shareeEmail1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeEmail other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeEmail; + } + + @override + void update(void Function(FilesSharingShareeEmailBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeEmail build() => _build(); + + _$FilesSharingShareeEmail _build() { + _$FilesSharingShareeEmail _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeEmail._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeEmail', 'data'), + sharee: sharee.build(), + shareeEmail1: shareeEmail1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeEmail1'; + shareeEmail1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeEmail', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemoteGroup1_Value1 extends FilesSharingShareeRemoteGroup1_Value1 { + @override + final String server; + + factory _$FilesSharingShareeRemoteGroup1_Value1( + [void Function(FilesSharingShareeRemoteGroup1_Value1Builder)? updates]) => + (FilesSharingShareeRemoteGroup1_Value1Builder()..update(updates))._build(); + + _$FilesSharingShareeRemoteGroup1_Value1._({required this.server}) : super._() { + BuiltValueNullFieldError.checkNotNull(server, r'FilesSharingShareeRemoteGroup1_Value1', 'server'); + } + + @override + FilesSharingShareeRemoteGroup1_Value1 rebuild(void Function(FilesSharingShareeRemoteGroup1_Value1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemoteGroup1_Value1Builder toBuilder() => + FilesSharingShareeRemoteGroup1_Value1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemoteGroup1_Value1 && server == other.server; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemoteGroup1_Value1')..add('server', server)).toString(); + } +} + +class FilesSharingShareeRemoteGroup1_Value1Builder + implements Builder { + _$FilesSharingShareeRemoteGroup1_Value1? _$v; + + String? _server; + String? get server => _$this._server; + set server(String? server) => _$this._server = server; + + FilesSharingShareeRemoteGroup1_Value1Builder(); + + FilesSharingShareeRemoteGroup1_Value1Builder get _$this { + final $v = _$v; + if ($v != null) { + _server = $v.server; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemoteGroup1_Value1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemoteGroup1_Value1; + } + + @override + void update(void Function(FilesSharingShareeRemoteGroup1_Value1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemoteGroup1_Value1 build() => _build(); + + _$FilesSharingShareeRemoteGroup1_Value1 _build() { + final _$result = _$v ?? + _$FilesSharingShareeRemoteGroup1_Value1._( + server: BuiltValueNullFieldError.checkNotNull(server, r'FilesSharingShareeRemoteGroup1_Value1', 'server')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemoteGroup1_Value extends FilesSharingShareeRemoteGroup1_Value { + @override + final JsonObject data; + @override + final FilesSharingShareeValue shareeValue; + @override + final FilesSharingShareeRemoteGroup1_Value1 shareeRemoteGroup1Value1; + + factory _$FilesSharingShareeRemoteGroup1_Value( + [void Function(FilesSharingShareeRemoteGroup1_ValueBuilder)? updates]) => + (FilesSharingShareeRemoteGroup1_ValueBuilder()..update(updates))._build(); + + _$FilesSharingShareeRemoteGroup1_Value._( + {required this.data, required this.shareeValue, required this.shareeRemoteGroup1Value1}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemoteGroup1_Value', 'data'); + BuiltValueNullFieldError.checkNotNull(shareeValue, r'FilesSharingShareeRemoteGroup1_Value', 'shareeValue'); + BuiltValueNullFieldError.checkNotNull( + shareeRemoteGroup1Value1, r'FilesSharingShareeRemoteGroup1_Value', 'shareeRemoteGroup1Value1'); + } + + @override + FilesSharingShareeRemoteGroup1_Value rebuild(void Function(FilesSharingShareeRemoteGroup1_ValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemoteGroup1_ValueBuilder toBuilder() => + FilesSharingShareeRemoteGroup1_ValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemoteGroup1_Value && + data == other.data && + shareeValue == other.shareeValue && + shareeRemoteGroup1Value1 == other.shareeRemoteGroup1Value1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, shareeValue.hashCode); + _$hash = $jc(_$hash, shareeRemoteGroup1Value1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemoteGroup1_Value') + ..add('data', data) + ..add('shareeValue', shareeValue) + ..add('shareeRemoteGroup1Value1', shareeRemoteGroup1Value1)) + .toString(); + } +} + +class FilesSharingShareeRemoteGroup1_ValueBuilder + implements Builder { + _$FilesSharingShareeRemoteGroup1_Value? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeValueBuilder? _shareeValue; + FilesSharingShareeValueBuilder get shareeValue => _$this._shareeValue ??= FilesSharingShareeValueBuilder(); + set shareeValue(FilesSharingShareeValueBuilder? shareeValue) => _$this._shareeValue = shareeValue; + + FilesSharingShareeRemoteGroup1_Value1Builder? _shareeRemoteGroup1Value1; + FilesSharingShareeRemoteGroup1_Value1Builder get shareeRemoteGroup1Value1 => + _$this._shareeRemoteGroup1Value1 ??= FilesSharingShareeRemoteGroup1_Value1Builder(); + set shareeRemoteGroup1Value1(FilesSharingShareeRemoteGroup1_Value1Builder? shareeRemoteGroup1Value1) => + _$this._shareeRemoteGroup1Value1 = shareeRemoteGroup1Value1; + + FilesSharingShareeRemoteGroup1_ValueBuilder(); + + FilesSharingShareeRemoteGroup1_ValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _shareeValue = $v.shareeValue.toBuilder(); + _shareeRemoteGroup1Value1 = $v.shareeRemoteGroup1Value1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemoteGroup1_Value other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemoteGroup1_Value; + } + + @override + void update(void Function(FilesSharingShareeRemoteGroup1_ValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemoteGroup1_Value build() => _build(); + + _$FilesSharingShareeRemoteGroup1_Value _build() { + _$FilesSharingShareeRemoteGroup1_Value _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemoteGroup1_Value._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemoteGroup1_Value', 'data'), + shareeValue: shareeValue.build(), + shareeRemoteGroup1Value1: shareeRemoteGroup1Value1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'shareeValue'; + shareeValue.build(); + _$failedField = 'shareeRemoteGroup1Value1'; + shareeRemoteGroup1Value1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemoteGroup1_Value', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemoteGroup1 extends FilesSharingShareeRemoteGroup1 { + @override + final String guid; + @override + final String name; + @override + final FilesSharingShareeRemoteGroup1_Value value; + + factory _$FilesSharingShareeRemoteGroup1([void Function(FilesSharingShareeRemoteGroup1Builder)? updates]) => + (FilesSharingShareeRemoteGroup1Builder()..update(updates))._build(); + + _$FilesSharingShareeRemoteGroup1._({required this.guid, required this.name, required this.value}) : super._() { + BuiltValueNullFieldError.checkNotNull(guid, r'FilesSharingShareeRemoteGroup1', 'guid'); + BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeRemoteGroup1', 'name'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeRemoteGroup1', 'value'); + } + + @override + FilesSharingShareeRemoteGroup1 rebuild(void Function(FilesSharingShareeRemoteGroup1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemoteGroup1Builder toBuilder() => FilesSharingShareeRemoteGroup1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemoteGroup1 && guid == other.guid && name == other.name && value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, guid.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemoteGroup1') + ..add('guid', guid) + ..add('name', name) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeRemoteGroup1Builder + implements Builder { + _$FilesSharingShareeRemoteGroup1? _$v; + + String? _guid; + String? get guid => _$this._guid; + set guid(String? guid) => _$this._guid = guid; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + FilesSharingShareeRemoteGroup1_ValueBuilder? _value; + FilesSharingShareeRemoteGroup1_ValueBuilder get value => + _$this._value ??= FilesSharingShareeRemoteGroup1_ValueBuilder(); + set value(FilesSharingShareeRemoteGroup1_ValueBuilder? value) => _$this._value = value; + + FilesSharingShareeRemoteGroup1Builder(); + + FilesSharingShareeRemoteGroup1Builder get _$this { + final $v = _$v; + if ($v != null) { + _guid = $v.guid; + _name = $v.name; + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemoteGroup1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemoteGroup1; + } + + @override + void update(void Function(FilesSharingShareeRemoteGroup1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemoteGroup1 build() => _build(); + + _$FilesSharingShareeRemoteGroup1 _build() { + _$FilesSharingShareeRemoteGroup1 _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemoteGroup1._( + guid: BuiltValueNullFieldError.checkNotNull(guid, r'FilesSharingShareeRemoteGroup1', 'guid'), + name: BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeRemoteGroup1', 'name'), + value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemoteGroup1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemoteGroup extends FilesSharingShareeRemoteGroup { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeRemoteGroup1 shareeRemoteGroup1; + + factory _$FilesSharingShareeRemoteGroup([void Function(FilesSharingShareeRemoteGroupBuilder)? updates]) => + (FilesSharingShareeRemoteGroupBuilder()..update(updates))._build(); + + _$FilesSharingShareeRemoteGroup._({required this.data, required this.sharee, required this.shareeRemoteGroup1}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemoteGroup', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeRemoteGroup', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeRemoteGroup1, r'FilesSharingShareeRemoteGroup', 'shareeRemoteGroup1'); + } + + @override + FilesSharingShareeRemoteGroup rebuild(void Function(FilesSharingShareeRemoteGroupBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemoteGroupBuilder toBuilder() => FilesSharingShareeRemoteGroupBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemoteGroup && + data == other.data && + sharee == other.sharee && + shareeRemoteGroup1 == other.shareeRemoteGroup1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeRemoteGroup1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemoteGroup') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeRemoteGroup1', shareeRemoteGroup1)) + .toString(); + } +} + +class FilesSharingShareeRemoteGroupBuilder + implements Builder { + _$FilesSharingShareeRemoteGroup? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeRemoteGroup1Builder? _shareeRemoteGroup1; + FilesSharingShareeRemoteGroup1Builder get shareeRemoteGroup1 => + _$this._shareeRemoteGroup1 ??= FilesSharingShareeRemoteGroup1Builder(); + set shareeRemoteGroup1(FilesSharingShareeRemoteGroup1Builder? shareeRemoteGroup1) => + _$this._shareeRemoteGroup1 = shareeRemoteGroup1; + + FilesSharingShareeRemoteGroupBuilder(); + + FilesSharingShareeRemoteGroupBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeRemoteGroup1 = $v.shareeRemoteGroup1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemoteGroup other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemoteGroup; + } + + @override + void update(void Function(FilesSharingShareeRemoteGroupBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemoteGroup build() => _build(); + + _$FilesSharingShareeRemoteGroup _build() { + _$FilesSharingShareeRemoteGroup _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemoteGroup._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemoteGroup', 'data'), + sharee: sharee.build(), + shareeRemoteGroup1: shareeRemoteGroup1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeRemoteGroup1'; + shareeRemoteGroup1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemoteGroup', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemote1_Value1 extends FilesSharingShareeRemote1_Value1 { + @override + final String server; + + factory _$FilesSharingShareeRemote1_Value1([void Function(FilesSharingShareeRemote1_Value1Builder)? updates]) => + (FilesSharingShareeRemote1_Value1Builder()..update(updates))._build(); + + _$FilesSharingShareeRemote1_Value1._({required this.server}) : super._() { + BuiltValueNullFieldError.checkNotNull(server, r'FilesSharingShareeRemote1_Value1', 'server'); + } + + @override + FilesSharingShareeRemote1_Value1 rebuild(void Function(FilesSharingShareeRemote1_Value1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemote1_Value1Builder toBuilder() => FilesSharingShareeRemote1_Value1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemote1_Value1 && server == other.server; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemote1_Value1')..add('server', server)).toString(); + } +} + +class FilesSharingShareeRemote1_Value1Builder + implements Builder { + _$FilesSharingShareeRemote1_Value1? _$v; + + String? _server; + String? get server => _$this._server; + set server(String? server) => _$this._server = server; + + FilesSharingShareeRemote1_Value1Builder(); + + FilesSharingShareeRemote1_Value1Builder get _$this { + final $v = _$v; + if ($v != null) { + _server = $v.server; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemote1_Value1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemote1_Value1; + } + + @override + void update(void Function(FilesSharingShareeRemote1_Value1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemote1_Value1 build() => _build(); + + _$FilesSharingShareeRemote1_Value1 _build() { + final _$result = _$v ?? + _$FilesSharingShareeRemote1_Value1._( + server: BuiltValueNullFieldError.checkNotNull(server, r'FilesSharingShareeRemote1_Value1', 'server')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemote1_Value extends FilesSharingShareeRemote1_Value { + @override + final JsonObject data; + @override + final FilesSharingShareeValue shareeValue; + @override + final FilesSharingShareeRemote1_Value1 shareeRemote1Value1; + + factory _$FilesSharingShareeRemote1_Value([void Function(FilesSharingShareeRemote1_ValueBuilder)? updates]) => + (FilesSharingShareeRemote1_ValueBuilder()..update(updates))._build(); + + _$FilesSharingShareeRemote1_Value._( + {required this.data, required this.shareeValue, required this.shareeRemote1Value1}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemote1_Value', 'data'); + BuiltValueNullFieldError.checkNotNull(shareeValue, r'FilesSharingShareeRemote1_Value', 'shareeValue'); + BuiltValueNullFieldError.checkNotNull( + shareeRemote1Value1, r'FilesSharingShareeRemote1_Value', 'shareeRemote1Value1'); + } + + @override + FilesSharingShareeRemote1_Value rebuild(void Function(FilesSharingShareeRemote1_ValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemote1_ValueBuilder toBuilder() => FilesSharingShareeRemote1_ValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemote1_Value && + data == other.data && + shareeValue == other.shareeValue && + shareeRemote1Value1 == other.shareeRemote1Value1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, shareeValue.hashCode); + _$hash = $jc(_$hash, shareeRemote1Value1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemote1_Value') + ..add('data', data) + ..add('shareeValue', shareeValue) + ..add('shareeRemote1Value1', shareeRemote1Value1)) + .toString(); + } +} + +class FilesSharingShareeRemote1_ValueBuilder + implements Builder { + _$FilesSharingShareeRemote1_Value? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeValueBuilder? _shareeValue; + FilesSharingShareeValueBuilder get shareeValue => _$this._shareeValue ??= FilesSharingShareeValueBuilder(); + set shareeValue(FilesSharingShareeValueBuilder? shareeValue) => _$this._shareeValue = shareeValue; + + FilesSharingShareeRemote1_Value1Builder? _shareeRemote1Value1; + FilesSharingShareeRemote1_Value1Builder get shareeRemote1Value1 => + _$this._shareeRemote1Value1 ??= FilesSharingShareeRemote1_Value1Builder(); + set shareeRemote1Value1(FilesSharingShareeRemote1_Value1Builder? shareeRemote1Value1) => + _$this._shareeRemote1Value1 = shareeRemote1Value1; + + FilesSharingShareeRemote1_ValueBuilder(); + + FilesSharingShareeRemote1_ValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _shareeValue = $v.shareeValue.toBuilder(); + _shareeRemote1Value1 = $v.shareeRemote1Value1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemote1_Value other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemote1_Value; + } + + @override + void update(void Function(FilesSharingShareeRemote1_ValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemote1_Value build() => _build(); + + _$FilesSharingShareeRemote1_Value _build() { + _$FilesSharingShareeRemote1_Value _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemote1_Value._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemote1_Value', 'data'), + shareeValue: shareeValue.build(), + shareeRemote1Value1: shareeRemote1Value1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'shareeValue'; + shareeValue.build(); + _$failedField = 'shareeRemote1Value1'; + shareeRemote1Value1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemote1_Value', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemote1 extends FilesSharingShareeRemote1 { + @override + final String uuid; + @override + final String name; + @override + final String type; + @override + final FilesSharingShareeRemote1_Value value; + + factory _$FilesSharingShareeRemote1([void Function(FilesSharingShareeRemote1Builder)? updates]) => + (FilesSharingShareeRemote1Builder()..update(updates))._build(); + + _$FilesSharingShareeRemote1._({required this.uuid, required this.name, required this.type, required this.value}) + : super._() { + BuiltValueNullFieldError.checkNotNull(uuid, r'FilesSharingShareeRemote1', 'uuid'); + BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeRemote1', 'name'); + BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareeRemote1', 'type'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeRemote1', 'value'); + } + + @override + FilesSharingShareeRemote1 rebuild(void Function(FilesSharingShareeRemote1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemote1Builder toBuilder() => FilesSharingShareeRemote1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemote1 && + uuid == other.uuid && + name == other.name && + type == other.type && + value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, uuid.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemote1') + ..add('uuid', uuid) + ..add('name', name) + ..add('type', type) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeRemote1Builder implements Builder { + _$FilesSharingShareeRemote1? _$v; + + String? _uuid; + String? get uuid => _$this._uuid; + set uuid(String? uuid) => _$this._uuid = uuid; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + FilesSharingShareeRemote1_ValueBuilder? _value; + FilesSharingShareeRemote1_ValueBuilder get value => _$this._value ??= FilesSharingShareeRemote1_ValueBuilder(); + set value(FilesSharingShareeRemote1_ValueBuilder? value) => _$this._value = value; + + FilesSharingShareeRemote1Builder(); + + FilesSharingShareeRemote1Builder get _$this { + final $v = _$v; + if ($v != null) { + _uuid = $v.uuid; + _name = $v.name; + _type = $v.type; + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemote1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemote1; + } + + @override + void update(void Function(FilesSharingShareeRemote1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemote1 build() => _build(); + + _$FilesSharingShareeRemote1 _build() { + _$FilesSharingShareeRemote1 _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemote1._( + uuid: BuiltValueNullFieldError.checkNotNull(uuid, r'FilesSharingShareeRemote1', 'uuid'), + name: BuiltValueNullFieldError.checkNotNull(name, r'FilesSharingShareeRemote1', 'name'), + type: BuiltValueNullFieldError.checkNotNull(type, r'FilesSharingShareeRemote1', 'type'), + value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemote1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeRemote extends FilesSharingShareeRemote { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeRemote1 shareeRemote1; + + factory _$FilesSharingShareeRemote([void Function(FilesSharingShareeRemoteBuilder)? updates]) => + (FilesSharingShareeRemoteBuilder()..update(updates))._build(); + + _$FilesSharingShareeRemote._({required this.data, required this.sharee, required this.shareeRemote1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemote', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeRemote', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeRemote1, r'FilesSharingShareeRemote', 'shareeRemote1'); + } + + @override + FilesSharingShareeRemote rebuild(void Function(FilesSharingShareeRemoteBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeRemoteBuilder toBuilder() => FilesSharingShareeRemoteBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeRemote && + data == other.data && + sharee == other.sharee && + shareeRemote1 == other.shareeRemote1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeRemote1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeRemote') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeRemote1', shareeRemote1)) + .toString(); + } +} + +class FilesSharingShareeRemoteBuilder implements Builder { + _$FilesSharingShareeRemote? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeRemote1Builder? _shareeRemote1; + FilesSharingShareeRemote1Builder get shareeRemote1 => _$this._shareeRemote1 ??= FilesSharingShareeRemote1Builder(); + set shareeRemote1(FilesSharingShareeRemote1Builder? shareeRemote1) => _$this._shareeRemote1 = shareeRemote1; + + FilesSharingShareeRemoteBuilder(); + + FilesSharingShareeRemoteBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeRemote1 = $v.shareeRemote1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeRemote other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeRemote; + } + + @override + void update(void Function(FilesSharingShareeRemoteBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeRemote build() => _build(); + + _$FilesSharingShareeRemote _build() { + _$FilesSharingShareeRemote _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeRemote._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeRemote', 'data'), + sharee: sharee.build(), + shareeRemote1: shareeRemote1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeRemote1'; + shareeRemote1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeRemote', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeUser1_Status extends FilesSharingShareeUser1_Status { + @override + final String status; + @override + final String message; + @override + final String icon; + @override + final int? clearAt; + + factory _$FilesSharingShareeUser1_Status([void Function(FilesSharingShareeUser1_StatusBuilder)? updates]) => + (FilesSharingShareeUser1_StatusBuilder()..update(updates))._build(); + + _$FilesSharingShareeUser1_Status._({required this.status, required this.message, required this.icon, this.clearAt}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'FilesSharingShareeUser1_Status', 'status'); + BuiltValueNullFieldError.checkNotNull(message, r'FilesSharingShareeUser1_Status', 'message'); + BuiltValueNullFieldError.checkNotNull(icon, r'FilesSharingShareeUser1_Status', 'icon'); + } + + @override + FilesSharingShareeUser1_Status rebuild(void Function(FilesSharingShareeUser1_StatusBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeUser1_StatusBuilder toBuilder() => FilesSharingShareeUser1_StatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeUser1_Status && + status == other.status && + message == other.message && + icon == other.icon && + clearAt == other.clearAt; + } + + @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 = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeUser1_Status') + ..add('status', status) + ..add('message', message) + ..add('icon', icon) + ..add('clearAt', clearAt)) + .toString(); + } +} + +class FilesSharingShareeUser1_StatusBuilder + implements Builder { + _$FilesSharingShareeUser1_Status? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(int? clearAt) => _$this._clearAt = clearAt; + + FilesSharingShareeUser1_StatusBuilder(); + + FilesSharingShareeUser1_StatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _message = $v.message; + _icon = $v.icon; + _clearAt = $v.clearAt; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeUser1_Status other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeUser1_Status; + } + + @override + void update(void Function(FilesSharingShareeUser1_StatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeUser1_Status build() => _build(); + + _$FilesSharingShareeUser1_Status _build() { + final _$result = _$v ?? + _$FilesSharingShareeUser1_Status._( + status: BuiltValueNullFieldError.checkNotNull(status, r'FilesSharingShareeUser1_Status', 'status'), + message: BuiltValueNullFieldError.checkNotNull(message, r'FilesSharingShareeUser1_Status', 'message'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'FilesSharingShareeUser1_Status', 'icon'), + clearAt: clearAt); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeUser1 extends FilesSharingShareeUser1 { + @override + final String subline; + @override + final String icon; + @override + final String shareWithDisplayNameUnique; + @override + final FilesSharingShareeUser1_Status status; + @override + final FilesSharingShareeValue value; + + factory _$FilesSharingShareeUser1([void Function(FilesSharingShareeUser1Builder)? updates]) => + (FilesSharingShareeUser1Builder()..update(updates))._build(); + + _$FilesSharingShareeUser1._( + {required this.subline, + required this.icon, + required this.shareWithDisplayNameUnique, + required this.status, + required this.value}) + : super._() { + BuiltValueNullFieldError.checkNotNull(subline, r'FilesSharingShareeUser1', 'subline'); + BuiltValueNullFieldError.checkNotNull(icon, r'FilesSharingShareeUser1', 'icon'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'FilesSharingShareeUser1', 'shareWithDisplayNameUnique'); + BuiltValueNullFieldError.checkNotNull(status, r'FilesSharingShareeUser1', 'status'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeUser1', 'value'); + } + + @override + FilesSharingShareeUser1 rebuild(void Function(FilesSharingShareeUser1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeUser1Builder toBuilder() => FilesSharingShareeUser1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeUser1 && + subline == other.subline && + icon == other.icon && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique && + status == other.status && + value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeUser1') + ..add('subline', subline) + ..add('icon', icon) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique) + ..add('status', status) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeUser1Builder implements Builder { + _$FilesSharingShareeUser1? _$v; + + String? _subline; + String? get subline => _$this._subline; + set subline(String? subline) => _$this._subline = subline; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + FilesSharingShareeUser1_StatusBuilder? _status; + FilesSharingShareeUser1_StatusBuilder get status => _$this._status ??= FilesSharingShareeUser1_StatusBuilder(); + set status(FilesSharingShareeUser1_StatusBuilder? status) => _$this._status = status; + + FilesSharingShareeValueBuilder? _value; + FilesSharingShareeValueBuilder get value => _$this._value ??= FilesSharingShareeValueBuilder(); + set value(FilesSharingShareeValueBuilder? value) => _$this._value = value; + + FilesSharingShareeUser1Builder(); + + FilesSharingShareeUser1Builder get _$this { + final $v = _$v; + if ($v != null) { + _subline = $v.subline; + _icon = $v.icon; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _status = $v.status.toBuilder(); + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeUser1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeUser1; + } + + @override + void update(void Function(FilesSharingShareeUser1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeUser1 build() => _build(); + + _$FilesSharingShareeUser1 _build() { + _$FilesSharingShareeUser1 _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeUser1._( + subline: BuiltValueNullFieldError.checkNotNull(subline, r'FilesSharingShareeUser1', 'subline'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'FilesSharingShareeUser1', 'icon'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'FilesSharingShareeUser1', 'shareWithDisplayNameUnique'), + status: status.build(), + value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'status'; + status.build(); + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeUser1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeUser extends FilesSharingShareeUser { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeUser1 shareeUser1; + + factory _$FilesSharingShareeUser([void Function(FilesSharingShareeUserBuilder)? updates]) => + (FilesSharingShareeUserBuilder()..update(updates))._build(); + + _$FilesSharingShareeUser._({required this.data, required this.sharee, required this.shareeUser1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeUser', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeUser', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeUser1, r'FilesSharingShareeUser', 'shareeUser1'); + } + + @override + FilesSharingShareeUser rebuild(void Function(FilesSharingShareeUserBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeUserBuilder toBuilder() => FilesSharingShareeUserBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeUser && + data == other.data && + sharee == other.sharee && + shareeUser1 == other.shareeUser1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeUser1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeUser') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeUser1', shareeUser1)) + .toString(); + } +} + +class FilesSharingShareeUserBuilder implements Builder { + _$FilesSharingShareeUser? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeUser1Builder? _shareeUser1; + FilesSharingShareeUser1Builder get shareeUser1 => _$this._shareeUser1 ??= FilesSharingShareeUser1Builder(); + set shareeUser1(FilesSharingShareeUser1Builder? shareeUser1) => _$this._shareeUser1 = shareeUser1; + + FilesSharingShareeUserBuilder(); + + FilesSharingShareeUserBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeUser1 = $v.shareeUser1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeUser other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeUser; + } + + @override + void update(void Function(FilesSharingShareeUserBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeUser build() => _build(); + + _$FilesSharingShareeUser _build() { + _$FilesSharingShareeUser _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeUser._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeUser', 'data'), + sharee: sharee.build(), + shareeUser1: shareeUser1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeUser1'; + shareeUser1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeUser', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesSearchResult_Exact extends FilesSharingShareesSearchResult_Exact { + @override + final BuiltList circles; + @override + final BuiltList emails; + @override + final BuiltList groups; + @override + final BuiltList remoteGroups; + @override + final BuiltList remotes; + @override + final BuiltList rooms; + @override + final BuiltList users; + + factory _$FilesSharingShareesSearchResult_Exact( + [void Function(FilesSharingShareesSearchResult_ExactBuilder)? updates]) => + (FilesSharingShareesSearchResult_ExactBuilder()..update(updates))._build(); + + _$FilesSharingShareesSearchResult_Exact._( + {required this.circles, + required this.emails, + required this.groups, + required this.remoteGroups, + required this.remotes, + required this.rooms, + required this.users}) + : super._() { + BuiltValueNullFieldError.checkNotNull(circles, r'FilesSharingShareesSearchResult_Exact', 'circles'); + BuiltValueNullFieldError.checkNotNull(emails, r'FilesSharingShareesSearchResult_Exact', 'emails'); + BuiltValueNullFieldError.checkNotNull(groups, r'FilesSharingShareesSearchResult_Exact', 'groups'); + BuiltValueNullFieldError.checkNotNull(remoteGroups, r'FilesSharingShareesSearchResult_Exact', 'remoteGroups'); + BuiltValueNullFieldError.checkNotNull(remotes, r'FilesSharingShareesSearchResult_Exact', 'remotes'); + BuiltValueNullFieldError.checkNotNull(rooms, r'FilesSharingShareesSearchResult_Exact', 'rooms'); + BuiltValueNullFieldError.checkNotNull(users, r'FilesSharingShareesSearchResult_Exact', 'users'); + } + + @override + FilesSharingShareesSearchResult_Exact rebuild(void Function(FilesSharingShareesSearchResult_ExactBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesSearchResult_ExactBuilder toBuilder() => + FilesSharingShareesSearchResult_ExactBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesSearchResult_Exact && + circles == other.circles && + emails == other.emails && + groups == other.groups && + remoteGroups == other.remoteGroups && + remotes == other.remotes && + rooms == other.rooms && + users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, circles.hashCode); + _$hash = $jc(_$hash, emails.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, remoteGroups.hashCode); + _$hash = $jc(_$hash, remotes.hashCode); + _$hash = $jc(_$hash, rooms.hashCode); + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesSearchResult_Exact') + ..add('circles', circles) + ..add('emails', emails) + ..add('groups', groups) + ..add('remoteGroups', remoteGroups) + ..add('remotes', remotes) + ..add('rooms', rooms) + ..add('users', users)) + .toString(); + } +} + +class FilesSharingShareesSearchResult_ExactBuilder + implements Builder { + _$FilesSharingShareesSearchResult_Exact? _$v; + + ListBuilder? _circles; + ListBuilder get circles => _$this._circles ??= ListBuilder(); + set circles(ListBuilder? circles) => _$this._circles = circles; + + ListBuilder? _emails; + ListBuilder get emails => _$this._emails ??= ListBuilder(); + set emails(ListBuilder? emails) => _$this._emails = emails; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ListBuilder? _remoteGroups; + ListBuilder get remoteGroups => + _$this._remoteGroups ??= ListBuilder(); + set remoteGroups(ListBuilder? remoteGroups) => _$this._remoteGroups = remoteGroups; + + ListBuilder? _remotes; + ListBuilder get remotes => _$this._remotes ??= ListBuilder(); + set remotes(ListBuilder? remotes) => _$this._remotes = remotes; + + ListBuilder? _rooms; + ListBuilder get rooms => _$this._rooms ??= ListBuilder(); + set rooms(ListBuilder? rooms) => _$this._rooms = rooms; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + FilesSharingShareesSearchResult_ExactBuilder(); + + FilesSharingShareesSearchResult_ExactBuilder get _$this { + final $v = _$v; + if ($v != null) { + _circles = $v.circles.toBuilder(); + _emails = $v.emails.toBuilder(); + _groups = $v.groups.toBuilder(); + _remoteGroups = $v.remoteGroups.toBuilder(); + _remotes = $v.remotes.toBuilder(); + _rooms = $v.rooms.toBuilder(); + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesSearchResult_Exact other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesSearchResult_Exact; + } + + @override + void update(void Function(FilesSharingShareesSearchResult_ExactBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesSearchResult_Exact build() => _build(); + + _$FilesSharingShareesSearchResult_Exact _build() { + _$FilesSharingShareesSearchResult_Exact _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesSearchResult_Exact._( + circles: circles.build(), + emails: emails.build(), + groups: groups.build(), + remoteGroups: remoteGroups.build(), + remotes: remotes.build(), + rooms: rooms.build(), + users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'circles'; + circles.build(); + _$failedField = 'emails'; + emails.build(); + _$failedField = 'groups'; + groups.build(); + _$failedField = 'remoteGroups'; + remoteGroups.build(); + _$failedField = 'remotes'; + remotes.build(); + _$failedField = 'rooms'; + rooms.build(); + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareesSearchResult_Exact', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingLookup extends FilesSharingLookup { + @override + final String value; + @override + final int verified; + + factory _$FilesSharingLookup([void Function(FilesSharingLookupBuilder)? updates]) => + (FilesSharingLookupBuilder()..update(updates))._build(); + + _$FilesSharingLookup._({required this.value, required this.verified}) : super._() { + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingLookup', 'value'); + BuiltValueNullFieldError.checkNotNull(verified, r'FilesSharingLookup', 'verified'); + } + + @override + FilesSharingLookup rebuild(void Function(FilesSharingLookupBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingLookupBuilder toBuilder() => FilesSharingLookupBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingLookup && value == other.value && verified == other.verified; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jc(_$hash, verified.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingLookup') + ..add('value', value) + ..add('verified', verified)) + .toString(); + } +} + +class FilesSharingLookupBuilder implements Builder { + _$FilesSharingLookup? _$v; + + String? _value; + String? get value => _$this._value; + set value(String? value) => _$this._value = value; + + int? _verified; + int? get verified => _$this._verified; + set verified(int? verified) => _$this._verified = verified; + + FilesSharingLookupBuilder(); + + FilesSharingLookupBuilder get _$this { + final $v = _$v; + if ($v != null) { + _value = $v.value; + _verified = $v.verified; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingLookup other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingLookup; + } + + @override + void update(void Function(FilesSharingLookupBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingLookup build() => _build(); + + _$FilesSharingLookup _build() { + final _$result = _$v ?? + _$FilesSharingLookup._( + value: BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingLookup', 'value'), + verified: BuiltValueNullFieldError.checkNotNull(verified, r'FilesSharingLookup', 'verified')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeLookup1_Extra extends FilesSharingShareeLookup1_Extra { + @override + final String federationId; + @override + final FilesSharingLookup? name; + @override + final FilesSharingLookup? email; + @override + final FilesSharingLookup? address; + @override + final FilesSharingLookup? website; + @override + final FilesSharingLookup? twitter; + @override + final FilesSharingLookup? phone; + @override + final FilesSharingLookup? twitterSignature; + @override + final FilesSharingLookup? websiteSignature; + @override + final FilesSharingLookup? userid; + + factory _$FilesSharingShareeLookup1_Extra([void Function(FilesSharingShareeLookup1_ExtraBuilder)? updates]) => + (FilesSharingShareeLookup1_ExtraBuilder()..update(updates))._build(); + + _$FilesSharingShareeLookup1_Extra._( + {required this.federationId, + this.name, + this.email, + this.address, + this.website, + this.twitter, + this.phone, + this.twitterSignature, + this.websiteSignature, + this.userid}) + : super._() { + BuiltValueNullFieldError.checkNotNull(federationId, r'FilesSharingShareeLookup1_Extra', 'federationId'); + } + + @override + FilesSharingShareeLookup1_Extra rebuild(void Function(FilesSharingShareeLookup1_ExtraBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeLookup1_ExtraBuilder toBuilder() => FilesSharingShareeLookup1_ExtraBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeLookup1_Extra && + federationId == other.federationId && + name == other.name && + email == other.email && + address == other.address && + website == other.website && + twitter == other.twitter && + phone == other.phone && + twitterSignature == other.twitterSignature && + websiteSignature == other.websiteSignature && + userid == other.userid; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, federationId.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, email.hashCode); + _$hash = $jc(_$hash, address.hashCode); + _$hash = $jc(_$hash, website.hashCode); + _$hash = $jc(_$hash, twitter.hashCode); + _$hash = $jc(_$hash, phone.hashCode); + _$hash = $jc(_$hash, twitterSignature.hashCode); + _$hash = $jc(_$hash, websiteSignature.hashCode); + _$hash = $jc(_$hash, userid.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeLookup1_Extra') + ..add('federationId', federationId) + ..add('name', name) + ..add('email', email) + ..add('address', address) + ..add('website', website) + ..add('twitter', twitter) + ..add('phone', phone) + ..add('twitterSignature', twitterSignature) + ..add('websiteSignature', websiteSignature) + ..add('userid', userid)) + .toString(); + } +} + +class FilesSharingShareeLookup1_ExtraBuilder + implements Builder { + _$FilesSharingShareeLookup1_Extra? _$v; + + String? _federationId; + String? get federationId => _$this._federationId; + set federationId(String? federationId) => _$this._federationId = federationId; + + FilesSharingLookupBuilder? _name; + FilesSharingLookupBuilder get name => _$this._name ??= FilesSharingLookupBuilder(); + set name(FilesSharingLookupBuilder? name) => _$this._name = name; + + FilesSharingLookupBuilder? _email; + FilesSharingLookupBuilder get email => _$this._email ??= FilesSharingLookupBuilder(); + set email(FilesSharingLookupBuilder? email) => _$this._email = email; + + FilesSharingLookupBuilder? _address; + FilesSharingLookupBuilder get address => _$this._address ??= FilesSharingLookupBuilder(); + set address(FilesSharingLookupBuilder? address) => _$this._address = address; + + FilesSharingLookupBuilder? _website; + FilesSharingLookupBuilder get website => _$this._website ??= FilesSharingLookupBuilder(); + set website(FilesSharingLookupBuilder? website) => _$this._website = website; + + FilesSharingLookupBuilder? _twitter; + FilesSharingLookupBuilder get twitter => _$this._twitter ??= FilesSharingLookupBuilder(); + set twitter(FilesSharingLookupBuilder? twitter) => _$this._twitter = twitter; + + FilesSharingLookupBuilder? _phone; + FilesSharingLookupBuilder get phone => _$this._phone ??= FilesSharingLookupBuilder(); + set phone(FilesSharingLookupBuilder? phone) => _$this._phone = phone; + + FilesSharingLookupBuilder? _twitterSignature; + FilesSharingLookupBuilder get twitterSignature => _$this._twitterSignature ??= FilesSharingLookupBuilder(); + set twitterSignature(FilesSharingLookupBuilder? twitterSignature) => _$this._twitterSignature = twitterSignature; + + FilesSharingLookupBuilder? _websiteSignature; + FilesSharingLookupBuilder get websiteSignature => _$this._websiteSignature ??= FilesSharingLookupBuilder(); + set websiteSignature(FilesSharingLookupBuilder? websiteSignature) => _$this._websiteSignature = websiteSignature; + + FilesSharingLookupBuilder? _userid; + FilesSharingLookupBuilder get userid => _$this._userid ??= FilesSharingLookupBuilder(); + set userid(FilesSharingLookupBuilder? userid) => _$this._userid = userid; + + FilesSharingShareeLookup1_ExtraBuilder(); + + FilesSharingShareeLookup1_ExtraBuilder get _$this { + final $v = _$v; + if ($v != null) { + _federationId = $v.federationId; + _name = $v.name?.toBuilder(); + _email = $v.email?.toBuilder(); + _address = $v.address?.toBuilder(); + _website = $v.website?.toBuilder(); + _twitter = $v.twitter?.toBuilder(); + _phone = $v.phone?.toBuilder(); + _twitterSignature = $v.twitterSignature?.toBuilder(); + _websiteSignature = $v.websiteSignature?.toBuilder(); + _userid = $v.userid?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeLookup1_Extra other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeLookup1_Extra; + } + + @override + void update(void Function(FilesSharingShareeLookup1_ExtraBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeLookup1_Extra build() => _build(); + + _$FilesSharingShareeLookup1_Extra _build() { + _$FilesSharingShareeLookup1_Extra _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeLookup1_Extra._( + federationId: BuiltValueNullFieldError.checkNotNull( + federationId, r'FilesSharingShareeLookup1_Extra', 'federationId'), + name: _name?.build(), + email: _email?.build(), + address: _address?.build(), + website: _website?.build(), + twitter: _twitter?.build(), + phone: _phone?.build(), + twitterSignature: _twitterSignature?.build(), + websiteSignature: _websiteSignature?.build(), + userid: _userid?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'name'; + _name?.build(); + _$failedField = 'email'; + _email?.build(); + _$failedField = 'address'; + _address?.build(); + _$failedField = 'website'; + _website?.build(); + _$failedField = 'twitter'; + _twitter?.build(); + _$failedField = 'phone'; + _phone?.build(); + _$failedField = 'twitterSignature'; + _twitterSignature?.build(); + _$failedField = 'websiteSignature'; + _websiteSignature?.build(); + _$failedField = 'userid'; + _userid?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeLookup1_Extra', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeLookup1_Value1 extends FilesSharingShareeLookup1_Value1 { + @override + final bool globalScale; + + factory _$FilesSharingShareeLookup1_Value1([void Function(FilesSharingShareeLookup1_Value1Builder)? updates]) => + (FilesSharingShareeLookup1_Value1Builder()..update(updates))._build(); + + _$FilesSharingShareeLookup1_Value1._({required this.globalScale}) : super._() { + BuiltValueNullFieldError.checkNotNull(globalScale, r'FilesSharingShareeLookup1_Value1', 'globalScale'); + } + + @override + FilesSharingShareeLookup1_Value1 rebuild(void Function(FilesSharingShareeLookup1_Value1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeLookup1_Value1Builder toBuilder() => FilesSharingShareeLookup1_Value1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeLookup1_Value1 && globalScale == other.globalScale; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, globalScale.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeLookup1_Value1')..add('globalScale', globalScale)) + .toString(); + } +} + +class FilesSharingShareeLookup1_Value1Builder + implements Builder { + _$FilesSharingShareeLookup1_Value1? _$v; + + bool? _globalScale; + bool? get globalScale => _$this._globalScale; + set globalScale(bool? globalScale) => _$this._globalScale = globalScale; + + FilesSharingShareeLookup1_Value1Builder(); + + FilesSharingShareeLookup1_Value1Builder get _$this { + final $v = _$v; + if ($v != null) { + _globalScale = $v.globalScale; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeLookup1_Value1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeLookup1_Value1; + } + + @override + void update(void Function(FilesSharingShareeLookup1_Value1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeLookup1_Value1 build() => _build(); + + _$FilesSharingShareeLookup1_Value1 _build() { + final _$result = _$v ?? + _$FilesSharingShareeLookup1_Value1._( + globalScale: + BuiltValueNullFieldError.checkNotNull(globalScale, r'FilesSharingShareeLookup1_Value1', 'globalScale')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeLookup1_Value extends FilesSharingShareeLookup1_Value { + @override + final JsonObject data; + @override + final FilesSharingShareeValue shareeValue; + @override + final FilesSharingShareeLookup1_Value1 shareeLookup1Value1; + + factory _$FilesSharingShareeLookup1_Value([void Function(FilesSharingShareeLookup1_ValueBuilder)? updates]) => + (FilesSharingShareeLookup1_ValueBuilder()..update(updates))._build(); + + _$FilesSharingShareeLookup1_Value._( + {required this.data, required this.shareeValue, required this.shareeLookup1Value1}) + : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeLookup1_Value', 'data'); + BuiltValueNullFieldError.checkNotNull(shareeValue, r'FilesSharingShareeLookup1_Value', 'shareeValue'); + BuiltValueNullFieldError.checkNotNull( + shareeLookup1Value1, r'FilesSharingShareeLookup1_Value', 'shareeLookup1Value1'); + } + + @override + FilesSharingShareeLookup1_Value rebuild(void Function(FilesSharingShareeLookup1_ValueBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeLookup1_ValueBuilder toBuilder() => FilesSharingShareeLookup1_ValueBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeLookup1_Value && + data == other.data && + shareeValue == other.shareeValue && + shareeLookup1Value1 == other.shareeLookup1Value1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, shareeValue.hashCode); + _$hash = $jc(_$hash, shareeLookup1Value1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeLookup1_Value') + ..add('data', data) + ..add('shareeValue', shareeValue) + ..add('shareeLookup1Value1', shareeLookup1Value1)) + .toString(); + } +} + +class FilesSharingShareeLookup1_ValueBuilder + implements Builder { + _$FilesSharingShareeLookup1_Value? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeValueBuilder? _shareeValue; + FilesSharingShareeValueBuilder get shareeValue => _$this._shareeValue ??= FilesSharingShareeValueBuilder(); + set shareeValue(FilesSharingShareeValueBuilder? shareeValue) => _$this._shareeValue = shareeValue; + + FilesSharingShareeLookup1_Value1Builder? _shareeLookup1Value1; + FilesSharingShareeLookup1_Value1Builder get shareeLookup1Value1 => + _$this._shareeLookup1Value1 ??= FilesSharingShareeLookup1_Value1Builder(); + set shareeLookup1Value1(FilesSharingShareeLookup1_Value1Builder? shareeLookup1Value1) => + _$this._shareeLookup1Value1 = shareeLookup1Value1; + + FilesSharingShareeLookup1_ValueBuilder(); + + FilesSharingShareeLookup1_ValueBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _shareeValue = $v.shareeValue.toBuilder(); + _shareeLookup1Value1 = $v.shareeLookup1Value1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeLookup1_Value other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeLookup1_Value; + } + + @override + void update(void Function(FilesSharingShareeLookup1_ValueBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeLookup1_Value build() => _build(); + + _$FilesSharingShareeLookup1_Value _build() { + _$FilesSharingShareeLookup1_Value _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeLookup1_Value._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeLookup1_Value', 'data'), + shareeValue: shareeValue.build(), + shareeLookup1Value1: shareeLookup1Value1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'shareeValue'; + shareeValue.build(); + _$failedField = 'shareeLookup1Value1'; + shareeLookup1Value1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeLookup1_Value', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeLookup1 extends FilesSharingShareeLookup1 { + @override + final FilesSharingShareeLookup1_Extra extra; + @override + final FilesSharingShareeLookup1_Value value; + + factory _$FilesSharingShareeLookup1([void Function(FilesSharingShareeLookup1Builder)? updates]) => + (FilesSharingShareeLookup1Builder()..update(updates))._build(); + + _$FilesSharingShareeLookup1._({required this.extra, required this.value}) : super._() { + BuiltValueNullFieldError.checkNotNull(extra, r'FilesSharingShareeLookup1', 'extra'); + BuiltValueNullFieldError.checkNotNull(value, r'FilesSharingShareeLookup1', 'value'); + } + + @override + FilesSharingShareeLookup1 rebuild(void Function(FilesSharingShareeLookup1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeLookup1Builder toBuilder() => FilesSharingShareeLookup1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeLookup1 && extra == other.extra && value == other.value; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, extra.hashCode); + _$hash = $jc(_$hash, value.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeLookup1') + ..add('extra', extra) + ..add('value', value)) + .toString(); + } +} + +class FilesSharingShareeLookup1Builder implements Builder { + _$FilesSharingShareeLookup1? _$v; + + FilesSharingShareeLookup1_ExtraBuilder? _extra; + FilesSharingShareeLookup1_ExtraBuilder get extra => _$this._extra ??= FilesSharingShareeLookup1_ExtraBuilder(); + set extra(FilesSharingShareeLookup1_ExtraBuilder? extra) => _$this._extra = extra; + + FilesSharingShareeLookup1_ValueBuilder? _value; + FilesSharingShareeLookup1_ValueBuilder get value => _$this._value ??= FilesSharingShareeLookup1_ValueBuilder(); + set value(FilesSharingShareeLookup1_ValueBuilder? value) => _$this._value = value; + + FilesSharingShareeLookup1Builder(); + + FilesSharingShareeLookup1Builder get _$this { + final $v = _$v; + if ($v != null) { + _extra = $v.extra.toBuilder(); + _value = $v.value.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeLookup1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeLookup1; + } + + @override + void update(void Function(FilesSharingShareeLookup1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeLookup1 build() => _build(); + + _$FilesSharingShareeLookup1 _build() { + _$FilesSharingShareeLookup1 _$result; + try { + _$result = _$v ?? _$FilesSharingShareeLookup1._(extra: extra.build(), value: value.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'extra'; + extra.build(); + _$failedField = 'value'; + value.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeLookup1', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareeLookup extends FilesSharingShareeLookup { + @override + final JsonObject data; + @override + final FilesSharingSharee sharee; + @override + final FilesSharingShareeLookup1 shareeLookup1; + + factory _$FilesSharingShareeLookup([void Function(FilesSharingShareeLookupBuilder)? updates]) => + (FilesSharingShareeLookupBuilder()..update(updates))._build(); + + _$FilesSharingShareeLookup._({required this.data, required this.sharee, required this.shareeLookup1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeLookup', 'data'); + BuiltValueNullFieldError.checkNotNull(sharee, r'FilesSharingShareeLookup', 'sharee'); + BuiltValueNullFieldError.checkNotNull(shareeLookup1, r'FilesSharingShareeLookup', 'shareeLookup1'); + } + + @override + FilesSharingShareeLookup rebuild(void Function(FilesSharingShareeLookupBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareeLookupBuilder toBuilder() => FilesSharingShareeLookupBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareeLookup && + data == other.data && + sharee == other.sharee && + shareeLookup1 == other.shareeLookup1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, sharee.hashCode); + _$hash = $jc(_$hash, shareeLookup1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareeLookup') + ..add('data', data) + ..add('sharee', sharee) + ..add('shareeLookup1', shareeLookup1)) + .toString(); + } +} + +class FilesSharingShareeLookupBuilder implements Builder { + _$FilesSharingShareeLookup? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + FilesSharingShareeBuilder? _sharee; + FilesSharingShareeBuilder get sharee => _$this._sharee ??= FilesSharingShareeBuilder(); + set sharee(FilesSharingShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingShareeLookup1Builder? _shareeLookup1; + FilesSharingShareeLookup1Builder get shareeLookup1 => _$this._shareeLookup1 ??= FilesSharingShareeLookup1Builder(); + set shareeLookup1(FilesSharingShareeLookup1Builder? shareeLookup1) => _$this._shareeLookup1 = shareeLookup1; + + FilesSharingShareeLookupBuilder(); + + FilesSharingShareeLookupBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _sharee = $v.sharee.toBuilder(); + _shareeLookup1 = $v.shareeLookup1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareeLookup other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareeLookup; + } + + @override + void update(void Function(FilesSharingShareeLookupBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareeLookup build() => _build(); + + _$FilesSharingShareeLookup _build() { + _$FilesSharingShareeLookup _$result; + try { + _$result = _$v ?? + _$FilesSharingShareeLookup._( + data: BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareeLookup', 'data'), + sharee: sharee.build(), + shareeLookup1: shareeLookup1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'sharee'; + sharee.build(); + _$failedField = 'shareeLookup1'; + shareeLookup1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareeLookup', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesSearchResult extends FilesSharingShareesSearchResult { + @override + final FilesSharingShareesSearchResult_Exact exact; + @override + final BuiltList circles; + @override + final BuiltList emails; + @override + final BuiltList groups; + @override + final BuiltList lookup; + @override + final BuiltList remoteGroups; + @override + final BuiltList remotes; + @override + final BuiltList rooms; + @override + final BuiltList users; + @override + final bool lookupEnabled; + + factory _$FilesSharingShareesSearchResult([void Function(FilesSharingShareesSearchResultBuilder)? updates]) => + (FilesSharingShareesSearchResultBuilder()..update(updates))._build(); + + _$FilesSharingShareesSearchResult._( + {required this.exact, + required this.circles, + required this.emails, + required this.groups, + required this.lookup, + required this.remoteGroups, + required this.remotes, + required this.rooms, + required this.users, + required this.lookupEnabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull(exact, r'FilesSharingShareesSearchResult', 'exact'); + BuiltValueNullFieldError.checkNotNull(circles, r'FilesSharingShareesSearchResult', 'circles'); + BuiltValueNullFieldError.checkNotNull(emails, r'FilesSharingShareesSearchResult', 'emails'); + BuiltValueNullFieldError.checkNotNull(groups, r'FilesSharingShareesSearchResult', 'groups'); + BuiltValueNullFieldError.checkNotNull(lookup, r'FilesSharingShareesSearchResult', 'lookup'); + BuiltValueNullFieldError.checkNotNull(remoteGroups, r'FilesSharingShareesSearchResult', 'remoteGroups'); + BuiltValueNullFieldError.checkNotNull(remotes, r'FilesSharingShareesSearchResult', 'remotes'); + BuiltValueNullFieldError.checkNotNull(rooms, r'FilesSharingShareesSearchResult', 'rooms'); + BuiltValueNullFieldError.checkNotNull(users, r'FilesSharingShareesSearchResult', 'users'); + BuiltValueNullFieldError.checkNotNull(lookupEnabled, r'FilesSharingShareesSearchResult', 'lookupEnabled'); + } + + @override + FilesSharingShareesSearchResult rebuild(void Function(FilesSharingShareesSearchResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesSearchResultBuilder toBuilder() => FilesSharingShareesSearchResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesSearchResult && + exact == other.exact && + circles == other.circles && + emails == other.emails && + groups == other.groups && + lookup == other.lookup && + remoteGroups == other.remoteGroups && + remotes == other.remotes && + rooms == other.rooms && + users == other.users && + lookupEnabled == other.lookupEnabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, exact.hashCode); + _$hash = $jc(_$hash, circles.hashCode); + _$hash = $jc(_$hash, emails.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, lookup.hashCode); + _$hash = $jc(_$hash, remoteGroups.hashCode); + _$hash = $jc(_$hash, remotes.hashCode); + _$hash = $jc(_$hash, rooms.hashCode); + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jc(_$hash, lookupEnabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesSearchResult') + ..add('exact', exact) + ..add('circles', circles) + ..add('emails', emails) + ..add('groups', groups) + ..add('lookup', lookup) + ..add('remoteGroups', remoteGroups) + ..add('remotes', remotes) + ..add('rooms', rooms) + ..add('users', users) + ..add('lookupEnabled', lookupEnabled)) + .toString(); + } +} + +class FilesSharingShareesSearchResultBuilder + implements Builder { + _$FilesSharingShareesSearchResult? _$v; + + FilesSharingShareesSearchResult_ExactBuilder? _exact; + FilesSharingShareesSearchResult_ExactBuilder get exact => + _$this._exact ??= FilesSharingShareesSearchResult_ExactBuilder(); + set exact(FilesSharingShareesSearchResult_ExactBuilder? exact) => _$this._exact = exact; + + ListBuilder? _circles; + ListBuilder get circles => _$this._circles ??= ListBuilder(); + set circles(ListBuilder? circles) => _$this._circles = circles; + + ListBuilder? _emails; + ListBuilder get emails => _$this._emails ??= ListBuilder(); + set emails(ListBuilder? emails) => _$this._emails = emails; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ListBuilder? _lookup; + ListBuilder get lookup => _$this._lookup ??= ListBuilder(); + set lookup(ListBuilder? lookup) => _$this._lookup = lookup; + + ListBuilder? _remoteGroups; + ListBuilder get remoteGroups => + _$this._remoteGroups ??= ListBuilder(); + set remoteGroups(ListBuilder? remoteGroups) => _$this._remoteGroups = remoteGroups; + + ListBuilder? _remotes; + ListBuilder get remotes => _$this._remotes ??= ListBuilder(); + set remotes(ListBuilder? remotes) => _$this._remotes = remotes; + + ListBuilder? _rooms; + ListBuilder get rooms => _$this._rooms ??= ListBuilder(); + set rooms(ListBuilder? rooms) => _$this._rooms = rooms; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + bool? _lookupEnabled; + bool? get lookupEnabled => _$this._lookupEnabled; + set lookupEnabled(bool? lookupEnabled) => _$this._lookupEnabled = lookupEnabled; + + FilesSharingShareesSearchResultBuilder(); + + FilesSharingShareesSearchResultBuilder get _$this { + final $v = _$v; + if ($v != null) { + _exact = $v.exact.toBuilder(); + _circles = $v.circles.toBuilder(); + _emails = $v.emails.toBuilder(); + _groups = $v.groups.toBuilder(); + _lookup = $v.lookup.toBuilder(); + _remoteGroups = $v.remoteGroups.toBuilder(); + _remotes = $v.remotes.toBuilder(); + _rooms = $v.rooms.toBuilder(); + _users = $v.users.toBuilder(); + _lookupEnabled = $v.lookupEnabled; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesSearchResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesSearchResult; + } + + @override + void update(void Function(FilesSharingShareesSearchResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesSearchResult build() => _build(); + + _$FilesSharingShareesSearchResult _build() { + _$FilesSharingShareesSearchResult _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesSearchResult._( + exact: exact.build(), + circles: circles.build(), + emails: emails.build(), + groups: groups.build(), + lookup: lookup.build(), + remoteGroups: remoteGroups.build(), + remotes: remotes.build(), + rooms: rooms.build(), + users: users.build(), + lookupEnabled: BuiltValueNullFieldError.checkNotNull( + lookupEnabled, r'FilesSharingShareesSearchResult', 'lookupEnabled')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'exact'; + exact.build(); + _$failedField = 'circles'; + circles.build(); + _$failedField = 'emails'; + emails.build(); + _$failedField = 'groups'; + groups.build(); + _$failedField = 'lookup'; + lookup.build(); + _$failedField = 'remoteGroups'; + remoteGroups.build(); + _$failedField = 'remotes'; + remotes.build(); + _$failedField = 'rooms'; + rooms.build(); + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareesSearchResult', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs + extends FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingShareesSearchResult data; + + factory _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingShareesSearchResultBuilder? _data; + FilesSharingShareesSearchResultBuilder get data => _$this._data ??= FilesSharingShareesSearchResultBuilder(); + set data(FilesSharingShareesSearchResultBuilder? data) => _$this._data = data; + + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$FilesSharingShareesapiSearchResponse200ApplicationJson_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'FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiSearchResponse200ApplicationJson + extends FilesSharingShareesapiSearchResponse200ApplicationJson { + @override + final FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareesapiSearchResponse200ApplicationJson( + [void Function(FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiSearchResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'FilesSharingShareesapiSearchResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson rebuild( + void Function(FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiSearchResponse200ApplicationJson && 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'FilesSharingShareesapiSearchResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareesapiSearchResponse200ApplicationJson? _$v; + + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder(); + + FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiSearchResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiSearchResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiSearchResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareesapiSearchResponse200ApplicationJson _build() { + _$FilesSharingShareesapiSearchResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareesapiSearchResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareesapiSearchResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiFindRecommendedShareType extends FilesSharingShareesapiFindRecommendedShareType { + @override + final JsonObject data; + @override + final int? $int; + @override + final BuiltList? builtListInt; + + factory _$FilesSharingShareesapiFindRecommendedShareType( + [void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder)? updates]) => + (FilesSharingShareesapiFindRecommendedShareTypeBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiFindRecommendedShareType._({required this.data, this.$int, this.builtListInt}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'FilesSharingShareesapiFindRecommendedShareType', 'data'); + } + + @override + FilesSharingShareesapiFindRecommendedShareType rebuild( + void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiFindRecommendedShareTypeBuilder toBuilder() => + FilesSharingShareesapiFindRecommendedShareTypeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiFindRecommendedShareType && + data == other.data && + $int == other.$int && + builtListInt == other.builtListInt; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, builtListInt.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesapiFindRecommendedShareType') + ..add('data', data) + ..add('\$int', $int) + ..add('builtListInt', builtListInt)) + .toString(); + } +} + +class FilesSharingShareesapiFindRecommendedShareTypeBuilder + implements + Builder { + _$FilesSharingShareesapiFindRecommendedShareType? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + ListBuilder? _builtListInt; + ListBuilder get builtListInt => _$this._builtListInt ??= ListBuilder(); + set builtListInt(ListBuilder? builtListInt) => _$this._builtListInt = builtListInt; + + FilesSharingShareesapiFindRecommendedShareTypeBuilder(); + + FilesSharingShareesapiFindRecommendedShareTypeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$int = $v.$int; + _builtListInt = $v.builtListInt?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiFindRecommendedShareType other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiFindRecommendedShareType; + } + + @override + void update(void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiFindRecommendedShareType build() => _build(); + + _$FilesSharingShareesapiFindRecommendedShareType _build() { + _$FilesSharingShareesapiFindRecommendedShareType _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesapiFindRecommendedShareType._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareesapiFindRecommendedShareType', 'data'), + $int: $int, + builtListInt: _builtListInt?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'builtListInt'; + _builtListInt?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareesapiFindRecommendedShareType', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesRecommendedResult_Exact extends FilesSharingShareesRecommendedResult_Exact { + @override + final BuiltList emails; + @override + final BuiltList groups; + @override + final BuiltList remoteGroups; + @override + final BuiltList remotes; + @override + final BuiltList users; + + factory _$FilesSharingShareesRecommendedResult_Exact( + [void Function(FilesSharingShareesRecommendedResult_ExactBuilder)? updates]) => + (FilesSharingShareesRecommendedResult_ExactBuilder()..update(updates))._build(); + + _$FilesSharingShareesRecommendedResult_Exact._( + {required this.emails, + required this.groups, + required this.remoteGroups, + required this.remotes, + required this.users}) + : super._() { + BuiltValueNullFieldError.checkNotNull(emails, r'FilesSharingShareesRecommendedResult_Exact', 'emails'); + BuiltValueNullFieldError.checkNotNull(groups, r'FilesSharingShareesRecommendedResult_Exact', 'groups'); + BuiltValueNullFieldError.checkNotNull(remoteGroups, r'FilesSharingShareesRecommendedResult_Exact', 'remoteGroups'); + BuiltValueNullFieldError.checkNotNull(remotes, r'FilesSharingShareesRecommendedResult_Exact', 'remotes'); + BuiltValueNullFieldError.checkNotNull(users, r'FilesSharingShareesRecommendedResult_Exact', 'users'); + } + + @override + FilesSharingShareesRecommendedResult_Exact rebuild( + void Function(FilesSharingShareesRecommendedResult_ExactBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesRecommendedResult_ExactBuilder toBuilder() => + FilesSharingShareesRecommendedResult_ExactBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesRecommendedResult_Exact && + emails == other.emails && + groups == other.groups && + remoteGroups == other.remoteGroups && + remotes == other.remotes && + users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, emails.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, remoteGroups.hashCode); + _$hash = $jc(_$hash, remotes.hashCode); + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesRecommendedResult_Exact') + ..add('emails', emails) + ..add('groups', groups) + ..add('remoteGroups', remoteGroups) + ..add('remotes', remotes) + ..add('users', users)) + .toString(); + } +} + +class FilesSharingShareesRecommendedResult_ExactBuilder + implements Builder { + _$FilesSharingShareesRecommendedResult_Exact? _$v; + + ListBuilder? _emails; + ListBuilder get emails => _$this._emails ??= ListBuilder(); + set emails(ListBuilder? emails) => _$this._emails = emails; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ListBuilder? _remoteGroups; + ListBuilder get remoteGroups => + _$this._remoteGroups ??= ListBuilder(); + set remoteGroups(ListBuilder? remoteGroups) => _$this._remoteGroups = remoteGroups; + + ListBuilder? _remotes; + ListBuilder get remotes => _$this._remotes ??= ListBuilder(); + set remotes(ListBuilder? remotes) => _$this._remotes = remotes; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + FilesSharingShareesRecommendedResult_ExactBuilder(); + + FilesSharingShareesRecommendedResult_ExactBuilder get _$this { + final $v = _$v; + if ($v != null) { + _emails = $v.emails.toBuilder(); + _groups = $v.groups.toBuilder(); + _remoteGroups = $v.remoteGroups.toBuilder(); + _remotes = $v.remotes.toBuilder(); + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesRecommendedResult_Exact other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesRecommendedResult_Exact; + } + + @override + void update(void Function(FilesSharingShareesRecommendedResult_ExactBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesRecommendedResult_Exact build() => _build(); + + _$FilesSharingShareesRecommendedResult_Exact _build() { + _$FilesSharingShareesRecommendedResult_Exact _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesRecommendedResult_Exact._( + emails: emails.build(), + groups: groups.build(), + remoteGroups: remoteGroups.build(), + remotes: remotes.build(), + users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'emails'; + emails.build(); + _$failedField = 'groups'; + groups.build(); + _$failedField = 'remoteGroups'; + remoteGroups.build(); + _$failedField = 'remotes'; + remotes.build(); + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareesRecommendedResult_Exact', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesRecommendedResult extends FilesSharingShareesRecommendedResult { + @override + final FilesSharingShareesRecommendedResult_Exact exact; + @override + final BuiltList emails; + @override + final BuiltList groups; + @override + final BuiltList remoteGroups; + @override + final BuiltList remotes; + @override + final BuiltList users; + + factory _$FilesSharingShareesRecommendedResult( + [void Function(FilesSharingShareesRecommendedResultBuilder)? updates]) => + (FilesSharingShareesRecommendedResultBuilder()..update(updates))._build(); + + _$FilesSharingShareesRecommendedResult._( + {required this.exact, + required this.emails, + required this.groups, + required this.remoteGroups, + required this.remotes, + required this.users}) + : super._() { + BuiltValueNullFieldError.checkNotNull(exact, r'FilesSharingShareesRecommendedResult', 'exact'); + BuiltValueNullFieldError.checkNotNull(emails, r'FilesSharingShareesRecommendedResult', 'emails'); + BuiltValueNullFieldError.checkNotNull(groups, r'FilesSharingShareesRecommendedResult', 'groups'); + BuiltValueNullFieldError.checkNotNull(remoteGroups, r'FilesSharingShareesRecommendedResult', 'remoteGroups'); + BuiltValueNullFieldError.checkNotNull(remotes, r'FilesSharingShareesRecommendedResult', 'remotes'); + BuiltValueNullFieldError.checkNotNull(users, r'FilesSharingShareesRecommendedResult', 'users'); + } + + @override + FilesSharingShareesRecommendedResult rebuild(void Function(FilesSharingShareesRecommendedResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesRecommendedResultBuilder toBuilder() => + FilesSharingShareesRecommendedResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesRecommendedResult && + exact == other.exact && + emails == other.emails && + groups == other.groups && + remoteGroups == other.remoteGroups && + remotes == other.remotes && + users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, exact.hashCode); + _$hash = $jc(_$hash, emails.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, remoteGroups.hashCode); + _$hash = $jc(_$hash, remotes.hashCode); + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesRecommendedResult') + ..add('exact', exact) + ..add('emails', emails) + ..add('groups', groups) + ..add('remoteGroups', remoteGroups) + ..add('remotes', remotes) + ..add('users', users)) + .toString(); + } +} + +class FilesSharingShareesRecommendedResultBuilder + implements Builder { + _$FilesSharingShareesRecommendedResult? _$v; + + FilesSharingShareesRecommendedResult_ExactBuilder? _exact; + FilesSharingShareesRecommendedResult_ExactBuilder get exact => + _$this._exact ??= FilesSharingShareesRecommendedResult_ExactBuilder(); + set exact(FilesSharingShareesRecommendedResult_ExactBuilder? exact) => _$this._exact = exact; + + ListBuilder? _emails; + ListBuilder get emails => _$this._emails ??= ListBuilder(); + set emails(ListBuilder? emails) => _$this._emails = emails; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ListBuilder? _remoteGroups; + ListBuilder get remoteGroups => + _$this._remoteGroups ??= ListBuilder(); + set remoteGroups(ListBuilder? remoteGroups) => _$this._remoteGroups = remoteGroups; + + ListBuilder? _remotes; + ListBuilder get remotes => _$this._remotes ??= ListBuilder(); + set remotes(ListBuilder? remotes) => _$this._remotes = remotes; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + FilesSharingShareesRecommendedResultBuilder(); + + FilesSharingShareesRecommendedResultBuilder get _$this { + final $v = _$v; + if ($v != null) { + _exact = $v.exact.toBuilder(); + _emails = $v.emails.toBuilder(); + _groups = $v.groups.toBuilder(); + _remoteGroups = $v.remoteGroups.toBuilder(); + _remotes = $v.remotes.toBuilder(); + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesRecommendedResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesRecommendedResult; + } + + @override + void update(void Function(FilesSharingShareesRecommendedResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesRecommendedResult build() => _build(); + + _$FilesSharingShareesRecommendedResult _build() { + _$FilesSharingShareesRecommendedResult _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesRecommendedResult._( + exact: exact.build(), + emails: emails.build(), + groups: groups.build(), + remoteGroups: remoteGroups.build(), + remotes: remotes.build(), + users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'exact'; + exact.build(); + _$failedField = 'emails'; + emails.build(); + _$failedField = 'groups'; + groups.build(); + _$failedField = 'remoteGroups'; + remoteGroups.build(); + _$failedField = 'remotes'; + remotes.build(); + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingShareesRecommendedResult', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs + extends FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs { + @override + final FilesSharingOCSMeta meta; + @override + final FilesSharingShareesRecommendedResult data; + + factory _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs( + [void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder)? updates]) => + (FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs', 'data'); + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs rebuild( + void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder toBuilder() => + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs? _$v; + + FilesSharingOCSMetaBuilder? _meta; + FilesSharingOCSMetaBuilder get meta => _$this._meta ??= FilesSharingOCSMetaBuilder(); + set meta(FilesSharingOCSMetaBuilder? meta) => _$this._meta = meta; + + FilesSharingShareesRecommendedResultBuilder? _data; + FilesSharingShareesRecommendedResultBuilder get data => + _$this._data ??= FilesSharingShareesRecommendedResultBuilder(); + set data(FilesSharingShareesRecommendedResultBuilder? data) => _$this._data = data; + + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder(); + + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs build() => _build(); + + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs _build() { + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_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'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson + extends FilesSharingShareesapiFindRecommendedResponse200ApplicationJson { + @override + final FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs ocs; + + factory _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson( + [void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder)? updates]) => + (FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson', 'ocs'); + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson rebuild( + void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder toBuilder() => + FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingShareesapiFindRecommendedResponse200ApplicationJson && 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'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder + implements + Builder { + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson? _$v; + + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder? _ocs; + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder(); + set ocs(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder(); + + FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson; + } + + @override + void update(void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingShareesapiFindRecommendedResponse200ApplicationJson build() => _build(); + + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson _build() { + _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingShareesapiFindRecommendedResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_Password + extends FilesSharingCapabilities_FilesSharing_Public_Password { + @override + final bool enforced; + @override + final bool askForOptionalPassword; + + factory _$FilesSharingCapabilities_FilesSharing_Public_Password( + [void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Public_Password._( + {required this.enforced, required this.askForOptionalPassword}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enforced, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'enforced'); + BuiltValueNullFieldError.checkNotNull( + askForOptionalPassword, r'FilesSharingCapabilities_FilesSharing_Public_Password', 'askForOptionalPassword'); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_Password rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Public_Password && + enforced == other.enforced && + askForOptionalPassword == other.askForOptionalPassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_Password') + ..add('enforced', enforced) + ..add('askForOptionalPassword', askForOptionalPassword)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Public_Password? _$v; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; + + bool? _askForOptionalPassword; + bool? get askForOptionalPassword => _$this._askForOptionalPassword; + set askForOptionalPassword(bool? askForOptionalPassword) => _$this._askForOptionalPassword = askForOptionalPassword; + + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enforced = $v.enforced; + _askForOptionalPassword = $v.askForOptionalPassword; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Public_Password other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_Password; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_Password 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')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDate { + @override + final bool enabled; + @override + final int? days; + @override + final bool? enforced; + + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDate && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDate build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDate', 'enabled'), + days: days, + enforced: enforced); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal { + @override + final bool enabled; + @override + final int? days; + @override + final bool? enforced; + + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal 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); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote + extends FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote { + @override + final bool enabled; + @override + final int? days; + @override + final bool? enforced; + + factory _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote( + [void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._({required this.enabled, this.days, this.enforced}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote && + enabled == other.enabled && + days == other.days && + enforced == other.enforced; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, days.hashCode); + _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote') + ..add('enabled', enabled) + ..add('days', days) + ..add('enforced', enforced)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + int? _days; + int? get days => _$this._days; + set days(int? days) => _$this._days = days; + + bool? _enforced; + bool? get enforced => _$this._enforced; + set enforced(bool? enforced) => _$this._enforced = enforced; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _days = $v.days; + _enforced = $v.enforced; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote', 'enabled'), + days: days, + enforced: enforced); + replace(_$result); + return _$result; + } +} + +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'); + } + + @override + FilesSharingCapabilities_FilesSharing_Public rebuild( + void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_PublicBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_PublicBuilder()..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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, password.hashCode); + _$hash = $jc(_$hash, multipleLinks.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, expireDateInternal.hashCode); + _$hash = $jc(_$hash, expireDateRemote.hashCode); + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, upload.hashCode); + _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'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 FilesSharingCapabilities_FilesSharing_PublicBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Public? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? _password; + FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder get password => + _$this._password ??= FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder(); + set password(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder? password) => _$this._password = password; + + bool? _multipleLinks; + bool? get multipleLinks => _$this._multipleLinks; + set multipleLinks(bool? multipleLinks) => _$this._multipleLinks = multipleLinks; + + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder(); + set expireDate(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(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(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => + _$this._expireDateRemote = expireDateRemote; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + + bool? _upload; + bool? get upload => _$this._upload; + set upload(bool? upload) => _$this._upload = upload; + + bool? _uploadFilesDrop; + bool? get uploadFilesDrop => _$this._uploadFilesDrop; + set uploadFilesDrop(bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; + + FilesSharingCapabilities_FilesSharing_PublicBuilder(); + + FilesSharingCapabilities_FilesSharing_PublicBuilder 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; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Public other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Public; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Public build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Public _build() { + _$FilesSharingCapabilities_FilesSharing_Public _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Public._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Public', 'enabled'), + password: _password?.build(), + multipleLinks: multipleLinks, + expireDate: _expireDate?.build(), + expireDateInternal: _expireDateInternal?.build(), + expireDateRemote: _expireDateRemote?.build(), + sendMail: sendMail, + upload: upload, + uploadFilesDrop: uploadFilesDrop); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'password'; + _password?.build(); + + _$failedField = 'expireDate'; + _expireDate?.build(); + _$failedField = 'expireDateInternal'; + _expireDateInternal?.build(); + _$failedField = 'expireDateRemote'; + _expireDateRemote?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Public', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_User_ExpireDate + extends FilesSharingCapabilities_FilesSharing_User_ExpireDate { + @override + final bool enabled; + + factory _$FilesSharingCapabilities_FilesSharing_User_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_User_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_User_ExpireDate && enabled == other.enabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User_ExpireDate') + ..add('enabled', enabled)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_User_ExpireDate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_User_ExpireDate build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_User_ExpireDate', 'enabled')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_User extends FilesSharingCapabilities_FilesSharing_User { + @override + final bool sendMail; + @override + final FilesSharingCapabilities_FilesSharing_User_ExpireDate? expireDate; + + factory _$FilesSharingCapabilities_FilesSharing_User( + [void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_UserBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_User._({required this.sendMail, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'); + } + + @override + FilesSharingCapabilities_FilesSharing_User rebuild( + void Function(FilesSharingCapabilities_FilesSharing_UserBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_UserBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_UserBuilder()..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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, sendMail.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_User') + ..add('sendMail', sendMail) + ..add('expireDate', expireDate)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_UserBuilder + implements Builder { + _$FilesSharingCapabilities_FilesSharing_User? _$v; + + bool? _sendMail; + bool? get sendMail => _$this._sendMail; + set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder(); + set expireDate(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_UserBuilder(); + + FilesSharingCapabilities_FilesSharing_UserBuilder get _$this { + final $v = _$v; + if ($v != null) { + _sendMail = $v.sendMail; + _expireDate = $v.expireDate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_User other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_User; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_User build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_User _build() { + _$FilesSharingCapabilities_FilesSharing_User _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_User._( + sendMail: BuiltValueNullFieldError.checkNotNull( + sendMail, r'FilesSharingCapabilities_FilesSharing_User', 'sendMail'), + expireDate: _expireDate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + _expireDate?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_User', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Group_ExpireDate { + @override + final bool enabled; + + factory _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Group_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Group_ExpireDate && enabled == other.enabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate') + ..add('enabled', enabled)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Group_ExpireDate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Group_ExpireDate build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group_ExpireDate', 'enabled')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Group extends FilesSharingCapabilities_FilesSharing_Group { + @override + final bool enabled; + @override + final FilesSharingCapabilities_FilesSharing_Group_ExpireDate? expireDate; + + factory _$FilesSharingCapabilities_FilesSharing_Group( + [void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_GroupBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Group._({required this.enabled, this.expireDate}) : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Group rebuild( + void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_GroupBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_GroupBuilder()..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; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Group') + ..add('enabled', enabled) + ..add('expireDate', expireDate)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_GroupBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Group? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder(); + set expireDate(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_GroupBuilder(); + + FilesSharingCapabilities_FilesSharing_GroupBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _expireDate = $v.expireDate?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Group other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Group; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Group build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Group _build() { + _$FilesSharingCapabilities_FilesSharing_Group _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Group._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Group', 'enabled'), + expireDate: _expireDate?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + _expireDate?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing_Group', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDate { + @override + final bool enabled; + + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDate && enabled == other.enabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate') + ..add('enabled', enabled)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDate build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDate', 'enabled')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported + extends FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported { + @override + final bool enabled; + + factory _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported( + [void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._({required this.enabled}) : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled'); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported rebuild( + void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported && enabled == other.enabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported') + ..add('enabled', enabled)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { + final $v = _$v; + if ($v != null) { + _enabled = $v.enabled; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported _build() { + final _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._( + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, r'FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported', 'enabled')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Federation extends FilesSharingCapabilities_FilesSharing_Federation { + @override + final bool outgoing; + @override + 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]) => + (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() => + FilesSharingCapabilities_FilesSharing_FederationBuilder()..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; + } + + @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 = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Federation') + ..add('outgoing', outgoing) + ..add('incoming', incoming) + ..add('expireDate', expireDate) + ..add('expireDateSupported', expireDateSupported)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_FederationBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Federation? _$v; + + bool? _outgoing; + bool? get outgoing => _$this._outgoing; + set outgoing(bool? outgoing) => _$this._outgoing = outgoing; + + bool? _incoming; + bool? get incoming => _$this._incoming; + set incoming(bool? incoming) => _$this._incoming = incoming; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => + _$this._expireDate ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder(); + set expireDate(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => + _$this._expireDate = expireDate; + + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get expireDateSupported => + _$this._expireDateSupported ??= FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + set expireDateSupported( + FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? expireDateSupported) => + _$this._expireDateSupported = expireDateSupported; + + FilesSharingCapabilities_FilesSharing_FederationBuilder(); + + FilesSharingCapabilities_FilesSharing_FederationBuilder get _$this { + final $v = _$v; + if ($v != null) { + _outgoing = $v.outgoing; + _incoming = $v.incoming; + _expireDate = $v.expireDate.toBuilder(); + _expireDateSupported = $v.expireDateSupported.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Federation other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Federation; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Federation build() => _build(); + + _$FilesSharingCapabilities_FilesSharing_Federation _build() { + _$FilesSharingCapabilities_FilesSharing_Federation _$result; + try { + _$result = _$v ?? + _$FilesSharingCapabilities_FilesSharing_Federation._( + outgoing: BuiltValueNullFieldError.checkNotNull( + outgoing, r'FilesSharingCapabilities_FilesSharing_Federation', 'outgoing'), + incoming: BuiltValueNullFieldError.checkNotNull( + incoming, r'FilesSharingCapabilities_FilesSharing_Federation', 'incoming'), + expireDate: expireDate.build(), + expireDateSupported: expireDateSupported.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'expireDate'; + expireDate.build(); + _$failedField = 'expireDateSupported'; + expireDateSupported.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'FilesSharingCapabilities_FilesSharing_Federation', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing_Sharee extends FilesSharingCapabilities_FilesSharing_Sharee { + @override + final bool queryLookupDefault; + @override + final bool alwaysShowUnique; + + factory _$FilesSharingCapabilities_FilesSharing_Sharee( + [void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates]) => + (FilesSharingCapabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); + + _$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 + FilesSharingCapabilities_FilesSharing_Sharee rebuild( + void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilities_FilesSharing_ShareeBuilder toBuilder() => + FilesSharingCapabilities_FilesSharing_ShareeBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities_FilesSharing_Sharee && + queryLookupDefault == other.queryLookupDefault && + alwaysShowUnique == other.alwaysShowUnique; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, queryLookupDefault.hashCode); + _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing_Sharee') + ..add('queryLookupDefault', queryLookupDefault) + ..add('alwaysShowUnique', alwaysShowUnique)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharing_ShareeBuilder + implements + Builder { + _$FilesSharingCapabilities_FilesSharing_Sharee? _$v; + + bool? _queryLookupDefault; + bool? get queryLookupDefault => _$this._queryLookupDefault; + set queryLookupDefault(bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; + + bool? _alwaysShowUnique; + bool? get alwaysShowUnique => _$this._alwaysShowUnique; + set alwaysShowUnique(bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + + FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + + FilesSharingCapabilities_FilesSharing_ShareeBuilder get _$this { + final $v = _$v; + if ($v != null) { + _queryLookupDefault = $v.queryLookupDefault; + _alwaysShowUnique = $v.alwaysShowUnique; + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing_Sharee other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing_Sharee; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing_Sharee 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')); + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities_FilesSharing extends FilesSharingCapabilities_FilesSharing { + @override + final bool apiEnabled; + @override + final FilesSharingCapabilities_FilesSharing_Public public; + @override + final FilesSharingCapabilities_FilesSharing_User user; + @override + final bool resharing; + @override + final bool? groupSharing; + @override + final FilesSharingCapabilities_FilesSharing_Group? group; + @override + final int? defaultPermissions; + @override + final FilesSharingCapabilities_FilesSharing_Federation federation; + @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; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities_FilesSharing') + ..add('apiEnabled', apiEnabled) + ..add('public', public) + ..add('user', user) + ..add('resharing', resharing) + ..add('groupSharing', groupSharing) + ..add('group', group) + ..add('defaultPermissions', defaultPermissions) + ..add('federation', federation) + ..add('sharee', sharee)) + .toString(); + } +} + +class FilesSharingCapabilities_FilesSharingBuilder + implements Builder { + _$FilesSharingCapabilities_FilesSharing? _$v; + + bool? _apiEnabled; + bool? get apiEnabled => _$this._apiEnabled; + set apiEnabled(bool? apiEnabled) => _$this._apiEnabled = apiEnabled; + + FilesSharingCapabilities_FilesSharing_PublicBuilder? _public; + FilesSharingCapabilities_FilesSharing_PublicBuilder get public => + _$this._public ??= FilesSharingCapabilities_FilesSharing_PublicBuilder(); + set public(FilesSharingCapabilities_FilesSharing_PublicBuilder? public) => _$this._public = public; + + FilesSharingCapabilities_FilesSharing_UserBuilder? _user; + FilesSharingCapabilities_FilesSharing_UserBuilder get user => + _$this._user ??= FilesSharingCapabilities_FilesSharing_UserBuilder(); + set user(FilesSharingCapabilities_FilesSharing_UserBuilder? user) => _$this._user = user; + + bool? _resharing; + bool? get resharing => _$this._resharing; + set resharing(bool? resharing) => _$this._resharing = resharing; + + bool? _groupSharing; + bool? get groupSharing => _$this._groupSharing; + set groupSharing(bool? groupSharing) => _$this._groupSharing = groupSharing; + + FilesSharingCapabilities_FilesSharing_GroupBuilder? _group; + FilesSharingCapabilities_FilesSharing_GroupBuilder get group => + _$this._group ??= FilesSharingCapabilities_FilesSharing_GroupBuilder(); + set group(FilesSharingCapabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; + + int? _defaultPermissions; + int? get defaultPermissions => _$this._defaultPermissions; + set defaultPermissions(int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; + + FilesSharingCapabilities_FilesSharing_FederationBuilder? _federation; + FilesSharingCapabilities_FilesSharing_FederationBuilder get federation => + _$this._federation ??= FilesSharingCapabilities_FilesSharing_FederationBuilder(); + set federation(FilesSharingCapabilities_FilesSharing_FederationBuilder? federation) => + _$this._federation = federation; + + FilesSharingCapabilities_FilesSharing_ShareeBuilder? _sharee; + FilesSharingCapabilities_FilesSharing_ShareeBuilder get sharee => + _$this._sharee ??= FilesSharingCapabilities_FilesSharing_ShareeBuilder(); + set sharee(FilesSharingCapabilities_FilesSharing_ShareeBuilder? sharee) => _$this._sharee = sharee; + + FilesSharingCapabilities_FilesSharingBuilder(); + + FilesSharingCapabilities_FilesSharingBuilder 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(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities_FilesSharing other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities_FilesSharing; + } + + @override + void update(void Function(FilesSharingCapabilities_FilesSharingBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities_FilesSharing build() => _build(); + + _$FilesSharingCapabilities_FilesSharing _build() { + _$FilesSharingCapabilities_FilesSharing _$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()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'public'; + public.build(); + _$failedField = 'user'; + user.build(); + + _$failedField = 'group'; + _group?.build(); + + _$failedField = 'federation'; + federation.build(); + _$failedField = 'sharee'; + sharee.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities_FilesSharing', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$FilesSharingCapabilities extends FilesSharingCapabilities { + @override + final FilesSharingCapabilities_FilesSharing filesSharing; + + factory _$FilesSharingCapabilities([void Function(FilesSharingCapabilitiesBuilder)? updates]) => + (FilesSharingCapabilitiesBuilder()..update(updates))._build(); + + _$FilesSharingCapabilities._({required this.filesSharing}) : super._() { + BuiltValueNullFieldError.checkNotNull(filesSharing, r'FilesSharingCapabilities', 'filesSharing'); + } + + @override + FilesSharingCapabilities rebuild(void Function(FilesSharingCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + FilesSharingCapabilitiesBuilder toBuilder() => FilesSharingCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is FilesSharingCapabilities && filesSharing == other.filesSharing; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, filesSharing.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'FilesSharingCapabilities')..add('filesSharing', filesSharing)).toString(); + } +} + +class FilesSharingCapabilitiesBuilder implements Builder { + _$FilesSharingCapabilities? _$v; + + FilesSharingCapabilities_FilesSharingBuilder? _filesSharing; + FilesSharingCapabilities_FilesSharingBuilder get filesSharing => + _$this._filesSharing ??= FilesSharingCapabilities_FilesSharingBuilder(); + set filesSharing(FilesSharingCapabilities_FilesSharingBuilder? filesSharing) => _$this._filesSharing = filesSharing; + + FilesSharingCapabilitiesBuilder(); + + FilesSharingCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _filesSharing = $v.filesSharing.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(FilesSharingCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$FilesSharingCapabilities; + } + + @override + void update(void Function(FilesSharingCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + FilesSharingCapabilities build() => _build(); + + _$FilesSharingCapabilities _build() { + _$FilesSharingCapabilities _$result; + try { + _$result = _$v ?? _$FilesSharingCapabilities._(filesSharing: filesSharing.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'filesSharing'; + filesSharing.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'FilesSharingCapabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.json b/packages/nextcloud/lib/src/api/files_sharing.openapi.json new file mode 100644 index 00000000..3a52ca30 --- /dev/null +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.json @@ -0,0 +1,3031 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "files_sharing", + "version": "0.0.1", + "description": "File sharing", + "license": { + "name": "agpl", + "identifier": "AGPL-3.0-only" + } + }, + "components": { + "securitySchemes": { + "basic_auth": { + "type": "http", + "scheme": "basic" + }, + "bearer_auth": { + "type": "http", + "scheme": "bearer" + } + }, + "schemas": { + "Capabilities": { + "type": "object", + "required": [ + "files_sharing" + ], + "properties": { + "files_sharing": { + "type": "object", + "required": [ + "api_enabled", + "public", + "user", + "resharing", + "federation", + "sharee" + ], + "properties": { + "api_enabled": { + "type": "boolean" + }, + "public": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "password": { + "type": "object", + "required": [ + "enforced", + "askForOptionalPassword" + ], + "properties": { + "enforced": { + "type": "boolean" + }, + "askForOptionalPassword": { + "type": "boolean" + } + } + }, + "multiple_links": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_internal": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "expire_date_remote": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "days": { + "type": "integer", + "format": "int64" + }, + "enforced": { + "type": "boolean" + } + } + }, + "send_mail": { + "type": "boolean" + }, + "upload": { + "type": "boolean" + }, + "upload_files_drop": { + "type": "boolean" + } + } + }, + "user": { + "type": "object", + "required": [ + "send_mail" + ], + "properties": { + "send_mail": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "resharing": { + "type": "boolean" + }, + "group_sharing": { + "type": "boolean" + }, + "group": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "default_permissions": { + "type": "integer", + "format": "int64" + }, + "federation": { + "type": "object", + "required": [ + "outgoing", + "incoming", + "expire_date", + "expire_date_supported" + ], + "properties": { + "outgoing": { + "type": "boolean" + }, + "incoming": { + "type": "boolean" + }, + "expire_date": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "expire_date_supported": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "sharee": { + "type": "object", + "required": [ + "query_lookup_default", + "always_show_unique" + ], + "properties": { + "query_lookup_default": { + "type": "boolean" + }, + "always_show_unique": { + "type": "boolean" + } + } + } + } + } + } + }, + "DeletedShare": { + "type": "object", + "required": [ + "id", + "share_type", + "uid_owner", + "displayname_owner", + "permissions", + "stime", + "uid_file_owner", + "displayname_file_owner", + "path", + "item_type", + "mimetype", + "storage", + "item_source", + "file_source", + "file_parent", + "file_target", + "expiration", + "share_with", + "share_with_displayname", + "share_with_link" + ], + "properties": { + "id": { + "type": "string" + }, + "share_type": { + "type": "integer", + "format": "int64" + }, + "uid_owner": { + "type": "string" + }, + "displayname_owner": { + "type": "string" + }, + "permissions": { + "type": "integer", + "format": "int64" + }, + "stime": { + "type": "integer", + "format": "int64" + }, + "uid_file_owner": { + "type": "string" + }, + "displayname_file_owner": { + "type": "string" + }, + "path": { + "type": "string" + }, + "item_type": { + "type": "string" + }, + "mimetype": { + "type": "string" + }, + "storage": { + "type": "integer", + "format": "int64" + }, + "item_source": { + "type": "integer", + "format": "int64" + }, + "file_source": { + "type": "integer", + "format": "int64" + }, + "file_parent": { + "type": "integer", + "format": "int64" + }, + "file_target": { + "type": "integer", + "format": "int64" + }, + "expiration": { + "type": "string", + "nullable": true + }, + "share_with": { + "type": "string", + "nullable": true + }, + "share_with_displayname": { + "type": "string", + "nullable": true + }, + "share_with_link": { + "type": "string", + "nullable": true + } + } + }, + "Lookup": { + "type": "object", + "required": [ + "value", + "verified" + ], + "properties": { + "value": { + "type": "string" + }, + "verified": { + "type": "integer", + "format": "int64" + } + } + }, + "OCSMeta": { + "type": "object", + "required": [ + "status", + "statuscode" + ], + "properties": { + "status": { + "type": "string" + }, + "statuscode": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "totalitems": { + "type": "string" + }, + "itemsperpage": { + "type": "string" + } + } + }, + "RemoteShare": { + "type": "object", + "required": [ + "accepted", + "file_id", + "id", + "mimetype", + "mountpoint", + "mtime", + "name", + "owner", + "parent", + "permissions", + "remote", + "remote_id", + "share_token", + "share_type", + "type", + "user" + ], + "properties": { + "accepted": { + "type": "boolean" + }, + "file_id": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "id": { + "type": "integer", + "format": "int64" + }, + "mimetype": { + "type": "string", + "nullable": true + }, + "mountpoint": { + "type": "string" + }, + "mtime": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "name": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "parent": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "permissions": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "remote": { + "type": "string" + }, + "remote_id": { + "type": "string" + }, + "share_token": { + "type": "string" + }, + "share_type": { + "type": "integer", + "format": "int64" + }, + "type": { + "type": "string", + "nullable": true + }, + "user": { + "type": "string" + } + } + }, + "Share": { + "type": "object", + "required": [ + "attributes", + "can_delete", + "can_edit", + "displayname_file_owner", + "displayname_owner", + "expiration", + "file_parent", + "file_source", + "file_target", + "has_preview", + "hide_download", + "id", + "item_mtime", + "item_size", + "item_source", + "item_type", + "label", + "mail_send", + "mimetype", + "note", + "parent", + "path", + "permissions", + "share_type", + "stime", + "storage", + "storage_id", + "token", + "uid_file_owner", + "uid_owner" + ], + "properties": { + "attributes": { + "type": "string", + "nullable": true + }, + "can_delete": { + "type": "boolean" + }, + "can_edit": { + "type": "boolean" + }, + "displayname_file_owner": { + "type": "string" + }, + "displayname_owner": { + "type": "string" + }, + "expiration": { + "type": "string", + "nullable": true + }, + "file_parent": { + "type": "integer", + "format": "int64" + }, + "file_source": { + "type": "integer", + "format": "int64" + }, + "file_target": { + "type": "string" + }, + "has_preview": { + "type": "boolean" + }, + "hide_download": { + "type": "integer", + "format": "int64" + }, + "id": { + "type": "string" + }, + "item_mtime": { + "type": "integer", + "format": "int64" + }, + "item_permissions": { + "type": "integer", + "format": "int64" + }, + "item_size": { + "oneOf": [ + { + "type": "number", + "format": "float" + }, + { + "type": "integer", + "format": "int64" + } + ] + }, + "item_source": { + "type": "integer", + "format": "int64" + }, + "item_type": { + "type": "string", + "enum": [ + "file", + "folder" + ] + }, + "label": { + "type": "string" + }, + "mail_send": { + "type": "integer", + "format": "int64" + }, + "mimetype": { + "type": "string" + }, + "note": { + "type": "string" + }, + "parent": { + "nullable": true + }, + "password": { + "type": "string" + }, + "password_expiration_time": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "permissions": { + "type": "integer", + "format": "int64" + }, + "send_password_by_talk": { + "type": "boolean" + }, + "share_type": { + "type": "integer", + "format": "int64" + }, + "share_with": { + "type": "string" + }, + "share_with_avatar": { + "type": "string" + }, + "share_with_displayname": { + "type": "string" + }, + "share_with_displayname_unique": { + "type": "string", + "nullable": true + }, + "share_with_link": { + "type": "string" + }, + "status": { + "type": "object", + "properties": { + "clearAt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "icon": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "status": { + "type": "string" + } + } + }, + "stime": { + "type": "integer", + "format": "int64" + }, + "storage": { + "type": "integer", + "format": "int64" + }, + "storage_id": { + "type": "string" + }, + "token": { + "type": "string", + "nullable": true + }, + "uid_file_owner": { + "type": "string" + }, + "uid_owner": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "ShareInfo": { + "type": "object", + "required": [ + "id", + "parentId", + "mtime", + "name", + "permissions", + "mimetype", + "size", + "type", + "etag" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "parentId": { + "type": "integer", + "format": "int64" + }, + "mtime": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "integer", + "format": "int64" + }, + "mimetype": { + "type": "string" + }, + "size": { + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "number", + "format": "float" + } + ] + }, + "type": { + "type": "string" + }, + "etag": { + "type": "string" + }, + "children": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + }, + "Sharee": { + "type": "object", + "required": [ + "count", + "label" + ], + "properties": { + "count": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "label": { + "type": "string" + } + } + }, + "ShareeCircle": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "shareWithDescription", + "value" + ], + "properties": { + "shareWithDescription": { + "type": "string" + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/ShareeValue" + }, + { + "type": "object", + "required": [ + "circle" + ], + "properties": { + "circle": { + "type": "string" + } + } + } + ] + } + } + } + ] + }, + "ShareeEmail": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "uuid", + "name", + "type", + "shareWithDisplayNameUnique", + "value" + ], + "properties": { + "uuid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "shareWithDisplayNameUnique": { + "type": "string" + }, + "value": { + "$ref": "#/components/schemas/ShareeValue" + } + } + } + ] + }, + "ShareeLookup": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "extra", + "value" + ], + "properties": { + "extra": { + "type": "object", + "required": [ + "federationId", + "name", + "email", + "address", + "website", + "twitter", + "phone", + "twitter_signature", + "website_signature", + "userid" + ], + "properties": { + "federationId": { + "type": "string" + }, + "name": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "email": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "address": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "website": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "twitter": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "phone": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "twitter_signature": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "website_signature": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + }, + "userid": { + "$ref": "#/components/schemas/Lookup", + "nullable": true + } + } + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/ShareeValue" + }, + { + "type": "object", + "required": [ + "globalScale" + ], + "properties": { + "globalScale": { + "type": "boolean" + } + } + } + ] + } + } + } + ] + }, + "ShareeRemote": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "uuid", + "name", + "type", + "value" + ], + "properties": { + "uuid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/ShareeValue" + }, + { + "type": "object", + "required": [ + "server" + ], + "properties": { + "server": { + "type": "string" + } + } + } + ] + } + } + } + ] + }, + "ShareeRemoteGroup": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "guid", + "name", + "value" + ], + "properties": { + "guid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/ShareeValue" + }, + { + "type": "object", + "required": [ + "server" + ], + "properties": { + "server": { + "type": "string" + } + } + } + ] + } + } + } + ] + }, + "ShareeUser": { + "allOf": [ + { + "$ref": "#/components/schemas/Sharee" + }, + { + "type": "object", + "required": [ + "subline", + "icon", + "shareWithDisplayNameUnique", + "status", + "value" + ], + "properties": { + "subline": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "shareWithDisplayNameUnique": { + "type": "string" + }, + "status": { + "type": "object", + "required": [ + "status", + "message", + "icon", + "clearAt" + ], + "properties": { + "status": { + "type": "string" + }, + "message": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "clearAt": { + "type": "integer", + "format": "int64", + "nullable": true + } + } + }, + "value": { + "$ref": "#/components/schemas/ShareeValue" + } + } + } + ] + }, + "ShareeValue": { + "type": "object", + "required": [ + "shareType", + "shareWith" + ], + "properties": { + "shareType": { + "type": "integer", + "format": "int64" + }, + "shareWith": { + "type": "string" + } + } + }, + "ShareesRecommendedResult": { + "type": "object", + "required": [ + "exact", + "emails", + "groups", + "remote_groups", + "remotes", + "users" + ], + "properties": { + "exact": { + "type": "object", + "required": [ + "emails", + "groups", + "remote_groups", + "remotes", + "users" + ], + "properties": { + "emails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeEmail" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "remote_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemoteGroup" + } + }, + "remotes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemote" + } + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeUser" + } + } + } + }, + "emails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeEmail" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "remote_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemoteGroup" + } + }, + "remotes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemote" + } + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeUser" + } + } + } + }, + "ShareesSearchResult": { + "type": "object", + "required": [ + "exact", + "circles", + "emails", + "groups", + "lookup", + "remote_groups", + "remotes", + "rooms", + "users", + "lookupEnabled" + ], + "properties": { + "exact": { + "type": "object", + "required": [ + "circles", + "emails", + "groups", + "remote_groups", + "remotes", + "rooms", + "users" + ], + "properties": { + "circles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeCircle" + } + }, + "emails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeEmail" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "remote_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemoteGroup" + } + }, + "remotes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemote" + } + }, + "rooms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeUser" + } + } + } + }, + "circles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeCircle" + } + }, + "emails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeEmail" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "lookup": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeLookup" + } + }, + "remote_groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemoteGroup" + } + }, + "remotes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeRemote" + } + }, + "rooms": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sharee" + } + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShareeUser" + } + }, + "lookupEnabled": { + "type": "boolean" + } + } + } + } + }, + "paths": { + "/index.php/s/{token}/preview": { + "get": { + "operationId": "public_preview-direct-link", + "summary": "Get a direct link preview for a shared file", + "tags": [ + "public_preview" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "token", + "in": "path", + "description": "Token of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Preview returned", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, + "/index.php/apps/files_sharing/publicpreview/{token}": { + "get": { + "operationId": "public_preview-get-preview", + "summary": "Get a preview for a shared file", + "tags": [ + "public_preview" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "file", + "in": "query", + "description": "File in the share", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "x", + "in": "query", + "description": "Width of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "y", + "in": "query", + "description": "Height of the preview", + "schema": { + "type": "integer", + "format": "int64", + "default": 32 + } + }, + { + "name": "a", + "in": "query", + "description": "Whether to not crop the preview", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "token", + "in": "path", + "description": "Token of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Preview returned", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, + "/index.php/apps/files_sharing/shareinfo": { + "post": { + "operationId": "share_info-info", + "summary": "Get the info about a share", + "tags": [ + "share_info" + ], + "security": [ + {}, + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "t", + "in": "query", + "description": "Token of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "password", + "in": "query", + "description": "Password of the share", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "dir", + "in": "query", + "description": "Subdirectory to get info about", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "depth", + "in": "query", + "description": "Maximum depth to get info about", + "schema": { + "type": "integer", + "format": "int64", + "default": -1 + } + } + ], + "responses": { + "200": { + "description": "Share info returned", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ShareInfo" + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/shares": { + "get": { + "operationId": "shareapi-get-shares", + "summary": "Get shares of the current user", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "shared_with_me", + "in": "query", + "description": "Only get shares with the current user", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "reshares", + "in": "query", + "description": "Only get shares by the current user and reshares", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "subfiles", + "in": "query", + "description": "Only get all shares in a folder", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "path", + "in": "query", + "description": "Get shares for a specific path", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "include_tags", + "in": "query", + "description": "Include tags in the share", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Shares returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + } + }, + "post": { + "operationId": "shareapi-create-share", + "summary": "Create a share", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "path", + "in": "query", + "description": "Path of the share", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "permissions", + "in": "query", + "description": "Permissions for the share", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "shareType", + "in": "query", + "description": "Type of the share", + "schema": { + "type": "integer", + "format": "int64", + "default": -1 + } + }, + { + "name": "shareWith", + "in": "query", + "description": "The entity this should be shared with", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "publicUpload", + "in": "query", + "description": "If public uploading is allowed", + "schema": { + "type": "string", + "default": "false" + } + }, + { + "name": "password", + "in": "query", + "description": "Password for the share", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "sendPasswordByTalk", + "in": "query", + "description": "Send the password for the share over Talk", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "expireDate", + "in": "query", + "description": "Expiry date of the share", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "note", + "in": "query", + "description": "Note for the share", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "label", + "in": "query", + "description": "Label for the share (only used in link and email)", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "attributes", + "in": "query", + "description": "Additional attributes for the share", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share created", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/shares/inherited": { + "get": { + "operationId": "shareapi-get-inherited-shares", + "summary": "Get all shares relative to a file, including parent folders shares rights", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "path", + "in": "query", + "description": "Path all shares will be relative to", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Shares returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/shares/pending": { + "get": { + "operationId": "shareapi-pending-shares", + "summary": "Get all shares that are still pending", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/shares/{id}": { + "get": { + "operationId": "shareapi-get-share", + "summary": "Get a specific share by id", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "include_tags", + "in": "query", + "description": "Include tags in the share", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + }, + "put": { + "operationId": "shareapi-update-share", + "summary": "Update a share", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "permissions", + "in": "query", + "description": "New permissions", + "schema": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + { + "name": "password", + "in": "query", + "description": "New password", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "sendPasswordByTalk", + "in": "query", + "description": "New condition if the password should be send over Talk", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "publicUpload", + "in": "query", + "description": "New condition if public uploading is allowed", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "expireDate", + "in": "query", + "description": "New expiry date", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "note", + "in": "query", + "description": "New note", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "label", + "in": "query", + "description": "New label", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "hideDownload", + "in": "query", + "description": "New condition if the download should be hidden", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "attributes", + "in": "query", + "description": "New additional attributes", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share updated successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/Share" + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "shareapi-delete-share", + "summary": "Delete a share", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share deleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/{id}": { + "post": { + "operationId": "shareapi-accept-share", + "summary": "Accept a share", + "tags": [ + "shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share accepted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/deletedshares": { + "get": { + "operationId": "deleted_shareapi-list", + "summary": "Get a list of all deleted shares", + "tags": [ + "deleted_shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeletedShare" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/deletedshares/{id}": { + "post": { + "operationId": "deleted_shareapi-undelete", + "summary": "Undelete a deleted share", + "tags": [ + "deleted_shareapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share undeleted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/sharees": { + "get": { + "operationId": "shareesapi-search", + "summary": "Search for sharees", + "tags": [ + "shareesapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "search", + "in": "query", + "description": "Text to search for", + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "itemType", + "in": "query", + "description": "Limit to specific item types", + "schema": { + "type": "string", + "nullable": true + } + }, + { + "name": "page", + "in": "query", + "description": "Page offset for searching", + "schema": { + "type": "integer", + "format": "int64", + "default": 1 + } + }, + { + "name": "perPage", + "in": "query", + "description": "Limit amount of search results per page", + "schema": { + "type": "integer", + "format": "int64", + "default": 200 + } + }, + { + "name": "shareType", + "in": "query", + "description": "Limit to specific share types", + "schema": { + "type": "string", + "nullable": true, + "contentMediaType": "application/json", + "contentSchema": { + "nullable": true, + "description": "Limit to specific share types", + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + ] + } + } + }, + { + "name": "lookup", + "in": "query", + "description": "If a global lookup should be performed too", + "schema": { + "type": "integer", + "default": 0 + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Sharees search result returned", + "headers": { + "Link": { + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ShareesSearchResult" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/sharees_recommended": { + "get": { + "operationId": "shareesapi-find-recommended", + "summary": "Find recommended sharees", + "tags": [ + "shareesapi" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "itemType", + "in": "query", + "description": "Limit to specific item types", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "shareType", + "in": "query", + "description": "Limit to specific share types", + "schema": { + "type": "string", + "nullable": true, + "contentMediaType": "application/json", + "contentSchema": { + "nullable": true, + "description": "Limit to specific share types", + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + ] + } + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/ShareesRecommendedResult" + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/remote_shares": { + "get": { + "operationId": "remote-get-shares", + "summary": "Get a list of accepted remote shares", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemoteShare" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/pending": { + "get": { + "operationId": "remote-get-open-shares", + "summary": "Get list of pending remote shares", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemoteShare" + } + } + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/pending/{id}": { + "post": { + "operationId": "remote-accept-share", + "summary": "Accept a remote share", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share accepted successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "remote-decline-share", + "summary": "Decline a remote share", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share declined successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + }, + "/ocs/v2.php/apps/files_sharing/api/v1/remote_shares/{id}": { + "get": { + "operationId": "remote-get-share", + "summary": "Get info of a remote share", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "$ref": "#/components/schemas/RemoteShare" + } + } + } + } + } + } + } + } + } + }, + "delete": { + "operationId": "remote-unshare", + "summary": "Unshare a remote share", + "tags": [ + "remote" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of the share", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "OCS-APIRequest", + "in": "header", + "required": true, + "schema": { + "type": "string", + "default": "true" + } + } + ], + "responses": { + "200": { + "description": "Share unshared successfully", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } + } + } + } + } + } + } + } + }, + "tags": [ + { + "name": "external_shares", + "description": "Class ExternalSharesController" + } + ] +} \ No newline at end of file diff --git a/tool/generate-specs.sh b/tool/generate-specs.sh index 3aaf30dc..0da35a70 100755 --- a/tool/generate-specs.sh +++ b/tool/generate-specs.sh @@ -10,7 +10,7 @@ mkdir -p /tmp/nextcloud-neon composer update && composer install ) -for path in core apps/provisioning_api apps/settings apps/theming apps/user_status; do +for path in core apps/files_sharing apps/provisioning_api apps/settings apps/theming apps/user_status; do codename="$(echo $path | sed "s/^apps\///")" ./external/nextcloud-openapi-extractor/generate-spec "external/nextcloud-server/$path" "packages/nextcloud/lib/src/api/$codename.openapi.json" --first-status-code --first-content-type --openapi-version 3.1.0 done