diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 6e742e0f..b991668a 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -3124,20 +3124,24 @@ abstract class CoreHoverCardGetUserResponse200ApplicationJson } abstract class CoreNavigationEntry_Order implements Built { - // coverage:ignore-end - factory CoreNavigationEntry_Order([final void Function(CoreNavigationEntry_OrderBuilder)? b]) = _$CoreNavigationEntry_Order; + // coverage:ignore-start const CoreNavigationEntry_Order._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreNavigationEntry_Order.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - int? get $int; - String? get string; - static CoreNavigationEntry_Order fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + String? get string; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreNavigationEntry_OrderSerializer(); } @@ -4447,14 +4451,24 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil implements Built { - // coverage:ignore-end - factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._(); + // coverage:ignore-end + + // coverage:ignore-start + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end JsonObject get data; CoreCommentsCapabilities? get commentsCapabilities; CoreDavCapabilities? get davCapabilities; @@ -4469,11 +4483,6 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreThemingPublicCapabilities? get themingPublicCapabilities; CoreUserStatusCapabilities? get userStatusCapabilities; CoreWeatherStatusCapabilities? get weatherStatusCapabilities; - static CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities fromJson(final Object json) => - _jsonSerializers.deserializeWith(serializer, json)!; - // coverage:ignore-start - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer(); @@ -4847,22 +4856,27 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_Refere implements Built { - // coverage:ignore-end - factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References([ final void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; + // coverage:ignore-start const CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._(); + // coverage:ignore-end - JsonObject get data; - CoreReference? get reference; - JsonObject? get jsonObject; - static CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => + // coverage:ignore-start + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + CoreReference? get reference; + JsonObject? get jsonObject; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); @@ -4991,22 +5005,27 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_Refere implements Built { - // coverage:ignore-end - factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References([ final void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; + // coverage:ignore-start const CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._(); + // coverage:ignore-end - JsonObject get data; - CoreReference? get reference; - JsonObject? get jsonObject; - static CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => + // coverage:ignore-start + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + CoreReference? get reference; + JsonObject? get jsonObject; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); @@ -5981,21 +6000,24 @@ abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson abstract class CoreUnifiedSearchSearchCursor implements Built { - // coverage:ignore-end - factory CoreUnifiedSearchSearchCursor([final void Function(CoreUnifiedSearchSearchCursorBuilder)? b]) = _$CoreUnifiedSearchSearchCursor; + // coverage:ignore-start const CoreUnifiedSearchSearchCursor._(); + // coverage:ignore-end - JsonObject get data; - int? get $int; - String? get string; - static CoreUnifiedSearchSearchCursor fromJson(final Object json) => + // coverage:ignore-start + factory CoreUnifiedSearchSearchCursor.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + String? get string; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreUnifiedSearchSearchCursorSerializer(); } @@ -6062,21 +6084,24 @@ abstract class CoreUnifiedSearchResultEntry abstract class CoreUnifiedSearchResult_Cursor implements Built { - // coverage:ignore-end - factory CoreUnifiedSearchResult_Cursor([final void Function(CoreUnifiedSearchResult_CursorBuilder)? b]) = _$CoreUnifiedSearchResult_Cursor; + // coverage:ignore-start const CoreUnifiedSearchResult_Cursor._(); + // coverage:ignore-end - JsonObject get data; - int? get $int; - String? get string; - static CoreUnifiedSearchResult_Cursor fromJson(final Object json) => + // coverage:ignore-start + factory CoreUnifiedSearchResult_Cursor.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + String? get string; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreUnifiedSearchResult_CursorSerializer(); } diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart index ed6f8a80..cdf1b421 100644 --- a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart @@ -1641,20 +1641,24 @@ abstract class FilesSharingRemoteUnshareResponse200ApplicationJson abstract class FilesSharingShareInfo_Size implements Built { - // coverage:ignore-end - factory FilesSharingShareInfo_Size([final void Function(FilesSharingShareInfo_SizeBuilder)? b]) = _$FilesSharingShareInfo_Size; + // coverage:ignore-start const FilesSharingShareInfo_Size._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareInfo_Size.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - int? get $int; - num? get $num; - static FilesSharingShareInfo_Size fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + num? get $num; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareInfo_SizeSerializer(); } @@ -1722,20 +1726,24 @@ abstract class FilesSharingShareInfo implements Built { - // coverage:ignore-end - factory FilesSharingShare_ItemSize([final void Function(FilesSharingShare_ItemSizeBuilder)? b]) = _$FilesSharingShare_ItemSize; + // coverage:ignore-start const FilesSharingShare_ItemSize._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShare_ItemSize.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - num? get $num; - int? get $int; - static FilesSharingShare_ItemSize fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + num? get $num; + int? get $int; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShare_ItemSizeSerializer(); } @@ -2307,22 +2315,25 @@ abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson abstract class FilesSharingShareesapiSearchShareType implements Built { - // coverage:ignore-end - factory FilesSharingShareesapiSearchShareType([ final void Function(FilesSharingShareesapiSearchShareTypeBuilder)? b, ]) = _$FilesSharingShareesapiSearchShareType; + // coverage:ignore-start const FilesSharingShareesapiSearchShareType._(); + // coverage:ignore-end - JsonObject get data; - int? get $int; - BuiltList? get builtListInt; - static FilesSharingShareesapiSearchShareType fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareesapiSearchShareType.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + BuiltList? get builtListInt; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareesapiSearchShareTypeSerializer(); @@ -2500,21 +2511,24 @@ abstract class FilesSharingShareeCircle1_Value1 abstract class FilesSharingShareeCircle1_Value implements Built { - // coverage:ignore-end - factory FilesSharingShareeCircle1_Value([final void Function(FilesSharingShareeCircle1_ValueBuilder)? b]) = _$FilesSharingShareeCircle1_Value; + // coverage:ignore-start const FilesSharingShareeCircle1_Value._(); + // coverage:ignore-end - JsonObject get data; - FilesSharingShareeValue get shareeValue; - FilesSharingShareeCircle1_Value1 get shareeCircle1Value1; - static FilesSharingShareeCircle1_Value fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareeCircle1_Value.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeCircle1_Value1 get shareeCircle1Value1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeCircle1_ValueSerializer(); } @@ -2579,20 +2593,24 @@ abstract class FilesSharingShareeCircle1 implements Built { - // coverage:ignore-end - factory FilesSharingShareeCircle([final void Function(FilesSharingShareeCircleBuilder)? b]) = _$FilesSharingShareeCircle; + // coverage:ignore-start const FilesSharingShareeCircle._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareeCircle.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeCircle1 get shareeCircle1; - static FilesSharingShareeCircle fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeCircle1 get shareeCircle1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeCircleSerializer(); } @@ -2657,19 +2675,23 @@ abstract class FilesSharingShareeEmail1 implements Built { - // coverage:ignore-end - factory FilesSharingShareeEmail([final void Function(FilesSharingShareeEmailBuilder)? b]) = _$FilesSharingShareeEmail; + // coverage:ignore-start const FilesSharingShareeEmail._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareeEmail.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeEmail1 get shareeEmail1; - static FilesSharingShareeEmail fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeEmail1 get shareeEmail1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeEmailSerializer(); } @@ -2734,21 +2756,24 @@ abstract class FilesSharingShareeRemoteGroup1_Value1 abstract class FilesSharingShareeRemoteGroup1_Value implements Built { - // coverage:ignore-end - factory FilesSharingShareeRemoteGroup1_Value([final void Function(FilesSharingShareeRemoteGroup1_ValueBuilder)? b]) = _$FilesSharingShareeRemoteGroup1_Value; + // coverage:ignore-start const FilesSharingShareeRemoteGroup1_Value._(); + // coverage:ignore-end - JsonObject get data; - FilesSharingShareeValue get shareeValue; - FilesSharingShareeRemoteGroup1_Value1 get shareeRemoteGroup1Value1; - static FilesSharingShareeRemoteGroup1_Value fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareeRemoteGroup1_Value.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeRemoteGroup1_Value1 get shareeRemoteGroup1Value1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteGroup1_ValueSerializer(); @@ -2816,21 +2841,24 @@ abstract class FilesSharingShareeRemoteGroup1 abstract class FilesSharingShareeRemoteGroup implements Built { - // coverage:ignore-end - factory FilesSharingShareeRemoteGroup([final void Function(FilesSharingShareeRemoteGroupBuilder)? b]) = _$FilesSharingShareeRemoteGroup; + // coverage:ignore-start const FilesSharingShareeRemoteGroup._(); + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeRemoteGroup1 get shareeRemoteGroup1; - static FilesSharingShareeRemoteGroup fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareeRemoteGroup.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeRemoteGroup1 get shareeRemoteGroup1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteGroupSerializer(); } @@ -2893,21 +2921,24 @@ abstract class FilesSharingShareeRemote1_Value1 abstract class FilesSharingShareeRemote1_Value implements Built { - // coverage:ignore-end - factory FilesSharingShareeRemote1_Value([final void Function(FilesSharingShareeRemote1_ValueBuilder)? b]) = _$FilesSharingShareeRemote1_Value; + // coverage:ignore-start const FilesSharingShareeRemote1_Value._(); + // coverage:ignore-end - JsonObject get data; - FilesSharingShareeValue get shareeValue; - FilesSharingShareeRemote1_Value1 get shareeRemote1Value1; - static FilesSharingShareeRemote1_Value fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareeRemote1_Value.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeRemote1_Value1 get shareeRemote1Value1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemote1_ValueSerializer(); } @@ -2974,20 +3005,24 @@ abstract class FilesSharingShareeRemote1 implements Built { - // coverage:ignore-end - factory FilesSharingShareeRemote([final void Function(FilesSharingShareeRemoteBuilder)? b]) = _$FilesSharingShareeRemote; + // coverage:ignore-start const FilesSharingShareeRemote._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareeRemote.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeRemote1 get shareeRemote1; - static FilesSharingShareeRemote fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeRemote1 get shareeRemote1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteSerializer(); } @@ -3075,19 +3110,23 @@ abstract class FilesSharingShareeUser1 implements Built { - // coverage:ignore-end - factory FilesSharingShareeUser([final void Function(FilesSharingShareeUserBuilder)? b]) = _$FilesSharingShareeUser; + // coverage:ignore-start const FilesSharingShareeUser._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareeUser.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeUser1 get shareeUser1; - static FilesSharingShareeUser fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeUser1 get shareeUser1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeUserSerializer(); } @@ -3232,21 +3271,24 @@ abstract class FilesSharingShareeLookup1_Value1 abstract class FilesSharingShareeLookup1_Value implements Built { - // coverage:ignore-end - factory FilesSharingShareeLookup1_Value([final void Function(FilesSharingShareeLookup1_ValueBuilder)? b]) = _$FilesSharingShareeLookup1_Value; + // coverage:ignore-start const FilesSharingShareeLookup1_Value._(); + // coverage:ignore-end - JsonObject get data; - FilesSharingShareeValue get shareeValue; - FilesSharingShareeLookup1_Value1 get shareeLookup1Value1; - static FilesSharingShareeLookup1_Value fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareeLookup1_Value.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingShareeValue get shareeValue; + FilesSharingShareeLookup1_Value1 get shareeLookup1Value1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeLookup1_ValueSerializer(); } @@ -3311,20 +3353,24 @@ abstract class FilesSharingShareeLookup1 implements Built { - // coverage:ignore-end - factory FilesSharingShareeLookup([final void Function(FilesSharingShareeLookupBuilder)? b]) = _$FilesSharingShareeLookup; + // coverage:ignore-start const FilesSharingShareeLookup._(); + // coverage:ignore-end + + // coverage:ignore-start + factory FilesSharingShareeLookup.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - FilesSharingSharee get sharee; - FilesSharingShareeLookup1 get shareeLookup1; - static FilesSharingShareeLookup fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + FilesSharingSharee get sharee; + FilesSharingShareeLookup1 get shareeLookup1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeLookupSerializer(); } @@ -3449,22 +3495,25 @@ abstract class FilesSharingShareesapiSearchResponse200ApplicationJson abstract class FilesSharingShareesapiFindRecommendedShareType implements Built { - // coverage:ignore-end - factory FilesSharingShareesapiFindRecommendedShareType([ final void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder)? b, ]) = _$FilesSharingShareesapiFindRecommendedShareType; + // coverage:ignore-start const FilesSharingShareesapiFindRecommendedShareType._(); + // coverage:ignore-end - JsonObject get data; - int? get $int; - BuiltList? get builtListInt; - static FilesSharingShareesapiFindRecommendedShareType fromJson(final Object json) => + // coverage:ignore-start + factory FilesSharingShareesapiFindRecommendedShareType.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + BuiltList? get builtListInt; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareesapiFindRecommendedShareTypeSerializer(); diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart index e1188c13..d6ac8c5d 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart @@ -2859,22 +2859,25 @@ abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson abstract class ProvisioningApiGroupDetails_Usercount implements Built { - // coverage:ignore-end - factory ProvisioningApiGroupDetails_Usercount([ final void Function(ProvisioningApiGroupDetails_UsercountBuilder)? b, ]) = _$ProvisioningApiGroupDetails_Usercount; + // coverage:ignore-start const ProvisioningApiGroupDetails_Usercount._(); + // coverage:ignore-end - JsonObject get data; - bool? get $bool; - int? get $int; - static ProvisioningApiGroupDetails_Usercount fromJson(final Object json) => + // coverage:ignore-start + factory ProvisioningApiGroupDetails_Usercount.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + bool? get $bool; + int? get $int; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiGroupDetails_UsercountSerializer(); @@ -2916,21 +2919,24 @@ class _$ProvisioningApiGroupDetails_UsercountSerializer abstract class ProvisioningApiGroupDetails_Disabled implements Built { - // coverage:ignore-end - factory ProvisioningApiGroupDetails_Disabled([final void Function(ProvisioningApiGroupDetails_DisabledBuilder)? b]) = _$ProvisioningApiGroupDetails_Disabled; + // coverage:ignore-start const ProvisioningApiGroupDetails_Disabled._(); + // coverage:ignore-end - JsonObject get data; - bool? get $bool; - int? get $int; - static ProvisioningApiGroupDetails_Disabled fromJson(final Object json) => + // coverage:ignore-start + factory ProvisioningApiGroupDetails_Disabled.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + bool? get $bool; + int? get $int; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiGroupDetails_DisabledSerializer(); @@ -3181,22 +3187,25 @@ abstract class ProvisioningApiUserDetails_BackendCapabilities abstract class ProvisioningApiUserDetailsQuota_Quota implements Built { - // coverage:ignore-end - factory ProvisioningApiUserDetailsQuota_Quota([ final void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder)? b, ]) = _$ProvisioningApiUserDetailsQuota_Quota; + // coverage:ignore-start const ProvisioningApiUserDetailsQuota_Quota._(); + // coverage:ignore-end - JsonObject get data; - num? get $num; - String? get string; - static ProvisioningApiUserDetailsQuota_Quota fromJson(final Object json) => + // coverage:ignore-start + factory ProvisioningApiUserDetailsQuota_Quota.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + num? get $num; + String? get string; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiUserDetailsQuota_QuotaSerializer(); @@ -3359,25 +3368,28 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs implements Built { - // coverage:ignore-end - factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); + // coverage:ignore-end - JsonObject get data; - ProvisioningApiUserDetails? get userDetails; - ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? - get groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; - static ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users fromJson( - final Object json, + // coverage:ignore-start + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.fromJson( + final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + ProvisioningApiUserDetails? get userDetails; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + get groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; @BuiltValueSerializer(custom: true) static Serializer get serializer => @@ -4153,23 +4165,28 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs implements Built { - // coverage:ignore-end - factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); + // coverage:ignore-end - JsonObject get data; - ProvisioningApiUserDetails? get userDetails; - ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? - get usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; - static ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users fromJson(final Object json) => + // coverage:ignore-start + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + ProvisioningApiUserDetails? get userDetails; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + get usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer(); diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index 64db19dc..99db26b3 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -592,19 +592,23 @@ abstract class UserStatusPrivate1 implements Built { - // coverage:ignore-end - factory UserStatusPrivate([final void Function(UserStatusPrivateBuilder)? b]) = _$UserStatusPrivate; + // coverage:ignore-start const UserStatusPrivate._(); + // coverage:ignore-end + + // coverage:ignore-start + factory UserStatusPrivate.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - UserStatusPublic get public; - UserStatusPrivate1 get private1; - static UserStatusPrivate fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + UserStatusPublic get public; + UserStatusPrivate1 get private1; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusPrivateSerializer(); } @@ -722,19 +726,23 @@ class UserStatusClearAtTimeType extends EnumClass { } abstract class UserStatusClearAt_Time implements Built { - // coverage:ignore-end - factory UserStatusClearAt_Time([final void Function(UserStatusClearAt_TimeBuilder)? b]) = _$UserStatusClearAt_Time; + // coverage:ignore-start const UserStatusClearAt_Time._(); + // coverage:ignore-end + + // coverage:ignore-start + factory UserStatusClearAt_Time.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end - JsonObject get data; - int? get $int; - UserStatusClearAtTimeType? get clearAtTimeType; - static UserStatusClearAt_Time fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + int? get $int; + UserStatusClearAtTimeType? get clearAtTimeType; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusClearAt_TimeSerializer(); } @@ -1239,22 +1247,27 @@ abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Da implements Built { - // coverage:ignore-end - factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data([ final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data; + // coverage:ignore-start const UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end - JsonObject get data; - UserStatusPrivate? get private; - JsonObject? get jsonObject; - static UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data fromJson(final Object json) => + // coverage:ignore-start + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; // coverage:ignore-end + JsonObject get data; + UserStatusPrivate? get private; + JsonObject? get jsonObject; @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataSerializer();