|
|
@ -3,9 +3,12 @@ |
|
|
|
// ignore_for_file: public_member_api_docs |
|
|
|
// ignore_for_file: public_member_api_docs |
|
|
|
// ignore_for_file: unreachable_switch_case |
|
|
|
// ignore_for_file: unreachable_switch_case |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:built_collection/built_collection.dart'; |
|
|
|
import 'package:built_value/built_value.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/serializer.dart'; |
|
|
|
import 'package:built_value/standard_json_plugin.dart'; |
|
|
|
import 'package:built_value/standard_json_plugin.dart'; |
|
|
|
|
|
|
|
import 'package:collection/collection.dart'; |
|
|
|
import 'package:dynamite_runtime/built_value.dart'; |
|
|
|
import 'package:dynamite_runtime/built_value.dart'; |
|
|
|
import 'package:dynamite_runtime/http_client.dart'; |
|
|
|
import 'package:dynamite_runtime/http_client.dart'; |
|
|
|
|
|
|
|
|
|
|
@ -32,25 +35,25 @@ class Client extends DynamiteClient { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterface { |
|
|
|
abstract interface class Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface { |
|
|
|
bool get enabled; |
|
|
|
bool get enabled; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities_FilesSharing_Sharebymail_UploadFilesDrop |
|
|
|
abstract class Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop |
|
|
|
implements |
|
|
|
implements |
|
|
|
Capabilities_FilesSharing_Sharebymail_UploadFilesDropInterface, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_UploadFilesDropInterface, |
|
|
|
Built<Capabilities_FilesSharing_Sharebymail_UploadFilesDrop, |
|
|
|
Built<Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop, |
|
|
|
Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder> { |
|
|
|
Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder> { |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_UploadFilesDrop([ |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop([ |
|
|
|
final void Function(Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, |
|
|
|
final void Function(Capabilities0_FilesSharing_Sharebymail_UploadFilesDropBuilder)? b, |
|
|
|
]) = _$Capabilities_FilesSharing_Sharebymail_UploadFilesDrop; |
|
|
|
]) = _$Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop; |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); |
|
|
|
const Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -58,30 +61,30 @@ abstract class Capabilities_FilesSharing_Sharebymail_UploadFilesDrop |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities_FilesSharing_Sharebymail_UploadFilesDrop> get serializer => |
|
|
|
static Serializer<Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop> get serializer => |
|
|
|
_$capabilitiesFilesSharingSharebymailUploadFilesDropSerializer; |
|
|
|
_$capabilities0FilesSharingSharebymailUploadFilesDropSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class Capabilities_FilesSharing_Sharebymail_PasswordInterface { |
|
|
|
abstract interface class Capabilities0_FilesSharing_Sharebymail_PasswordInterface { |
|
|
|
bool get enabled; |
|
|
|
bool get enabled; |
|
|
|
bool get enforced; |
|
|
|
bool get enforced; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities_FilesSharing_Sharebymail_Password |
|
|
|
abstract class Capabilities0_FilesSharing_Sharebymail_Password |
|
|
|
implements |
|
|
|
implements |
|
|
|
Capabilities_FilesSharing_Sharebymail_PasswordInterface, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_PasswordInterface, |
|
|
|
Built<Capabilities_FilesSharing_Sharebymail_Password, Capabilities_FilesSharing_Sharebymail_PasswordBuilder> { |
|
|
|
Built<Capabilities0_FilesSharing_Sharebymail_Password, Capabilities0_FilesSharing_Sharebymail_PasswordBuilder> { |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_Password([ |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_Password([ |
|
|
|
final void Function(Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? b, |
|
|
|
final void Function(Capabilities0_FilesSharing_Sharebymail_PasswordBuilder)? b, |
|
|
|
]) = _$Capabilities_FilesSharing_Sharebymail_Password; |
|
|
|
]) = _$Capabilities0_FilesSharing_Sharebymail_Password; |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const Capabilities_FilesSharing_Sharebymail_Password._(); |
|
|
|
const Capabilities0_FilesSharing_Sharebymail_Password._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_Password.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_Password.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -89,31 +92,31 @@ abstract class Capabilities_FilesSharing_Sharebymail_Password |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities_FilesSharing_Sharebymail_Password> get serializer => |
|
|
|
static Serializer<Capabilities0_FilesSharing_Sharebymail_Password> get serializer => |
|
|
|
_$capabilitiesFilesSharingSharebymailPasswordSerializer; |
|
|
|
_$capabilities0FilesSharingSharebymailPasswordSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class Capabilities_FilesSharing_Sharebymail_ExpireDateInterface { |
|
|
|
abstract interface class Capabilities0_FilesSharing_Sharebymail_ExpireDateInterface { |
|
|
|
bool get enabled; |
|
|
|
bool get enabled; |
|
|
|
bool get enforced; |
|
|
|
bool get enforced; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities_FilesSharing_Sharebymail_ExpireDate |
|
|
|
abstract class Capabilities0_FilesSharing_Sharebymail_ExpireDate |
|
|
|
implements |
|
|
|
implements |
|
|
|
Capabilities_FilesSharing_Sharebymail_ExpireDateInterface, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_ExpireDateInterface, |
|
|
|
Built<Capabilities_FilesSharing_Sharebymail_ExpireDate, |
|
|
|
Built<Capabilities0_FilesSharing_Sharebymail_ExpireDate, |
|
|
|
Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder> { |
|
|
|
Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder> { |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_ExpireDate([ |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_ExpireDate([ |
|
|
|
final void Function(Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b, |
|
|
|
final void Function(Capabilities0_FilesSharing_Sharebymail_ExpireDateBuilder)? b, |
|
|
|
]) = _$Capabilities_FilesSharing_Sharebymail_ExpireDate; |
|
|
|
]) = _$Capabilities0_FilesSharing_Sharebymail_ExpireDate; |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const Capabilities_FilesSharing_Sharebymail_ExpireDate._(); |
|
|
|
const Capabilities0_FilesSharing_Sharebymail_ExpireDate._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail_ExpireDate.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -121,36 +124,36 @@ abstract class Capabilities_FilesSharing_Sharebymail_ExpireDate |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities_FilesSharing_Sharebymail_ExpireDate> get serializer => |
|
|
|
static Serializer<Capabilities0_FilesSharing_Sharebymail_ExpireDate> get serializer => |
|
|
|
_$capabilitiesFilesSharingSharebymailExpireDateSerializer; |
|
|
|
_$capabilities0FilesSharingSharebymailExpireDateSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class Capabilities_FilesSharing_SharebymailInterface { |
|
|
|
abstract interface class Capabilities0_FilesSharing_SharebymailInterface { |
|
|
|
bool get enabled; |
|
|
|
bool get enabled; |
|
|
|
@BuiltValueField(wireName: 'send_password_by_mail') |
|
|
|
@BuiltValueField(wireName: 'send_password_by_mail') |
|
|
|
bool get sendPasswordByMail; |
|
|
|
bool get sendPasswordByMail; |
|
|
|
@BuiltValueField(wireName: 'upload_files_drop') |
|
|
|
@BuiltValueField(wireName: 'upload_files_drop') |
|
|
|
Capabilities_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; |
|
|
|
Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop get uploadFilesDrop; |
|
|
|
Capabilities_FilesSharing_Sharebymail_Password get password; |
|
|
|
Capabilities0_FilesSharing_Sharebymail_Password get password; |
|
|
|
@BuiltValueField(wireName: 'expire_date') |
|
|
|
@BuiltValueField(wireName: 'expire_date') |
|
|
|
Capabilities_FilesSharing_Sharebymail_ExpireDate get expireDate; |
|
|
|
Capabilities0_FilesSharing_Sharebymail_ExpireDate get expireDate; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities_FilesSharing_Sharebymail |
|
|
|
abstract class Capabilities0_FilesSharing_Sharebymail |
|
|
|
implements |
|
|
|
implements |
|
|
|
Capabilities_FilesSharing_SharebymailInterface, |
|
|
|
Capabilities0_FilesSharing_SharebymailInterface, |
|
|
|
Built<Capabilities_FilesSharing_Sharebymail, Capabilities_FilesSharing_SharebymailBuilder> { |
|
|
|
Built<Capabilities0_FilesSharing_Sharebymail, Capabilities0_FilesSharing_SharebymailBuilder> { |
|
|
|
factory Capabilities_FilesSharing_Sharebymail([ |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail([ |
|
|
|
final void Function(Capabilities_FilesSharing_SharebymailBuilder)? b, |
|
|
|
final void Function(Capabilities0_FilesSharing_SharebymailBuilder)? b, |
|
|
|
]) = _$Capabilities_FilesSharing_Sharebymail; |
|
|
|
]) = _$Capabilities0_FilesSharing_Sharebymail; |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const Capabilities_FilesSharing_Sharebymail._(); |
|
|
|
const Capabilities0_FilesSharing_Sharebymail._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory Capabilities_FilesSharing_Sharebymail.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory Capabilities0_FilesSharing_Sharebymail.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -158,26 +161,28 @@ abstract class Capabilities_FilesSharing_Sharebymail |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities_FilesSharing_Sharebymail> get serializer => |
|
|
|
static Serializer<Capabilities0_FilesSharing_Sharebymail> get serializer => |
|
|
|
_$capabilitiesFilesSharingSharebymailSerializer; |
|
|
|
_$capabilities0FilesSharingSharebymailSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class Capabilities_FilesSharingInterface { |
|
|
|
abstract interface class Capabilities0_FilesSharingInterface { |
|
|
|
Capabilities_FilesSharing_Sharebymail get sharebymail; |
|
|
|
Capabilities0_FilesSharing_Sharebymail get sharebymail; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities_FilesSharing |
|
|
|
abstract class Capabilities0_FilesSharing |
|
|
|
implements Capabilities_FilesSharingInterface, Built<Capabilities_FilesSharing, Capabilities_FilesSharingBuilder> { |
|
|
|
implements |
|
|
|
factory Capabilities_FilesSharing([final void Function(Capabilities_FilesSharingBuilder)? b]) = |
|
|
|
Capabilities0_FilesSharingInterface, |
|
|
|
_$Capabilities_FilesSharing; |
|
|
|
Built<Capabilities0_FilesSharing, Capabilities0_FilesSharingBuilder> { |
|
|
|
|
|
|
|
factory Capabilities0_FilesSharing([final void Function(Capabilities0_FilesSharingBuilder)? b]) = |
|
|
|
|
|
|
|
_$Capabilities0_FilesSharing; |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
const Capabilities_FilesSharing._(); |
|
|
|
const Capabilities0_FilesSharing._(); |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
factory Capabilities_FilesSharing.fromJson(final Map<String, dynamic> json) => |
|
|
|
factory Capabilities0_FilesSharing.fromJson(final Map<String, dynamic> json) => |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
@ -185,13 +190,38 @@ abstract class Capabilities_FilesSharing |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities_FilesSharing> get serializer => _$capabilitiesFilesSharingSerializer; |
|
|
|
static Serializer<Capabilities0_FilesSharing> get serializer => _$capabilities0FilesSharingSerializer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
abstract interface class CapabilitiesInterface { |
|
|
|
abstract interface class Capabilities0Interface { |
|
|
|
@BuiltValueField(wireName: 'files_sharing') |
|
|
|
@BuiltValueField(wireName: 'files_sharing') |
|
|
|
Capabilities_FilesSharing get filesSharing; |
|
|
|
Capabilities0_FilesSharing get filesSharing; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities0 implements Capabilities0Interface, Built<Capabilities0, Capabilities0Builder> { |
|
|
|
|
|
|
|
factory Capabilities0([final void Function(Capabilities0Builder)? b]) = _$Capabilities0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
const Capabilities0._(); |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
factory Capabilities0.fromJson(final Map<String, dynamic> json) => |
|
|
|
|
|
|
|
_jsonSerializers.deserializeWith(serializer, json)!; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
|
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities0> get serializer => _$capabilities0Serializer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BuiltValue(instantiable: false) |
|
|
|
|
|
|
|
abstract interface class CapabilitiesInterface { |
|
|
|
|
|
|
|
Capabilities0? get capabilities0; |
|
|
|
|
|
|
|
BuiltList<JsonObject>? get builtListJsonObject; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abstract class Capabilities implements CapabilitiesInterface, Built<Capabilities, CapabilitiesBuilder> { |
|
|
|
abstract class Capabilities implements CapabilitiesInterface, Built<Capabilities, CapabilitiesBuilder> { |
|
|
@ -209,35 +239,90 @@ abstract class Capabilities implements CapabilitiesInterface, Built<Capabilities |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
Map<String, dynamic> toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map<String, dynamic>; |
|
|
|
// coverage:ignore-end |
|
|
|
// coverage:ignore-end |
|
|
|
|
|
|
|
|
|
|
|
static Serializer<Capabilities> get serializer => _$capabilitiesSerializer; |
|
|
|
@BuiltValueSerializer(custom: true) |
|
|
|
|
|
|
|
static Serializer<Capabilities> get serializer => _$CapabilitiesSerializer(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JsonObject get data; |
|
|
|
|
|
|
|
@BuiltValueHook(finalizeBuilder: true) |
|
|
|
|
|
|
|
static void _validate(final CapabilitiesBuilder b) { |
|
|
|
|
|
|
|
// When this is rebuild from another builder |
|
|
|
|
|
|
|
if (b._data == null) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
final match = [b._capabilities0, b._builtListJsonObject].firstWhereOrNull((final x) => x != null); |
|
|
|
|
|
|
|
if (match == null) { |
|
|
|
|
|
|
|
throw StateError("Need at least one of 'capabilities0', 'builtListJsonObject' for ${b._data}"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class _$CapabilitiesSerializer implements PrimitiveSerializer<Capabilities> { |
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final Iterable<Type> types = const [Capabilities, _$Capabilities]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final String wireName = 'Capabilities'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
Object serialize( |
|
|
|
|
|
|
|
final Serializers serializers, |
|
|
|
|
|
|
|
final Capabilities object, { |
|
|
|
|
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
|
|
|
|
}) => |
|
|
|
|
|
|
|
object.data.value; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
Capabilities deserialize( |
|
|
|
|
|
|
|
final Serializers serializers, |
|
|
|
|
|
|
|
final Object data, { |
|
|
|
|
|
|
|
final FullType specifiedType = FullType.unspecified, |
|
|
|
|
|
|
|
}) { |
|
|
|
|
|
|
|
final result = CapabilitiesBuilder()..data = JsonObject(data); |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
final value = _jsonSerializers.deserialize(data, specifiedType: const FullType(Capabilities0))! as Capabilities0; |
|
|
|
|
|
|
|
result.capabilities0.replace(value); |
|
|
|
|
|
|
|
} catch (_) {} |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
final value = _jsonSerializers.deserialize( |
|
|
|
|
|
|
|
data, |
|
|
|
|
|
|
|
specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), |
|
|
|
|
|
|
|
)! as BuiltList<JsonObject>; |
|
|
|
|
|
|
|
result.builtListJsonObject.replace(value); |
|
|
|
|
|
|
|
} catch (_) {} |
|
|
|
|
|
|
|
return result.build(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// coverage:ignore-start |
|
|
|
// coverage:ignore-start |
|
|
|
final Serializers _serializers = (Serializers().toBuilder() |
|
|
|
final Serializers _serializers = (Serializers().toBuilder() |
|
|
|
..addBuilderFactory(const FullType(Capabilities), Capabilities.new) |
|
|
|
..addBuilderFactory(const FullType(Capabilities), Capabilities.new) |
|
|
|
..add(Capabilities.serializer) |
|
|
|
..add(Capabilities.serializer) |
|
|
|
..addBuilderFactory(const FullType(Capabilities_FilesSharing), Capabilities_FilesSharing.new) |
|
|
|
..addBuilderFactory(const FullType(Capabilities0), Capabilities0.new) |
|
|
|
..add(Capabilities_FilesSharing.serializer) |
|
|
|
..add(Capabilities0.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(Capabilities0_FilesSharing), Capabilities0_FilesSharing.new) |
|
|
|
|
|
|
|
..add(Capabilities0_FilesSharing.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(Capabilities_FilesSharing_Sharebymail), |
|
|
|
const FullType(Capabilities0_FilesSharing_Sharebymail), |
|
|
|
Capabilities_FilesSharing_Sharebymail.new, |
|
|
|
Capabilities0_FilesSharing_Sharebymail.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(Capabilities_FilesSharing_Sharebymail.serializer) |
|
|
|
..add(Capabilities0_FilesSharing_Sharebymail.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop), |
|
|
|
const FullType(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop), |
|
|
|
Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.new, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.serializer) |
|
|
|
..add(Capabilities0_FilesSharing_Sharebymail_UploadFilesDrop.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(Capabilities_FilesSharing_Sharebymail_Password), |
|
|
|
const FullType(Capabilities0_FilesSharing_Sharebymail_Password), |
|
|
|
Capabilities_FilesSharing_Sharebymail_Password.new, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_Password.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(Capabilities_FilesSharing_Sharebymail_Password.serializer) |
|
|
|
..add(Capabilities0_FilesSharing_Sharebymail_Password.serializer) |
|
|
|
..addBuilderFactory( |
|
|
|
..addBuilderFactory( |
|
|
|
const FullType(Capabilities_FilesSharing_Sharebymail_ExpireDate), |
|
|
|
const FullType(Capabilities0_FilesSharing_Sharebymail_ExpireDate), |
|
|
|
Capabilities_FilesSharing_Sharebymail_ExpireDate.new, |
|
|
|
Capabilities0_FilesSharing_Sharebymail_ExpireDate.new, |
|
|
|
) |
|
|
|
) |
|
|
|
..add(Capabilities_FilesSharing_Sharebymail_ExpireDate.serializer)) |
|
|
|
..add(Capabilities0_FilesSharing_Sharebymail_ExpireDate.serializer) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder<JsonObject>.new)) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
|
|
|
|
|
|
|
|
final Serializers _jsonSerializers = (_serializers.toBuilder() |
|
|
|
final Serializers _jsonSerializers = (_serializers.toBuilder() |
|
|
|