From 791d79419e0a0f95f3f3fa586d0b4406b915605e Mon Sep 17 00:00:00 2001 From: provokateurin Date: Sat, 6 Apr 2024 20:55:21 +0200 Subject: [PATCH] feat(tool,nextcloud): Generate rich object parameters Signed-off-by: provokateurin --- .cspell/nextcloud.txt | 6 + .../nextcloud/lib/src/api/spreed.openapi.dart | 1563 +- .../lib/src/api/spreed.openapi.g.dart | 17888 ++++++++++------ .../nextcloud/lib/src/api/spreed.openapi.json | 803 +- .../src/patches/spreed/99-rich-objects.json | 903 + tool/generate-rich-objects-patch.php | 74 + tool/generate-specs.sh | 2 + 7 files changed, 14605 insertions(+), 6634 deletions(-) create mode 100644 packages/nextcloud/lib/src/patches/spreed/99-rich-objects.json create mode 100755 tool/generate-rich-objects-patch.php diff --git a/.cspell/nextcloud.txt b/.cspell/nextcloud.txt index 6ed2b1b10a9..8943deb3238 100644 --- a/.cspell/nextcloud.txt +++ b/.cspell/nextcloud.txt @@ -1,6 +1,8 @@ +addressbook apirequest apppassword bigfilechunking +boardname bools bulkupload clearsky @@ -13,10 +15,12 @@ displayname etag federatedfilesharing fediverse +gqbfb heavyrain heavyrainshowers iscustomavatar itemsperpage +johndoe keepalive keypair lastmod @@ -44,12 +48,14 @@ shareapi sharebymail sharee shareesapi +stackname statuscode stime stunservers stylesheet subadmin subline +supportteam systemtags totalitems trashbin diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.dart b/packages/nextcloud/lib/src/api/spreed.openapi.dart index 345766adfd0..bf37974bad0 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.dart @@ -13964,6 +13964,1078 @@ class _$ChatMessage_DeletedSerializer implements PrimitiveSerializer { + /// Creates a new RichObjectParameterAddressbook object using the builder pattern. + factory RichObjectParameterAddressbook([void Function(RichObjectParameterAddressbookBuilder)? b]) = + _$RichObjectParameterAddressbook; + + // coverage:ignore-start + const RichObjectParameterAddressbook._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterAddressbook.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterAddressbook. + static Serializer get serializer => _$richObjectParameterAddressbookSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterAddressbookContactInterface { + String get type; + + /// The id used to identify the contact on the instance. + String get id; + + /// The display name of the contact which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterAddressbookContact + implements + $RichObjectParameterAddressbookContactInterface, + Built { + /// Creates a new RichObjectParameterAddressbookContact object using the builder pattern. + factory RichObjectParameterAddressbookContact([void Function(RichObjectParameterAddressbookContactBuilder)? b]) = + _$RichObjectParameterAddressbookContact; + + // coverage:ignore-start + const RichObjectParameterAddressbookContact._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterAddressbookContact.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterAddressbookContact. + static Serializer get serializer => + _$richObjectParameterAddressbookContactSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterAnnouncementInterface { + String get type; + + /// The id used to identify the announcement on the instance. + String get id; + + /// The announcement subject which should be used in the visual representation. + String get name; + + /// The full URL to the file. + String? get link; +} + +abstract class RichObjectParameterAnnouncement + implements + $RichObjectParameterAnnouncementInterface, + Built { + /// Creates a new RichObjectParameterAnnouncement object using the builder pattern. + factory RichObjectParameterAnnouncement([void Function(RichObjectParameterAnnouncementBuilder)? b]) = + _$RichObjectParameterAnnouncement; + + // coverage:ignore-start + const RichObjectParameterAnnouncement._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterAnnouncement.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterAnnouncement. + static Serializer get serializer => _$richObjectParameterAnnouncementSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterAppInterface { + String get type; + + /// The app id. + String get id; + + /// The name of the app which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterApp + implements $RichObjectParameterAppInterface, Built { + /// Creates a new RichObjectParameterApp object using the builder pattern. + factory RichObjectParameterApp([void Function(RichObjectParameterAppBuilder)? b]) = _$RichObjectParameterApp; + + // coverage:ignore-start + const RichObjectParameterApp._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterApp.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterApp. + static Serializer get serializer => _$richObjectParameterAppSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterCalendarInterface { + String get type; + + /// The id used to identify the calendar on the instance. + String get id; + + /// The display name of the calendar which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterCalendar + implements + $RichObjectParameterCalendarInterface, + Built { + /// Creates a new RichObjectParameterCalendar object using the builder pattern. + factory RichObjectParameterCalendar([void Function(RichObjectParameterCalendarBuilder)? b]) = + _$RichObjectParameterCalendar; + + // coverage:ignore-start + const RichObjectParameterCalendar._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterCalendar.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterCalendar. + static Serializer get serializer => _$richObjectParameterCalendarSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterCalendarEventInterface { + String get type; + + /// The id used to identify the event on the instance. + String get id; + + /// The display name of the event which should be used in the visual representation. + String get name; + + /// A link to the page displaying the calendar. + String? get link; +} + +abstract class RichObjectParameterCalendarEvent + implements + $RichObjectParameterCalendarEventInterface, + Built { + /// Creates a new RichObjectParameterCalendarEvent object using the builder pattern. + factory RichObjectParameterCalendarEvent([void Function(RichObjectParameterCalendarEventBuilder)? b]) = + _$RichObjectParameterCalendarEvent; + + // coverage:ignore-start + const RichObjectParameterCalendarEvent._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterCalendarEvent.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterCalendarEvent. + static Serializer get serializer => _$richObjectParameterCalendarEventSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterCallInterface { + String get type; + + /// The id used to identify the call on the instance. + String get id; + + /// The display name of the call which should be used in the visual representation. + String get name; + + /// The type of the call: one2one, group or public. + @BuiltValueField(wireName: 'call-type') + String get callType; + + /// The link to the conversation. + String? get link; + + /// The icon url to use as avatar. + @BuiltValueField(wireName: 'icon-url') + String? get iconUrl; + + /// The id of a message that was referred to. + @BuiltValueField(wireName: 'message-id') + String? get messageId; +} + +abstract class RichObjectParameterCall + implements $RichObjectParameterCallInterface, Built { + /// Creates a new RichObjectParameterCall object using the builder pattern. + factory RichObjectParameterCall([void Function(RichObjectParameterCallBuilder)? b]) = _$RichObjectParameterCall; + + // coverage:ignore-start + const RichObjectParameterCall._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterCall.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterCall. + static Serializer get serializer => _$richObjectParameterCallSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterCircleInterface { + String get type; + + /// The id used to identify the circle on the instance. + String get id; + + /// The display name of the circle which should be used in the visual representation. + String get name; + + /// The full URL to the circle. + String get link; +} + +abstract class RichObjectParameterCircle + implements $RichObjectParameterCircleInterface, Built { + /// Creates a new RichObjectParameterCircle object using the builder pattern. + factory RichObjectParameterCircle([void Function(RichObjectParameterCircleBuilder)? b]) = _$RichObjectParameterCircle; + + // coverage:ignore-start + const RichObjectParameterCircle._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterCircle.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterCircle. + static Serializer get serializer => _$richObjectParameterCircleSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterDeckBoardInterface { + String get type; + + /// The id used to identify the board on the instance. + String get id; + + /// The display name of the deck board. + String get name; + + /// The full URL to the board. + String get link; +} + +abstract class RichObjectParameterDeckBoard + implements + $RichObjectParameterDeckBoardInterface, + Built { + /// Creates a new RichObjectParameterDeckBoard object using the builder pattern. + factory RichObjectParameterDeckBoard([void Function(RichObjectParameterDeckBoardBuilder)? b]) = + _$RichObjectParameterDeckBoard; + + // coverage:ignore-start + const RichObjectParameterDeckBoard._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterDeckBoard.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterDeckBoard. + static Serializer get serializer => _$richObjectParameterDeckBoardSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterDeckCardInterface { + String get type; + + /// The id used to identify the card on the instance. + String get id; + + /// The title of the deck card. + String get name; + + /// The display name of board which contains the card. + String get boardname; + + /// The display name of the stack which contains the card in the board. + String get stackname; + + /// The full URL to the card directly. + String get link; +} + +abstract class RichObjectParameterDeckCard + implements + $RichObjectParameterDeckCardInterface, + Built { + /// Creates a new RichObjectParameterDeckCard object using the builder pattern. + factory RichObjectParameterDeckCard([void Function(RichObjectParameterDeckCardBuilder)? b]) = + _$RichObjectParameterDeckCard; + + // coverage:ignore-start + const RichObjectParameterDeckCard._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterDeckCard.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterDeckCard. + static Serializer get serializer => _$richObjectParameterDeckCardSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterEmailInterface { + String get type; + + /// The mail-address used to identify the event on the instance. + String get id; + + /// The display name of a matching contact or the email (fallback) which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterEmail + implements $RichObjectParameterEmailInterface, Built { + /// Creates a new RichObjectParameterEmail object using the builder pattern. + factory RichObjectParameterEmail([void Function(RichObjectParameterEmailBuilder)? b]) = _$RichObjectParameterEmail; + + // coverage:ignore-start + const RichObjectParameterEmail._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterEmail.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterEmail. + static Serializer get serializer => _$richObjectParameterEmailSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterFileInterface { + String get type; + + /// The id used to identify the file on the instance. + String get id; + + /// The file name which should be used in the visual representation. + String get name; + + /// The file size in bytes. + String? get size; + + /// The full path of the file for the user, should not start with a slash. + String get path; + + /// The full URL to the file. + String? get link; + + /// The mimetype of the file/folder to allow clients to show a placeholder. + String? get mimetype; + + /// Whether or not a preview is available. If `no` the mimetype icon should be used. + @BuiltValueField(wireName: 'preview-available') + String? get previewAvailable; + + /// The mtime of the file/folder as unix timestamp. + String? get mtime; +} + +abstract class RichObjectParameterFile + implements $RichObjectParameterFileInterface, Built { + /// Creates a new RichObjectParameterFile object using the builder pattern. + factory RichObjectParameterFile([void Function(RichObjectParameterFileBuilder)? b]) = _$RichObjectParameterFile; + + // coverage:ignore-start + const RichObjectParameterFile._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterFile.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterFile. + static Serializer get serializer => _$richObjectParameterFileSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterFormsFormInterface { + String get type; + + /// The form-hash of the form. + String get id; + + /// The title of the form. + String get name; + + /// The full URL to the board. + String get link; +} + +abstract class RichObjectParameterFormsForm + implements + $RichObjectParameterFormsFormInterface, + Built { + /// Creates a new RichObjectParameterFormsForm object using the builder pattern. + factory RichObjectParameterFormsForm([void Function(RichObjectParameterFormsFormBuilder)? b]) = + _$RichObjectParameterFormsForm; + + // coverage:ignore-start + const RichObjectParameterFormsForm._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterFormsForm.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterFormsForm. + static Serializer get serializer => _$richObjectParameterFormsFormSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterGuestInterface { + String get type; + + /// The id used to identify the guest user. + String get id; + + /// Potential displayname of the guest user. + String get name; +} + +abstract class RichObjectParameterGuest + implements $RichObjectParameterGuestInterface, Built { + /// Creates a new RichObjectParameterGuest object using the builder pattern. + factory RichObjectParameterGuest([void Function(RichObjectParameterGuestBuilder)? b]) = _$RichObjectParameterGuest; + + // coverage:ignore-start + const RichObjectParameterGuest._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterGuest.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterGuest. + static Serializer get serializer => _$richObjectParameterGuestSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterHighlightInterface { + String get type; + + /// The id used to identify the highlighted object on the instance. + String get id; + + /// The string that should be highlighted. + String get name; + + /// The full URL that should be opened when clicking the highlighted text. + String? get link; +} + +abstract class RichObjectParameterHighlight + implements + $RichObjectParameterHighlightInterface, + Built { + /// Creates a new RichObjectParameterHighlight object using the builder pattern. + factory RichObjectParameterHighlight([void Function(RichObjectParameterHighlightBuilder)? b]) = + _$RichObjectParameterHighlight; + + // coverage:ignore-start + const RichObjectParameterHighlight._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterHighlight.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterHighlight. + static Serializer get serializer => _$richObjectParameterHighlightSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterGeoLocationInterface { + String get type; + + /// The geo URI (https://en.wikipedia.org/wiki/Geo_URI_scheme) to identify the location. + String get id; + + /// A description of the location. + String get name; + + /// The latitude of the location MUST be the same as in the id. + String get latitude; + + /// The longitude of the location MUST be the same as in the id. + String get longitude; +} + +abstract class RichObjectParameterGeoLocation + implements + $RichObjectParameterGeoLocationInterface, + Built { + /// Creates a new RichObjectParameterGeoLocation object using the builder pattern. + factory RichObjectParameterGeoLocation([void Function(RichObjectParameterGeoLocationBuilder)? b]) = + _$RichObjectParameterGeoLocation; + + // coverage:ignore-start + const RichObjectParameterGeoLocation._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterGeoLocation.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterGeoLocation. + static Serializer get serializer => _$richObjectParameterGeoLocationSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterOpenGraphInterface { + String get type; + + /// The id used to identify the open graph data on the instance. + String get id; + + /// The open graph title of the website. + String get name; + + /// The open graph description from the website. + String? get description; + + /// The full URL of the open graph thumbnail. + String? get thumb; + + /// The name of the described website. + String? get website; + + /// The full link to the website. + String? get link; +} + +abstract class RichObjectParameterOpenGraph + implements + $RichObjectParameterOpenGraphInterface, + Built { + /// Creates a new RichObjectParameterOpenGraph object using the builder pattern. + factory RichObjectParameterOpenGraph([void Function(RichObjectParameterOpenGraphBuilder)? b]) = + _$RichObjectParameterOpenGraph; + + // coverage:ignore-start + const RichObjectParameterOpenGraph._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterOpenGraph.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterOpenGraph. + static Serializer get serializer => _$richObjectParameterOpenGraphSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterPendingFederatedShareInterface { + String get type; + + /// The id used to identify the federated share on the instance. + String get id; + + /// The name of the shared item which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterPendingFederatedShare + implements + $RichObjectParameterPendingFederatedShareInterface, + Built { + /// Creates a new RichObjectParameterPendingFederatedShare object using the builder pattern. + factory RichObjectParameterPendingFederatedShare([ + void Function(RichObjectParameterPendingFederatedShareBuilder)? b, + ]) = _$RichObjectParameterPendingFederatedShare; + + // coverage:ignore-start + const RichObjectParameterPendingFederatedShare._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterPendingFederatedShare.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterPendingFederatedShare. + static Serializer get serializer => + _$richObjectParameterPendingFederatedShareSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterSystemtagInterface { + String get type; + + /// The id used to identify the systemtag on the instance. + String get id; + + /// The display name of the systemtag which should be used in the visual representation. + String get name; + + /// If the user can see the systemtag. + String get visibility; + + /// If the user can assign the systemtag. + String get assignable; +} + +abstract class RichObjectParameterSystemtag + implements + $RichObjectParameterSystemtagInterface, + Built { + /// Creates a new RichObjectParameterSystemtag object using the builder pattern. + factory RichObjectParameterSystemtag([void Function(RichObjectParameterSystemtagBuilder)? b]) = + _$RichObjectParameterSystemtag; + + // coverage:ignore-start + const RichObjectParameterSystemtag._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterSystemtag.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterSystemtag. + static Serializer get serializer => _$richObjectParameterSystemtagSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterTalkAttachmentInterface { + String get type; + + /// The id used to identify the attachment on the instance. + String get id; + + /// The name of the attachment. + String get name; + + /// The token of the conversation. + String get conversation; + + /// The mimetype of the file/folder to allow clients to show a placeholder. + String? get mimetype; + + /// Whether or not a preview is available. If `no` the mimetype icon should be used. + @BuiltValueField(wireName: 'preview-available') + String? get previewAvailable; +} + +abstract class RichObjectParameterTalkAttachment + implements + $RichObjectParameterTalkAttachmentInterface, + Built { + /// Creates a new RichObjectParameterTalkAttachment object using the builder pattern. + factory RichObjectParameterTalkAttachment([void Function(RichObjectParameterTalkAttachmentBuilder)? b]) = + _$RichObjectParameterTalkAttachment; + + // coverage:ignore-start + const RichObjectParameterTalkAttachment._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterTalkAttachment.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterTalkAttachment. + static Serializer get serializer => _$richObjectParameterTalkAttachmentSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterTalkPollInterface { + String get type; + + /// The id used to identify the poll on the instance. + String get id; + + /// The poll question. + String get name; +} + +abstract class RichObjectParameterTalkPoll + implements + $RichObjectParameterTalkPollInterface, + Built { + /// Creates a new RichObjectParameterTalkPoll object using the builder pattern. + factory RichObjectParameterTalkPoll([void Function(RichObjectParameterTalkPollBuilder)? b]) = + _$RichObjectParameterTalkPoll; + + // coverage:ignore-start + const RichObjectParameterTalkPoll._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterTalkPoll.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterTalkPoll. + static Serializer get serializer => _$richObjectParameterTalkPollSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterUserInterface { + String get type; + + /// The id used to identify the user on the instance. + String get id; + + /// The display name of the user which should be used in the visual representation. + String get name; + + /// The URL of the instance the user lives on. + String? get server; +} + +abstract class RichObjectParameterUser + implements $RichObjectParameterUserInterface, Built { + /// Creates a new RichObjectParameterUser object using the builder pattern. + factory RichObjectParameterUser([void Function(RichObjectParameterUserBuilder)? b]) = _$RichObjectParameterUser; + + // coverage:ignore-start + const RichObjectParameterUser._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterUser.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterUser. + static Serializer get serializer => _$richObjectParameterUserSerializer; +} + +@BuiltValue(instantiable: false) +abstract interface class $RichObjectParameterUserGroupInterface { + String get type; + + /// The id used to identify the group on the instance. + String get id; + + /// The display name of the group which should be used in the visual representation. + String get name; +} + +abstract class RichObjectParameterUserGroup + implements + $RichObjectParameterUserGroupInterface, + Built { + /// Creates a new RichObjectParameterUserGroup object using the builder pattern. + factory RichObjectParameterUserGroup([void Function(RichObjectParameterUserGroupBuilder)? b]) = + _$RichObjectParameterUserGroup; + + // coverage:ignore-start + const RichObjectParameterUserGroup._(); + // coverage:ignore-end + + /// Creates a new object from the given [json] data. + /// + /// Use [toJson] to serialize it back into json. + // coverage:ignore-start + factory RichObjectParameterUserGroup.fromJson(Map json) => + _$jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + // coverage:ignore-start + Map toJson() => _$jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end + + /// Serializer for RichObjectParameterUserGroup. + static Serializer get serializer => _$richObjectParameterUserGroupSerializer; +} + +typedef RichObjectParameter = ({ + RichObjectParameterAddressbook? richObjectParameterAddressbook, + RichObjectParameterAddressbookContact? richObjectParameterAddressbookContact, + RichObjectParameterAnnouncement? richObjectParameterAnnouncement, + RichObjectParameterApp? richObjectParameterApp, + RichObjectParameterCalendar? richObjectParameterCalendar, + RichObjectParameterCalendarEvent? richObjectParameterCalendarEvent, + RichObjectParameterCall? richObjectParameterCall, + RichObjectParameterCircle? richObjectParameterCircle, + RichObjectParameterDeckBoard? richObjectParameterDeckBoard, + RichObjectParameterDeckCard? richObjectParameterDeckCard, + RichObjectParameterEmail? richObjectParameterEmail, + RichObjectParameterFile? richObjectParameterFile, + RichObjectParameterFormsForm? richObjectParameterFormsForm, + RichObjectParameterGeoLocation? richObjectParameterGeoLocation, + RichObjectParameterGuest? richObjectParameterGuest, + RichObjectParameterHighlight? richObjectParameterHighlight, + RichObjectParameterOpenGraph? richObjectParameterOpenGraph, + RichObjectParameterPendingFederatedShare? richObjectParameterPendingFederatedShare, + RichObjectParameterSystemtag? richObjectParameterSystemtag, + RichObjectParameterTalkAttachment? richObjectParameterTalkAttachment, + RichObjectParameterTalkPoll? richObjectParameterTalkPoll, + RichObjectParameterUser? richObjectParameterUser, + RichObjectParameterUserGroup? richObjectParameterUserGroup +}); + class MessageType extends EnumClass { const MessageType._(super.name); @@ -14082,7 +15154,7 @@ abstract interface class $ChatMessageInterface { bool get isReplyable; bool? get markdown; String get message; - BuiltMap> get messageParameters; + BuiltMap get messageParameters; MessageType get messageType; BuiltMap get reactions; String get referenceId; @@ -39279,6 +40351,18 @@ abstract class PublicCapabilities0 typedef PublicCapabilities = ({BuiltList? builtListNever, PublicCapabilities0? publicCapabilities0}); +/// Serialization extension for `RichObjectParameter`. +extension $RichObjectParameterExtension on RichObjectParameter { + /// Serializer for RichObjectParameter. + @BuiltValueSerializer(custom: true) + static Serializer get serializer => $10f921510112785c997c064175271549Extension._serializer; + + /// Creates a new object from the given [json] data. + /// + /// Use `toJson` to serialize it back into json. + static RichObjectParameter fromJson(Object? json) => $10f921510112785c997c064175271549Extension._fromJson(json); +} + /// Serialization extension for `Room_LastMessage`. extension $Room_LastMessageExtension on Room_LastMessage { /// Serializer for Room_LastMessage. @@ -39347,6 +40431,415 @@ extension $PublicCapabilitiesExtension on PublicCapabilities { static PublicCapabilities fromJson(Object? json) => $bc4aac45771b11649d372f39a92b1cf3Extension._fromJson(json); } +typedef _$10f921510112785c997c064175271549 = ({ + RichObjectParameterAddressbook? richObjectParameterAddressbook, + RichObjectParameterAddressbookContact? richObjectParameterAddressbookContact, + RichObjectParameterAnnouncement? richObjectParameterAnnouncement, + RichObjectParameterApp? richObjectParameterApp, + RichObjectParameterCalendar? richObjectParameterCalendar, + RichObjectParameterCalendarEvent? richObjectParameterCalendarEvent, + RichObjectParameterCall? richObjectParameterCall, + RichObjectParameterCircle? richObjectParameterCircle, + RichObjectParameterDeckBoard? richObjectParameterDeckBoard, + RichObjectParameterDeckCard? richObjectParameterDeckCard, + RichObjectParameterEmail? richObjectParameterEmail, + RichObjectParameterFile? richObjectParameterFile, + RichObjectParameterFormsForm? richObjectParameterFormsForm, + RichObjectParameterGeoLocation? richObjectParameterGeoLocation, + RichObjectParameterGuest? richObjectParameterGuest, + RichObjectParameterHighlight? richObjectParameterHighlight, + RichObjectParameterOpenGraph? richObjectParameterOpenGraph, + RichObjectParameterPendingFederatedShare? richObjectParameterPendingFederatedShare, + RichObjectParameterSystemtag? richObjectParameterSystemtag, + RichObjectParameterTalkAttachment? richObjectParameterTalkAttachment, + RichObjectParameterTalkPoll? richObjectParameterTalkPoll, + RichObjectParameterUser? richObjectParameterUser, + RichObjectParameterUserGroup? richObjectParameterUserGroup +}); + +/// @nodoc +// ignore: library_private_types_in_public_api +extension $10f921510112785c997c064175271549Extension on _$10f921510112785c997c064175271549 { + List get _values => [ + richObjectParameterAddressbook, + richObjectParameterAddressbookContact, + richObjectParameterAnnouncement, + richObjectParameterApp, + richObjectParameterCalendar, + richObjectParameterCalendarEvent, + richObjectParameterCall, + richObjectParameterCircle, + richObjectParameterDeckBoard, + richObjectParameterDeckCard, + richObjectParameterEmail, + richObjectParameterFile, + richObjectParameterFormsForm, + richObjectParameterGeoLocation, + richObjectParameterGuest, + richObjectParameterHighlight, + richObjectParameterOpenGraph, + richObjectParameterPendingFederatedShare, + richObjectParameterSystemtag, + richObjectParameterTalkAttachment, + richObjectParameterTalkPoll, + richObjectParameterUser, + richObjectParameterUserGroup, + ]; + List get _names => const [ + 'richObjectParameterAddressbook', + 'richObjectParameterAddressbookContact', + 'richObjectParameterAnnouncement', + 'richObjectParameterApp', + 'richObjectParameterCalendar', + 'richObjectParameterCalendarEvent', + 'richObjectParameterCall', + 'richObjectParameterCircle', + 'richObjectParameterDeckBoard', + 'richObjectParameterDeckCard', + 'richObjectParameterEmail', + 'richObjectParameterFile', + 'richObjectParameterFormsForm', + 'richObjectParameterGeoLocation', + 'richObjectParameterGuest', + 'richObjectParameterHighlight', + 'richObjectParameterOpenGraph', + 'richObjectParameterPendingFederatedShare', + 'richObjectParameterSystemtag', + 'richObjectParameterTalkAttachment', + 'richObjectParameterTalkPoll', + 'richObjectParameterUser', + 'richObjectParameterUserGroup', + ]; + + /// {@macro Dynamite.validateOneOf} + void validateOneOf() => _i4.validateOneOf( + _values, + _names, + ); + + /// {@macro Dynamite.validateAnyOf} + void validateAnyOf() => _i4.validateAnyOf( + _values, + _names, + ); + static Serializer<_$10f921510112785c997c064175271549> get _serializer => + const _$10f921510112785c997c064175271549Serializer(); + static _$10f921510112785c997c064175271549 _fromJson(Object? json) => + _$jsonSerializers.deserializeWith(_serializer, json)!; + + /// Parses this object into a json like map. + /// + /// Use the fromJson factory to revive it again. + Object? toJson() => _$jsonSerializers.serializeWith(_serializer, this); +} + +class _$10f921510112785c997c064175271549Serializer implements PrimitiveSerializer<_$10f921510112785c997c064175271549> { + const _$10f921510112785c997c064175271549Serializer(); + + @override + Iterable get types => const [_$10f921510112785c997c064175271549]; + + @override + String get wireName => r'_$10f921510112785c997c064175271549'; + + @override + Object serialize( + Serializers serializers, + _$10f921510112785c997c064175271549 object, { + FullType specifiedType = FullType.unspecified, + }) { + dynamic value; + value = object.richObjectParameterAddressbook; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterAddressbook))!; + } + value = object.richObjectParameterAddressbookContact; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterAddressbookContact))!; + } + value = object.richObjectParameterAnnouncement; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterAnnouncement))!; + } + value = object.richObjectParameterApp; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterApp))!; + } + value = object.richObjectParameterCalendar; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterCalendar))!; + } + value = object.richObjectParameterCalendarEvent; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterCalendarEvent))!; + } + value = object.richObjectParameterCall; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterCall))!; + } + value = object.richObjectParameterCircle; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterCircle))!; + } + value = object.richObjectParameterDeckBoard; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterDeckBoard))!; + } + value = object.richObjectParameterDeckCard; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterDeckCard))!; + } + value = object.richObjectParameterEmail; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterEmail))!; + } + value = object.richObjectParameterFile; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterFile))!; + } + value = object.richObjectParameterFormsForm; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterFormsForm))!; + } + value = object.richObjectParameterGeoLocation; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterGeoLocation))!; + } + value = object.richObjectParameterGuest; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterGuest))!; + } + value = object.richObjectParameterHighlight; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterHighlight))!; + } + value = object.richObjectParameterOpenGraph; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterOpenGraph))!; + } + value = object.richObjectParameterPendingFederatedShare; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterPendingFederatedShare))!; + } + value = object.richObjectParameterSystemtag; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterSystemtag))!; + } + value = object.richObjectParameterTalkAttachment; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterTalkAttachment))!; + } + value = object.richObjectParameterTalkPoll; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterTalkPoll))!; + } + value = object.richObjectParameterUser; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterUser))!; + } + value = object.richObjectParameterUserGroup; + if (value != null) { + return serializers.serialize(value, specifiedType: const FullType(RichObjectParameterUserGroup))!; + } +// Should not be possible after validation. + throw StateError('Tried to serialize without any value.'); + } + + @override + _$10f921510112785c997c064175271549 deserialize( + Serializers serializers, + Object data, { + FullType specifiedType = FullType.unspecified, + }) { + RichObjectParameterAddressbook? richObjectParameterAddressbook; + try { + richObjectParameterAddressbook = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterAddressbook), + )! as RichObjectParameterAddressbook; + } catch (_) {} + RichObjectParameterAddressbookContact? richObjectParameterAddressbookContact; + try { + richObjectParameterAddressbookContact = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterAddressbookContact), + )! as RichObjectParameterAddressbookContact; + } catch (_) {} + RichObjectParameterAnnouncement? richObjectParameterAnnouncement; + try { + richObjectParameterAnnouncement = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterAnnouncement), + )! as RichObjectParameterAnnouncement; + } catch (_) {} + RichObjectParameterApp? richObjectParameterApp; + try { + richObjectParameterApp = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterApp), + )! as RichObjectParameterApp; + } catch (_) {} + RichObjectParameterCalendar? richObjectParameterCalendar; + try { + richObjectParameterCalendar = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterCalendar), + )! as RichObjectParameterCalendar; + } catch (_) {} + RichObjectParameterCalendarEvent? richObjectParameterCalendarEvent; + try { + richObjectParameterCalendarEvent = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterCalendarEvent), + )! as RichObjectParameterCalendarEvent; + } catch (_) {} + RichObjectParameterCall? richObjectParameterCall; + try { + richObjectParameterCall = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterCall), + )! as RichObjectParameterCall; + } catch (_) {} + RichObjectParameterCircle? richObjectParameterCircle; + try { + richObjectParameterCircle = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterCircle), + )! as RichObjectParameterCircle; + } catch (_) {} + RichObjectParameterDeckBoard? richObjectParameterDeckBoard; + try { + richObjectParameterDeckBoard = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterDeckBoard), + )! as RichObjectParameterDeckBoard; + } catch (_) {} + RichObjectParameterDeckCard? richObjectParameterDeckCard; + try { + richObjectParameterDeckCard = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterDeckCard), + )! as RichObjectParameterDeckCard; + } catch (_) {} + RichObjectParameterEmail? richObjectParameterEmail; + try { + richObjectParameterEmail = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterEmail), + )! as RichObjectParameterEmail; + } catch (_) {} + RichObjectParameterFile? richObjectParameterFile; + try { + richObjectParameterFile = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterFile), + )! as RichObjectParameterFile; + } catch (_) {} + RichObjectParameterFormsForm? richObjectParameterFormsForm; + try { + richObjectParameterFormsForm = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterFormsForm), + )! as RichObjectParameterFormsForm; + } catch (_) {} + RichObjectParameterGeoLocation? richObjectParameterGeoLocation; + try { + richObjectParameterGeoLocation = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterGeoLocation), + )! as RichObjectParameterGeoLocation; + } catch (_) {} + RichObjectParameterGuest? richObjectParameterGuest; + try { + richObjectParameterGuest = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterGuest), + )! as RichObjectParameterGuest; + } catch (_) {} + RichObjectParameterHighlight? richObjectParameterHighlight; + try { + richObjectParameterHighlight = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterHighlight), + )! as RichObjectParameterHighlight; + } catch (_) {} + RichObjectParameterOpenGraph? richObjectParameterOpenGraph; + try { + richObjectParameterOpenGraph = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterOpenGraph), + )! as RichObjectParameterOpenGraph; + } catch (_) {} + RichObjectParameterPendingFederatedShare? richObjectParameterPendingFederatedShare; + try { + richObjectParameterPendingFederatedShare = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterPendingFederatedShare), + )! as RichObjectParameterPendingFederatedShare; + } catch (_) {} + RichObjectParameterSystemtag? richObjectParameterSystemtag; + try { + richObjectParameterSystemtag = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterSystemtag), + )! as RichObjectParameterSystemtag; + } catch (_) {} + RichObjectParameterTalkAttachment? richObjectParameterTalkAttachment; + try { + richObjectParameterTalkAttachment = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterTalkAttachment), + )! as RichObjectParameterTalkAttachment; + } catch (_) {} + RichObjectParameterTalkPoll? richObjectParameterTalkPoll; + try { + richObjectParameterTalkPoll = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterTalkPoll), + )! as RichObjectParameterTalkPoll; + } catch (_) {} + RichObjectParameterUser? richObjectParameterUser; + try { + richObjectParameterUser = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterUser), + )! as RichObjectParameterUser; + } catch (_) {} + RichObjectParameterUserGroup? richObjectParameterUserGroup; + try { + richObjectParameterUserGroup = serializers.deserialize( + data, + specifiedType: const FullType(RichObjectParameterUserGroup), + )! as RichObjectParameterUserGroup; + } catch (_) {} + return ( + richObjectParameterAddressbook: richObjectParameterAddressbook, + richObjectParameterAddressbookContact: richObjectParameterAddressbookContact, + richObjectParameterAnnouncement: richObjectParameterAnnouncement, + richObjectParameterApp: richObjectParameterApp, + richObjectParameterCalendar: richObjectParameterCalendar, + richObjectParameterCalendarEvent: richObjectParameterCalendarEvent, + richObjectParameterCall: richObjectParameterCall, + richObjectParameterCircle: richObjectParameterCircle, + richObjectParameterDeckBoard: richObjectParameterDeckBoard, + richObjectParameterDeckCard: richObjectParameterDeckCard, + richObjectParameterEmail: richObjectParameterEmail, + richObjectParameterFile: richObjectParameterFile, + richObjectParameterFormsForm: richObjectParameterFormsForm, + richObjectParameterGeoLocation: richObjectParameterGeoLocation, + richObjectParameterGuest: richObjectParameterGuest, + richObjectParameterHighlight: richObjectParameterHighlight, + richObjectParameterOpenGraph: richObjectParameterOpenGraph, + richObjectParameterPendingFederatedShare: richObjectParameterPendingFederatedShare, + richObjectParameterSystemtag: richObjectParameterSystemtag, + richObjectParameterTalkAttachment: richObjectParameterTalkAttachment, + richObjectParameterTalkPoll: richObjectParameterTalkPoll, + richObjectParameterUser: richObjectParameterUser, + richObjectParameterUserGroup: richObjectParameterUserGroup + ); + } +} + typedef _$e620970959f428e934829e52f32b7089 = ({BuiltList? builtListNever, ChatMessage? chatMessage}); /// @nodoc @@ -39798,16 +41291,65 @@ final Serializers _$serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(ChatMessage), ChatMessageBuilder.new) ..add(ChatMessage.serializer) ..add(ChatMessage_Deleted.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterAddressbook), RichObjectParameterAddressbookBuilder.new) + ..add(RichObjectParameterAddressbook.serializer) ..addBuilderFactory( - const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), - MapBuilder.new, + const FullType(RichObjectParameterAddressbookContact), + RichObjectParameterAddressbookContactBuilder.new, ) + ..add(RichObjectParameterAddressbookContact.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterAnnouncement), RichObjectParameterAnnouncementBuilder.new) + ..add(RichObjectParameterAnnouncement.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterApp), RichObjectParameterAppBuilder.new) + ..add(RichObjectParameterApp.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterCalendar), RichObjectParameterCalendarBuilder.new) + ..add(RichObjectParameterCalendar.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterCalendarEvent), RichObjectParameterCalendarEventBuilder.new) + ..add(RichObjectParameterCalendarEvent.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterCall), RichObjectParameterCallBuilder.new) + ..add(RichObjectParameterCall.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterCircle), RichObjectParameterCircleBuilder.new) + ..add(RichObjectParameterCircle.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterDeckBoard), RichObjectParameterDeckBoardBuilder.new) + ..add(RichObjectParameterDeckBoard.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterDeckCard), RichObjectParameterDeckCardBuilder.new) + ..add(RichObjectParameterDeckCard.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterEmail), RichObjectParameterEmailBuilder.new) + ..add(RichObjectParameterEmail.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterFile), RichObjectParameterFileBuilder.new) + ..add(RichObjectParameterFile.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterFormsForm), RichObjectParameterFormsFormBuilder.new) + ..add(RichObjectParameterFormsForm.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterGuest), RichObjectParameterGuestBuilder.new) + ..add(RichObjectParameterGuest.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterHighlight), RichObjectParameterHighlightBuilder.new) + ..add(RichObjectParameterHighlight.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterGeoLocation), RichObjectParameterGeoLocationBuilder.new) + ..add(RichObjectParameterGeoLocation.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterOpenGraph), RichObjectParameterOpenGraphBuilder.new) + ..add(RichObjectParameterOpenGraph.serializer) ..addBuilderFactory( - const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), - ]), - MapBuilder>.new, + const FullType(RichObjectParameterPendingFederatedShare), + RichObjectParameterPendingFederatedShareBuilder.new, + ) + ..add(RichObjectParameterPendingFederatedShare.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterSystemtag), RichObjectParameterSystemtagBuilder.new) + ..add(RichObjectParameterSystemtag.serializer) + ..addBuilderFactory( + const FullType(RichObjectParameterTalkAttachment), + RichObjectParameterTalkAttachmentBuilder.new, + ) + ..add(RichObjectParameterTalkAttachment.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterTalkPoll), RichObjectParameterTalkPollBuilder.new) + ..add(RichObjectParameterTalkPoll.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterUser), RichObjectParameterUserBuilder.new) + ..add(RichObjectParameterUser.serializer) + ..addBuilderFactory(const FullType(RichObjectParameterUserGroup), RichObjectParameterUserGroupBuilder.new) + ..add(RichObjectParameterUserGroup.serializer) + ..add($10f921510112785c997c064175271549Extension._serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [FullType(String), FullType(RichObjectParameter)]), + MapBuilder.new, ) ..add(MessageType.serializer) ..addBuilderFactory(const FullType(BuiltMap, [FullType(String), FullType(int)]), MapBuilder.new) @@ -40371,6 +41913,10 @@ final Serializers _$serializers = (Serializers().toBuilder() HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder.new, ) ..add(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + MapBuilder.new, + ) ..add(HostedSignalingServerDeleteAccountApiVersion.serializer) ..addBuilderFactory( const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson), @@ -41283,6 +42829,7 @@ final Serializers _$jsonSerializers = (_$serializers.toBuilder() ..addPlugin( _i7.StandardJsonPlugin( typesToLeaveAsList: const { + _$10f921510112785c997c064175271549, _$e620970959f428e934829e52f32b7089, _$bd993fb3f40af33e8594d0d698208560, _$b2c4857c0136baea42828d89c87c757d, diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart index af28baa2609..547c05a6a9e 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/spreed.openapi.g.dart @@ -7289,6 +7289,45 @@ final BuiltSet _$signalingGetWelcomeMessag ]); Serializer _$oCSMetaSerializer = _$OCSMetaSerializer(); +Serializer _$richObjectParameterAddressbookSerializer = + _$RichObjectParameterAddressbookSerializer(); +Serializer _$richObjectParameterAddressbookContactSerializer = + _$RichObjectParameterAddressbookContactSerializer(); +Serializer _$richObjectParameterAnnouncementSerializer = + _$RichObjectParameterAnnouncementSerializer(); +Serializer _$richObjectParameterAppSerializer = _$RichObjectParameterAppSerializer(); +Serializer _$richObjectParameterCalendarSerializer = + _$RichObjectParameterCalendarSerializer(); +Serializer _$richObjectParameterCalendarEventSerializer = + _$RichObjectParameterCalendarEventSerializer(); +Serializer _$richObjectParameterCallSerializer = _$RichObjectParameterCallSerializer(); +Serializer _$richObjectParameterCircleSerializer = _$RichObjectParameterCircleSerializer(); +Serializer _$richObjectParameterDeckBoardSerializer = + _$RichObjectParameterDeckBoardSerializer(); +Serializer _$richObjectParameterDeckCardSerializer = + _$RichObjectParameterDeckCardSerializer(); +Serializer _$richObjectParameterEmailSerializer = _$RichObjectParameterEmailSerializer(); +Serializer _$richObjectParameterFileSerializer = _$RichObjectParameterFileSerializer(); +Serializer _$richObjectParameterFormsFormSerializer = + _$RichObjectParameterFormsFormSerializer(); +Serializer _$richObjectParameterGuestSerializer = _$RichObjectParameterGuestSerializer(); +Serializer _$richObjectParameterHighlightSerializer = + _$RichObjectParameterHighlightSerializer(); +Serializer _$richObjectParameterGeoLocationSerializer = + _$RichObjectParameterGeoLocationSerializer(); +Serializer _$richObjectParameterOpenGraphSerializer = + _$RichObjectParameterOpenGraphSerializer(); +Serializer _$richObjectParameterPendingFederatedShareSerializer = + _$RichObjectParameterPendingFederatedShareSerializer(); +Serializer _$richObjectParameterSystemtagSerializer = + _$RichObjectParameterSystemtagSerializer(); +Serializer _$richObjectParameterTalkAttachmentSerializer = + _$RichObjectParameterTalkAttachmentSerializer(); +Serializer _$richObjectParameterTalkPollSerializer = + _$RichObjectParameterTalkPollSerializer(); +Serializer _$richObjectParameterUserSerializer = _$RichObjectParameterUserSerializer(); +Serializer _$richObjectParameterUserGroupSerializer = + _$RichObjectParameterUserGroupSerializer(); Serializer _$chatMessageSerializer = _$ChatMessageSerializer(); Serializer _$roomSerializer = _$RoomSerializer(); Serializer _$avatarUploadAvatarResponseApplicationJsonOcsSerializer = @@ -7975,70 +8014,31 @@ class _$OCSMetaSerializer implements StructuredSerializer { } } -class _$ChatMessageSerializer implements StructuredSerializer { +class _$RichObjectParameterAddressbookSerializer implements StructuredSerializer { @override - final Iterable types = const [ChatMessage, _$ChatMessage]; + final Iterable types = const [RichObjectParameterAddressbook, _$RichObjectParameterAddressbook]; @override - final String wireName = 'ChatMessage'; + final String wireName = 'RichObjectParameterAddressbook'; @override - Iterable serialize(Serializers serializers, ChatMessage object, + Iterable serialize(Serializers serializers, RichObjectParameterAddressbook object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorDisplayName', - serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'expirationTimestamp', - serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'isReplyable', - serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), - 'message', - serializers.serialize(object.message, specifiedType: const FullType(String)), - 'messageParameters', - serializers.serialize(object.messageParameters, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ])), - 'messageType', - serializers.serialize(object.messageType, specifiedType: const FullType(MessageType)), - 'reactions', - serializers.serialize(object.reactions, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), - 'referenceId', - serializers.serialize(object.referenceId, specifiedType: const FullType(String)), - 'systemMessage', - serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), - 'timestamp', - serializers.serialize(object.timestamp, specifiedType: const FullType(int)), - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - Object? value; - value = object.deleted; - if (value != null) { - result - ..add('deleted') - ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage_Deleted))); - } - value = object.markdown; - if (value != null) { - result - ..add('markdown') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + return result; } @override - ChatMessage deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterAddressbook deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMessageBuilder(); + final result = RichObjectParameterAddressbookBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8046,60 +8046,14 @@ class _$ChatMessageSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorDisplayName': - result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'deleted': - result.deleted = serializers.deserialize(value, specifiedType: const FullType(ChatMessage_Deleted)) - as ChatMessage_Deleted?; - break; - case 'expirationTimestamp': - result.expirationTimestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'isReplyable': - result.isReplyable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'markdown': - result.markdown = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'messageParameters': - result.messageParameters.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ]))!); - break; - case 'messageType': - result.messageType = - serializers.deserialize(value, specifiedType: const FullType(MessageType))! as MessageType; - break; - case 'reactions': - result.reactions.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); - break; - case 'referenceId': - result.referenceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'systemMessage': - result.systemMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'timestamp': - result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -8108,156 +8062,32 @@ class _$ChatMessageSerializer implements StructuredSerializer { } } -class _$RoomSerializer implements StructuredSerializer { +class _$RichObjectParameterAddressbookContactSerializer + implements StructuredSerializer { @override - final Iterable types = const [Room, _$Room]; + final Iterable types = const [RichObjectParameterAddressbookContact, _$RichObjectParameterAddressbookContact]; @override - final String wireName = 'Room'; + final String wireName = 'RichObjectParameterAddressbookContact'; @override - Iterable serialize(Serializers serializers, Room object, {FullType specifiedType = FullType.unspecified}) { + Iterable serialize(Serializers serializers, RichObjectParameterAddressbookContact object, + {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'attendeeId', - serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), - 'attendeePermissions', - serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), - 'avatarVersion', - serializers.serialize(object.avatarVersion, specifiedType: const FullType(String)), - 'breakoutRoomMode', - serializers.serialize(object.breakoutRoomMode, specifiedType: const FullType(int)), - 'breakoutRoomStatus', - serializers.serialize(object.breakoutRoomStatus, specifiedType: const FullType(int)), - 'callFlag', - serializers.serialize(object.callFlag, specifiedType: const FullType(int)), - 'callPermissions', - serializers.serialize(object.callPermissions, specifiedType: const FullType(int)), - 'callRecording', - serializers.serialize(object.callRecording, specifiedType: const FullType(int)), - 'callStartTime', - serializers.serialize(object.callStartTime, specifiedType: const FullType(int)), - 'canDeleteConversation', - serializers.serialize(object.canDeleteConversation, specifiedType: const FullType(bool)), - 'canEnableSIP', - serializers.serialize(object.canEnableSIP, specifiedType: const FullType(bool)), - 'canLeaveConversation', - serializers.serialize(object.canLeaveConversation, specifiedType: const FullType(bool)), - 'canStartCall', - serializers.serialize(object.canStartCall, specifiedType: const FullType(bool)), - 'defaultPermissions', - serializers.serialize(object.defaultPermissions, specifiedType: const FullType(int)), - 'description', - serializers.serialize(object.description, specifiedType: const FullType(String)), - 'displayName', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), - 'hasCall', - serializers.serialize(object.hasCall, specifiedType: const FullType(bool)), - 'hasPassword', - serializers.serialize(object.hasPassword, specifiedType: const FullType(bool)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'isCustomAvatar', - serializers.serialize(object.isCustomAvatar, specifiedType: const FullType(bool)), - 'isFavorite', - serializers.serialize(object.isFavorite, specifiedType: const FullType(bool)), - 'lastActivity', - serializers.serialize(object.lastActivity, specifiedType: const FullType(int)), - 'lastCommonReadMessage', - serializers.serialize(object.lastCommonReadMessage, specifiedType: const FullType(int)), - 'lastMessage', - serializers.serialize(object.lastMessage, specifiedType: const FullType(Room_LastMessage)), - 'lastPing', - serializers.serialize(object.lastPing, specifiedType: const FullType(int)), - 'lastReadMessage', - serializers.serialize(object.lastReadMessage, specifiedType: const FullType(int)), - 'listable', - serializers.serialize(object.listable, specifiedType: const FullType(int)), - 'lobbyState', - serializers.serialize(object.lobbyState, specifiedType: const FullType(int)), - 'lobbyTimer', - serializers.serialize(object.lobbyTimer, specifiedType: const FullType(int)), - 'messageExpiration', - serializers.serialize(object.messageExpiration, specifiedType: const FullType(int)), + serializers.serialize(object.id, specifiedType: const FullType(String)), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), - 'notificationCalls', - serializers.serialize(object.notificationCalls, specifiedType: const FullType(int)), - 'notificationLevel', - serializers.serialize(object.notificationLevel, specifiedType: const FullType(int)), - 'objectId', - serializers.serialize(object.objectId, specifiedType: const FullType(String)), - 'objectType', - serializers.serialize(object.objectType, specifiedType: const FullType(String)), - 'participantFlags', - serializers.serialize(object.participantFlags, specifiedType: const FullType(int)), - 'participantType', - serializers.serialize(object.participantType, specifiedType: const FullType(int)), - 'permissions', - serializers.serialize(object.permissions, specifiedType: const FullType(int)), - 'readOnly', - serializers.serialize(object.readOnly, specifiedType: const FullType(int)), - 'sessionId', - serializers.serialize(object.sessionId, specifiedType: const FullType(String)), - 'sipEnabled', - serializers.serialize(object.sipEnabled, specifiedType: const FullType(int)), - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'type', - serializers.serialize(object.type, specifiedType: const FullType(int)), - 'unreadMention', - serializers.serialize(object.unreadMention, specifiedType: const FullType(bool)), - 'unreadMentionDirect', - serializers.serialize(object.unreadMentionDirect, specifiedType: const FullType(bool)), - 'unreadMessages', - serializers.serialize(object.unreadMessages, specifiedType: const FullType(int)), ]; - Object? value; - value = object.attendeePin; - if (value != null) { - result - ..add('attendeePin') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.recordingConsent; - if (value != null) { - result - ..add('recordingConsent') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.status; - if (value != null) { - result - ..add('status') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusClearAt; - if (value != null) { - result - ..add('statusClearAt') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.statusIcon; - if (value != null) { - result - ..add('statusIcon') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusMessage; - if (value != null) { - result - ..add('statusMessage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - Room deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterAddressbookContact deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomBuilder(); + final result = RichObjectParameterAddressbookContactBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8265,169 +8095,15 @@ class _$RoomSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'attendeeId': - result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'attendeePermissions': - result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'attendeePin': - result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'avatarVersion': - result.avatarVersion = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'breakoutRoomMode': - result.breakoutRoomMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'breakoutRoomStatus': - result.breakoutRoomStatus = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'callFlag': - result.callFlag = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'callPermissions': - result.callPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'callRecording': - result.callRecording = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'callStartTime': - result.callStartTime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'canDeleteConversation': - result.canDeleteConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'canEnableSIP': - result.canEnableSIP = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'canLeaveConversation': - result.canLeaveConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'canStartCall': - result.canStartCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'defaultPermissions': - result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'displayName': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'hasCall': - result.hasCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'hasPassword': - result.hasPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'isCustomAvatar': - result.isCustomAvatar = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'isFavorite': - result.isFavorite = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'lastActivity': - result.lastActivity = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lastCommonReadMessage': - result.lastCommonReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lastMessage': - result.lastMessage = - serializers.deserialize(value, specifiedType: const FullType(Room_LastMessage))! as Room_LastMessage; - break; - case 'lastPing': - result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lastReadMessage': - result.lastReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'listable': - result.listable = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lobbyState': - result.lobbyState = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lobbyTimer': - result.lobbyTimer = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'messageExpiration': - result.messageExpiration = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + 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 'notificationCalls': - result.notificationCalls = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'notificationLevel': - result.notificationLevel = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'objectId': - result.objectId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'objectType': - result.objectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'participantFlags': - result.participantFlags = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'participantType': - result.participantType = 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 'readOnly': - result.readOnly = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'recordingConsent': - result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'sessionId': - result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'sipEnabled': - result.sipEnabled = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'statusClearAt': - result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'statusIcon': - result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'statusMessage': - result.statusMessage = 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 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'unreadMention': - result.unreadMention = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'unreadMentionDirect': - result.unreadMentionDirect = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'unreadMessages': - result.unreadMessages = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; } } @@ -8435,33 +8111,37 @@ class _$RoomSerializer implements StructuredSerializer { } } -class _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterAnnouncementSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarUploadAvatarResponseApplicationJson_Ocs, - _$AvatarUploadAvatarResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterAnnouncement, _$RichObjectParameterAnnouncement]; @override - final String wireName = 'AvatarUploadAvatarResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterAnnouncement'; @override - Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterAnnouncement object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.link; + if (value != null) { + result + ..add('link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - AvatarUploadAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterAnnouncement deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarUploadAvatarResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterAnnouncementBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8469,11 +8149,17 @@ class _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + 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 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -8482,31 +8168,31 @@ class _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer } } -class _$AvatarUploadAvatarResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterAppSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarUploadAvatarResponseApplicationJson, - _$AvatarUploadAvatarResponseApplicationJson - ]; + final Iterable types = const [RichObjectParameterApp, _$RichObjectParameterApp]; @override - final String wireName = 'AvatarUploadAvatarResponseApplicationJson'; + final String wireName = 'RichObjectParameterApp'; @override - Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterApp object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - AvatarUploadAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterApp deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarUploadAvatarResponseApplicationJsonBuilder(); + final result = RichObjectParameterAppBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8514,10 +8200,14 @@ class _$AvatarUploadAvatarResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs))! - as AvatarUploadAvatarResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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; } } @@ -8526,33 +8216,31 @@ class _$AvatarUploadAvatarResponseApplicationJsonSerializer } } -class _$AvatarDeleteAvatarResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterCalendarSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarDeleteAvatarResponseApplicationJson_Ocs, - _$AvatarDeleteAvatarResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterCalendar, _$RichObjectParameterCalendar]; @override - final String wireName = 'AvatarDeleteAvatarResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterCalendar'; @override - Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterCalendar object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - AvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterCalendar deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterCalendarBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8560,44 +8248,53 @@ class _$AvatarDeleteAvatarResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + 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; + } + } return result.build(); } } -class _$AvatarDeleteAvatarResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterCalendarEventSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarDeleteAvatarResponseApplicationJson, - _$AvatarDeleteAvatarResponseApplicationJson - ]; + final Iterable types = const [RichObjectParameterCalendarEvent, _$RichObjectParameterCalendarEvent]; @override - final String wireName = 'AvatarDeleteAvatarResponseApplicationJson'; + final String wireName = 'RichObjectParameterCalendarEvent'; @override - Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterCalendarEvent object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.link; + if (value != null) { + result + ..add('link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - AvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterCalendarEvent deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarDeleteAvatarResponseApplicationJsonBuilder(); + final result = RichObjectParameterCalendarEventBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8605,10 +8302,17 @@ class _$AvatarDeleteAvatarResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs))! - as AvatarDeleteAvatarResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -8617,33 +8321,51 @@ class _$AvatarDeleteAvatarResponseApplicationJsonSerializer } } -class _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterCallSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarEmojiAvatarResponseApplicationJson_Ocs, - _$AvatarEmojiAvatarResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterCall, _$RichObjectParameterCall]; @override - final String wireName = 'AvatarEmojiAvatarResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterCall'; @override - Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterCall object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'call-type', + serializers.serialize(object.callType, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.link; + if (value != null) { + result + ..add('link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.iconUrl; + if (value != null) { + result + ..add('icon-url') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.messageId; + if (value != null) { + result + ..add('message-id') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - AvatarEmojiAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterCall deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarEmojiAvatarResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterCallBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8651,11 +8373,26 @@ class _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + 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 'call-type': + result.callType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'icon-url': + result.iconUrl = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'message-id': + result.messageId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -8664,31 +8401,33 @@ class _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer } } -class _$AvatarEmojiAvatarResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterCircleSerializer implements StructuredSerializer { @override - final Iterable types = const [ - AvatarEmojiAvatarResponseApplicationJson, - _$AvatarEmojiAvatarResponseApplicationJson - ]; + final Iterable types = const [RichObjectParameterCircle, _$RichObjectParameterCircle]; @override - final String wireName = 'AvatarEmojiAvatarResponseApplicationJson'; + final String wireName = 'RichObjectParameterCircle'; @override - Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterCircle object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), ]; return result; } @override - AvatarEmojiAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterCircle deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = AvatarEmojiAvatarResponseApplicationJsonBuilder(); + final result = RichObjectParameterCircleBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8696,10 +8435,17 @@ class _$AvatarEmojiAvatarResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs))! - as AvatarEmojiAvatarResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -8708,33 +8454,33 @@ class _$AvatarEmojiAvatarResponseApplicationJsonSerializer } } -class _$BotSendMessageResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterDeckBoardSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BotSendMessageResponseApplicationJson_Ocs, - _$BotSendMessageResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterDeckBoard, _$RichObjectParameterDeckBoard]; @override - final String wireName = 'BotSendMessageResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterDeckBoard'; @override - Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterDeckBoard object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), ]; return result; } @override - BotSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterDeckBoard deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotSendMessageResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterDeckBoardBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8742,11 +8488,17 @@ class _$BotSendMessageResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + 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 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -8755,28 +8507,37 @@ class _$BotSendMessageResponseApplicationJson_OcsSerializer } } -class _$BotSendMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterDeckCardSerializer implements StructuredSerializer { @override - final Iterable types = const [BotSendMessageResponseApplicationJson, _$BotSendMessageResponseApplicationJson]; + final Iterable types = const [RichObjectParameterDeckCard, _$RichObjectParameterDeckCard]; @override - final String wireName = 'BotSendMessageResponseApplicationJson'; + final String wireName = 'RichObjectParameterDeckCard'; @override - Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterDeckCard object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotSendMessageResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'boardname', + serializers.serialize(object.boardname, specifiedType: const FullType(String)), + 'stackname', + serializers.serialize(object.stackname, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), ]; return result; } @override - BotSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterDeckCard deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotSendMessageResponseApplicationJsonBuilder(); + final result = RichObjectParameterDeckCardBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8784,10 +8545,23 @@ class _$BotSendMessageResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(BotSendMessageResponseApplicationJson_Ocs))! - as BotSendMessageResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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 'boardname': + result.boardname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'stackname': + result.stackname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -8796,30 +8570,31 @@ class _$BotSendMessageResponseApplicationJsonSerializer } } -class _$BotReactResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterEmailSerializer implements StructuredSerializer { @override - final Iterable types = const [BotReactResponseApplicationJson_Ocs, _$BotReactResponseApplicationJson_Ocs]; + final Iterable types = const [RichObjectParameterEmail, _$RichObjectParameterEmail]; @override - final String wireName = 'BotReactResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterEmail'; @override - Iterable serialize(Serializers serializers, BotReactResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterEmail object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - BotReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterEmail deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotReactResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterEmailBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8827,11 +8602,14 @@ class _$BotReactResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + 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; } } @@ -8840,27 +8618,63 @@ class _$BotReactResponseApplicationJson_OcsSerializer } } -class _$BotReactResponseApplicationJsonSerializer implements StructuredSerializer { +class _$RichObjectParameterFileSerializer implements StructuredSerializer { @override - final Iterable types = const [BotReactResponseApplicationJson, _$BotReactResponseApplicationJson]; + final Iterable types = const [RichObjectParameterFile, _$RichObjectParameterFile]; @override - final String wireName = 'BotReactResponseApplicationJson'; + final String wireName = 'RichObjectParameterFile'; @override - Iterable serialize(Serializers serializers, BotReactResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterFile object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotReactResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'path', + serializers.serialize(object.path, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.size; + if (value != null) { + result + ..add('size') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.link; + if (value != null) { + result + ..add('link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.mimetype; + if (value != null) { + result + ..add('mimetype') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.previewAvailable; + if (value != null) { + result + ..add('preview-available') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.mtime; + if (value != null) { + result + ..add('mtime') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - BotReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterFile deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotReactResponseApplicationJsonBuilder(); + final result = RichObjectParameterFileBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8868,45 +8682,67 @@ class _$BotReactResponseApplicationJsonSerializer implements StructuredSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(BotReactResponseApplicationJson_Ocs))! - as BotReactResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - } - } + 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 'size': + result.size = 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 'link': + result.link = 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 'preview-available': + result.previewAvailable = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'mtime': + result.mtime = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } return result.build(); } } -class _$BotDeleteReactionResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterFormsFormSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BotDeleteReactionResponseApplicationJson_Ocs, - _$BotDeleteReactionResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterFormsForm, _$RichObjectParameterFormsForm]; @override - final String wireName = 'BotDeleteReactionResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterFormsForm'; @override - Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterFormsForm object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), ]; return result; } @override - BotDeleteReactionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterFormsForm deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotDeleteReactionResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterFormsFormBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8914,11 +8750,17 @@ class _$BotDeleteReactionResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + 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 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -8927,31 +8769,31 @@ class _$BotDeleteReactionResponseApplicationJson_OcsSerializer } } -class _$BotDeleteReactionResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterGuestSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BotDeleteReactionResponseApplicationJson, - _$BotDeleteReactionResponseApplicationJson - ]; + final Iterable types = const [RichObjectParameterGuest, _$RichObjectParameterGuest]; @override - final String wireName = 'BotDeleteReactionResponseApplicationJson'; + final String wireName = 'RichObjectParameterGuest'; @override - Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterGuest object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotDeleteReactionResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - BotDeleteReactionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterGuest deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotDeleteReactionResponseApplicationJsonBuilder(); + final result = RichObjectParameterGuestBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -8959,10 +8801,14 @@ class _$BotDeleteReactionResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BotDeleteReactionResponseApplicationJson_Ocs))! - as BotDeleteReactionResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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; } } @@ -8971,36 +8817,37 @@ class _$BotDeleteReactionResponseApplicationJsonSerializer } } -class _$BotSerializer implements StructuredSerializer { +class _$RichObjectParameterHighlightSerializer implements StructuredSerializer { @override - final Iterable types = const [Bot, _$Bot]; + final Iterable types = const [RichObjectParameterHighlight, _$RichObjectParameterHighlight]; @override - final String wireName = 'Bot'; + final String wireName = 'RichObjectParameterHighlight'; @override - Iterable serialize(Serializers serializers, Bot object, {FullType specifiedType = FullType.unspecified}) { + Iterable serialize(Serializers serializers, RichObjectParameterHighlight object, + {FullType specifiedType = FullType.unspecified}) { final result = [ + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), + serializers.serialize(object.id, specifiedType: const FullType(String)), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), - 'state', - serializers.serialize(object.state, specifiedType: const FullType(int)), ]; Object? value; - value = object.description; + value = object.link; if (value != null) { result - ..add('description') + ..add('link') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - Bot deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterHighlight deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotBuilder(); + final result = RichObjectParameterHighlightBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9008,17 +8855,17 @@ class _$BotSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + 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 'state': - result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9027,30 +8874,35 @@ class _$BotSerializer implements StructuredSerializer { } } -class _$BotListBotsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterGeoLocationSerializer implements StructuredSerializer { @override - final Iterable types = const [BotListBotsResponseApplicationJson_Ocs, _$BotListBotsResponseApplicationJson_Ocs]; + final Iterable types = const [RichObjectParameterGeoLocation, _$RichObjectParameterGeoLocation]; @override - final String wireName = 'BotListBotsResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterGeoLocation'; @override - Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterGeoLocation object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Bot)])), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'latitude', + serializers.serialize(object.latitude, specifiedType: const FullType(String)), + 'longitude', + serializers.serialize(object.longitude, specifiedType: const FullType(String)), ]; return result; } @override - BotListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterGeoLocation deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotListBotsResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterGeoLocationBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9058,12 +8910,20 @@ class _$BotListBotsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltList, [FullType(Bot)]))! - as BuiltList); + 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 'latitude': + result.latitude = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'longitude': + result.longitude = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -9072,28 +8932,55 @@ class _$BotListBotsResponseApplicationJson_OcsSerializer } } -class _$BotListBotsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterOpenGraphSerializer implements StructuredSerializer { @override - final Iterable types = const [BotListBotsResponseApplicationJson, _$BotListBotsResponseApplicationJson]; + final Iterable types = const [RichObjectParameterOpenGraph, _$RichObjectParameterOpenGraph]; @override - final String wireName = 'BotListBotsResponseApplicationJson'; + final String wireName = 'RichObjectParameterOpenGraph'; @override - Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterOpenGraph object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotListBotsResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.thumb; + if (value != null) { + result + ..add('thumb') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.website; + if (value != null) { + result + ..add('website') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.link; + if (value != null) { + result + ..add('link') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - BotListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterOpenGraph deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotListBotsResponseApplicationJsonBuilder(); + final result = RichObjectParameterOpenGraphBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9101,10 +8988,26 @@ class _$BotListBotsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(BotListBotsResponseApplicationJson_Ocs))! - as BotListBotsResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'thumb': + result.thumb = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'website': + result.website = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9113,37 +9016,35 @@ class _$BotListBotsResponseApplicationJsonSerializer } } -class _$BotEnableBotResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterPendingFederatedShareSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BotEnableBotResponseApplicationJson_Ocs, - _$BotEnableBotResponseApplicationJson_Ocs + RichObjectParameterPendingFederatedShare, + _$RichObjectParameterPendingFederatedShare ]; @override - final String wireName = 'BotEnableBotResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterPendingFederatedShare'; @override - Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterPendingFederatedShare object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; - Object? value; - value = object.data; - if (value != null) { - result - ..add('data') - ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); - } + return result; } @override - BotEnableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterPendingFederatedShare deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotEnableBotResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterPendingFederatedShareBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9151,11 +9052,14 @@ class _$BotEnableBotResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + 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; } } @@ -9164,28 +9068,35 @@ class _$BotEnableBotResponseApplicationJson_OcsSerializer } } -class _$BotEnableBotResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterSystemtagSerializer implements StructuredSerializer { @override - final Iterable types = const [BotEnableBotResponseApplicationJson, _$BotEnableBotResponseApplicationJson]; + final Iterable types = const [RichObjectParameterSystemtag, _$RichObjectParameterSystemtag]; @override - final String wireName = 'BotEnableBotResponseApplicationJson'; + final String wireName = 'RichObjectParameterSystemtag'; @override - Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterSystemtag object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotEnableBotResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'visibility', + serializers.serialize(object.visibility, specifiedType: const FullType(String)), + 'assignable', + serializers.serialize(object.assignable, specifiedType: const FullType(String)), ]; return result; } @override - BotEnableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterSystemtag deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotEnableBotResponseApplicationJsonBuilder(); + final result = RichObjectParameterSystemtagBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9193,10 +9104,20 @@ class _$BotEnableBotResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(BotEnableBotResponseApplicationJson_Ocs))! - as BotEnableBotResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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 'visibility': + result.visibility = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'assignable': + result.assignable = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -9205,37 +9126,45 @@ class _$BotEnableBotResponseApplicationJsonSerializer } } -class _$BotDisableBotResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterTalkAttachmentSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BotDisableBotResponseApplicationJson_Ocs, - _$BotDisableBotResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterTalkAttachment, _$RichObjectParameterTalkAttachment]; @override - final String wireName = 'BotDisableBotResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterTalkAttachment'; @override - Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterTalkAttachment object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'conversation', + serializers.serialize(object.conversation, specifiedType: const FullType(String)), ]; Object? value; - value = object.data; + value = object.mimetype; if (value != null) { result - ..add('data') - ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); + ..add('mimetype') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.previewAvailable; + if (value != null) { + result + ..add('preview-available') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - BotDisableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterTalkAttachment deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotDisableBotResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterTalkAttachmentBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9243,11 +9172,23 @@ class _$BotDisableBotResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + 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 'conversation': + result.conversation = 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 'preview-available': + result.previewAvailable = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9256,28 +9197,31 @@ class _$BotDisableBotResponseApplicationJson_OcsSerializer } } -class _$BotDisableBotResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterTalkPollSerializer implements StructuredSerializer { @override - final Iterable types = const [BotDisableBotResponseApplicationJson, _$BotDisableBotResponseApplicationJson]; + final Iterable types = const [RichObjectParameterTalkPoll, _$RichObjectParameterTalkPoll]; @override - final String wireName = 'BotDisableBotResponseApplicationJson'; + final String wireName = 'RichObjectParameterTalkPoll'; @override - Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson object, + Iterable serialize(Serializers serializers, RichObjectParameterTalkPoll object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotDisableBotResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - BotDisableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterTalkPoll deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotDisableBotResponseApplicationJsonBuilder(); + final result = RichObjectParameterTalkPollBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9285,10 +9229,14 @@ class _$BotDisableBotResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(BotDisableBotResponseApplicationJson_Ocs))! - as BotDisableBotResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + 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; } } @@ -9297,49 +9245,37 @@ class _$BotDisableBotResponseApplicationJsonSerializer } } -class _$BotWithDetailsSerializer implements StructuredSerializer { +class _$RichObjectParameterUserSerializer implements StructuredSerializer { @override - final Iterable types = const [BotWithDetails, _$BotWithDetails]; + final Iterable types = const [RichObjectParameterUser, _$RichObjectParameterUser]; @override - final String wireName = 'BotWithDetails'; + final String wireName = 'RichObjectParameterUser'; @override - Iterable serialize(Serializers serializers, BotWithDetails object, + Iterable serialize(Serializers serializers, RichObjectParameterUser object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'error_count', - serializers.serialize(object.errorCount, specifiedType: const FullType(int)), - 'features', - serializers.serialize(object.features, specifiedType: const FullType(int)), - 'last_error_date', - serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), - 'last_error_message', - serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), - 'url', - serializers.serialize(object.url, specifiedType: const FullType(String)), - 'url_hash', - serializers.serialize(object.urlHash, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), + serializers.serialize(object.id, specifiedType: const FullType(String)), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), - 'state', - serializers.serialize(object.state, specifiedType: const FullType(int)), ]; Object? value; - value = object.description; + value = object.server; if (value != null) { result - ..add('description') + ..add('server') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - BotWithDetails deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterUser deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotWithDetailsBuilder(); + final result = RichObjectParameterUserBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9347,35 +9283,17 @@ class _$BotWithDetailsSerializer implements StructuredSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'error_count': - result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'features': - result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'last_error_date': - result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'last_error_message': - result.lastErrorMessage = 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 'url_hash': - result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + 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 'state': - result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9384,33 +9302,31 @@ class _$BotWithDetailsSerializer implements StructuredSerializer } } -class _$BotAdminListBotsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterUserGroupSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BotAdminListBotsResponseApplicationJson_Ocs, - _$BotAdminListBotsResponseApplicationJson_Ocs - ]; + final Iterable types = const [RichObjectParameterUserGroup, _$RichObjectParameterUserGroup]; @override - final String wireName = 'BotAdminListBotsResponseApplicationJson_Ocs'; + final String wireName = 'RichObjectParameterUserGroup'; @override - Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RichObjectParameterUserGroup object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)])), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), ]; return result; } @override - BotAdminListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RichObjectParameterUserGroup deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BotAdminListBotsResponseApplicationJson_OcsBuilder(); + final result = RichObjectParameterUserGroupBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9418,56 +9334,14 @@ class _$BotAdminListBotsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)]))! as BuiltList); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - } - } - - return result.build(); - } -} - -class _$BotAdminListBotsResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - BotAdminListBotsResponseApplicationJson, - _$BotAdminListBotsResponseApplicationJson - ]; - @override - final String wireName = 'BotAdminListBotsResponseApplicationJson'; - - @override - Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(BotAdminListBotsResponseApplicationJson_Ocs)), - ]; - - return result; - } - - @override - BotAdminListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = BotAdminListBotsResponseApplicationJsonBuilder(); - - 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(BotAdminListBotsResponseApplicationJson_Ocs))! - as BotAdminListBotsResponseApplicationJson_Ocs); + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -9476,35 +9350,67 @@ class _$BotAdminListBotsResponseApplicationJsonSerializer } } -class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ChatMessageSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs, - _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs - ]; + final Iterable types = const [ChatMessage, _$ChatMessage]; @override - final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs'; + final String wireName = 'ChatMessage'; @override - Iterable serialize( - Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ChatMessage object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'expirationTimestamp', + serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isReplyable', + serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), + 'messageParameters', + serializers.serialize(object.messageParameters, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(RichObjectParameter)])), + 'messageType', + serializers.serialize(object.messageType, specifiedType: const FullType(MessageType)), + 'reactions', + serializers.serialize(object.reactions, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), + 'referenceId', + serializers.serialize(object.referenceId, specifiedType: const FullType(String)), + 'systemMessage', + serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.deleted; + if (value != null) { + result + ..add('deleted') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage_Deleted))); + } + value = object.markdown; + if (value != null) { + result + ..add('markdown') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } return result; } @override - BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ChatMessage deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder(); + final result = ChatMessageBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9512,11 +9418,2139 @@ class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'deleted': + result.deleted = serializers.deserialize(value, specifiedType: const FullType(ChatMessage_Deleted)) + as ChatMessage_Deleted?; + break; + case 'expirationTimestamp': + result.expirationTimestamp = 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 'isReplyable': + result.isReplyable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'markdown': + result.markdown = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'messageParameters': + result.messageParameters.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(RichObjectParameter)]))!); + break; + case 'messageType': + result.messageType = + serializers.deserialize(value, specifiedType: const FullType(MessageType))! as MessageType; + break; + case 'reactions': + result.reactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + break; + case 'referenceId': + result.referenceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'systemMessage': + result.systemMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$RoomSerializer implements StructuredSerializer { + @override + final Iterable types = const [Room, _$Room]; + @override + final String wireName = 'Room'; + + @override + Iterable serialize(Serializers serializers, Room object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'attendeeId', + serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), + 'attendeePermissions', + serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), + 'avatarVersion', + serializers.serialize(object.avatarVersion, specifiedType: const FullType(String)), + 'breakoutRoomMode', + serializers.serialize(object.breakoutRoomMode, specifiedType: const FullType(int)), + 'breakoutRoomStatus', + serializers.serialize(object.breakoutRoomStatus, specifiedType: const FullType(int)), + 'callFlag', + serializers.serialize(object.callFlag, specifiedType: const FullType(int)), + 'callPermissions', + serializers.serialize(object.callPermissions, specifiedType: const FullType(int)), + 'callRecording', + serializers.serialize(object.callRecording, specifiedType: const FullType(int)), + 'callStartTime', + serializers.serialize(object.callStartTime, specifiedType: const FullType(int)), + 'canDeleteConversation', + serializers.serialize(object.canDeleteConversation, specifiedType: const FullType(bool)), + 'canEnableSIP', + serializers.serialize(object.canEnableSIP, specifiedType: const FullType(bool)), + 'canLeaveConversation', + serializers.serialize(object.canLeaveConversation, specifiedType: const FullType(bool)), + 'canStartCall', + serializers.serialize(object.canStartCall, specifiedType: const FullType(bool)), + 'defaultPermissions', + serializers.serialize(object.defaultPermissions, specifiedType: const FullType(int)), + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'hasCall', + serializers.serialize(object.hasCall, specifiedType: const FullType(bool)), + 'hasPassword', + serializers.serialize(object.hasPassword, specifiedType: const FullType(bool)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isCustomAvatar', + serializers.serialize(object.isCustomAvatar, specifiedType: const FullType(bool)), + 'isFavorite', + serializers.serialize(object.isFavorite, specifiedType: const FullType(bool)), + 'lastActivity', + serializers.serialize(object.lastActivity, specifiedType: const FullType(int)), + 'lastCommonReadMessage', + serializers.serialize(object.lastCommonReadMessage, specifiedType: const FullType(int)), + 'lastMessage', + serializers.serialize(object.lastMessage, specifiedType: const FullType(Room_LastMessage)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'lastReadMessage', + serializers.serialize(object.lastReadMessage, specifiedType: const FullType(int)), + 'listable', + serializers.serialize(object.listable, specifiedType: const FullType(int)), + 'lobbyState', + serializers.serialize(object.lobbyState, specifiedType: const FullType(int)), + 'lobbyTimer', + serializers.serialize(object.lobbyTimer, specifiedType: const FullType(int)), + 'messageExpiration', + serializers.serialize(object.messageExpiration, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'notificationCalls', + serializers.serialize(object.notificationCalls, specifiedType: const FullType(int)), + 'notificationLevel', + serializers.serialize(object.notificationLevel, specifiedType: const FullType(int)), + 'objectId', + serializers.serialize(object.objectId, specifiedType: const FullType(String)), + 'objectType', + serializers.serialize(object.objectType, specifiedType: const FullType(String)), + 'participantFlags', + serializers.serialize(object.participantFlags, specifiedType: const FullType(int)), + 'participantType', + serializers.serialize(object.participantType, specifiedType: const FullType(int)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'readOnly', + serializers.serialize(object.readOnly, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'sipEnabled', + serializers.serialize(object.sipEnabled, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(int)), + 'unreadMention', + serializers.serialize(object.unreadMention, specifiedType: const FullType(bool)), + 'unreadMentionDirect', + serializers.serialize(object.unreadMentionDirect, specifiedType: const FullType(bool)), + 'unreadMessages', + serializers.serialize(object.unreadMessages, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.attendeePin; + if (value != null) { + result + ..add('attendeePin') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.recordingConsent; + if (value != null) { + result + ..add('recordingConsent') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusClearAt; + if (value != null) { + result + ..add('statusClearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.statusIcon; + if (value != null) { + result + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusMessage; + if (value != null) { + result + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + Room deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'attendeeId': + result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePermissions': + result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'attendeePin': + result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'avatarVersion': + result.avatarVersion = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'breakoutRoomMode': + result.breakoutRoomMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'breakoutRoomStatus': + result.breakoutRoomStatus = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callFlag': + result.callFlag = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callPermissions': + result.callPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callRecording': + result.callRecording = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'callStartTime': + result.callStartTime = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'canDeleteConversation': + result.canDeleteConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canEnableSIP': + result.canEnableSIP = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canLeaveConversation': + result.canLeaveConversation = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canStartCall': + result.canStartCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'defaultPermissions': + result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'hasCall': + result.hasCall = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'hasPassword': + result.hasPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'isCustomAvatar': + result.isCustomAvatar = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'isFavorite': + result.isFavorite = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'lastActivity': + result.lastActivity = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastCommonReadMessage': + result.lastCommonReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastMessage': + result.lastMessage = + serializers.deserialize(value, specifiedType: const FullType(Room_LastMessage))! as Room_LastMessage; + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lastReadMessage': + result.lastReadMessage = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'listable': + result.listable = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lobbyState': + result.lobbyState = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'lobbyTimer': + result.lobbyTimer = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'messageExpiration': + result.messageExpiration = 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 'notificationCalls': + result.notificationCalls = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'notificationLevel': + result.notificationLevel = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'objectId': + result.objectId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'objectType': + result.objectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'participantFlags': + result.participantFlags = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'participantType': + result.participantType = 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 'readOnly': + result.readOnly = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'recordingConsent': + result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sipEnabled': + result.sipEnabled = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = 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 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'unreadMention': + result.unreadMention = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'unreadMentionDirect': + result.unreadMentionDirect = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'unreadMessages': + result.unreadMessages = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$AvatarUploadAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarUploadAvatarResponseApplicationJson_Ocs, + _$AvatarUploadAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarUploadAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarUploadAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarUploadAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarUploadAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarUploadAvatarResponseApplicationJson, + _$AvatarUploadAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarUploadAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarUploadAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarUploadAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarUploadAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarUploadAvatarResponseApplicationJsonBuilder(); + + 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(AvatarUploadAvatarResponseApplicationJson_Ocs))! + as AvatarUploadAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$AvatarDeleteAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarDeleteAvatarResponseApplicationJson_Ocs, + _$AvatarDeleteAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarDeleteAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarDeleteAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarDeleteAvatarResponseApplicationJson, + _$AvatarDeleteAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarDeleteAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarDeleteAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarDeleteAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarDeleteAvatarResponseApplicationJsonBuilder(); + + 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(AvatarDeleteAvatarResponseApplicationJson_Ocs))! + as AvatarDeleteAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$AvatarEmojiAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarEmojiAvatarResponseApplicationJson_Ocs, + _$AvatarEmojiAvatarResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'AvatarEmojiAvatarResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + AvatarEmojiAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarEmojiAvatarResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$AvatarEmojiAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + AvatarEmojiAvatarResponseApplicationJson, + _$AvatarEmojiAvatarResponseApplicationJson + ]; + @override + final String wireName = 'AvatarEmojiAvatarResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, AvatarEmojiAvatarResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(AvatarEmojiAvatarResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + AvatarEmojiAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = AvatarEmojiAvatarResponseApplicationJsonBuilder(); + + 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(AvatarEmojiAvatarResponseApplicationJson_Ocs))! + as AvatarEmojiAvatarResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotSendMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotSendMessageResponseApplicationJson_Ocs, + _$BotSendMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotSendMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotSendMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotSendMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotSendMessageResponseApplicationJson, _$BotSendMessageResponseApplicationJson]; + @override + final String wireName = 'BotSendMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotSendMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotSendMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotSendMessageResponseApplicationJsonBuilder(); + + 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(BotSendMessageResponseApplicationJson_Ocs))! + as BotSendMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotReactResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotReactResponseApplicationJson_Ocs, _$BotReactResponseApplicationJson_Ocs]; + @override + final String wireName = 'BotReactResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotReactResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotReactResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotReactResponseApplicationJsonSerializer implements StructuredSerializer { + @override + final Iterable types = const [BotReactResponseApplicationJson, _$BotReactResponseApplicationJson]; + @override + final String wireName = 'BotReactResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotReactResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotReactResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotReactResponseApplicationJsonBuilder(); + + 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(BotReactResponseApplicationJson_Ocs))! + as BotReactResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotDeleteReactionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDeleteReactionResponseApplicationJson_Ocs, + _$BotDeleteReactionResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotDeleteReactionResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + BotDeleteReactionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDeleteReactionResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$BotDeleteReactionResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDeleteReactionResponseApplicationJson, + _$BotDeleteReactionResponseApplicationJson + ]; + @override + final String wireName = 'BotDeleteReactionResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotDeleteReactionResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotDeleteReactionResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotDeleteReactionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDeleteReactionResponseApplicationJsonBuilder(); + + 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(BotDeleteReactionResponseApplicationJson_Ocs))! + as BotDeleteReactionResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotSerializer implements StructuredSerializer { + @override + final Iterable types = const [Bot, _$Bot]; + @override + final String wireName = 'Bot'; + + @override + Iterable serialize(Serializers serializers, Bot object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + Bot deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$BotListBotsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotListBotsResponseApplicationJson_Ocs, _$BotListBotsResponseApplicationJson_Ocs]; + @override + final String wireName = 'BotListBotsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Bot)])), + ]; + + return result; + } + + @override + BotListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotListBotsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltList, [FullType(Bot)]))! + as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BotListBotsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotListBotsResponseApplicationJson, _$BotListBotsResponseApplicationJson]; + @override + final String wireName = 'BotListBotsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotListBotsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotListBotsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotListBotsResponseApplicationJsonBuilder(); + + 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(BotListBotsResponseApplicationJson_Ocs))! + as BotListBotsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotEnableBotResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotEnableBotResponseApplicationJson_Ocs, + _$BotEnableBotResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotEnableBotResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); + } + return result; + } + + @override + BotEnableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotEnableBotResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + break; + } + } + + return result.build(); + } +} + +class _$BotEnableBotResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotEnableBotResponseApplicationJson, _$BotEnableBotResponseApplicationJson]; + @override + final String wireName = 'BotEnableBotResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotEnableBotResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotEnableBotResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotEnableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotEnableBotResponseApplicationJsonBuilder(); + + 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(BotEnableBotResponseApplicationJson_Ocs))! + as BotEnableBotResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotDisableBotResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotDisableBotResponseApplicationJson_Ocs, + _$BotDisableBotResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotDisableBotResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(Bot))); + } + return result; + } + + @override + BotDisableBotResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDisableBotResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Bot))! as Bot); + break; + } + } + + return result.build(); + } +} + +class _$BotDisableBotResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [BotDisableBotResponseApplicationJson, _$BotDisableBotResponseApplicationJson]; + @override + final String wireName = 'BotDisableBotResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotDisableBotResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotDisableBotResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotDisableBotResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotDisableBotResponseApplicationJsonBuilder(); + + 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(BotDisableBotResponseApplicationJson_Ocs))! + as BotDisableBotResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BotWithDetailsSerializer implements StructuredSerializer { + @override + final Iterable types = const [BotWithDetails, _$BotWithDetails]; + @override + final String wireName = 'BotWithDetails'; + + @override + Iterable serialize(Serializers serializers, BotWithDetails object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'error_count', + serializers.serialize(object.errorCount, specifiedType: const FullType(int)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(int)), + 'last_error_date', + serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), + 'last_error_message', + serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'url_hash', + serializers.serialize(object.urlHash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + BotWithDetails deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotWithDetailsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'error_count': + result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'features': + result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_date': + result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_message': + result.lastErrorMessage = 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 'url_hash': + result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$BotAdminListBotsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotAdminListBotsResponseApplicationJson_Ocs, + _$BotAdminListBotsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BotAdminListBotsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)])), + ]; + + return result; + } + + @override + BotAdminListBotsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotAdminListBotsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(BotWithDetails)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BotAdminListBotsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BotAdminListBotsResponseApplicationJson, + _$BotAdminListBotsResponseApplicationJson + ]; + @override + final String wireName = 'BotAdminListBotsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BotAdminListBotsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(BotAdminListBotsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BotAdminListBotsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BotAdminListBotsResponseApplicationJsonBuilder(); + + 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(BotAdminListBotsResponseApplicationJson_Ocs))! + as BotAdminListBotsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder(); + + 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(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder(); + + 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(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs, + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomBroadcastChatMessageResponseApplicationJson, + _$BreakoutRoomBroadcastChatMessageResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomBroadcastChatMessageResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder(); + + 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(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs))! + as BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs, + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomApplyAttendeeMapResponseApplicationJson, + _$BreakoutRoomApplyAttendeeMapResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomApplyAttendeeMapResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder(); + + 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(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs))! + as BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs, + _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomRequestAssistanceResponseApplicationJson, + _$BreakoutRoomRequestAssistanceResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomRequestAssistanceResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder(); + + 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(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs))! + as BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs, + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomResetRequestForAssistanceResponseApplicationJson, + _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomResetRequestForAssistanceResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder(); + + 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(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs))! + as BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStartBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomStartBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder(); + + 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(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs, + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + + return result; + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); break; } @@ -9526,33 +11560,2403 @@ class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomStopBreakoutRoomsResponseApplicationJson, + _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomStopBreakoutRoomsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder(); + + 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(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs))! + as BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs, + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + + return result; + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + break; + } + } + + return result.build(); + } +} + +class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson, + _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson + ]; + @override + final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + BreakoutRoomSwitchBreakoutRoomResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder(); + + 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(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs))! + as BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallPeerSerializer implements StructuredSerializer { + @override + final Iterable types = const [CallPeer, _$CallPeer]; + @override + final String wireName = 'CallPeer'; + + @override + Iterable serialize(Serializers serializers, CallPeer object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + CallPeer deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallPeerBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$CallGetPeersForCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallGetPeersForCallResponseApplicationJson_Ocs, + _$CallGetPeersForCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallGetPeersForCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CallPeer)])), + ]; + + return result; + } + + @override + CallGetPeersForCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallGetPeersForCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CallPeer)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CallGetPeersForCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallGetPeersForCallResponseApplicationJson, + _$CallGetPeersForCallResponseApplicationJson + ]; + @override + final String wireName = 'CallGetPeersForCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallGetPeersForCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallGetPeersForCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallGetPeersForCallResponseApplicationJsonBuilder(); + + 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(CallGetPeersForCallResponseApplicationJson_Ocs))! + as CallGetPeersForCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallUpdateCallFlagsResponseApplicationJson_Ocs, + _$CallUpdateCallFlagsResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallUpdateCallFlagsResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallUpdateCallFlagsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallUpdateCallFlagsResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallUpdateCallFlagsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallUpdateCallFlagsResponseApplicationJson, + _$CallUpdateCallFlagsResponseApplicationJson + ]; + @override + final String wireName = 'CallUpdateCallFlagsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallUpdateCallFlagsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallUpdateCallFlagsResponseApplicationJsonBuilder(); + + 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(CallUpdateCallFlagsResponseApplicationJson_Ocs))! + as CallUpdateCallFlagsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallJoinCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallJoinCallResponseApplicationJson_Ocs, + _$CallJoinCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallJoinCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallJoinCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallJoinCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallJoinCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CallJoinCallResponseApplicationJson, _$CallJoinCallResponseApplicationJson]; + @override + final String wireName = 'CallJoinCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallJoinCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallJoinCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallJoinCallResponseApplicationJsonBuilder(); + + 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(CallJoinCallResponseApplicationJson_Ocs))! + as CallJoinCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallLeaveCallResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallLeaveCallResponseApplicationJson_Ocs, + _$CallLeaveCallResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallLeaveCallResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallLeaveCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallLeaveCallResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallLeaveCallResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CallLeaveCallResponseApplicationJson, _$CallLeaveCallResponseApplicationJson]; + @override + final String wireName = 'CallLeaveCallResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallLeaveCallResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallLeaveCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallLeaveCallResponseApplicationJsonBuilder(); + + 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(CallLeaveCallResponseApplicationJson_Ocs))! + as CallLeaveCallResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallRingAttendeeResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallRingAttendeeResponseApplicationJson_Ocs, + _$CallRingAttendeeResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallRingAttendeeResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CallRingAttendeeResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallRingAttendeeResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CallRingAttendeeResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallRingAttendeeResponseApplicationJson, + _$CallRingAttendeeResponseApplicationJson + ]; + @override + final String wireName = 'CallRingAttendeeResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallRingAttendeeResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallRingAttendeeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallRingAttendeeResponseApplicationJsonBuilder(); + + 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(CallRingAttendeeResponseApplicationJson_Ocs))! + as CallRingAttendeeResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallSipDialOutResponseApplicationJson_Ocs_Data, + _$CallSipDialOutResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CallSipDialOutResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.error; + if (value != null) { + result + ..add('error') + ..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))); + } + return result; + } + + @override + CallSipDialOutResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallSipDialOutResponseApplicationJson_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 'error': + result.error = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$CallSipDialOutResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CallSipDialOutResponseApplicationJson_Ocs, + _$CallSipDialOutResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CallSipDialOutResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CallSipDialOutResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallSipDialOutResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs_Data))! + as CallSipDialOutResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CallSipDialOutResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CallSipDialOutResponseApplicationJson, _$CallSipDialOutResponseApplicationJson]; + @override + final String wireName = 'CallSipDialOutResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CallSipDialOutResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CallSipDialOutResponseApplicationJsonBuilder(); + + 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(CallSipDialOutResponseApplicationJson_Ocs))! + as CallSipDialOutResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data, + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.expirationInDays; + if (value != null) { + result + ..add('expiration_in_days') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJson_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 'expiration_in_days': + result.expirationInDays = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson_Ocs, + _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data))! + as CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CertificateGetCertificateExpirationResponseApplicationJson, + _$CertificateGetCertificateExpirationResponseApplicationJson + ]; + @override + final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CertificateGetCertificateExpirationResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CertificateGetCertificateExpirationResponseApplicationJsonBuilder(); + + 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(CertificateGetCertificateExpirationResponseApplicationJson_Ocs))! + as CertificateGetCertificateExpirationResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatMessageWithParentSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatMessageWithParent, _$ChatMessageWithParent]; + @override + final String wireName = 'ChatMessageWithParent'; + + @override + Iterable serialize(Serializers serializers, ChatMessageWithParent object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'expirationTimestamp', + serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'isReplyable', + serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), + 'messageParameters', + serializers.serialize(object.messageParameters, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(RichObjectParameter)])), + 'messageType', + serializers.serialize(object.messageType, specifiedType: const FullType(MessageType)), + 'reactions', + serializers.serialize(object.reactions, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), + 'referenceId', + serializers.serialize(object.referenceId, specifiedType: const FullType(String)), + 'systemMessage', + serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.parent; + if (value != null) { + result + ..add('parent') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage))); + } + value = object.deleted; + if (value != null) { + result + ..add('deleted') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage_Deleted))); + } + value = object.markdown; + if (value != null) { + result + ..add('markdown') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + return result; + } + + @override + ChatMessageWithParent deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMessageWithParentBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'parent': + result.parent + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessage))! as ChatMessage); + break; + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'deleted': + result.deleted = serializers.deserialize(value, specifiedType: const FullType(ChatMessage_Deleted)) + as ChatMessage_Deleted?; + break; + case 'expirationTimestamp': + result.expirationTimestamp = 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 'isReplyable': + result.isReplyable = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'markdown': + result.markdown = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'messageParameters': + result.messageParameters.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(RichObjectParameter)]))!); + break; + case 'messageType': + result.messageType = + serializers.deserialize(value, specifiedType: const FullType(MessageType))! as MessageType; + break; + case 'reactions': + result.reactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + break; + case 'referenceId': + result.referenceId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'systemMessage': + result.systemMessage = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatReceiveMessagesResponseApplicationJson_Ocs, + _$ChatReceiveMessagesResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatReceiveMessagesResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + ]; + + return result; + } + + @override + ChatReceiveMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReceiveMessagesResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatReceiveMessagesResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatReceiveMessagesResponseApplicationJson, + _$ChatReceiveMessagesResponseApplicationJson + ]; + @override + final String wireName = 'ChatReceiveMessagesResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatReceiveMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReceiveMessagesResponseApplicationJsonBuilder(); + + 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(ChatReceiveMessagesResponseApplicationJson_Ocs))! + as ChatReceiveMessagesResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatReceiveMessagesHeaders, _$ChatChatReceiveMessagesHeaders]; + @override + final String wireName = 'ChatChatReceiveMessagesHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatReceiveMessagesHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.xChatLastGiven; + if (value != null) { + result + ..add('x-chat-last-given') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatReceiveMessagesHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatReceiveMessagesHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'x-chat-last-given': + result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatSendMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSendMessageResponseApplicationJson_Ocs, + _$ChatSendMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSendMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); + } + return result; + } + + @override + ChatSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSendMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); + break; + } + } + + return result.build(); + } +} + +class _$ChatSendMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatSendMessageResponseApplicationJson, _$ChatSendMessageResponseApplicationJson]; + @override + final String wireName = 'ChatSendMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSendMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSendMessageResponseApplicationJsonBuilder(); + + 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(ChatSendMessageResponseApplicationJson_Ocs))! + as ChatSendMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatSendMessageHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatSendMessageHeaders, _$ChatChatSendMessageHeaders]; + @override + final String wireName = 'ChatChatSendMessageHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatSendMessageHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatSendMessageHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatSendMessageHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatClearHistoryResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatClearHistoryResponseApplicationJson_Ocs, + _$ChatClearHistoryResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatClearHistoryResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatMessage)), + ]; + + return result; + } + + @override + ChatClearHistoryResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatClearHistoryResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessage))! as ChatMessage); + break; + } + } + + return result.build(); + } +} + +class _$ChatClearHistoryResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatClearHistoryResponseApplicationJson, + _$ChatClearHistoryResponseApplicationJson + ]; + @override + final String wireName = 'ChatClearHistoryResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatClearHistoryResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatClearHistoryResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatClearHistoryResponseApplicationJsonBuilder(); + + 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(ChatClearHistoryResponseApplicationJson_Ocs))! + as ChatClearHistoryResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatClearHistoryHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatClearHistoryHeaders, _$ChatChatClearHistoryHeaders]; + @override + final String wireName = 'ChatChatClearHistoryHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatClearHistoryHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatClearHistoryHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatClearHistoryHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteMessageResponseApplicationJson_Ocs, + _$ChatDeleteMessageResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatDeleteMessageResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatMessageWithParent)), + ]; + + return result; + } + + @override + ChatDeleteMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteMessageResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteMessageResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteMessageResponseApplicationJson, + _$ChatDeleteMessageResponseApplicationJson + ]; + @override + final String wireName = 'ChatDeleteMessageResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteMessageResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatDeleteMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteMessageResponseApplicationJsonBuilder(); + + 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(ChatDeleteMessageResponseApplicationJson_Ocs))! + as ChatDeleteMessageResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatDeleteMessageHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatDeleteMessageHeaders, _$ChatChatDeleteMessageHeaders]; + @override + final String wireName = 'ChatChatDeleteMessageHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatDeleteMessageHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatDeleteMessageHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatDeleteMessageHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatGetMessageContextResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetMessageContextResponseApplicationJson_Ocs, + _$ChatGetMessageContextResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetMessageContextResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + ]; + + return result; + } + + @override + ChatGetMessageContextResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetMessageContextResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetMessageContextResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetMessageContextResponseApplicationJson, + _$ChatGetMessageContextResponseApplicationJson + ]; + @override + final String wireName = 'ChatGetMessageContextResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatGetMessageContextResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetMessageContextResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetMessageContextResponseApplicationJsonBuilder(); + + 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(ChatGetMessageContextResponseApplicationJson_Ocs))! + as ChatGetMessageContextResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatGetMessageContextHeaders, _$ChatChatGetMessageContextHeaders]; + @override + final String wireName = 'ChatChatGetMessageContextHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatGetMessageContextHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.xChatLastGiven; + if (value != null) { + result + ..add('x-chat-last-given') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatGetMessageContextHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatGetMessageContextHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'x-chat-last-given': + result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatReminderSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatReminder, _$ChatReminder]; + @override + final String wireName = 'ChatReminder'; + + @override + Iterable serialize(Serializers serializers, ChatReminder object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'messageId', + serializers.serialize(object.messageId, specifiedType: const FullType(int)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ChatReminder deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatReminderBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'messageId': + result.messageId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ChatGetReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatGetReminderResponseApplicationJson_Ocs, + _$ChatGetReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatGetReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + ]; + + return result; + } + + @override + ChatGetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + break; + } + } + + return result.build(); + } +} + +class _$ChatGetReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatGetReminderResponseApplicationJson, _$ChatGetReminderResponseApplicationJson]; + @override + final String wireName = 'ChatGetReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatGetReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatGetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatGetReminderResponseApplicationJsonBuilder(); + + 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(ChatGetReminderResponseApplicationJson_Ocs))! + as ChatGetReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSetReminderResponseApplicationJson_Ocs, + _$ChatSetReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSetReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + ]; + + return result; + } + + @override + ChatSetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data + .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatSetReminderResponseApplicationJson, _$ChatSetReminderResponseApplicationJson]; + @override + final String wireName = 'ChatSetReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReminderResponseApplicationJsonBuilder(); + + 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(ChatSetReminderResponseApplicationJson_Ocs))! + as ChatSetReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteReminderResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteReminderResponseApplicationJson_Ocs, + _$ChatDeleteReminderResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatDeleteReminderResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatDeleteReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteReminderResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatDeleteReminderResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatDeleteReminderResponseApplicationJson, + _$ChatDeleteReminderResponseApplicationJson + ]; + @override + final String wireName = 'ChatDeleteReminderResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteReminderResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatDeleteReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatDeleteReminderResponseApplicationJsonBuilder(); + + 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(ChatDeleteReminderResponseApplicationJson_Ocs))! + as ChatDeleteReminderResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatSetReadMarkerResponseApplicationJson_Ocs, + _$ChatSetReadMarkerResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatSetReadMarkerResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatSetReadMarkerResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReadMarkerResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatSetReadMarkerResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson, - _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson + ChatSetReadMarkerResponseApplicationJson, + _$ChatSetReadMarkerResponseApplicationJson + ]; + @override + final String wireName = 'ChatSetReadMarkerResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatSetReadMarkerResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatSetReadMarkerResponseApplicationJsonBuilder(); + + 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(ChatSetReadMarkerResponseApplicationJson_Ocs))! + as ChatSetReadMarkerResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatSetReadMarkerHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatSetReadMarkerHeaders, _$ChatChatSetReadMarkerHeaders]; + @override + final String wireName = 'ChatChatSetReadMarkerHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatSetReadMarkerHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatSetReadMarkerHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatSetReadMarkerHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatMarkUnreadResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatMarkUnreadResponseApplicationJson_Ocs, + _$ChatMarkUnreadResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson'; + final String wireName = 'ChatMarkUnreadResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ChatMarkUnreadResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMarkUnreadResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ChatMarkUnreadResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatMarkUnreadResponseApplicationJson, _$ChatMarkUnreadResponseApplicationJson]; + @override + final String wireName = 'ChatMarkUnreadResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ChatMarkUnreadResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ChatMarkUnreadResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatMarkUnreadResponseApplicationJsonBuilder(); + + 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(ChatMarkUnreadResponseApplicationJson_Ocs))! + as ChatMarkUnreadResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatMarkUnreadHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatChatMarkUnreadHeaders, _$ChatChatMarkUnreadHeaders]; + @override + final String wireName = 'ChatChatMarkUnreadHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatMarkUnreadHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatMarkUnreadHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatMarkUnreadHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatMentionSuggestionSerializer implements StructuredSerializer { + @override + final Iterable types = const [ChatMentionSuggestion, _$ChatMentionSuggestion]; + @override + final String wireName = 'ChatMentionSuggestion'; @override - Iterable serialize(Serializers serializers, BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson object, + Iterable serialize(Serializers serializers, ChatMentionSuggestion object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'label', + serializers.serialize(object.label, specifiedType: const FullType(String)), + 'source', + serializers.serialize(object.source, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.status; + if (value != null) { + result + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusClearAt; + if (value != null) { + result + ..add('statusClearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.statusIcon; + if (value != null) { + result + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.statusMessage; + if (value != null) { + result + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + ChatMentionSuggestion deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonBuilder(); + final result = ChatMentionSuggestionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9560,10 +13964,26 @@ class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs))! - as BreakoutRoomConfigureBreakoutRoomsResponseApplicationJson_Ocs); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'label': + result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'source': + result.source = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9572,35 +13992,33 @@ class _$BreakoutRoomConfigureBreakoutRoomsResponseApplicationJsonSerializer } } -class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ChatMentionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs, - _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs + ChatMentionsResponseApplicationJson_Ocs, + _$ChatMentionsResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs'; + final String wireName = 'ChatMentionsResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)])), ]; return result; } @override - BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ChatMentionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsBuilder(); + final result = ChatMentionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9612,7 +14030,8 @@ class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)]))! as BuiltList); break; } } @@ -9621,33 +14040,28 @@ class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ChatMentionsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson, - _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson - ]; + final Iterable types = const [ChatMentionsResponseApplicationJson, _$ChatMentionsResponseApplicationJson]; @override - final String wireName = 'BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson'; + final String wireName = 'ChatMentionsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson object, + Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + ChatMentionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonBuilder(); + final result = ChatMentionsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9656,9 +14070,9 @@ class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs))! - as BreakoutRoomRemoveBreakoutRoomsResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs))! + as ChatMentionsResponseApplicationJson_Ocs); break; } } @@ -9667,35 +14081,34 @@ class _$BreakoutRoomRemoveBreakoutRoomsResponseApplicationJsonSerializer } } -class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs, - _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs, + _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs'; + final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessage)])), ]; return result; } @override - BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs deserialize( + ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsBuilder(); + final result = ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9708,7 +14121,7 @@ class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + specifiedType: const FullType(BuiltList, [FullType(ChatMessage)]))! as BuiltList); break; } } @@ -9717,33 +14130,32 @@ class _$BreakoutRoomBroadcastChatMessageResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomBroadcastChatMessageResponseApplicationJson, - _$BreakoutRoomBroadcastChatMessageResponseApplicationJson + ChatGetObjectsSharedInRoomResponseApplicationJson, + _$ChatGetObjectsSharedInRoomResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomBroadcastChatMessageResponseApplicationJson'; + final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomBroadcastChatMessageResponseApplicationJson object, + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs)), + specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomBroadcastChatMessageResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + ChatGetObjectsSharedInRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomBroadcastChatMessageResponseApplicationJsonBuilder(); + final result = ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9753,8 +14165,102 @@ class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs))! - as BreakoutRoomBroadcastChatMessageResponseApplicationJson_Ocs); + specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs))! + as ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ChatChatGetObjectsSharedInRoomHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ChatChatGetObjectsSharedInRoomHeaders, _$ChatChatGetObjectsSharedInRoomHeaders]; + @override + final String wireName = 'ChatChatGetObjectsSharedInRoomHeaders'; + + @override + Iterable serialize(Serializers serializers, ChatChatGetObjectsSharedInRoomHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xChatLastGiven; + if (value != null) { + result + ..add('x-chat-last-given') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ChatChatGetObjectsSharedInRoomHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatChatGetObjectsSharedInRoomHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-chat-last-given': + result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ChatShareObjectToChatResponseApplicationJson_Ocs, + _$ChatShareObjectToChatResponseApplicationJson_Ocs + ]; + @override + final String wireName = 'ChatShareObjectToChatResponseApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + ]; + Object? value; + value = object.data; + if (value != null) { + result + ..add('data') + ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); + } + return result; + } + + @override + ChatShareObjectToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ChatShareObjectToChatResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! + as ChatMessageWithParent); break; } } @@ -9763,34 +14269,32 @@ class _$BreakoutRoomBroadcastChatMessageResponseApplicationJsonSerializer } } -class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ChatShareObjectToChatResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs, - _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs + ChatShareObjectToChatResponseApplicationJson, + _$ChatShareObjectToChatResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs'; + final String wireName = 'ChatShareObjectToChatResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + ChatShareObjectToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsBuilder(); + final result = ChatShareObjectToChatResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9798,12 +14302,10 @@ class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs))! + as ChatShareObjectToChatResponseApplicationJson_Ocs); break; } } @@ -9812,32 +14314,30 @@ class _$BreakoutRoomApplyAttendeeMapResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializer { @override - final Iterable types = const [ - BreakoutRoomApplyAttendeeMapResponseApplicationJson, - _$BreakoutRoomApplyAttendeeMapResponseApplicationJson - ]; + final Iterable types = const [ChatChatShareObjectToChatHeaders, _$ChatChatShareObjectToChatHeaders]; @override - final String wireName = 'BreakoutRoomApplyAttendeeMapResponseApplicationJson'; + final String wireName = 'ChatChatShareObjectToChatHeaders'; @override - Iterable serialize(Serializers serializers, BreakoutRoomApplyAttendeeMapResponseApplicationJson object, + Iterable serialize(Serializers serializers, ChatChatShareObjectToChatHeaders object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs)), - ]; - + final result = []; + Object? value; + value = object.xChatLastCommonRead; + if (value != null) { + result + ..add('x-chat-last-common-read') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - BreakoutRoomApplyAttendeeMapResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ChatChatShareObjectToChatHeaders deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomApplyAttendeeMapResponseApplicationJsonBuilder(); + final result = ChatChatShareObjectToChatHeadersBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9845,10 +14345,8 @@ class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs))! - as BreakoutRoomApplyAttendeeMapResponseApplicationJson_Ocs); + case 'x-chat-last-common-read': + result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -9857,34 +14355,39 @@ class _$BreakoutRoomApplyAttendeeMapResponseApplicationJsonSerializer } } -class _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs, - _$BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs, + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs'; + final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(ChatMessage)]) + ])), ]; return result; } @override - BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs deserialize( + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomRequestAssistanceResponseApplicationJson_OcsBuilder(); + final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9896,7 +14399,11 @@ class _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(ChatMessage)]) + ]))!); break; } } @@ -9905,33 +14412,33 @@ class _$BreakoutRoomRequestAssistanceResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomRequestAssistanceResponseApplicationJson, - _$BreakoutRoomRequestAssistanceResponseApplicationJson + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, + _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomRequestAssistanceResponseApplicationJson'; + final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomRequestAssistanceResponseApplicationJson object, + Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs)), + specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomRequestAssistanceResponseApplicationJson deserialize( + ChatGetObjectsSharedInRoomOverviewResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomRequestAssistanceResponseApplicationJsonBuilder(); + final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9941,8 +14448,8 @@ class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs))! - as BreakoutRoomRequestAssistanceResponseApplicationJson_Ocs); + specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs))! + as ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs); break; } } @@ -9951,35 +14458,33 @@ class _$BreakoutRoomRequestAssistanceResponseApplicationJsonSerializer } } -class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs, - _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs'; + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs object, + Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), ]; return result; } @override - BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs deserialize( + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsBuilder(); + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -9987,11 +14492,8 @@ class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -10000,34 +14502,36 @@ class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson_OcsSerializ } } -class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomResetRequestForAssistanceResponseApplicationJson, - _$BreakoutRoomResetRequestForAssistanceResponseApplicationJson + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomResetRequestForAssistanceResponseApplicationJson'; + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, BreakoutRoomResetRequestForAssistanceResponseApplicationJson object, + Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data)), ]; return result; } @override - BreakoutRoomResetRequestForAssistanceResponseApplicationJson deserialize( + FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomResetRequestForAssistanceResponseApplicationJsonBuilder(); + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10035,10 +14539,13 @@ class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs))! - as BreakoutRoomResetRequestForAssistanceResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data))! + as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data); break; } } @@ -10047,34 +14554,33 @@ class _$BreakoutRoomResetRequestForAssistanceResponseApplicationJsonSerializer } } -class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs, - _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs + FilesIntegrationGetRoomByFileIdResponseApplicationJson, + _$FilesIntegrationGetRoomByFileIdResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs'; + final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs deserialize( + FilesIntegrationGetRoomByFileIdResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsBuilder(); + final result = FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10082,12 +14588,10 @@ class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs))! + as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs); break; } } @@ -10096,33 +14600,37 @@ class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomStartBreakoutRoomsResponseApplicationJson, - _$BreakoutRoomStartBreakoutRoomsResponseApplicationJson + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'BreakoutRoomStartBreakoutRoomsResponseApplicationJson'; + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, BreakoutRoomStartBreakoutRoomsResponseApplicationJson object, + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + 'userDisplayName', + serializers.serialize(object.userDisplayName, specifiedType: const FullType(String)), ]; return result; } @override - BreakoutRoomStartBreakoutRoomsResponseApplicationJson deserialize( + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomStartBreakoutRoomsResponseApplicationJsonBuilder(); + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10130,10 +14638,14 @@ class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs))! - as BreakoutRoomStartBreakoutRoomsResponseApplicationJson_Ocs); + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userDisplayName': + result.userDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -10142,34 +14654,36 @@ class _$BreakoutRoomStartBreakoutRoomsResponseApplicationJsonSerializer } } -class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs, - _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs'; + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + serializers.serialize(object.data, + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data)), ]; return result; } @override - BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs deserialize( + FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsBuilder(); + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10182,7 +14696,8 @@ class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data))! + as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data); break; } } @@ -10191,33 +14706,34 @@ class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomStopBreakoutRoomsResponseApplicationJson, - _$BreakoutRoomStopBreakoutRoomsResponseApplicationJson + FilesIntegrationGetRoomByShareTokenResponseApplicationJson, + _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomStopBreakoutRoomsResponseApplicationJson'; + final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomStopBreakoutRoomsResponseApplicationJson object, + Iterable serialize( + Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs)), + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomStopBreakoutRoomsResponseApplicationJson deserialize( + FilesIntegrationGetRoomByShareTokenResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomStopBreakoutRoomsResponseApplicationJsonBuilder(); + final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10227,8 +14743,8 @@ class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs))! - as BreakoutRoomStopBreakoutRoomsResponseApplicationJson_Ocs); + specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs))! + as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs); break; } } @@ -10237,34 +14753,33 @@ class _$BreakoutRoomStopBreakoutRoomsResponseApplicationJsonSerializer } } -class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs, - _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs + GuestSetDisplayNameResponseApplicationJson_Ocs, + _$GuestSetDisplayNameResponseApplicationJson_Ocs ]; @override - final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs'; + final String wireName = 'GuestSetDisplayNameResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + GuestSetDisplayNameResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsBuilder(); + final result = GuestSetDisplayNameResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10276,7 +14791,7 @@ class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -10285,33 +14800,31 @@ class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_OcsSerializer } } -class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$GuestSetDisplayNameResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - BreakoutRoomSwitchBreakoutRoomResponseApplicationJson, - _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJson + GuestSetDisplayNameResponseApplicationJson, + _$GuestSetDisplayNameResponseApplicationJson ]; @override - final String wireName = 'BreakoutRoomSwitchBreakoutRoomResponseApplicationJson'; + final String wireName = 'GuestSetDisplayNameResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, BreakoutRoomSwitchBreakoutRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs)), ]; return result; } @override - BreakoutRoomSwitchBreakoutRoomResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + GuestSetDisplayNameResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonBuilder(); + final result = GuestSetDisplayNameResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10321,8 +14834,8 @@ class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs))! - as BreakoutRoomSwitchBreakoutRoomResponseApplicationJson_Ocs); + specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs))! + as GuestSetDisplayNameResponseApplicationJson_Ocs); break; } } @@ -10331,37 +14844,36 @@ class _$BreakoutRoomSwitchBreakoutRoomResponseApplicationJsonSerializer } } -class _$CallPeerSerializer implements StructuredSerializer { +class _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CallPeer, _$CallPeer]; + final Iterable types = const [ + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs, + _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs + ]; @override - final String wireName = 'CallPeer'; + final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CallPeer object, + Iterable serialize( + Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'displayName', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), - 'lastPing', - serializers.serialize(object.lastPing, specifiedType: const FullType(int)), - 'sessionId', - serializers.serialize(object.sessionId, specifiedType: const FullType(String)), - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), ]; return result; } @override - CallPeer deserialize(Serializers serializers, Iterable serialized, + HostedSignalingServerRequestTrialResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallPeerBuilder(); + final result = HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10369,23 +14881,12 @@ class _$CallPeerSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'displayName': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'lastPing': - result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'sessionId': - result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); break; } } @@ -10394,33 +14895,33 @@ class _$CallPeerSerializer implements StructuredSerializer { } } -class _$CallGetPeersForCallResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallGetPeersForCallResponseApplicationJson_Ocs, - _$CallGetPeersForCallResponseApplicationJson_Ocs + HostedSignalingServerRequestTrialResponseApplicationJson, + _$HostedSignalingServerRequestTrialResponseApplicationJson ]; @override - final String wireName = 'CallGetPeersForCallResponseApplicationJson_Ocs'; + final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CallPeer)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs)), ]; return result; } @override - CallGetPeersForCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + HostedSignalingServerRequestTrialResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallGetPeersForCallResponseApplicationJson_OcsBuilder(); + final result = HostedSignalingServerRequestTrialResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10428,12 +14929,10 @@ class _$CallGetPeersForCallResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(CallPeer)]))! as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs))! + as HostedSignalingServerRequestTrialResponseApplicationJson_Ocs); break; } } @@ -10442,31 +14941,35 @@ class _$CallGetPeersForCallResponseApplicationJson_OcsSerializer } } -class _$CallGetPeersForCallResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallGetPeersForCallResponseApplicationJson, - _$CallGetPeersForCallResponseApplicationJson + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs, + _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs ]; @override - final String wireName = 'CallGetPeersForCallResponseApplicationJson'; + final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CallGetPeersForCallResponseApplicationJson object, + Iterable serialize( + Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallGetPeersForCallResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - CallGetPeersForCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallGetPeersForCallResponseApplicationJsonBuilder(); + final result = HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10474,10 +14977,11 @@ class _$CallGetPeersForCallResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CallGetPeersForCallResponseApplicationJson_Ocs))! - as CallGetPeersForCallResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -10486,33 +14990,33 @@ class _$CallGetPeersForCallResponseApplicationJsonSerializer } } -class _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallUpdateCallFlagsResponseApplicationJson_Ocs, - _$CallUpdateCallFlagsResponseApplicationJson_Ocs + HostedSignalingServerDeleteAccountResponseApplicationJson, + _$HostedSignalingServerDeleteAccountResponseApplicationJson ]; @override - final String wireName = 'CallUpdateCallFlagsResponseApplicationJson_Ocs'; + final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs)), ]; return result; } @override - CallUpdateCallFlagsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + HostedSignalingServerDeleteAccountResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallUpdateCallFlagsResponseApplicationJson_OcsBuilder(); + final result = HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10520,11 +15024,10 @@ class _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs))! + as HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs); break; } } @@ -10533,31 +15036,34 @@ class _$CallUpdateCallFlagsResponseApplicationJson_OcsSerializer } } -class _$CallUpdateCallFlagsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CallUpdateCallFlagsResponseApplicationJson, - _$CallUpdateCallFlagsResponseApplicationJson - ]; + final Iterable types = const [Matterbridge, _$Matterbridge]; @override - final String wireName = 'CallUpdateCallFlagsResponseApplicationJson'; + final String wireName = 'Matterbridge'; @override - Iterable serialize(Serializers serializers, CallUpdateCallFlagsResponseApplicationJson object, + Iterable serialize(Serializers serializers, Matterbridge object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'parts', + serializers.serialize(object.parts, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'pid', + serializers.serialize(object.pid, specifiedType: const FullType(int)), ]; return result; } @override - CallUpdateCallFlagsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + Matterbridge deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallUpdateCallFlagsResponseApplicationJsonBuilder(); + final result = MatterbridgeBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10565,10 +15071,17 @@ class _$CallUpdateCallFlagsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CallUpdateCallFlagsResponseApplicationJson_Ocs))! - as CallUpdateCallFlagsResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'parts': + result.parts.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))! as BuiltList); + break; + case 'pid': + result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -10577,33 +15090,29 @@ class _$CallUpdateCallFlagsResponseApplicationJsonSerializer } } -class _$CallJoinCallResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$MatterbridgeProcessStateSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CallJoinCallResponseApplicationJson_Ocs, - _$CallJoinCallResponseApplicationJson_Ocs - ]; + final Iterable types = const [MatterbridgeProcessState, _$MatterbridgeProcessState]; @override - final String wireName = 'CallJoinCallResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeProcessState'; @override - Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, MatterbridgeProcessState object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'log', + serializers.serialize(object.log, specifiedType: const FullType(String)), + 'running', + serializers.serialize(object.running, specifiedType: const FullType(bool)), ]; return result; } @override - CallJoinCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + MatterbridgeProcessState deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallJoinCallResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeProcessStateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10611,11 +15120,11 @@ class _$CallJoinCallResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'log': + result.log = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'running': + result.running = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -10624,28 +15133,38 @@ class _$CallJoinCallResponseApplicationJson_OcsSerializer } } -class _$CallJoinCallResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeWithProcessStateSerializer implements StructuredSerializer { @override - final Iterable types = const [CallJoinCallResponseApplicationJson, _$CallJoinCallResponseApplicationJson]; + final Iterable types = const [MatterbridgeWithProcessState, _$MatterbridgeWithProcessState]; @override - final String wireName = 'CallJoinCallResponseApplicationJson'; + final String wireName = 'MatterbridgeWithProcessState'; @override - Iterable serialize(Serializers serializers, CallJoinCallResponseApplicationJson object, + Iterable serialize(Serializers serializers, MatterbridgeWithProcessState object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallJoinCallResponseApplicationJson_Ocs)), + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'parts', + serializers.serialize(object.parts, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ])), + 'pid', + serializers.serialize(object.pid, specifiedType: const FullType(int)), + 'log', + serializers.serialize(object.log, specifiedType: const FullType(String)), + 'running', + serializers.serialize(object.running, specifiedType: const FullType(bool)), ]; return result; } @override - CallJoinCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + MatterbridgeWithProcessState deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallJoinCallResponseApplicationJsonBuilder(); + final result = MatterbridgeWithProcessStateBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10653,10 +15172,23 @@ class _$CallJoinCallResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(CallJoinCallResponseApplicationJson_Ocs))! - as CallJoinCallResponseApplicationJson_Ocs); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'parts': + result.parts.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [ + FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) + ]))! as BuiltList); + break; + case 'pid': + result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'log': + result.log = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'running': + result.running = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -10665,33 +15197,34 @@ class _$CallJoinCallResponseApplicationJsonSerializer } } -class _$CallLeaveCallResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallLeaveCallResponseApplicationJson_Ocs, - _$CallLeaveCallResponseApplicationJson_Ocs + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'CallLeaveCallResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeWithProcessState)), ]; return result; } @override - CallLeaveCallResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallLeaveCallResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10703,7 +15236,8 @@ class _$CallLeaveCallResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeWithProcessState))! as MatterbridgeWithProcessState); break; } } @@ -10712,28 +15246,32 @@ class _$CallLeaveCallResponseApplicationJson_OcsSerializer } } -class _$CallLeaveCallResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CallLeaveCallResponseApplicationJson, _$CallLeaveCallResponseApplicationJson]; + final Iterable types = const [ + MatterbridgeGetBridgeOfRoomResponseApplicationJson, + _$MatterbridgeGetBridgeOfRoomResponseApplicationJson + ]; @override - final String wireName = 'CallLeaveCallResponseApplicationJson'; + final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, CallLeaveCallResponseApplicationJson object, + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallLeaveCallResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs)), ]; return result; } @override - CallLeaveCallResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + MatterbridgeGetBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallLeaveCallResponseApplicationJsonBuilder(); + final result = MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10742,9 +15280,9 @@ class _$CallLeaveCallResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(CallLeaveCallResponseApplicationJson_Ocs))! - as CallLeaveCallResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs); break; } } @@ -10753,33 +15291,34 @@ class _$CallLeaveCallResponseApplicationJsonSerializer } } -class _$CallRingAttendeeResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallRingAttendeeResponseApplicationJson_Ocs, - _$CallRingAttendeeResponseApplicationJson_Ocs + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'CallRingAttendeeResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), ]; return result; } @override - CallRingAttendeeResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallRingAttendeeResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10791,7 +15330,8 @@ class _$CallRingAttendeeResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! + as MatterbridgeProcessState); break; } } @@ -10800,84 +15340,32 @@ class _$CallRingAttendeeResponseApplicationJson_OcsSerializer } } -class _$CallRingAttendeeResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallRingAttendeeResponseApplicationJson, - _$CallRingAttendeeResponseApplicationJson + MatterbridgeEditBridgeOfRoomResponseApplicationJson, + _$MatterbridgeEditBridgeOfRoomResponseApplicationJson ]; @override - final String wireName = 'CallRingAttendeeResponseApplicationJson'; + final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, CallRingAttendeeResponseApplicationJson object, + Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallRingAttendeeResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs)), ]; return result; } @override - CallRingAttendeeResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CallRingAttendeeResponseApplicationJsonBuilder(); - - 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(CallRingAttendeeResponseApplicationJson_Ocs))! - as CallRingAttendeeResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - CallSipDialOutResponseApplicationJson_Ocs_Data, - _$CallSipDialOutResponseApplicationJson_Ocs_Data - ]; - @override - final String wireName = 'CallSipDialOutResponseApplicationJson_Ocs_Data'; - - @override - Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.error; - if (value != null) { - result - ..add('error') - ..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))); - } - return result; - } - - @override - CallSipDialOutResponseApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + MatterbridgeEditBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallSipDialOutResponseApplicationJson_Ocs_DataBuilder(); + final result = MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10885,11 +15373,10 @@ class _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'error': - result.error = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs); break; } } @@ -10898,33 +15385,34 @@ class _$CallSipDialOutResponseApplicationJson_Ocs_DataSerializer } } -class _$CallSipDialOutResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CallSipDialOutResponseApplicationJson_Ocs, - _$CallSipDialOutResponseApplicationJson_Ocs + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs, + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'CallSipDialOutResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(bool)), ]; return result; } @override - CallSipDialOutResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallSipDialOutResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10936,9 +15424,7 @@ class _$CallSipDialOutResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs_Data))! - as CallSipDialOutResponseApplicationJson_Ocs_Data); + result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -10947,28 +15433,33 @@ class _$CallSipDialOutResponseApplicationJson_OcsSerializer } } -class _$CallSipDialOutResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CallSipDialOutResponseApplicationJson, _$CallSipDialOutResponseApplicationJson]; + final Iterable types = const [ + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson, + _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson + ]; @override - final String wireName = 'CallSipDialOutResponseApplicationJson'; + final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, CallSipDialOutResponseApplicationJson object, + Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs)), ]; return result; } @override - CallSipDialOutResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + MatterbridgeDeleteBridgeOfRoomResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CallSipDialOutResponseApplicationJsonBuilder(); + final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -10977,9 +15468,9 @@ class _$CallSipDialOutResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(CallSipDialOutResponseApplicationJson_Ocs))! - as CallSipDialOutResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs))! + as MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs); break; } } @@ -10988,36 +15479,83 @@ class _$CallSipDialOutResponseApplicationJsonSerializer } } -class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data, - _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs, + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs ]; @override - final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data'; + final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data object, + Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.expirationInDays; - if (value != null) { - result - ..add('expiration_in_days') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), + ]; + + return result; + } + + @override + MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! + as MatterbridgeProcessState); + break; + } } + + return result.build(); + } +} + +class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + MatterbridgeGetBridgeProcessStateResponseApplicationJson, + _$MatterbridgeGetBridgeProcessStateResponseApplicationJson + ]; + @override + final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs)), + ]; + return result; } @override - CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data deserialize( + MatterbridgeGetBridgeProcessStateResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataBuilder(); + final result = MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11025,8 +15563,10 @@ class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSeria iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'expiration_in_days': - result.expirationInDays = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs))! + as MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs); break; } } @@ -11035,36 +15575,35 @@ class _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs_DataSeria } } -class _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CertificateGetCertificateExpirationResponseApplicationJson_Ocs, - _$CertificateGetCertificateExpirationResponseApplicationJson_Ocs + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs, + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs ]; @override - final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson_Ocs object, + Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(bool)), ]; return result; } @override - CertificateGetCertificateExpirationResponseApplicationJson_Ocs deserialize( + MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CertificateGetCertificateExpirationResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11076,9 +15615,7 @@ class _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data))! - as CertificateGetCertificateExpirationResponseApplicationJson_Ocs_Data); + result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -11087,34 +15624,33 @@ class _$CertificateGetCertificateExpirationResponseApplicationJson_OcsSerializer } } -class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CertificateGetCertificateExpirationResponseApplicationJson, - _$CertificateGetCertificateExpirationResponseApplicationJson + MatterbridgeSettingsStopAllBridgesResponseApplicationJson, + _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson ]; @override - final String wireName = 'CertificateGetCertificateExpirationResponseApplicationJson'; + final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, CertificateGetCertificateExpirationResponseApplicationJson object, + Iterable serialize(Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs)), + specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs)), ]; return result; } @override - CertificateGetCertificateExpirationResponseApplicationJson deserialize( + MatterbridgeSettingsStopAllBridgesResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CertificateGetCertificateExpirationResponseApplicationJsonBuilder(); + final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11124,8 +15660,8 @@ class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CertificateGetCertificateExpirationResponseApplicationJson_Ocs))! - as CertificateGetCertificateExpirationResponseApplicationJson_Ocs); + specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs))! + as MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs); break; } } @@ -11134,76 +15670,33 @@ class _$CertificateGetCertificateExpirationResponseApplicationJsonSerializer } } -class _$ChatMessageWithParentSerializer implements StructuredSerializer { +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatMessageWithParent, _$ChatMessageWithParent]; + final Iterable types = const [ + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ChatMessageWithParent'; + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ChatMessageWithParent object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'actorDisplayName', - serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'expirationTimestamp', - serializers.serialize(object.expirationTimestamp, specifiedType: const FullType(int)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'isReplyable', - serializers.serialize(object.isReplyable, specifiedType: const FullType(bool)), - 'message', - serializers.serialize(object.message, specifiedType: const FullType(String)), - 'messageParameters', - serializers.serialize(object.messageParameters, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ])), - 'messageType', - serializers.serialize(object.messageType, specifiedType: const FullType(MessageType)), - 'reactions', - serializers.serialize(object.reactions, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)])), - 'referenceId', - serializers.serialize(object.referenceId, specifiedType: const FullType(String)), - 'systemMessage', - serializers.serialize(object.systemMessage, specifiedType: const FullType(String)), - 'timestamp', - serializers.serialize(object.timestamp, specifiedType: const FullType(int)), - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - ]; - Object? value; - value = object.parent; - if (value != null) { - result - ..add('parent') - ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage))); - } - value = object.deleted; - if (value != null) { - result - ..add('deleted') - ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessage_Deleted))); - } - value = object.markdown; - if (value != null) { - result - ..add('markdown') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + return result; } @override - ChatMessageWithParent deserialize(Serializers serializers, Iterable serialized, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMessageWithParentBuilder(); + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11211,64 +15704,8 @@ class _$ChatMessageWithParentSerializer implements StructuredSerializer { +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatReceiveMessagesResponseApplicationJson_Ocs, - _$ChatReceiveMessagesResponseApplicationJson_Ocs + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatReceiveMessagesResponseApplicationJson_Ocs'; + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + serializers.serialize(object.data, + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ChatReceiveMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatReceiveMessagesResponseApplicationJson_OcsBuilder(); + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11316,7 +15756,9 @@ class _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + specifiedType: + const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data))! + as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data); break; } } @@ -11325,31 +15767,34 @@ class _$ChatReceiveMessagesResponseApplicationJson_OcsSerializer } } -class _$ChatReceiveMessagesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatReceiveMessagesResponseApplicationJson, - _$ChatReceiveMessagesResponseApplicationJson + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson, + _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson ]; @override - final String wireName = 'ChatReceiveMessagesResponseApplicationJson'; + final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatReceiveMessagesResponseApplicationJson object, + Iterable serialize( + Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs)), ]; return result; } @override - ChatReceiveMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatReceiveMessagesResponseApplicationJsonBuilder(); + final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11359,8 +15804,8 @@ class _$ChatReceiveMessagesResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatReceiveMessagesResponseApplicationJson_Ocs))! - as ChatReceiveMessagesResponseApplicationJson_Ocs); + specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs))! + as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs); break; } } @@ -11369,36 +15814,119 @@ class _$ChatReceiveMessagesResponseApplicationJsonSerializer } } -class _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer { +class _$PollVoteSerializer implements StructuredSerializer { @override - final Iterable types = const [ChatChatReceiveMessagesHeaders, _$ChatChatReceiveMessagesHeaders]; + final Iterable types = const [PollVote, _$PollVote]; @override - final String wireName = 'ChatChatReceiveMessagesHeaders'; + final String wireName = 'PollVote'; @override - Iterable serialize(Serializers serializers, ChatChatReceiveMessagesHeaders object, + Iterable serialize(Serializers serializers, PollVote object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'optionId', + serializers.serialize(object.optionId, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + PollVote deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PollVoteBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'optionId': + result.optionId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$PollSerializer implements StructuredSerializer { + @override + final Iterable types = const [Poll, _$Poll]; + @override + final String wireName = 'Poll'; + + @override + Iterable serialize(Serializers serializers, Poll object, {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'maxVotes', + serializers.serialize(object.maxVotes, specifiedType: const FullType(int)), + 'options', + serializers.serialize(object.options, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'question', + serializers.serialize(object.question, specifiedType: const FullType(String)), + 'resultMode', + serializers.serialize(object.resultMode, specifiedType: const FullType(int)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(int)), + ]; Object? value; - value = object.xChatLastCommonRead; + value = object.details; if (value != null) { result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('details') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(PollVote)]))); } - value = object.xChatLastGiven; + value = object.numVoters; if (value != null) { result - ..add('x-chat-last-given') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('numVoters') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.votedSelf; + if (value != null) { + result + ..add('votedSelf') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(int)]))); + } + value = object.votes; + if (value != null) { + result + ..add('votes') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))); } return result; } @override - ChatChatReceiveMessagesHeaders deserialize(Serializers serializers, Iterable serialized, + Poll deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatReceiveMessagesHeadersBuilder(); + final result = PollBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11406,11 +15934,48 @@ class _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-chat-last-common-read': - result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'details': + result.details.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(PollVote)]))! as BuiltList); + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'maxVotes': + result.maxVotes = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'numVoters': + result.numVoters = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'options': + result.options.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'x-chat-last-given': - result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'question': + result.question = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'resultMode': + result.resultMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'votedSelf': + result.votedSelf.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + break; + case 'votes': + result.votes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); break; } } @@ -11419,37 +15984,33 @@ class _$ChatChatReceiveMessagesHeadersSerializer implements StructuredSerializer } } -class _$ChatSendMessageResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$PollCreatePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatSendMessageResponseApplicationJson_Ocs, - _$ChatSendMessageResponseApplicationJson_Ocs + PollCreatePollResponseApplicationJson_Ocs, + _$PollCreatePollResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatSendMessageResponseApplicationJson_Ocs'; + final String wireName = 'PollCreatePollResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), ]; - Object? value; - value = object.data; - if (value != null) { - result - ..add('data') - ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); - } + return result; } @override - ChatSendMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + PollCreatePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSendMessageResponseApplicationJson_OcsBuilder(); + final result = PollCreatePollResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11461,8 +16022,7 @@ class _$ChatSendMessageResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! - as ChatMessageWithParent); + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); break; } } @@ -11471,28 +16031,28 @@ class _$ChatSendMessageResponseApplicationJson_OcsSerializer } } -class _$ChatSendMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PollCreatePollResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatSendMessageResponseApplicationJson, _$ChatSendMessageResponseApplicationJson]; + final Iterable types = const [PollCreatePollResponseApplicationJson, _$PollCreatePollResponseApplicationJson]; @override - final String wireName = 'ChatSendMessageResponseApplicationJson'; + final String wireName = 'PollCreatePollResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatSendMessageResponseApplicationJson object, + Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatSendMessageResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs)), ]; return result; } @override - ChatSendMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PollCreatePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSendMessageResponseApplicationJsonBuilder(); + final result = PollCreatePollResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11502,8 +16062,8 @@ class _$ChatSendMessageResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ChatSendMessageResponseApplicationJson_Ocs))! - as ChatSendMessageResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs))! + as PollCreatePollResponseApplicationJson_Ocs); break; } } @@ -11512,30 +16072,33 @@ class _$ChatSendMessageResponseApplicationJsonSerializer } } -class _$ChatChatSendMessageHeadersSerializer implements StructuredSerializer { +class _$PollShowPollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatChatSendMessageHeaders, _$ChatChatSendMessageHeaders]; + final Iterable types = const [ + PollShowPollResponseApplicationJson_Ocs, + _$PollShowPollResponseApplicationJson_Ocs + ]; @override - final String wireName = 'ChatChatSendMessageHeaders'; + final String wireName = 'PollShowPollResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatChatSendMessageHeaders object, + Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), + ]; + return result; } @override - ChatChatSendMessageHeaders deserialize(Serializers serializers, Iterable serialized, + PollShowPollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatSendMessageHeadersBuilder(); + final result = PollShowPollResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11543,8 +16106,11 @@ class _$ChatChatSendMessageHeadersSerializer implements StructuredSerializer { +class _$PollShowPollResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatClearHistoryResponseApplicationJson_Ocs, - _$ChatClearHistoryResponseApplicationJson_Ocs - ]; + final Iterable types = const [PollShowPollResponseApplicationJson, _$PollShowPollResponseApplicationJson]; @override - final String wireName = 'ChatClearHistoryResponseApplicationJson_Ocs'; + final String wireName = 'PollShowPollResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(ChatMessage)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs)), ]; return result; } @override - ChatClearHistoryResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + PollShowPollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatClearHistoryResponseApplicationJson_OcsBuilder(); + final result = PollShowPollResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11587,12 +16148,10 @@ class _$ChatClearHistoryResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data - .replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessage))! as ChatMessage); + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs))! + as PollShowPollResponseApplicationJson_Ocs); break; } } @@ -11601,31 +16160,33 @@ class _$ChatClearHistoryResponseApplicationJson_OcsSerializer } } -class _$ChatClearHistoryResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PollVotePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatClearHistoryResponseApplicationJson, - _$ChatClearHistoryResponseApplicationJson + PollVotePollResponseApplicationJson_Ocs, + _$PollVotePollResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatClearHistoryResponseApplicationJson'; + final String wireName = 'PollVotePollResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatClearHistoryResponseApplicationJson object, + Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatClearHistoryResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Poll)), ]; return result; } @override - ChatClearHistoryResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PollVotePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatClearHistoryResponseApplicationJsonBuilder(); + final result = PollVotePollResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11633,10 +16194,11 @@ class _$ChatClearHistoryResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatClearHistoryResponseApplicationJson_Ocs))! - as ChatClearHistoryResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); break; } } @@ -11645,30 +16207,28 @@ class _$ChatClearHistoryResponseApplicationJsonSerializer } } -class _$ChatChatClearHistoryHeadersSerializer implements StructuredSerializer { +class _$PollVotePollResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatChatClearHistoryHeaders, _$ChatChatClearHistoryHeaders]; + final Iterable types = const [PollVotePollResponseApplicationJson, _$PollVotePollResponseApplicationJson]; @override - final String wireName = 'ChatChatClearHistoryHeaders'; + final String wireName = 'PollVotePollResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatChatClearHistoryHeaders object, + Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(PollVotePollResponseApplicationJson_Ocs)), + ]; + return result; } @override - ChatChatClearHistoryHeaders deserialize(Serializers serializers, Iterable serialized, + PollVotePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatClearHistoryHeadersBuilder(); + final result = PollVotePollResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11676,8 +16236,10 @@ class _$ChatChatClearHistoryHeadersSerializer implements StructuredSerializer { +class _$PollClosePollResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatDeleteMessageResponseApplicationJson_Ocs, - _$ChatDeleteMessageResponseApplicationJson_Ocs + PollClosePollResponseApplicationJson_Ocs, + _$PollClosePollResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatDeleteMessageResponseApplicationJson_Ocs'; + final String wireName = 'PollClosePollResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(ChatMessageWithParent)), + serializers.serialize(object.data, specifiedType: const FullType(Poll)), ]; return result; } @override - ChatDeleteMessageResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + PollClosePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatDeleteMessageResponseApplicationJson_OcsBuilder(); + final result = PollClosePollResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11724,8 +16286,7 @@ class _$ChatDeleteMessageResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! - as ChatMessageWithParent); + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); break; } } @@ -11734,31 +16295,28 @@ class _$ChatDeleteMessageResponseApplicationJson_OcsSerializer } } -class _$ChatDeleteMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PollClosePollResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatDeleteMessageResponseApplicationJson, - _$ChatDeleteMessageResponseApplicationJson - ]; + final Iterable types = const [PollClosePollResponseApplicationJson, _$PollClosePollResponseApplicationJson]; @override - final String wireName = 'ChatDeleteMessageResponseApplicationJson'; + final String wireName = 'PollClosePollResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatDeleteMessageResponseApplicationJson object, + Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteMessageResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs)), ]; return result; } @override - ChatDeleteMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PollClosePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatDeleteMessageResponseApplicationJsonBuilder(); + final result = PollClosePollResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11767,9 +16325,9 @@ class _$ChatDeleteMessageResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatDeleteMessageResponseApplicationJson_Ocs))! - as ChatDeleteMessageResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs))! + as PollClosePollResponseApplicationJson_Ocs); break; } } @@ -11778,30 +16336,36 @@ class _$ChatDeleteMessageResponseApplicationJsonSerializer } } -class _$ChatChatDeleteMessageHeadersSerializer implements StructuredSerializer { +class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatChatDeleteMessageHeaders, _$ChatChatDeleteMessageHeaders]; + final Iterable types = const [ + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data, + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ChatChatDeleteMessageHeaders'; + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ChatChatDeleteMessageHeaders object, + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + ]; + return result; } @override - ChatChatDeleteMessageHeaders deserialize(Serializers serializers, Iterable serialized, + PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatDeleteMessageHeadersBuilder(); + final result = PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11809,8 +16373,14 @@ class _$ChatChatDeleteMessageHeadersSerializer implements StructuredSerializer { +class _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetMessageContextResponseApplicationJson_Ocs, - _$ChatGetMessageContextResponseApplicationJson_Ocs + PublicShareAuthCreateRoomResponseApplicationJson_Ocs, + _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatGetMessageContextResponseApplicationJson_Ocs'; + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)])), + serializers.serialize(object.data, + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ChatGetMessageContextResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + PublicShareAuthCreateRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetMessageContextResponseApplicationJson_OcsBuilder(); + final result = PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11858,7 +16430,8 @@ class _$ChatGetMessageContextResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ChatMessageWithParent)]))! as BuiltList); + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data))! + as PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data); break; } } @@ -11867,32 +16440,32 @@ class _$ChatGetMessageContextResponseApplicationJson_OcsSerializer } } -class _$ChatGetMessageContextResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetMessageContextResponseApplicationJson, - _$ChatGetMessageContextResponseApplicationJson + PublicShareAuthCreateRoomResponseApplicationJson, + _$PublicShareAuthCreateRoomResponseApplicationJson ]; @override - final String wireName = 'ChatGetMessageContextResponseApplicationJson'; + final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatGetMessageContextResponseApplicationJson object, + Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(ChatGetMessageContextResponseApplicationJson_Ocs)), + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs)), ]; return result; } @override - ChatGetMessageContextResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PublicShareAuthCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetMessageContextResponseApplicationJsonBuilder(); + final result = PublicShareAuthCreateRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11902,8 +16475,8 @@ class _$ChatGetMessageContextResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatGetMessageContextResponseApplicationJson_Ocs))! - as ChatGetMessageContextResponseApplicationJson_Ocs); + specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs))! + as PublicShareAuthCreateRoomResponseApplicationJson_Ocs); break; } } @@ -11912,36 +16485,33 @@ class _$ChatGetMessageContextResponseApplicationJsonSerializer } } -class _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializer { +class _$ReactionSerializer implements StructuredSerializer { @override - final Iterable types = const [ChatChatGetMessageContextHeaders, _$ChatChatGetMessageContextHeaders]; + final Iterable types = const [Reaction, _$Reaction]; @override - final String wireName = 'ChatChatGetMessageContextHeaders'; + final String wireName = 'Reaction'; @override - Iterable serialize(Serializers serializers, ChatChatGetMessageContextHeaders object, + Iterable serialize(Serializers serializers, Reaction object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.xChatLastGiven; - if (value != null) { - result - ..add('x-chat-last-given') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'actorDisplayName', + serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), + 'actorId', + serializers.serialize(object.actorId, specifiedType: const FullType(String)), + 'actorType', + serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), + 'timestamp', + serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + ]; + return result; } @override - ChatChatGetMessageContextHeaders deserialize(Serializers serializers, Iterable serialized, + Reaction deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatGetMessageContextHeadersBuilder(); + final result = ReactionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11949,11 +16519,17 @@ class _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-chat-last-common-read': - result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'actorDisplayName': + result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'x-chat-last-given': - result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'actorId': + result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'actorType': + result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; + break; + case 'timestamp': + result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -11962,33 +16538,37 @@ class _$ChatChatGetMessageContextHeadersSerializer implements StructuredSerializ } } -class _$ChatReminderSerializer implements StructuredSerializer { +class _$ReactionGetReactionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatReminder, _$ChatReminder]; + final Iterable types = const [ + ReactionGetReactionsResponseApplicationJson_Ocs, + _$ReactionGetReactionsResponseApplicationJson_Ocs + ]; @override - final String wireName = 'ChatReminder'; + final String wireName = 'ReactionGetReactionsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatReminder object, + Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'messageId', - serializers.serialize(object.messageId, specifiedType: const FullType(int)), - 'timestamp', - serializers.serialize(object.timestamp, specifiedType: const FullType(int)), - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'userId', - serializers.serialize(object.userId, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), ]; return result; } @override - ChatReminder deserialize(Serializers serializers, Iterable serialized, + ReactionGetReactionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatReminderBuilder(); + final result = ReactionGetReactionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -11996,17 +16576,59 @@ class _$ChatReminderSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'messageId': - result.messageId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'timestamp': - result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); break; - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + } + } + + return result.build(); + } +} + +class _$ReactionGetReactionsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ReactionGetReactionsResponseApplicationJson, + _$ReactionGetReactionsResponseApplicationJson + ]; + @override + final String wireName = 'ReactionGetReactionsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionGetReactionsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ReactionGetReactionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ReactionGetReactionsResponseApplicationJsonBuilder(); + + 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(ReactionGetReactionsResponseApplicationJson_Ocs))! + as ReactionGetReactionsResponseApplicationJson_Ocs); break; } } @@ -12015,33 +16637,37 @@ class _$ChatReminderSerializer implements StructuredSerializer { } } -class _$ChatGetReminderResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReactionReactResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetReminderResponseApplicationJson_Ocs, - _$ChatGetReminderResponseApplicationJson_Ocs + ReactionReactResponseApplicationJson_Ocs, + _$ReactionReactResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatGetReminderResponseApplicationJson_Ocs'; + final String wireName = 'ReactionReactResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), ]; return result; } @override - ChatGetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ReactionReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetReminderResponseApplicationJson_OcsBuilder(); + final result = ReactionReactResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12053,8 +16679,11 @@ class _$ChatGetReminderResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data - .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); break; } } @@ -12062,29 +16691,29 @@ class _$ChatGetReminderResponseApplicationJson_OcsSerializer return result.build(); } } - -class _$ChatGetReminderResponseApplicationJsonSerializer - implements StructuredSerializer { + +class _$ReactionReactResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatGetReminderResponseApplicationJson, _$ChatGetReminderResponseApplicationJson]; + final Iterable types = const [ReactionReactResponseApplicationJson, _$ReactionReactResponseApplicationJson]; @override - final String wireName = 'ChatGetReminderResponseApplicationJson'; + final String wireName = 'ReactionReactResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatGetReminderResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatGetReminderResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs)), ]; return result; } @override - ChatGetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReactionReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetReminderResponseApplicationJsonBuilder(); + final result = ReactionReactResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12094,8 +16723,8 @@ class _$ChatGetReminderResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ChatGetReminderResponseApplicationJson_Ocs))! - as ChatGetReminderResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs))! + as ReactionReactResponseApplicationJson_Ocs); break; } } @@ -12104,33 +16733,37 @@ class _$ChatGetReminderResponseApplicationJsonSerializer } } -class _$ChatSetReminderResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$ReactionDeleteResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatSetReminderResponseApplicationJson_Ocs, - _$ChatSetReminderResponseApplicationJson_Ocs + ReactionDeleteResponseApplicationJson_Ocs, + _$ReactionDeleteResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatSetReminderResponseApplicationJson_Ocs'; + final String wireName = 'ReactionDeleteResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(ChatReminder)), + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ])), ]; return result; } @override - ChatSetReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + ReactionDeleteResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSetReminderResponseApplicationJson_OcsBuilder(); + final result = ReactionDeleteResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12142,8 +16775,11 @@ class _$ChatSetReminderResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data - .replace(serializers.deserialize(value, specifiedType: const FullType(ChatReminder))! as ChatReminder); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(Reaction)]) + ]))!); break; } } @@ -12152,28 +16788,28 @@ class _$ChatSetReminderResponseApplicationJson_OcsSerializer } } -class _$ChatSetReminderResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$ReactionDeleteResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatSetReminderResponseApplicationJson, _$ChatSetReminderResponseApplicationJson]; + final Iterable types = const [ReactionDeleteResponseApplicationJson, _$ReactionDeleteResponseApplicationJson]; @override - final String wireName = 'ChatSetReminderResponseApplicationJson'; + final String wireName = 'ReactionDeleteResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatSetReminderResponseApplicationJson object, + Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReminderResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs)), ]; return result; } @override - ChatSetReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + ReactionDeleteResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSetReminderResponseApplicationJsonBuilder(); + final result = ReactionDeleteResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12183,8 +16819,8 @@ class _$ChatSetReminderResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ChatSetReminderResponseApplicationJson_Ocs))! - as ChatSetReminderResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs))! + as ReactionDeleteResponseApplicationJson_Ocs); break; } } @@ -12193,18 +16829,18 @@ class _$ChatSetReminderResponseApplicationJsonSerializer } } -class _$ChatDeleteReminderResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RecordingStartResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatDeleteReminderResponseApplicationJson_Ocs, - _$ChatDeleteReminderResponseApplicationJson_Ocs + RecordingStartResponseApplicationJson_Ocs, + _$RecordingStartResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatDeleteReminderResponseApplicationJson_Ocs'; + final String wireName = 'RecordingStartResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -12217,9 +16853,9 @@ class _$ChatDeleteReminderResponseApplicationJson_OcsSerializer } @override - ChatDeleteReminderResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RecordingStartResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatDeleteReminderResponseApplicationJson_OcsBuilder(); + final result = RecordingStartResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12240,31 +16876,28 @@ class _$ChatDeleteReminderResponseApplicationJson_OcsSerializer } } -class _$ChatDeleteReminderResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RecordingStartResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatDeleteReminderResponseApplicationJson, - _$ChatDeleteReminderResponseApplicationJson - ]; + final Iterable types = const [RecordingStartResponseApplicationJson, _$RecordingStartResponseApplicationJson]; @override - final String wireName = 'ChatDeleteReminderResponseApplicationJson'; + final String wireName = 'RecordingStartResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatDeleteReminderResponseApplicationJson object, + Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatDeleteReminderResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs)), ]; return result; } @override - ChatDeleteReminderResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RecordingStartResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatDeleteReminderResponseApplicationJsonBuilder(); + final result = RecordingStartResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12273,9 +16906,9 @@ class _$ChatDeleteReminderResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatDeleteReminderResponseApplicationJson_Ocs))! - as ChatDeleteReminderResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs))! + as RecordingStartResponseApplicationJson_Ocs); break; } } @@ -12284,18 +16917,18 @@ class _$ChatDeleteReminderResponseApplicationJsonSerializer } } -class _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RecordingStopResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatSetReadMarkerResponseApplicationJson_Ocs, - _$ChatSetReadMarkerResponseApplicationJson_Ocs + RecordingStopResponseApplicationJson_Ocs, + _$RecordingStopResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatSetReadMarkerResponseApplicationJson_Ocs'; + final String wireName = 'RecordingStopResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -12308,9 +16941,9 @@ class _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer } @override - ChatSetReadMarkerResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RecordingStopResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSetReadMarkerResponseApplicationJson_OcsBuilder(); + final result = RecordingStopResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12331,31 +16964,28 @@ class _$ChatSetReadMarkerResponseApplicationJson_OcsSerializer } } -class _$ChatSetReadMarkerResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RecordingStopResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatSetReadMarkerResponseApplicationJson, - _$ChatSetReadMarkerResponseApplicationJson - ]; + final Iterable types = const [RecordingStopResponseApplicationJson, _$RecordingStopResponseApplicationJson]; @override - final String wireName = 'ChatSetReadMarkerResponseApplicationJson'; + final String wireName = 'RecordingStopResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatSetReadMarkerResponseApplicationJson object, + Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs)), ]; return result; } @override - ChatSetReadMarkerResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RecordingStopResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatSetReadMarkerResponseApplicationJsonBuilder(); + final result = RecordingStopResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12364,50 +16994,9 @@ class _$ChatSetReadMarkerResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatSetReadMarkerResponseApplicationJson_Ocs))! - as ChatSetReadMarkerResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$ChatChatSetReadMarkerHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [ChatChatSetReadMarkerHeaders, _$ChatChatSetReadMarkerHeaders]; - @override - final String wireName = 'ChatChatSetReadMarkerHeaders'; - - @override - Iterable serialize(Serializers serializers, ChatChatSetReadMarkerHeaders object, - {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; - } - - @override - ChatChatSetReadMarkerHeaders deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatSetReadMarkerHeadersBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'x-chat-last-common-read': - result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs))! + as RecordingStopResponseApplicationJson_Ocs); break; } } @@ -12416,18 +17005,18 @@ class _$ChatChatSetReadMarkerHeadersSerializer implements StructuredSerializer { +class _$RecordingStoreResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatMarkUnreadResponseApplicationJson_Ocs, - _$ChatMarkUnreadResponseApplicationJson_Ocs + RecordingStoreResponseApplicationJson_Ocs, + _$RecordingStoreResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatMarkUnreadResponseApplicationJson_Ocs'; + final String wireName = 'RecordingStoreResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -12440,9 +17029,9 @@ class _$ChatMarkUnreadResponseApplicationJson_OcsSerializer } @override - ChatMarkUnreadResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RecordingStoreResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMarkUnreadResponseApplicationJson_OcsBuilder(); + final result = RecordingStoreResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12463,28 +17052,28 @@ class _$ChatMarkUnreadResponseApplicationJson_OcsSerializer } } -class _$ChatMarkUnreadResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RecordingStoreResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatMarkUnreadResponseApplicationJson, _$ChatMarkUnreadResponseApplicationJson]; + final Iterable types = const [RecordingStoreResponseApplicationJson, _$RecordingStoreResponseApplicationJson]; @override - final String wireName = 'ChatMarkUnreadResponseApplicationJson'; + final String wireName = 'RecordingStoreResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatMarkUnreadResponseApplicationJson object, + Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatMarkUnreadResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs)), ]; return result; } @override - ChatMarkUnreadResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RecordingStoreResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMarkUnreadResponseApplicationJsonBuilder(); + final result = RecordingStoreResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12494,8 +17083,8 @@ class _$ChatMarkUnreadResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ChatMarkUnreadResponseApplicationJson_Ocs))! - as ChatMarkUnreadResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs))! + as RecordingStoreResponseApplicationJson_Ocs); break; } } @@ -12504,30 +17093,34 @@ class _$ChatMarkUnreadResponseApplicationJsonSerializer } } -class _$ChatChatMarkUnreadHeadersSerializer implements StructuredSerializer { +class _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatChatMarkUnreadHeaders, _$ChatChatMarkUnreadHeaders]; + final Iterable types = const [ + RecordingNotificationDismissResponseApplicationJson_Ocs, + _$RecordingNotificationDismissResponseApplicationJson_Ocs + ]; @override - final String wireName = 'ChatChatMarkUnreadHeaders'; + final String wireName = 'RecordingNotificationDismissResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatChatMarkUnreadHeaders object, + Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastCommonRead; - if (value != null) { - result - ..add('x-chat-last-common-read') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + return result; } @override - ChatChatMarkUnreadHeaders deserialize(Serializers serializers, Iterable serialized, + RecordingNotificationDismissResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatMarkUnreadHeadersBuilder(); + final result = RecordingNotificationDismissResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12535,8 +17128,11 @@ class _$ChatChatMarkUnreadHeadersSerializer implements StructuredSerializer { +class _$RecordingNotificationDismissResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatMentionSuggestion, _$ChatMentionSuggestion]; + final Iterable types = const [ + RecordingNotificationDismissResponseApplicationJson, + _$RecordingNotificationDismissResponseApplicationJson + ]; @override - final String wireName = 'ChatMentionSuggestion'; + final String wireName = 'RecordingNotificationDismissResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatMentionSuggestion object, + Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'label', - serializers.serialize(object.label, specifiedType: const FullType(String)), - 'source', - serializers.serialize(object.source, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs)), ]; - Object? value; - value = object.status; - if (value != null) { - result - ..add('status') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusClearAt; - if (value != null) { - result - ..add('statusClearAt') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.statusIcon; - if (value != null) { - result - ..add('statusIcon') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusMessage; - if (value != null) { - result - ..add('statusMessage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - ChatMentionSuggestion deserialize(Serializers serializers, Iterable serialized, + RecordingNotificationDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMentionSuggestionBuilder(); + final result = RecordingNotificationDismissResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12601,26 +17174,10 @@ class _$ChatMentionSuggestionSerializer implements StructuredSerializer { +class _$RecordingShareToChatResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatMentionsResponseApplicationJson_Ocs, - _$ChatMentionsResponseApplicationJson_Ocs + RecordingShareToChatResponseApplicationJson_Ocs, + _$RecordingShareToChatResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatMentionsResponseApplicationJson_Ocs'; + final String wireName = 'RecordingShareToChatResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)])), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - ChatMentionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RecordingShareToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMentionsResponseApplicationJson_OcsBuilder(); + final result = RecordingShareToChatResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12667,8 +17224,7 @@ class _$ChatMentionsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ChatMentionSuggestion)]))! as BuiltList); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -12677,28 +17233,31 @@ class _$ChatMentionsResponseApplicationJson_OcsSerializer } } -class _$ChatMentionsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RecordingShareToChatResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatMentionsResponseApplicationJson, _$ChatMentionsResponseApplicationJson]; + final Iterable types = const [ + RecordingShareToChatResponseApplicationJson, + _$RecordingShareToChatResponseApplicationJson + ]; @override - final String wireName = 'ChatMentionsResponseApplicationJson'; + final String wireName = 'RecordingShareToChatResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatMentionsResponseApplicationJson object, + Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs)), ]; return result; } @override - ChatMentionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RecordingShareToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatMentionsResponseApplicationJsonBuilder(); + final result = RecordingShareToChatResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12707,9 +17266,9 @@ class _$ChatMentionsResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ChatMentionsResponseApplicationJson_Ocs))! - as ChatMentionsResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs))! + as RecordingShareToChatResponseApplicationJson_Ocs); break; } } @@ -12718,34 +17277,33 @@ class _$ChatMentionsResponseApplicationJsonSerializer } } -class _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs, - _$ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data, + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data ]; @override - final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs'; + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(ChatMessage)])), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(double)), ]; return result; } @override - ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs deserialize( + RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetObjectsSharedInRoomResponseApplicationJson_OcsBuilder(); + final result = RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12753,12 +17311,8 @@ class _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(ChatMessage)]))! as BuiltList); + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; } } @@ -12767,32 +17321,35 @@ class _$ChatGetObjectsSharedInRoomResponseApplicationJson_OcsSerializer } } -class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetObjectsSharedInRoomResponseApplicationJson, - _$ChatGetObjectsSharedInRoomResponseApplicationJson + RecordingGetWelcomeMessageResponseApplicationJson_Ocs, + _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatGetObjectsSharedInRoomResponseApplicationJson'; + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data)), ]; return result; } @override - ChatGetObjectsSharedInRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RecordingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetObjectsSharedInRoomResponseApplicationJsonBuilder(); + final result = RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12800,10 +17357,13 @@ class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs))! - as ChatGetObjectsSharedInRoomResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data))! + as RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data); break; } } @@ -12812,31 +17372,32 @@ class _$ChatGetObjectsSharedInRoomResponseApplicationJsonSerializer } } -class _$ChatChatGetObjectsSharedInRoomHeadersSerializer - implements StructuredSerializer { +class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ChatChatGetObjectsSharedInRoomHeaders, _$ChatChatGetObjectsSharedInRoomHeaders]; + final Iterable types = const [ + RecordingGetWelcomeMessageResponseApplicationJson, + _$RecordingGetWelcomeMessageResponseApplicationJson + ]; @override - final String wireName = 'ChatChatGetObjectsSharedInRoomHeaders'; + final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatChatGetObjectsSharedInRoomHeaders object, + Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xChatLastGiven; - if (value != null) { - result - ..add('x-chat-last-given') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs)), + ]; + return result; } @override - ChatChatGetObjectsSharedInRoomHeaders deserialize(Serializers serializers, Iterable serialized, + RecordingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatGetObjectsSharedInRoomHeadersBuilder(); + final result = RecordingGetWelcomeMessageResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12844,8 +17405,10 @@ class _$ChatChatGetObjectsSharedInRoomHeadersSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-chat-last-given': - result.xChatLastGiven = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs))! + as RecordingGetWelcomeMessageResponseApplicationJson_Ocs); break; } } @@ -12854,37 +17417,33 @@ class _$ChatChatGetObjectsSharedInRoomHeadersSerializer } } -class _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatShareObjectToChatResponseApplicationJson_Ocs, - _$ChatShareObjectToChatResponseApplicationJson_Ocs + RoomGetRoomsResponseApplicationJson_Ocs, + _$RoomGetRoomsResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatShareObjectToChatResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetRoomsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - ]; - Object? value; - value = object.data; - if (value != null) { - result - ..add('data') - ..add(serializers.serialize(value, specifiedType: const FullType(ChatMessageWithParent))); - } + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + ]; + return result; } @override - ChatShareObjectToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomGetRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatShareObjectToChatResponseApplicationJson_OcsBuilder(); + final result = RoomGetRoomsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12896,8 +17455,8 @@ class _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ChatMessageWithParent))! - as ChatMessageWithParent); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); break; } } @@ -12906,32 +17465,28 @@ class _$ChatShareObjectToChatResponseApplicationJson_OcsSerializer } } -class _$ChatShareObjectToChatResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomGetRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatShareObjectToChatResponseApplicationJson, - _$ChatShareObjectToChatResponseApplicationJson - ]; + final Iterable types = const [RoomGetRoomsResponseApplicationJson, _$RoomGetRoomsResponseApplicationJson]; @override - final String wireName = 'ChatShareObjectToChatResponseApplicationJson'; + final String wireName = 'RoomGetRoomsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatShareObjectToChatResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs)), ]; return result; } @override - ChatShareObjectToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomGetRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatShareObjectToChatResponseApplicationJsonBuilder(); + final result = RoomGetRoomsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12940,9 +17495,9 @@ class _$ChatShareObjectToChatResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatShareObjectToChatResponseApplicationJson_Ocs))! - as ChatShareObjectToChatResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs))! + as RoomGetRoomsResponseApplicationJson_Ocs); break; } } @@ -12951,30 +17506,36 @@ class _$ChatShareObjectToChatResponseApplicationJsonSerializer } } -class _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializer { +class _$RoomRoomGetRoomsHeadersSerializer implements StructuredSerializer { @override - final Iterable types = const [ChatChatShareObjectToChatHeaders, _$ChatChatShareObjectToChatHeaders]; + final Iterable types = const [RoomRoomGetRoomsHeaders, _$RoomRoomGetRoomsHeaders]; @override - final String wireName = 'ChatChatShareObjectToChatHeaders'; + final String wireName = 'RoomRoomGetRoomsHeaders'; @override - Iterable serialize(Serializers serializers, ChatChatShareObjectToChatHeaders object, + Iterable serialize(Serializers serializers, RoomRoomGetRoomsHeaders object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; - value = object.xChatLastCommonRead; + value = object.xNextcloudTalkHash; if (value != null) { result - ..add('x-chat-last-common-read') + ..add('x-nextcloud-talk-hash') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.xNextcloudTalkModifiedBefore; + if (value != null) { + result + ..add('x-nextcloud-talk-modified-before') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - ChatChatShareObjectToChatHeaders deserialize(Serializers serializers, Iterable serialized, + RoomRoomGetRoomsHeaders deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatChatShareObjectToChatHeadersBuilder(); + final result = RoomRoomGetRoomsHeadersBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -12982,8 +17543,12 @@ class _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-chat-last-common-read': - result.xChatLastCommonRead = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'x-nextcloud-talk-modified-before': + result.xNextcloudTalkModifiedBefore = + serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -12992,39 +17557,33 @@ class _$ChatChatShareObjectToChatHeadersSerializer implements StructuredSerializ } } -class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomCreateRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs, - _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs + RoomCreateRoomResponseApplicationJson_Ocs, + _$RoomCreateRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs'; + final String wireName = 'RoomCreateRoomResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(ChatMessage)]) - ])), + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomCreateRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsBuilder(); + final result = RoomCreateRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13036,11 +17595,7 @@ class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(ChatMessage)]) - ]))!); + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -13049,33 +17604,28 @@ class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_OcsSerializer } } -class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomCreateRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, - _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJson - ]; + final Iterable types = const [RoomCreateRoomResponseApplicationJson, _$RoomCreateRoomResponseApplicationJson]; @override - final String wireName = 'ChatGetObjectsSharedInRoomOverviewResponseApplicationJson'; + final String wireName = 'RoomCreateRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ChatGetObjectsSharedInRoomOverviewResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs)), ]; return result; } @override - ChatGetObjectsSharedInRoomOverviewResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonBuilder(); + final result = RoomCreateRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13084,53 +17634,9 @@ class _$ChatGetObjectsSharedInRoomOverviewResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs))! - as ChatGetObjectsSharedInRoomOverviewResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data, - _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data - ]; - @override - final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data'; - - @override - Iterable serialize( - Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - ]; - - return result; - } - - @override - FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_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 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs))! + as RoomCreateRoomResponseApplicationJson_Ocs); break; } } @@ -13139,36 +17645,33 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_DataSerialize } } -class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs, - _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs + RoomGetListedRoomsResponseApplicationJson_Ocs, + _$RoomGetListedRoomsResponseApplicationJson_Ocs ]; @override - final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetListedRoomsResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), ]; return result; } @override - FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomGetListedRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsBuilder(); + final result = RoomGetListedRoomsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13181,8 +17684,7 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data))! - as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs_Data); + specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); break; } } @@ -13191,33 +17693,31 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJson_OcsSerializer } } -class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomGetListedRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesIntegrationGetRoomByFileIdResponseApplicationJson, - _$FilesIntegrationGetRoomByFileIdResponseApplicationJson + RoomGetListedRoomsResponseApplicationJson, + _$RoomGetListedRoomsResponseApplicationJson ]; @override - final String wireName = 'FilesIntegrationGetRoomByFileIdResponseApplicationJson'; + final String wireName = 'RoomGetListedRoomsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, FilesIntegrationGetRoomByFileIdResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs)), ]; return result; } @override - FilesIntegrationGetRoomByFileIdResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomGetListedRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByFileIdResponseApplicationJsonBuilder(); + final result = RoomGetListedRoomsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13227,8 +17727,8 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs))! - as FilesIntegrationGetRoomByFileIdResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs))! + as RoomGetListedRoomsResponseApplicationJson_Ocs); break; } } @@ -13237,37 +17737,34 @@ class _$FilesIntegrationGetRoomByFileIdResponseApplicationJsonSerializer } } -class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data, - _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs, + _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs ]; @override - final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data'; + final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'userId', - serializers.serialize(object.userId, specifiedType: const FullType(String)), - 'userDisplayName', - serializers.serialize(object.userDisplayName, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data deserialize( + RoomGetNoteToSelfConversationResponseApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataBuilder(); + final result = RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13275,14 +17772,11 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSeria iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'userDisplayName': - result.userDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -13291,36 +17785,33 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_DataSeria } } -class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs, - _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs + RoomGetNoteToSelfConversationResponseApplicationJson, + _$RoomGetNoteToSelfConversationResponseApplicationJson ]; @override - final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs)), ]; return result; } @override - FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs deserialize( + RoomGetNoteToSelfConversationResponseApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsBuilder(); + final result = RoomGetNoteToSelfConversationResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13328,13 +17819,10 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data))! - as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs))! + as RoomGetNoteToSelfConversationResponseApplicationJson_Ocs); break; } } @@ -13343,34 +17831,34 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson_OcsSerializer } } -class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomRoomGetNoteToSelfConversationHeadersSerializer + implements StructuredSerializer { @override final Iterable types = const [ - FilesIntegrationGetRoomByShareTokenResponseApplicationJson, - _$FilesIntegrationGetRoomByShareTokenResponseApplicationJson + RoomRoomGetNoteToSelfConversationHeaders, + _$RoomRoomGetNoteToSelfConversationHeaders ]; @override - final String wireName = 'FilesIntegrationGetRoomByShareTokenResponseApplicationJson'; + final String wireName = 'RoomRoomGetNoteToSelfConversationHeaders'; @override - Iterable serialize( - Serializers serializers, FilesIntegrationGetRoomByShareTokenResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomRoomGetNoteToSelfConversationHeaders object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs)), - ]; - + final result = []; + Object? value; + value = object.xNextcloudTalkHash; + if (value != null) { + result + ..add('x-nextcloud-talk-hash') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - FilesIntegrationGetRoomByShareTokenResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomRoomGetNoteToSelfConversationHeaders deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = FilesIntegrationGetRoomByShareTokenResponseApplicationJsonBuilder(); + final result = RoomRoomGetNoteToSelfConversationHeadersBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13378,10 +17866,8 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs))! - as FilesIntegrationGetRoomByShareTokenResponseApplicationJson_Ocs); + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -13390,33 +17876,33 @@ class _$FilesIntegrationGetRoomByShareTokenResponseApplicationJsonSerializer } } -class _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - GuestSetDisplayNameResponseApplicationJson_Ocs, - _$GuestSetDisplayNameResponseApplicationJson_Ocs + RoomGetSingleRoomResponseApplicationJson_Ocs, + _$RoomGetSingleRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'GuestSetDisplayNameResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetSingleRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - GuestSetDisplayNameResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomGetSingleRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = GuestSetDisplayNameResponseApplicationJson_OcsBuilder(); + final result = RoomGetSingleRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13428,7 +17914,7 @@ class _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -13437,31 +17923,31 @@ class _$GuestSetDisplayNameResponseApplicationJson_OcsSerializer } } -class _$GuestSetDisplayNameResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomGetSingleRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - GuestSetDisplayNameResponseApplicationJson, - _$GuestSetDisplayNameResponseApplicationJson + RoomGetSingleRoomResponseApplicationJson, + _$RoomGetSingleRoomResponseApplicationJson ]; @override - final String wireName = 'GuestSetDisplayNameResponseApplicationJson'; + final String wireName = 'RoomGetSingleRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, GuestSetDisplayNameResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs)), ]; return result; } @override - GuestSetDisplayNameResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomGetSingleRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = GuestSetDisplayNameResponseApplicationJsonBuilder(); + final result = RoomGetSingleRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13471,8 +17957,8 @@ class _$GuestSetDisplayNameResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(GuestSetDisplayNameResponseApplicationJson_Ocs))! - as GuestSetDisplayNameResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs))! + as RoomGetSingleRoomResponseApplicationJson_Ocs); break; } } @@ -13481,36 +17967,30 @@ class _$GuestSetDisplayNameResponseApplicationJsonSerializer } } -class _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomRoomGetSingleRoomHeadersSerializer implements StructuredSerializer { @override - final Iterable types = const [ - HostedSignalingServerRequestTrialResponseApplicationJson_Ocs, - _$HostedSignalingServerRequestTrialResponseApplicationJson_Ocs - ]; + final Iterable types = const [RoomRoomGetSingleRoomHeaders, _$RoomRoomGetSingleRoomHeaders]; @override - final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson_Ocs'; + final String wireName = 'RoomRoomGetSingleRoomHeaders'; @override - Iterable serialize( - Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomRoomGetSingleRoomHeaders object, {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), - ]; - + final result = []; + Object? value; + value = object.xNextcloudTalkHash; + if (value != null) { + result + ..add('x-nextcloud-talk-hash') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - HostedSignalingServerRequestTrialResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomRoomGetSingleRoomHeaders deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HostedSignalingServerRequestTrialResponseApplicationJson_OcsBuilder(); + final result = RoomRoomGetSingleRoomHeadersBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13518,12 +17998,8 @@ class _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); + case 'x-nextcloud-talk-hash': + result.xNextcloudTalkHash = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -13532,33 +18008,33 @@ class _$HostedSignalingServerRequestTrialResponseApplicationJson_OcsSerializer } } -class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomRenameRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - HostedSignalingServerRequestTrialResponseApplicationJson, - _$HostedSignalingServerRequestTrialResponseApplicationJson + RoomRenameRoomResponseApplicationJson_Ocs, + _$RoomRenameRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'HostedSignalingServerRequestTrialResponseApplicationJson'; + final String wireName = 'RoomRenameRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, HostedSignalingServerRequestTrialResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - HostedSignalingServerRequestTrialResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomRenameRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HostedSignalingServerRequestTrialResponseApplicationJsonBuilder(); + final result = RoomRenameRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13566,10 +18042,11 @@ class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(HostedSignalingServerRequestTrialResponseApplicationJson_Ocs))! - as HostedSignalingServerRequestTrialResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -13578,35 +18055,28 @@ class _$HostedSignalingServerRequestTrialResponseApplicationJsonSerializer } } -class _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomRenameRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs, - _$HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs - ]; + final Iterable types = const [RoomRenameRoomResponseApplicationJson, _$RoomRenameRoomResponseApplicationJson]; @override - final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs'; + final String wireName = 'RoomRenameRoomResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs)), ]; return result; } @override - HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomRenameRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HostedSignalingServerDeleteAccountResponseApplicationJson_OcsBuilder(); + final result = RoomRenameRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13614,11 +18084,10 @@ class _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs))! + as RoomRenameRoomResponseApplicationJson_Ocs); break; } } @@ -13627,33 +18096,33 @@ class _$HostedSignalingServerDeleteAccountResponseApplicationJson_OcsSerializer } } -class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomDeleteRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - HostedSignalingServerDeleteAccountResponseApplicationJson, - _$HostedSignalingServerDeleteAccountResponseApplicationJson + RoomDeleteRoomResponseApplicationJson_Ocs, + _$RoomDeleteRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'HostedSignalingServerDeleteAccountResponseApplicationJson'; + final String wireName = 'RoomDeleteRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, HostedSignalingServerDeleteAccountResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - HostedSignalingServerDeleteAccountResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomDeleteRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = HostedSignalingServerDeleteAccountResponseApplicationJsonBuilder(); + final result = RoomDeleteRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13661,10 +18130,11 @@ class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs))! - as HostedSignalingServerDeleteAccountResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -13673,34 +18143,28 @@ class _$HostedSignalingServerDeleteAccountResponseApplicationJsonSerializer } } -class _$MatterbridgeSerializer implements StructuredSerializer { +class _$RoomDeleteRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [Matterbridge, _$Matterbridge]; + final Iterable types = const [RoomDeleteRoomResponseApplicationJson, _$RoomDeleteRoomResponseApplicationJson]; @override - final String wireName = 'Matterbridge'; + final String wireName = 'RoomDeleteRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, Matterbridge object, + Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'parts', - serializers.serialize(object.parts, - specifiedType: const FullType(BuiltList, [ - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ])), - 'pid', - serializers.serialize(object.pid, specifiedType: const FullType(int)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs)), ]; return result; } @override - Matterbridge deserialize(Serializers serializers, Iterable serialized, + RoomDeleteRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeBuilder(); + final result = RoomDeleteRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13708,17 +18172,10 @@ class _$MatterbridgeSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'parts': - result.parts.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [ - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ]))! as BuiltList); - break; - case 'pid': - result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs))! + as RoomDeleteRoomResponseApplicationJson_Ocs); break; } } @@ -13727,29 +18184,33 @@ class _$MatterbridgeSerializer implements StructuredSerializer { } } -class _$MatterbridgeProcessStateSerializer implements StructuredSerializer { +class _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [MatterbridgeProcessState, _$MatterbridgeProcessState]; + final Iterable types = const [ + RoomGetBreakoutRoomsResponseApplicationJson_Ocs, + _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs + ]; @override - final String wireName = 'MatterbridgeProcessState'; + final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, MatterbridgeProcessState object, + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'log', - serializers.serialize(object.log, specifiedType: const FullType(String)), - 'running', - serializers.serialize(object.running, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), ]; return result; } @override - MatterbridgeProcessState deserialize(Serializers serializers, Iterable serialized, + RoomGetBreakoutRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeProcessStateBuilder(); + final result = RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13757,11 +18218,12 @@ class _$MatterbridgeProcessStateSerializer implements StructuredSerializer); break; } } @@ -13770,38 +18232,31 @@ class _$MatterbridgeProcessStateSerializer implements StructuredSerializer { +class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [MatterbridgeWithProcessState, _$MatterbridgeWithProcessState]; + final Iterable types = const [ + RoomGetBreakoutRoomsResponseApplicationJson, + _$RoomGetBreakoutRoomsResponseApplicationJson + ]; @override - final String wireName = 'MatterbridgeWithProcessState'; + final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeWithProcessState object, + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'parts', - serializers.serialize(object.parts, - specifiedType: const FullType(BuiltList, [ - FullType(BuiltMap, [FullType(String), FullType(JsonObject)]) - ])), - 'pid', - serializers.serialize(object.pid, specifiedType: const FullType(int)), - 'log', - serializers.serialize(object.log, specifiedType: const FullType(String)), - 'running', - serializers.serialize(object.running, specifiedType: const FullType(bool)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeWithProcessState deserialize(Serializers serializers, Iterable serialized, + RoomGetBreakoutRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeWithProcessStateBuilder(); + final result = RoomGetBreakoutRoomsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13809,23 +18264,10 @@ class _$MatterbridgeWithProcessStateSerializer implements StructuredSerializer); - break; - case 'pid': - result.pid = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'log': - result.log = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'running': - result.running = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs))! + as RoomGetBreakoutRoomsResponseApplicationJson_Ocs); break; } } @@ -13834,34 +18276,33 @@ class _$MatterbridgeWithProcessStateSerializer implements StructuredSerializer { +class _$RoomMakePublicResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs, - _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs + RoomMakePublicResponseApplicationJson_Ocs, + _$RoomMakePublicResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomMakePublicResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeWithProcessState)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomMakePublicResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsBuilder(); + final result = RoomMakePublicResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13873,8 +18314,7 @@ class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeWithProcessState))! as MatterbridgeWithProcessState); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -13883,32 +18323,28 @@ class _$MatterbridgeGetBridgeOfRoomResponseApplicationJson_OcsSerializer } } -class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomMakePublicResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - MatterbridgeGetBridgeOfRoomResponseApplicationJson, - _$MatterbridgeGetBridgeOfRoomResponseApplicationJson - ]; + final Iterable types = const [RoomMakePublicResponseApplicationJson, _$RoomMakePublicResponseApplicationJson]; @override - final String wireName = 'MatterbridgeGetBridgeOfRoomResponseApplicationJson'; + final String wireName = 'RoomMakePublicResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeGetBridgeOfRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeGetBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomMakePublicResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeGetBridgeOfRoomResponseApplicationJsonBuilder(); + final result = RoomMakePublicResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13917,9 +18353,9 @@ class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs))! - as MatterbridgeGetBridgeOfRoomResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs))! + as RoomMakePublicResponseApplicationJson_Ocs); break; } } @@ -13928,34 +18364,33 @@ class _$MatterbridgeGetBridgeOfRoomResponseApplicationJsonSerializer } } -class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomMakePrivateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs, - _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs + RoomMakePrivateResponseApplicationJson_Ocs, + _$RoomMakePrivateResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomMakePrivateResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomMakePrivateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsBuilder(); + final result = RoomMakePrivateResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -13967,8 +18402,7 @@ class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! - as MatterbridgeProcessState); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -13977,32 +18411,28 @@ class _$MatterbridgeEditBridgeOfRoomResponseApplicationJson_OcsSerializer } } -class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomMakePrivateResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - MatterbridgeEditBridgeOfRoomResponseApplicationJson, - _$MatterbridgeEditBridgeOfRoomResponseApplicationJson - ]; + final Iterable types = const [RoomMakePrivateResponseApplicationJson, _$RoomMakePrivateResponseApplicationJson]; @override - final String wireName = 'MatterbridgeEditBridgeOfRoomResponseApplicationJson'; + final String wireName = 'RoomMakePrivateResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeEditBridgeOfRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeEditBridgeOfRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomMakePrivateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeEditBridgeOfRoomResponseApplicationJsonBuilder(); + final result = RoomMakePrivateResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14011,9 +18441,9 @@ class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs))! - as MatterbridgeEditBridgeOfRoomResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs))! + as RoomMakePrivateResponseApplicationJson_Ocs); break; } } @@ -14022,34 +18452,33 @@ class _$MatterbridgeEditBridgeOfRoomResponseApplicationJsonSerializer } } -class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetDescriptionResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs, - _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs + RoomSetDescriptionResponseApplicationJson_Ocs, + _$RoomSetDescriptionResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetDescriptionResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(bool)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomSetDescriptionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsBuilder(); + final result = RoomSetDescriptionResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14061,7 +18490,7 @@ class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -14070,33 +18499,31 @@ class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_OcsSerializer } } -class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetDescriptionResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeDeleteBridgeOfRoomResponseApplicationJson, - _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJson + RoomSetDescriptionResponseApplicationJson, + _$RoomSetDescriptionResponseApplicationJson ]; @override - final String wireName = 'MatterbridgeDeleteBridgeOfRoomResponseApplicationJson'; + final String wireName = 'RoomSetDescriptionResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeDeleteBridgeOfRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeDeleteBridgeOfRoomResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomSetDescriptionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonBuilder(); + final result = RoomSetDescriptionResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14106,8 +18533,8 @@ class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs))! - as MatterbridgeDeleteBridgeOfRoomResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs))! + as RoomSetDescriptionResponseApplicationJson_Ocs); break; } } @@ -14116,35 +18543,33 @@ class _$MatterbridgeDeleteBridgeOfRoomResponseApplicationJsonSerializer } } -class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs, - _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs + RoomSetReadOnlyResponseApplicationJson_Ocs, + _$RoomSetReadOnlyResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetReadOnlyResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(MatterbridgeProcessState)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomSetReadOnlyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsBuilder(); + final result = RoomSetReadOnlyResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14156,8 +18581,7 @@ class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(MatterbridgeProcessState))! - as MatterbridgeProcessState); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -14166,33 +18590,28 @@ class _$MatterbridgeGetBridgeProcessStateResponseApplicationJson_OcsSerializer } } -class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetReadOnlyResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - MatterbridgeGetBridgeProcessStateResponseApplicationJson, - _$MatterbridgeGetBridgeProcessStateResponseApplicationJson - ]; + final Iterable types = const [RoomSetReadOnlyResponseApplicationJson, _$RoomSetReadOnlyResponseApplicationJson]; @override - final String wireName = 'MatterbridgeGetBridgeProcessStateResponseApplicationJson'; + final String wireName = 'RoomSetReadOnlyResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeGetBridgeProcessStateResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeGetBridgeProcessStateResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomSetReadOnlyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeGetBridgeProcessStateResponseApplicationJsonBuilder(); + final result = RoomSetReadOnlyResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14201,9 +18620,9 @@ class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs))! - as MatterbridgeGetBridgeProcessStateResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs))! + as RoomSetReadOnlyResponseApplicationJson_Ocs); break; } } @@ -14212,35 +18631,33 @@ class _$MatterbridgeGetBridgeProcessStateResponseApplicationJsonSerializer } } -class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetListableResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs, - _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs + RoomSetListableResponseApplicationJson_Ocs, + _$RoomSetListableResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetListableResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(bool)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomSetListableResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsBuilder(); + final result = RoomSetListableResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14252,7 +18669,7 @@ class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -14261,33 +18678,28 @@ class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson_OcsSerializer } } -class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetListableResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - MatterbridgeSettingsStopAllBridgesResponseApplicationJson, - _$MatterbridgeSettingsStopAllBridgesResponseApplicationJson - ]; + final Iterable types = const [RoomSetListableResponseApplicationJson, _$RoomSetListableResponseApplicationJson]; @override - final String wireName = 'MatterbridgeSettingsStopAllBridgesResponseApplicationJson'; + final String wireName = 'RoomSetListableResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, MatterbridgeSettingsStopAllBridgesResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeSettingsStopAllBridgesResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomSetListableResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeSettingsStopAllBridgesResponseApplicationJsonBuilder(); + final result = RoomSetListableResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14296,9 +18708,9 @@ class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs))! - as MatterbridgeSettingsStopAllBridgesResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs))! + as RoomSetListableResponseApplicationJson_Ocs); break; } } @@ -14307,33 +18719,33 @@ class _$MatterbridgeSettingsStopAllBridgesResponseApplicationJsonSerializer } } -class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$RoomSetPasswordResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data, - _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data + RoomSetPasswordResponseApplicationJson_Ocs, + _$RoomSetPasswordResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data'; + final String wireName = 'RoomSetPasswordResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + RoomSetPasswordResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_DataBuilder(); + final result = RoomSetPasswordResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14341,8 +18753,11 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Da iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -14351,36 +18766,28 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Da } } -class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetPasswordResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs, - _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs - ]; + final Iterable types = const [RoomSetPasswordResponseApplicationJson, _$RoomSetPasswordResponseApplicationJson]; @override - final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetPasswordResponseApplicationJson'; @override - Iterable serialize( - Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs)), ]; return result; } @override - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomSetPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsBuilder(); + final result = RoomSetPasswordResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14388,14 +18795,10 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: - const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data))! - as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs))! + as RoomSetPasswordResponseApplicationJson_Ocs); break; } } @@ -14404,34 +18807,33 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_OcsSer } } -class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetPermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson, - _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson + RoomSetPermissionsResponseApplicationJson_Ocs, + _$RoomSetPermissionsResponseApplicationJson_Ocs ]; @override - final String wireName = 'MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson'; + final String wireName = 'RoomSetPermissionsResponseApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomSetPermissionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonBuilder(); + final result = RoomSetPermissionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14439,10 +18841,11 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSeriali iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs))! - as MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -14451,51 +18854,42 @@ class _$MatterbridgeSettingsGetMatterbridgeVersionResponseApplicationJsonSeriali } } -class _$PollVoteSerializer implements StructuredSerializer { +class _$RoomSetPermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [PollVote, _$PollVote]; + final Iterable types = const [ + RoomSetPermissionsResponseApplicationJson, + _$RoomSetPermissionsResponseApplicationJson + ]; @override - final String wireName = 'PollVote'; + final String wireName = 'RoomSetPermissionsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, PollVote object, + Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorDisplayName', - serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'optionId', - serializers.serialize(object.optionId, specifiedType: const FullType(int)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPermissionsResponseApplicationJson_Ocs)), ]; return result; } @override - PollVote deserialize(Serializers serializers, Iterable serialized, + RoomSetPermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollVoteBuilder(); + final result = RoomSetPermissionsResponseApplicationJsonBuilder(); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'actorDisplayName': - result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'optionId': - result.optionId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + 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(RoomSetPermissionsResponseApplicationJson_Ocs))! + as RoomSetPermissionsResponseApplicationJson_Ocs); break; } } @@ -14504,66 +18898,85 @@ class _$PollVoteSerializer implements StructuredSerializer { } } -class _$PollSerializer implements StructuredSerializer { +class _$ParticipantSerializer implements StructuredSerializer { @override - final Iterable types = const [Poll, _$Poll]; + final Iterable types = const [Participant, _$Participant]; @override - final String wireName = 'Poll'; + final String wireName = 'Participant'; @override - Iterable serialize(Serializers serializers, Poll object, {FullType specifiedType = FullType.unspecified}) { + Iterable serialize(Serializers serializers, Participant object, + {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorDisplayName', - serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), 'actorId', serializers.serialize(object.actorId, specifiedType: const FullType(String)), 'actorType', serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'maxVotes', - serializers.serialize(object.maxVotes, specifiedType: const FullType(int)), - 'options', - serializers.serialize(object.options, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'question', - serializers.serialize(object.question, specifiedType: const FullType(String)), - 'resultMode', - serializers.serialize(object.resultMode, specifiedType: const FullType(int)), - 'status', - serializers.serialize(object.status, specifiedType: const FullType(int)), + 'attendeeId', + serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), + 'attendeePermissions', + serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), + 'attendeePin', + serializers.serialize(object.attendeePin, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'inCall', + serializers.serialize(object.inCall, specifiedType: const FullType(int)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'participantType', + serializers.serialize(object.participantType, specifiedType: const FullType(int)), + 'permissions', + serializers.serialize(object.permissions, specifiedType: const FullType(int)), + 'roomToken', + serializers.serialize(object.roomToken, specifiedType: const FullType(String)), + 'sessionIds', + serializers.serialize(object.sessionIds, specifiedType: const FullType(BuiltList, [FullType(String)])), ]; Object? value; - value = object.details; + value = object.status; if (value != null) { result - ..add('details') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(PollVote)]))); + ..add('status') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } - value = object.numVoters; + value = object.statusClearAt; if (value != null) { result - ..add('numVoters') + ..add('statusClearAt') ..add(serializers.serialize(value, specifiedType: const FullType(int))); } - value = object.votedSelf; + value = object.statusIcon; if (value != null) { result - ..add('votedSelf') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(int)]))); + ..add('statusIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } - value = object.votes; + value = object.statusMessage; if (value != null) { result - ..add('votes') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))); + ..add('statusMessage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.phoneNumber; + if (value != null) { + result + ..add('phoneNumber') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.callId; + if (value != null) { + result + ..add('callId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - Poll deserialize(Serializers serializers, Iterable serialized, + Participant deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollBuilder(); + final result = ParticipantBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14571,48 +18984,60 @@ class _$PollSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorDisplayName': - result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; case 'actorId': result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'actorType': result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; break; - case 'details': - result.details.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(PollVote)]))! as BuiltList); + case 'attendeeId': + result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'attendeePermissions': + result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'maxVotes': - result.maxVotes = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'attendeePin': + result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'numVoters': - result.numVoters = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'options': - result.options.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'inCall': + result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'question': - result.question = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'resultMode': - result.resultMode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'participantType': + result.participantType = 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 'roomToken': + result.roomToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sessionIds': + result.sessionIds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; - case 'votedSelf': - result.votedSelf.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + case 'statusClearAt': + result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; - case 'votes': - result.votes.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(int)]))!); + case 'statusIcon': + result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'statusMessage': + result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'phoneNumber': + result.phoneNumber = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'callId': + result.callId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -14621,33 +19046,33 @@ class _$PollSerializer implements StructuredSerializer { } } -class _$PollCreatePollResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetParticipantsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PollCreatePollResponseApplicationJson_Ocs, - _$PollCreatePollResponseApplicationJson_Ocs + RoomGetParticipantsResponseApplicationJson_Ocs, + _$RoomGetParticipantsResponseApplicationJson_Ocs ]; @override - final String wireName = 'PollCreatePollResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetParticipantsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Poll)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), ]; return result; } @override - PollCreatePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomGetParticipantsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollCreatePollResponseApplicationJson_OcsBuilder(); + final result = RoomGetParticipantsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14659,7 +19084,94 @@ class _$PollCreatePollResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$RoomGetParticipantsResponseApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + RoomGetParticipantsResponseApplicationJson, + _$RoomGetParticipantsResponseApplicationJson + ]; + @override + final String wireName = 'RoomGetParticipantsResponseApplicationJson'; + + @override + Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetParticipantsResponseApplicationJson_Ocs)), + ]; + + return result; + } + + @override + RoomGetParticipantsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomGetParticipantsResponseApplicationJsonBuilder(); + + 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(RoomGetParticipantsResponseApplicationJson_Ocs))! + as RoomGetParticipantsResponseApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [RoomRoomGetParticipantsHeaders, _$RoomRoomGetParticipantsHeaders]; + @override + final String wireName = 'RoomRoomGetParticipantsHeaders'; + + @override + Iterable serialize(Serializers serializers, RoomRoomGetParticipantsHeaders object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.xNextcloudHasUserStatuses; + if (value != null) { + result + ..add('x-nextcloud-has-user-statuses') + ..add(serializers.serialize(value, specifiedType: const FullType(Header, [FullType(bool)]))); + } + return result; + } + + @override + RoomRoomGetParticipantsHeaders deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = RoomRoomGetParticipantsHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'x-nextcloud-has-user-statuses': + result.xNextcloudHasUserStatuses.replace( + serializers.deserialize(value, specifiedType: const FullType(Header, [FullType(bool)]))! as Header); break; } } @@ -14668,28 +19180,32 @@ class _$PollCreatePollResponseApplicationJson_OcsSerializer } } -class _$PollCreatePollResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer + implements StructuredSerializer { @override - final Iterable types = const [PollCreatePollResponseApplicationJson, _$PollCreatePollResponseApplicationJson]; + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0, + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 + ]; @override - final String wireName = 'PollCreatePollResponseApplicationJson'; + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0'; @override - Iterable serialize(Serializers serializers, PollCreatePollResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(int)), ]; return result; } @override - PollCreatePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollCreatePollResponseApplicationJsonBuilder(); + final result = RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14697,10 +19213,8 @@ class _$PollCreatePollResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(PollCreatePollResponseApplicationJson_Ocs))! - as PollCreatePollResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -14709,33 +19223,34 @@ class _$PollCreatePollResponseApplicationJsonSerializer } } -class _$PollShowPollResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PollShowPollResponseApplicationJson_Ocs, - _$PollShowPollResponseApplicationJson_Ocs + RoomAddParticipantToRoomResponseApplicationJson_Ocs, + _$RoomAddParticipantToRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'PollShowPollResponseApplicationJson_Ocs'; + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Poll)), + serializers.serialize(object.data, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data)), ]; return result; } @override - PollShowPollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomAddParticipantToRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollShowPollResponseApplicationJson_OcsBuilder(); + final result = RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14747,7 +19262,9 @@ class _$PollShowPollResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + result.data = serializers.deserialize(value, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data))! + as RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data; break; } } @@ -14756,28 +19273,32 @@ class _$PollShowPollResponseApplicationJson_OcsSerializer } } -class _$PollShowPollResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [PollShowPollResponseApplicationJson, _$PollShowPollResponseApplicationJson]; + final Iterable types = const [ + RoomAddParticipantToRoomResponseApplicationJson, + _$RoomAddParticipantToRoomResponseApplicationJson + ]; @override - final String wireName = 'PollShowPollResponseApplicationJson'; + final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, PollShowPollResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs)), ]; return result; } @override - PollShowPollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomAddParticipantToRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollShowPollResponseApplicationJsonBuilder(); + final result = RoomAddParticipantToRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14786,9 +19307,9 @@ class _$PollShowPollResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(PollShowPollResponseApplicationJson_Ocs))! - as PollShowPollResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs))! + as RoomAddParticipantToRoomResponseApplicationJson_Ocs); break; } } @@ -14797,33 +19318,35 @@ class _$PollShowPollResponseApplicationJsonSerializer } } -class _$PollVotePollResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PollVotePollResponseApplicationJson_Ocs, - _$PollVotePollResponseApplicationJson_Ocs + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs, + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs ]; @override - final String wireName = 'PollVotePollResponseApplicationJson_Ocs'; + final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Poll)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), ]; return result; } @override - PollVotePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollVotePollResponseApplicationJson_OcsBuilder(); + final result = RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14835,7 +19358,8 @@ class _$PollVotePollResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); break; } } @@ -14844,28 +19368,33 @@ class _$PollVotePollResponseApplicationJson_OcsSerializer } } -class _$PollVotePollResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [PollVotePollResponseApplicationJson, _$PollVotePollResponseApplicationJson]; + final Iterable types = const [ + RoomGetBreakoutRoomParticipantsResponseApplicationJson, + _$RoomGetBreakoutRoomParticipantsResponseApplicationJson + ]; @override - final String wireName = 'PollVotePollResponseApplicationJson'; + final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, PollVotePollResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(PollVotePollResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs)), ]; return result; } @override - PollVotePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomGetBreakoutRoomParticipantsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollVotePollResponseApplicationJsonBuilder(); + final result = RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14874,9 +19403,9 @@ class _$PollVotePollResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(PollVotePollResponseApplicationJson_Ocs))! - as PollVotePollResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs))! + as RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs); break; } } @@ -14885,75 +19414,34 @@ class _$PollVotePollResponseApplicationJsonSerializer } } -class _$PollClosePollResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PollClosePollResponseApplicationJson_Ocs, - _$PollClosePollResponseApplicationJson_Ocs + RoomRoomGetBreakoutRoomParticipantsHeaders, + _$RoomRoomGetBreakoutRoomParticipantsHeaders ]; @override - final String wireName = 'PollClosePollResponseApplicationJson_Ocs'; - - @override - Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Poll)), - ]; - - return result; - } + final String wireName = 'RoomRoomGetBreakoutRoomParticipantsHeaders'; @override - PollClosePollResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + Iterable serialize(Serializers serializers, RoomRoomGetBreakoutRoomParticipantsHeaders object, {FullType specifiedType = FullType.unspecified}) { - final result = PollClosePollResponseApplicationJson_OcsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Poll))! as Poll); - break; - } + final result = []; + Object? value; + value = object.xNextcloudHasUserStatuses; + if (value != null) { + result + ..add('x-nextcloud-has-user-statuses') + ..add(serializers.serialize(value, specifiedType: const FullType(Header, [FullType(bool)]))); } - - return result.build(); - } -} - -class _$PollClosePollResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [PollClosePollResponseApplicationJson, _$PollClosePollResponseApplicationJson]; - @override - final String wireName = 'PollClosePollResponseApplicationJson'; - - @override - Iterable serialize(Serializers serializers, PollClosePollResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs)), - ]; - return result; } @override - PollClosePollResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomRoomGetBreakoutRoomParticipantsHeaders deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PollClosePollResponseApplicationJsonBuilder(); + final result = RoomRoomGetBreakoutRoomParticipantsHeadersBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -14961,10 +19449,9 @@ class _$PollClosePollResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(PollClosePollResponseApplicationJson_Ocs))! - as PollClosePollResponseApplicationJson_Ocs); + case 'x-nextcloud-has-user-statuses': + result.xNextcloudHasUserStatuses.replace( + serializers.deserialize(value, specifiedType: const FullType(Header, [FullType(bool)]))! as Header); break; } } @@ -14973,36 +19460,33 @@ class _$PollClosePollResponseApplicationJsonSerializer } } -class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data, - _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs, + _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data'; + final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data object, + Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'displayName', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, + RoomRemoveSelfFromRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataBuilder(); + final result = RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15010,14 +19494,11 @@ class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; - case 'displayName': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -15026,35 +19507,32 @@ class _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs_DataSerializer } } -class _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicShareAuthCreateRoomResponseApplicationJson_Ocs, - _$PublicShareAuthCreateRoomResponseApplicationJson_Ocs + RoomRemoveSelfFromRoomResponseApplicationJson, + _$RoomRemoveSelfFromRoomResponseApplicationJson ]; @override - final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs)), ]; return result; } @override - PublicShareAuthCreateRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomRemoveSelfFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicShareAuthCreateRoomResponseApplicationJson_OcsBuilder(); + final result = RoomRemoveSelfFromRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15062,13 +19540,10 @@ class _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data))! - as PublicShareAuthCreateRoomResponseApplicationJson_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs))! + as RoomRemoveSelfFromRoomResponseApplicationJson_Ocs); break; } } @@ -15077,32 +19552,34 @@ class _$PublicShareAuthCreateRoomResponseApplicationJson_OcsSerializer } } -class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - PublicShareAuthCreateRoomResponseApplicationJson, - _$PublicShareAuthCreateRoomResponseApplicationJson + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs, + _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'PublicShareAuthCreateRoomResponseApplicationJson'; + final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, PublicShareAuthCreateRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - PublicShareAuthCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = PublicShareAuthCreateRoomResponseApplicationJsonBuilder(); + final result = RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15110,10 +19587,11 @@ class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicShareAuthCreateRoomResponseApplicationJson_Ocs))! - as PublicShareAuthCreateRoomResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -15122,33 +19600,32 @@ class _$PublicShareAuthCreateRoomResponseApplicationJsonSerializer } } -class _$ReactionSerializer implements StructuredSerializer { +class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [Reaction, _$Reaction]; + final Iterable types = const [ + RoomRemoveAttendeeFromRoomResponseApplicationJson, + _$RoomRemoveAttendeeFromRoomResponseApplicationJson + ]; @override - final String wireName = 'Reaction'; + final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, Reaction object, + Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorDisplayName', - serializers.serialize(object.actorDisplayName, specifiedType: const FullType(String)), - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'timestamp', - serializers.serialize(object.timestamp, specifiedType: const FullType(int)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs)), ]; return result; } @override - Reaction deserialize(Serializers serializers, Iterable serialized, + RoomRemoveAttendeeFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionBuilder(); + final result = RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15156,17 +19633,10 @@ class _$ReactionSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorDisplayName': - result.actorDisplayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'timestamp': - result.timestamp = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs))! + as RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs); break; } } @@ -15175,37 +19645,34 @@ class _$ReactionSerializer implements StructuredSerializer { } } -class _$ReactionGetReactionsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReactionGetReactionsResponseApplicationJson_Ocs, - _$ReactionGetReactionsResponseApplicationJson_Ocs + RoomSetAttendeePermissionsResponseApplicationJson_Ocs, + _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReactionGetReactionsResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ])), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - ReactionGetReactionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetAttendeePermissionsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionGetReactionsResponseApplicationJson_OcsBuilder(); + final result = RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15217,11 +19684,7 @@ class _$ReactionGetReactionsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ]))!); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -15230,31 +19693,32 @@ class _$ReactionGetReactionsResponseApplicationJson_OcsSerializer } } -class _$ReactionGetReactionsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReactionGetReactionsResponseApplicationJson, - _$ReactionGetReactionsResponseApplicationJson + RoomSetAttendeePermissionsResponseApplicationJson, + _$RoomSetAttendeePermissionsResponseApplicationJson ]; @override - final String wireName = 'ReactionGetReactionsResponseApplicationJson'; + final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReactionGetReactionsResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReactionGetReactionsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs)), ]; return result; } @override - ReactionGetReactionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetAttendeePermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionGetReactionsResponseApplicationJsonBuilder(); + final result = RoomSetAttendeePermissionsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15264,8 +19728,8 @@ class _$ReactionGetReactionsResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(ReactionGetReactionsResponseApplicationJson_Ocs))! - as ReactionGetReactionsResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs))! + as RoomSetAttendeePermissionsResponseApplicationJson_Ocs); break; } } @@ -15274,37 +19738,34 @@ class _$ReactionGetReactionsResponseApplicationJsonSerializer } } -class _$ReactionReactResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReactionReactResponseApplicationJson_Ocs, - _$ReactionReactResponseApplicationJson_Ocs + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs, + _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReactionReactResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ])), + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - ReactionReactResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionReactResponseApplicationJson_OcsBuilder(); + final result = RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15316,11 +19777,7 @@ class _$ReactionReactResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ]))!); + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -15329,28 +19786,33 @@ class _$ReactionReactResponseApplicationJson_OcsSerializer } } -class _$ReactionReactResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetAllAttendeesPermissionsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ReactionReactResponseApplicationJson, _$ReactionReactResponseApplicationJson]; + final Iterable types = const [ + RoomSetAllAttendeesPermissionsResponseApplicationJson, + _$RoomSetAllAttendeesPermissionsResponseApplicationJson + ]; @override - final String wireName = 'ReactionReactResponseApplicationJson'; + final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReactionReactResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs)), ]; return result; } @override - ReactionReactResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetAllAttendeesPermissionsResponseApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionReactResponseApplicationJsonBuilder(); + final result = RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15359,9 +19821,9 @@ class _$ReactionReactResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ReactionReactResponseApplicationJson_Ocs))! - as ReactionReactResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs))! + as RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs); break; } } @@ -15370,37 +19832,33 @@ class _$ReactionReactResponseApplicationJsonSerializer } } -class _$ReactionDeleteResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomJoinRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ReactionDeleteResponseApplicationJson_Ocs, - _$ReactionDeleteResponseApplicationJson_Ocs + RoomJoinRoomResponseApplicationJson_Ocs, + _$RoomJoinRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'ReactionDeleteResponseApplicationJson_Ocs'; + final String wireName = 'RoomJoinRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ])), + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - ReactionDeleteResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomJoinRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionDeleteResponseApplicationJson_OcsBuilder(); + final result = RoomJoinRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15412,11 +19870,7 @@ class _$ReactionDeleteResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [ - FullType(String), - FullType(BuiltList, [FullType(Reaction)]) - ]))!); + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -15425,28 +19879,28 @@ class _$ReactionDeleteResponseApplicationJson_OcsSerializer } } -class _$ReactionDeleteResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomJoinRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ReactionDeleteResponseApplicationJson, _$ReactionDeleteResponseApplicationJson]; + final Iterable types = const [RoomJoinRoomResponseApplicationJson, _$RoomJoinRoomResponseApplicationJson]; @override - final String wireName = 'ReactionDeleteResponseApplicationJson'; + final String wireName = 'RoomJoinRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, ReactionDeleteResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomJoinRoomResponseApplicationJson_Ocs)), ]; return result; } @override - ReactionDeleteResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomJoinRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ReactionDeleteResponseApplicationJsonBuilder(); + final result = RoomJoinRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15456,8 +19910,8 @@ class _$ReactionDeleteResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(ReactionDeleteResponseApplicationJson_Ocs))! - as ReactionDeleteResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(RoomJoinRoomResponseApplicationJson_Ocs))! + as RoomJoinRoomResponseApplicationJson_Ocs); break; } } @@ -15466,18 +19920,18 @@ class _$ReactionDeleteResponseApplicationJsonSerializer } } -class _$RecordingStartResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomLeaveRoomResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingStartResponseApplicationJson_Ocs, - _$RecordingStartResponseApplicationJson_Ocs + RoomLeaveRoomResponseApplicationJson_Ocs, + _$RoomLeaveRoomResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingStartResponseApplicationJson_Ocs'; + final String wireName = 'RoomLeaveRoomResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -15490,9 +19944,9 @@ class _$RecordingStartResponseApplicationJson_OcsSerializer } @override - RecordingStartResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomLeaveRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStartResponseApplicationJson_OcsBuilder(); + final result = RoomLeaveRoomResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15513,28 +19967,28 @@ class _$RecordingStartResponseApplicationJson_OcsSerializer } } -class _$RecordingStartResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomLeaveRoomResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RecordingStartResponseApplicationJson, _$RecordingStartResponseApplicationJson]; + final Iterable types = const [RoomLeaveRoomResponseApplicationJson, _$RoomLeaveRoomResponseApplicationJson]; @override - final String wireName = 'RecordingStartResponseApplicationJson'; + final String wireName = 'RoomLeaveRoomResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingStartResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomLeaveRoomResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingStartResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomLeaveRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStartResponseApplicationJsonBuilder(); + final result = RoomLeaveRoomResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15544,8 +19998,8 @@ class _$RecordingStartResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RecordingStartResponseApplicationJson_Ocs))! - as RecordingStartResponseApplicationJson_Ocs); + serializers.deserialize(value, specifiedType: const FullType(RoomLeaveRoomResponseApplicationJson_Ocs))! + as RoomLeaveRoomResponseApplicationJson_Ocs); break; } } @@ -15554,18 +20008,18 @@ class _$RecordingStartResponseApplicationJsonSerializer } } -class _$RecordingStopResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomResendInvitationsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingStopResponseApplicationJson_Ocs, - _$RecordingStopResponseApplicationJson_Ocs + RoomResendInvitationsResponseApplicationJson_Ocs, + _$RoomResendInvitationsResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingStopResponseApplicationJson_Ocs'; + final String wireName = 'RoomResendInvitationsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -15578,9 +20032,9 @@ class _$RecordingStopResponseApplicationJson_OcsSerializer } @override - RecordingStopResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomResendInvitationsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStopResponseApplicationJson_OcsBuilder(); + final result = RoomResendInvitationsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15601,28 +20055,32 @@ class _$RecordingStopResponseApplicationJson_OcsSerializer } } -class _$RecordingStopResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomResendInvitationsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RecordingStopResponseApplicationJson, _$RecordingStopResponseApplicationJson]; + final Iterable types = const [ + RoomResendInvitationsResponseApplicationJson, + _$RoomResendInvitationsResponseApplicationJson + ]; @override - final String wireName = 'RecordingStopResponseApplicationJson'; + final String wireName = 'RoomResendInvitationsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingStopResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomResendInvitationsResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingStopResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomResendInvitationsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStopResponseApplicationJsonBuilder(); + final result = RoomResendInvitationsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15631,9 +20089,9 @@ class _$RecordingStopResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RecordingStopResponseApplicationJson_Ocs))! - as RecordingStopResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomResendInvitationsResponseApplicationJson_Ocs))! + as RoomResendInvitationsResponseApplicationJson_Ocs); break; } } @@ -15642,33 +20100,33 @@ class _$RecordingStopResponseApplicationJsonSerializer } } -class _$RecordingStoreResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetSessionStateResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingStoreResponseApplicationJson_Ocs, - _$RecordingStoreResponseApplicationJson_Ocs + RoomSetSessionStateResponseApplicationJson_Ocs, + _$RoomSetSessionStateResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingStoreResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetSessionStateResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - RecordingStoreResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetSessionStateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStoreResponseApplicationJson_OcsBuilder(); + final result = RoomSetSessionStateResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15680,7 +20138,7 @@ class _$RecordingStoreResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -15689,28 +20147,31 @@ class _$RecordingStoreResponseApplicationJson_OcsSerializer } } -class _$RecordingStoreResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetSessionStateResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RecordingStoreResponseApplicationJson, _$RecordingStoreResponseApplicationJson]; + final Iterable types = const [ + RoomSetSessionStateResponseApplicationJson, + _$RoomSetSessionStateResponseApplicationJson + ]; @override - final String wireName = 'RecordingStoreResponseApplicationJson'; + final String wireName = 'RoomSetSessionStateResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingStoreResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetSessionStateResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingStoreResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetSessionStateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingStoreResponseApplicationJsonBuilder(); + final result = RoomSetSessionStateResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15719,9 +20180,9 @@ class _$RecordingStoreResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RecordingStoreResponseApplicationJson_Ocs))! - as RecordingStoreResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetSessionStateResponseApplicationJson_Ocs))! + as RoomSetSessionStateResponseApplicationJson_Ocs); break; } } @@ -15730,18 +20191,18 @@ class _$RecordingStoreResponseApplicationJsonSerializer } } -class _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomPromoteModeratorResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingNotificationDismissResponseApplicationJson_Ocs, - _$RecordingNotificationDismissResponseApplicationJson_Ocs + RoomPromoteModeratorResponseApplicationJson_Ocs, + _$RoomPromoteModeratorResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingNotificationDismissResponseApplicationJson_Ocs'; + final String wireName = 'RoomPromoteModeratorResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -15754,10 +20215,9 @@ class _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer } @override - RecordingNotificationDismissResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomPromoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingNotificationDismissResponseApplicationJson_OcsBuilder(); + final result = RoomPromoteModeratorResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15778,32 +20238,31 @@ class _$RecordingNotificationDismissResponseApplicationJson_OcsSerializer } } -class _$RecordingNotificationDismissResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomPromoteModeratorResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingNotificationDismissResponseApplicationJson, - _$RecordingNotificationDismissResponseApplicationJson + RoomPromoteModeratorResponseApplicationJson, + _$RoomPromoteModeratorResponseApplicationJson ]; @override - final String wireName = 'RecordingNotificationDismissResponseApplicationJson'; + final String wireName = 'RoomPromoteModeratorResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingNotificationDismissResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingNotificationDismissResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomPromoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingNotificationDismissResponseApplicationJsonBuilder(); + final result = RoomPromoteModeratorResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15813,8 +20272,8 @@ class _$RecordingNotificationDismissResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RecordingNotificationDismissResponseApplicationJson_Ocs))! - as RecordingNotificationDismissResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs))! + as RoomPromoteModeratorResponseApplicationJson_Ocs); break; } } @@ -15823,18 +20282,18 @@ class _$RecordingNotificationDismissResponseApplicationJsonSerializer } } -class _$RecordingShareToChatResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomDemoteModeratorResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingShareToChatResponseApplicationJson_Ocs, - _$RecordingShareToChatResponseApplicationJson_Ocs + RoomDemoteModeratorResponseApplicationJson_Ocs, + _$RoomDemoteModeratorResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingShareToChatResponseApplicationJson_Ocs'; + final String wireName = 'RoomDemoteModeratorResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -15847,9 +20306,9 @@ class _$RecordingShareToChatResponseApplicationJson_OcsSerializer } @override - RecordingShareToChatResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomDemoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingShareToChatResponseApplicationJson_OcsBuilder(); + final result = RoomDemoteModeratorResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15870,31 +20329,31 @@ class _$RecordingShareToChatResponseApplicationJson_OcsSerializer } } -class _$RecordingShareToChatResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomDemoteModeratorResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingShareToChatResponseApplicationJson, - _$RecordingShareToChatResponseApplicationJson + RoomDemoteModeratorResponseApplicationJson, + _$RoomDemoteModeratorResponseApplicationJson ]; @override - final String wireName = 'RecordingShareToChatResponseApplicationJson'; + final String wireName = 'RoomDemoteModeratorResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingShareToChatResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingShareToChatResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomDemoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingShareToChatResponseApplicationJsonBuilder(); + final result = RoomDemoteModeratorResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15904,52 +20363,8 @@ class _$RecordingShareToChatResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RecordingShareToChatResponseApplicationJson_Ocs))! - as RecordingShareToChatResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data, - _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data - ]; - @override - final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data'; - - @override - Iterable serialize( - Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'version', - serializers.serialize(object.version, specifiedType: const FullType(double)), - ]; - - return result; - } - - @override - RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RecordingGetWelcomeMessageResponseApplicationJson_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 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(double))! as double; + specifiedType: const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs))! + as RoomDemoteModeratorResponseApplicationJson_Ocs); break; } } @@ -15958,35 +20373,33 @@ class _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs_DataSerializer } } -class _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomAddToFavoritesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - RecordingGetWelcomeMessageResponseApplicationJson_Ocs, - _$RecordingGetWelcomeMessageResponseApplicationJson_Ocs + final Iterable types = const [ + RoomAddToFavoritesResponseApplicationJson_Ocs, + _$RoomAddToFavoritesResponseApplicationJson_Ocs ]; @override - final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson_Ocs'; + final String wireName = 'RoomAddToFavoritesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RecordingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomAddToFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); + final result = RoomAddToFavoritesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -15998,9 +20411,7 @@ class _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data))! - as RecordingGetWelcomeMessageResponseApplicationJson_Ocs_Data); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -16009,32 +20420,31 @@ class _$RecordingGetWelcomeMessageResponseApplicationJson_OcsSerializer } } -class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomAddToFavoritesResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RecordingGetWelcomeMessageResponseApplicationJson, - _$RecordingGetWelcomeMessageResponseApplicationJson + RoomAddToFavoritesResponseApplicationJson, + _$RoomAddToFavoritesResponseApplicationJson ]; @override - final String wireName = 'RecordingGetWelcomeMessageResponseApplicationJson'; + final String wireName = 'RoomAddToFavoritesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RecordingGetWelcomeMessageResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs)), ]; return result; } @override - RecordingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomAddToFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RecordingGetWelcomeMessageResponseApplicationJsonBuilder(); + final result = RoomAddToFavoritesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16044,8 +20454,8 @@ class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RecordingGetWelcomeMessageResponseApplicationJson_Ocs))! - as RecordingGetWelcomeMessageResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs))! + as RoomAddToFavoritesResponseApplicationJson_Ocs); break; } } @@ -16054,33 +20464,33 @@ class _$RecordingGetWelcomeMessageResponseApplicationJsonSerializer } } -class _$RoomGetRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomRemoveFromFavoritesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetRoomsResponseApplicationJson_Ocs, - _$RoomGetRoomsResponseApplicationJson_Ocs + RoomRemoveFromFavoritesResponseApplicationJson_Ocs, + _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetRoomsResponseApplicationJson_Ocs'; + final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomGetRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomRemoveFromFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetRoomsResponseApplicationJson_OcsBuilder(); + final result = RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16092,8 +20502,7 @@ class _$RoomGetRoomsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -16102,28 +20511,32 @@ class _$RoomGetRoomsResponseApplicationJson_OcsSerializer } } -class _$RoomGetRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomRemoveFromFavoritesResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomGetRoomsResponseApplicationJson, _$RoomGetRoomsResponseApplicationJson]; + final Iterable types = const [ + RoomRemoveFromFavoritesResponseApplicationJson, + _$RoomRemoveFromFavoritesResponseApplicationJson + ]; @override - final String wireName = 'RoomGetRoomsResponseApplicationJson'; + final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetRoomsResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomRemoveFromFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetRoomsResponseApplicationJsonBuilder(); + final result = RoomRemoveFromFavoritesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16132,60 +20545,9 @@ class _$RoomGetRoomsResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomGetRoomsResponseApplicationJson_Ocs))! - as RoomGetRoomsResponseApplicationJson_Ocs); - break; - } - } - - return result.build(); - } -} - -class _$RoomRoomGetRoomsHeadersSerializer implements StructuredSerializer { - @override - final Iterable types = const [RoomRoomGetRoomsHeaders, _$RoomRoomGetRoomsHeaders]; - @override - final String wireName = 'RoomRoomGetRoomsHeaders'; - - @override - Iterable serialize(Serializers serializers, RoomRoomGetRoomsHeaders object, - {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xNextcloudTalkHash; - if (value != null) { - result - ..add('x-nextcloud-talk-hash') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.xNextcloudTalkModifiedBefore; - if (value != null) { - result - ..add('x-nextcloud-talk-modified-before') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; - } - - @override - RoomRoomGetRoomsHeaders deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomRoomGetRoomsHeadersBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'x-nextcloud-talk-hash': - result.xNextcloudTalkHash = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'x-nextcloud-talk-modified-before': - result.xNextcloudTalkModifiedBefore = - serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs))! + as RoomRemoveFromFavoritesResponseApplicationJson_Ocs); break; } } @@ -16194,33 +20556,33 @@ class _$RoomRoomGetRoomsHeadersSerializer implements StructuredSerializer { +class _$RoomSetNotificationLevelResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomCreateRoomResponseApplicationJson_Ocs, - _$RoomCreateRoomResponseApplicationJson_Ocs + RoomSetNotificationLevelResponseApplicationJson_Ocs, + _$RoomSetNotificationLevelResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomCreateRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetNotificationLevelResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomCreateRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetNotificationLevelResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomCreateRoomResponseApplicationJson_OcsBuilder(); + final result = RoomSetNotificationLevelResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16232,7 +20594,7 @@ class _$RoomCreateRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -16241,28 +20603,32 @@ class _$RoomCreateRoomResponseApplicationJson_OcsSerializer } } -class _$RoomCreateRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetNotificationLevelResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomCreateRoomResponseApplicationJson, _$RoomCreateRoomResponseApplicationJson]; + final Iterable types = const [ + RoomSetNotificationLevelResponseApplicationJson, + _$RoomSetNotificationLevelResponseApplicationJson + ]; @override - final String wireName = 'RoomCreateRoomResponseApplicationJson'; + final String wireName = 'RoomSetNotificationLevelResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomCreateRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs)), ]; return result; } @override - RoomCreateRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetNotificationLevelResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomCreateRoomResponseApplicationJsonBuilder(); + final result = RoomSetNotificationLevelResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16271,9 +20637,9 @@ class _$RoomCreateRoomResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomCreateRoomResponseApplicationJson_Ocs))! - as RoomCreateRoomResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs))! + as RoomSetNotificationLevelResponseApplicationJson_Ocs); break; } } @@ -16282,33 +20648,33 @@ class _$RoomCreateRoomResponseApplicationJsonSerializer } } -class _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetNotificationCallsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetListedRoomsResponseApplicationJson_Ocs, - _$RoomGetListedRoomsResponseApplicationJson_Ocs + RoomSetNotificationCallsResponseApplicationJson_Ocs, + _$RoomSetNotificationCallsResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetListedRoomsResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetNotificationCallsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomGetListedRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetNotificationCallsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetListedRoomsResponseApplicationJson_OcsBuilder(); + final result = RoomSetNotificationCallsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16320,8 +20686,7 @@ class _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -16330,31 +20695,32 @@ class _$RoomGetListedRoomsResponseApplicationJson_OcsSerializer } } -class _$RoomGetListedRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetNotificationCallsResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetListedRoomsResponseApplicationJson, - _$RoomGetListedRoomsResponseApplicationJson + RoomSetNotificationCallsResponseApplicationJson, + _$RoomSetNotificationCallsResponseApplicationJson ]; @override - final String wireName = 'RoomGetListedRoomsResponseApplicationJson'; + final String wireName = 'RoomSetNotificationCallsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetListedRoomsResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetListedRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetNotificationCallsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetListedRoomsResponseApplicationJsonBuilder(); + final result = RoomSetNotificationCallsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16364,8 +20730,8 @@ class _$RoomGetListedRoomsResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetListedRoomsResponseApplicationJson_Ocs))! - as RoomGetListedRoomsResponseApplicationJson_Ocs); + specifiedType: const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs))! + as RoomSetNotificationCallsResponseApplicationJson_Ocs); break; } } @@ -16374,18 +20740,18 @@ class _$RoomGetListedRoomsResponseApplicationJsonSerializer } } -class _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetLobbyResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetNoteToSelfConversationResponseApplicationJson_Ocs, - _$RoomGetNoteToSelfConversationResponseApplicationJson_Ocs + RoomSetLobbyResponseApplicationJson_Ocs, + _$RoomSetLobbyResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetLobbyResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -16398,10 +20764,9 @@ class _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer } @override - RoomGetNoteToSelfConversationResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + RoomSetLobbyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetNoteToSelfConversationResponseApplicationJson_OcsBuilder(); + final result = RoomSetLobbyResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16422,33 +20787,28 @@ class _$RoomGetNoteToSelfConversationResponseApplicationJson_OcsSerializer } } -class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomGetNoteToSelfConversationResponseApplicationJson, - _$RoomGetNoteToSelfConversationResponseApplicationJson - ]; +class _$RoomSetLobbyResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final String wireName = 'RoomGetNoteToSelfConversationResponseApplicationJson'; + final Iterable types = const [RoomSetLobbyResponseApplicationJson, _$RoomSetLobbyResponseApplicationJson]; + @override + final String wireName = 'RoomSetLobbyResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetNoteToSelfConversationResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetLobbyResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetNoteToSelfConversationResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + RoomSetLobbyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetNoteToSelfConversationResponseApplicationJsonBuilder(); + final result = RoomSetLobbyResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16457,9 +20817,9 @@ class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetNoteToSelfConversationResponseApplicationJson_Ocs))! - as RoomGetNoteToSelfConversationResponseApplicationJson_Ocs); + result.ocs.replace( + serializers.deserialize(value, specifiedType: const FullType(RoomSetLobbyResponseApplicationJson_Ocs))! + as RoomSetLobbyResponseApplicationJson_Ocs); break; } } @@ -16468,34 +20828,33 @@ class _$RoomGetNoteToSelfConversationResponseApplicationJsonSerializer } } -class _$RoomRoomGetNoteToSelfConversationHeadersSerializer - implements StructuredSerializer { +class _$RoomSetsipEnabledResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRoomGetNoteToSelfConversationHeaders, - _$RoomRoomGetNoteToSelfConversationHeaders + RoomSetsipEnabledResponseApplicationJson_Ocs, + _$RoomSetsipEnabledResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomRoomGetNoteToSelfConversationHeaders'; + final String wireName = 'RoomSetsipEnabledResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomRoomGetNoteToSelfConversationHeaders object, + Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xNextcloudTalkHash; - if (value != null) { - result - ..add('x-nextcloud-talk-hash') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), + ]; + return result; } @override - RoomRoomGetNoteToSelfConversationHeaders deserialize(Serializers serializers, Iterable serialized, + RoomSetsipEnabledResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRoomGetNoteToSelfConversationHeadersBuilder(); + final result = RoomSetsipEnabledResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16503,8 +20862,11 @@ class _$RoomRoomGetNoteToSelfConversationHeadersSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-nextcloud-talk-hash': - result.xNextcloudTalkHash = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -16513,33 +20875,31 @@ class _$RoomRoomGetNoteToSelfConversationHeadersSerializer } } -class _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RoomSetsipEnabledResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetSingleRoomResponseApplicationJson_Ocs, - _$RoomGetSingleRoomResponseApplicationJson_Ocs + RoomSetsipEnabledResponseApplicationJson, + _$RoomSetsipEnabledResponseApplicationJson ]; @override - final String wireName = 'RoomGetSingleRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetsipEnabledResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetSingleRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetsipEnabledResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetSingleRoomResponseApplicationJson_OcsBuilder(); + final result = RoomSetsipEnabledResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16547,11 +20907,10 @@ class _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs))! + as RoomSetsipEnabledResponseApplicationJson_Ocs); break; } } @@ -16560,31 +20919,33 @@ class _$RoomGetSingleRoomResponseApplicationJson_OcsSerializer } } -class _$RoomGetSingleRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetRecordingConsentResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetSingleRoomResponseApplicationJson, - _$RoomGetSingleRoomResponseApplicationJson + RoomSetRecordingConsentResponseApplicationJson_Ocs, + _$RoomSetRecordingConsentResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetSingleRoomResponseApplicationJson'; + final String wireName = 'RoomSetRecordingConsentResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetSingleRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(Room)), ]; return result; } @override - RoomGetSingleRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetRecordingConsentResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetSingleRoomResponseApplicationJsonBuilder(); + final result = RoomSetRecordingConsentResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16592,10 +20953,11 @@ class _$RoomGetSingleRoomResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetSingleRoomResponseApplicationJson_Ocs))! - as RoomGetSingleRoomResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); break; } } @@ -16604,30 +20966,32 @@ class _$RoomGetSingleRoomResponseApplicationJsonSerializer } } -class _$RoomRoomGetSingleRoomHeadersSerializer implements StructuredSerializer { +class _$RoomSetRecordingConsentResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomRoomGetSingleRoomHeaders, _$RoomRoomGetSingleRoomHeaders]; + final Iterable types = const [ + RoomSetRecordingConsentResponseApplicationJson, + _$RoomSetRecordingConsentResponseApplicationJson + ]; @override - final String wireName = 'RoomRoomGetSingleRoomHeaders'; + final String wireName = 'RoomSetRecordingConsentResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomRoomGetSingleRoomHeaders object, + Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xNextcloudTalkHash; - if (value != null) { - result - ..add('x-nextcloud-talk-hash') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetRecordingConsentResponseApplicationJson_Ocs)), + ]; + return result; } @override - RoomRoomGetSingleRoomHeaders deserialize(Serializers serializers, Iterable serialized, + RoomSetRecordingConsentResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRoomGetSingleRoomHeadersBuilder(); + final result = RoomSetRecordingConsentResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16635,8 +20999,10 @@ class _$RoomRoomGetSingleRoomHeadersSerializer implements StructuredSerializer { +class _$RoomSetMessageExpirationResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRenameRoomResponseApplicationJson_Ocs, - _$RoomRenameRoomResponseApplicationJson_Ocs + RoomSetMessageExpirationResponseApplicationJson_Ocs, + _$RoomSetMessageExpirationResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomRenameRoomResponseApplicationJson_Ocs'; + final String wireName = 'RoomSetMessageExpirationResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -16669,9 +21035,9 @@ class _$RoomRenameRoomResponseApplicationJson_OcsSerializer } @override - RoomRenameRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + RoomSetMessageExpirationResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRenameRoomResponseApplicationJson_OcsBuilder(); + final result = RoomSetMessageExpirationResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16692,28 +21058,32 @@ class _$RoomRenameRoomResponseApplicationJson_OcsSerializer } } -class _$RoomRenameRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RoomSetMessageExpirationResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomRenameRoomResponseApplicationJson, _$RoomRenameRoomResponseApplicationJson]; + final Iterable types = const [ + RoomSetMessageExpirationResponseApplicationJson, + _$RoomSetMessageExpirationResponseApplicationJson + ]; @override - final String wireName = 'RoomRenameRoomResponseApplicationJson'; + final String wireName = 'RoomSetMessageExpirationResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomRenameRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs)), ]; return result; } @override - RoomRenameRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + RoomSetMessageExpirationResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRenameRoomResponseApplicationJsonBuilder(); + final result = RoomSetMessageExpirationResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16722,9 +21092,9 @@ class _$RoomRenameRoomResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomRenameRoomResponseApplicationJson_Ocs))! - as RoomRenameRoomResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs))! + as RoomSetMessageExpirationResponseApplicationJson_Ocs); break; } } @@ -16733,18 +21103,18 @@ class _$RoomRenameRoomResponseApplicationJsonSerializer } } -class _$RoomDeleteRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SettingsSetUserSettingResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomDeleteRoomResponseApplicationJson_Ocs, - _$RoomDeleteRoomResponseApplicationJson_Ocs + SettingsSetUserSettingResponseApplicationJson_Ocs, + _$SettingsSetUserSettingResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomDeleteRoomResponseApplicationJson_Ocs'; + final String wireName = 'SettingsSetUserSettingResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', @@ -16757,9 +21127,9 @@ class _$RoomDeleteRoomResponseApplicationJson_OcsSerializer } @override - RoomDeleteRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SettingsSetUserSettingResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomDeleteRoomResponseApplicationJson_OcsBuilder(); + final result = SettingsSetUserSettingResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16780,28 +21150,32 @@ class _$RoomDeleteRoomResponseApplicationJson_OcsSerializer } } -class _$RoomDeleteRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SettingsSetUserSettingResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomDeleteRoomResponseApplicationJson, _$RoomDeleteRoomResponseApplicationJson]; + final Iterable types = const [ + SettingsSetUserSettingResponseApplicationJson, + _$SettingsSetUserSettingResponseApplicationJson + ]; @override - final String wireName = 'RoomDeleteRoomResponseApplicationJson'; + final String wireName = 'SettingsSetUserSettingResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomDeleteRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs)), ]; return result; } @override - RoomDeleteRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SettingsSetUserSettingResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomDeleteRoomResponseApplicationJsonBuilder(); + final result = SettingsSetUserSettingResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16810,9 +21184,9 @@ class _$RoomDeleteRoomResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomDeleteRoomResponseApplicationJson_Ocs))! - as RoomDeleteRoomResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs))! + as SettingsSetUserSettingResponseApplicationJson_Ocs); break; } } @@ -16821,33 +21195,33 @@ class _$RoomDeleteRoomResponseApplicationJsonSerializer } } -class _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SettingsSetsipSettingsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetBreakoutRoomsResponseApplicationJson_Ocs, - _$RoomGetBreakoutRoomsResponseApplicationJson_Ocs + SettingsSetsipSettingsResponseApplicationJson_Ocs, + _$SettingsSetsipSettingsResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson_Ocs'; + final String wireName = 'SettingsSetsipSettingsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Room)])), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomGetBreakoutRoomsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SettingsSetsipSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetBreakoutRoomsResponseApplicationJson_OcsBuilder(); + final result = SettingsSetsipSettingsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16859,8 +21233,7 @@ class _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Room)]))! as BuiltList); + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -16869,31 +21242,32 @@ class _$RoomGetBreakoutRoomsResponseApplicationJson_OcsSerializer } } -class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SettingsSetsipSettingsResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetBreakoutRoomsResponseApplicationJson, - _$RoomGetBreakoutRoomsResponseApplicationJson + SettingsSetsipSettingsResponseApplicationJson, + _$SettingsSetsipSettingsResponseApplicationJson ]; @override - final String wireName = 'RoomGetBreakoutRoomsResponseApplicationJson'; + final String wireName = 'SettingsSetsipSettingsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetBreakoutRoomsResponseApplicationJson object, + Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetBreakoutRoomsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SettingsSetsipSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetBreakoutRoomsResponseApplicationJsonBuilder(); + final result = SettingsSetsipSettingsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16903,8 +21277,8 @@ class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetBreakoutRoomsResponseApplicationJson_Ocs))! - as RoomGetBreakoutRoomsResponseApplicationJson_Ocs); + specifiedType: const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs))! + as SettingsSetsipSettingsResponseApplicationJson_Ocs); break; } } @@ -16913,33 +21287,34 @@ class _$RoomGetBreakoutRoomsResponseApplicationJsonSerializer } } -class _$RoomMakePublicResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingSettings_HelloAuthParams_10Serializer + implements StructuredSerializer { @override - final Iterable types = const [ - RoomMakePublicResponseApplicationJson_Ocs, - _$RoomMakePublicResponseApplicationJson_Ocs - ]; + final Iterable types = const [SignalingSettings_HelloAuthParams_10, _$SignalingSettings_HelloAuthParams_10]; @override - final String wireName = 'RoomMakePublicResponseApplicationJson_Ocs'; + final String wireName = 'SignalingSettings_HelloAuthParams_10'; @override - Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_10 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'ticket', + serializers.serialize(object.ticket, specifiedType: const FullType(String)), ]; - + Object? value; + value = object.userid; + if (value != null) { + result + ..add('userid') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - RoomMakePublicResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingSettings_HelloAuthParams_10 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomMakePublicResponseApplicationJson_OcsBuilder(); + final result = SignalingSettings_HelloAuthParams_10Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16947,11 +21322,11 @@ class _$RoomMakePublicResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'userid': + result.userid = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'ticket': + result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -16960,28 +21335,28 @@ class _$RoomMakePublicResponseApplicationJson_OcsSerializer } } -class _$RoomMakePublicResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingSettings_HelloAuthParams_20Serializer + implements StructuredSerializer { @override - final Iterable types = const [RoomMakePublicResponseApplicationJson, _$RoomMakePublicResponseApplicationJson]; + final Iterable types = const [SignalingSettings_HelloAuthParams_20, _$SignalingSettings_HelloAuthParams_20]; @override - final String wireName = 'RoomMakePublicResponseApplicationJson'; + final String wireName = 'SignalingSettings_HelloAuthParams_20'; @override - Iterable serialize(Serializers serializers, RoomMakePublicResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_20 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs)), + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), ]; return result; } @override - RoomMakePublicResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingSettings_HelloAuthParams_20 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomMakePublicResponseApplicationJsonBuilder(); + final result = SignalingSettings_HelloAuthParams_20Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -16989,10 +21364,8 @@ class _$RoomMakePublicResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomMakePublicResponseApplicationJson_Ocs))! - as RoomMakePublicResponseApplicationJson_Ocs); + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -17001,33 +21374,29 @@ class _$RoomMakePublicResponseApplicationJsonSerializer } } -class _$RoomMakePrivateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingSettings_HelloAuthParamsSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomMakePrivateResponseApplicationJson_Ocs, - _$RoomMakePrivateResponseApplicationJson_Ocs - ]; + final Iterable types = const [SignalingSettings_HelloAuthParams, _$SignalingSettings_HelloAuthParams]; @override - final String wireName = 'RoomMakePrivateResponseApplicationJson_Ocs'; + final String wireName = 'SignalingSettings_HelloAuthParams'; @override - Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + '1.0', + serializers.serialize(object.$10, specifiedType: const FullType(SignalingSettings_HelloAuthParams_10)), + '2.0', + serializers.serialize(object.$20, specifiedType: const FullType(SignalingSettings_HelloAuthParams_20)), ]; return result; } @override - RoomMakePrivateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingSettings_HelloAuthParams deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomMakePrivateResponseApplicationJson_OcsBuilder(); + final result = SignalingSettings_HelloAuthParamsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17035,11 +21404,15 @@ class _$RoomMakePrivateResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case '1.0': + result.$10.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_10))! + as SignalingSettings_HelloAuthParams_10); break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case '2.0': + result.$20.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_20))! + as SignalingSettings_HelloAuthParams_20); break; } } @@ -17048,28 +21421,27 @@ class _$RoomMakePrivateResponseApplicationJson_OcsSerializer } } -class _$RoomMakePrivateResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingSettings_StunserversSerializer implements StructuredSerializer { @override - final Iterable types = const [RoomMakePrivateResponseApplicationJson, _$RoomMakePrivateResponseApplicationJson]; + final Iterable types = const [SignalingSettings_Stunservers, _$SignalingSettings_Stunservers]; @override - final String wireName = 'RoomMakePrivateResponseApplicationJson'; + final String wireName = 'SignalingSettings_Stunservers'; @override - Iterable serialize(Serializers serializers, RoomMakePrivateResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingSettings_Stunservers object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs)), + 'urls', + serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), ]; return result; } @override - RoomMakePrivateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingSettings_Stunservers deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomMakePrivateResponseApplicationJsonBuilder(); + final result = SignalingSettings_StunserversBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17077,10 +21449,9 @@ class _$RoomMakePrivateResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomMakePrivateResponseApplicationJson_Ocs))! - as RoomMakePrivateResponseApplicationJson_Ocs); + case 'urls': + result.urls.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -17089,33 +21460,31 @@ class _$RoomMakePrivateResponseApplicationJsonSerializer } } -class _$RoomSetDescriptionResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingSettings_TurnserversSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetDescriptionResponseApplicationJson_Ocs, - _$RoomSetDescriptionResponseApplicationJson_Ocs - ]; + final Iterable types = const [SignalingSettings_Turnservers, _$SignalingSettings_Turnservers]; @override - final String wireName = 'RoomSetDescriptionResponseApplicationJson_Ocs'; + final String wireName = 'SignalingSettings_Turnservers'; @override - Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingSettings_Turnservers object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'urls', + serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'username', + serializers.serialize(object.username, specifiedType: const FullType(String)), + 'credential', + serializers.serialize(object.credential, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomSetDescriptionResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingSettings_Turnservers deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetDescriptionResponseApplicationJson_OcsBuilder(); + final result = SignalingSettings_TurnserversBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17123,11 +21492,15 @@ class _$RoomSetDescriptionResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'urls': + result.urls.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'username': + result.username = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'credential': + result.credential = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -17136,31 +21509,49 @@ class _$RoomSetDescriptionResponseApplicationJson_OcsSerializer } } -class _$RoomSetDescriptionResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingSettingsSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetDescriptionResponseApplicationJson, - _$RoomSetDescriptionResponseApplicationJson - ]; + final Iterable types = const [SignalingSettings, _$SignalingSettings]; @override - final String wireName = 'RoomSetDescriptionResponseApplicationJson'; + final String wireName = 'SignalingSettings'; @override - Iterable serialize(Serializers serializers, RoomSetDescriptionResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingSettings object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs)), + 'helloAuthParams', + serializers.serialize(object.helloAuthParams, specifiedType: const FullType(SignalingSettings_HelloAuthParams)), + 'hideWarning', + serializers.serialize(object.hideWarning, specifiedType: const FullType(bool)), + 'server', + serializers.serialize(object.server, specifiedType: const FullType(String)), + 'signalingMode', + serializers.serialize(object.signalingMode, specifiedType: const FullType(String)), + 'sipDialinInfo', + serializers.serialize(object.sipDialinInfo, specifiedType: const FullType(String)), + 'stunservers', + serializers.serialize(object.stunservers, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)])), + 'ticket', + serializers.serialize(object.ticket, specifiedType: const FullType(String)), + 'turnservers', + serializers.serialize(object.turnservers, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)])), ]; - + Object? value; + value = object.userId; + if (value != null) { + result + ..add('userId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - RoomSetDescriptionResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingSettings deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetDescriptionResponseApplicationJsonBuilder(); + final result = SignalingSettingsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17168,10 +21559,37 @@ class _$RoomSetDescriptionResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomSetDescriptionResponseApplicationJson_Ocs))! - as RoomSetDescriptionResponseApplicationJson_Ocs); + case 'helloAuthParams': + result.helloAuthParams.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingSettings_HelloAuthParams))! as SignalingSettings_HelloAuthParams); + break; + case 'hideWarning': + result.hideWarning = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'signalingMode': + result.signalingMode = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sipDialinInfo': + result.sipDialinInfo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'stunservers': + result.stunservers.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)]))! + as BuiltList); + break; + case 'ticket': + result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'turnservers': + result.turnservers.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)]))! + as BuiltList); + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -17180,33 +21598,33 @@ class _$RoomSetDescriptionResponseApplicationJsonSerializer } } -class _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingGetSettingsResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomSetReadOnlyResponseApplicationJson_Ocs, - _$RoomSetReadOnlyResponseApplicationJson_Ocs + SignalingGetSettingsResponseApplicationJson_Ocs, + _$SignalingGetSettingsResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomSetReadOnlyResponseApplicationJson_Ocs'; + final String wireName = 'SignalingGetSettingsResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, specifiedType: const FullType(SignalingSettings)), ]; return result; } @override - RoomSetReadOnlyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingGetSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetReadOnlyResponseApplicationJson_OcsBuilder(); + final result = SignalingGetSettingsResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17218,7 +21636,8 @@ class _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(SignalingSettings))! as SignalingSettings); break; } } @@ -17227,28 +21646,31 @@ class _$RoomSetReadOnlyResponseApplicationJson_OcsSerializer } } -class _$RoomSetReadOnlyResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingGetSettingsResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomSetReadOnlyResponseApplicationJson, _$RoomSetReadOnlyResponseApplicationJson]; + final Iterable types = const [ + SignalingGetSettingsResponseApplicationJson, + _$SignalingGetSettingsResponseApplicationJson + ]; @override - final String wireName = 'RoomSetReadOnlyResponseApplicationJson'; + final String wireName = 'SignalingGetSettingsResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomSetReadOnlyResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, specifiedType: const FullType(SignalingGetSettingsResponseApplicationJson_Ocs)), ]; return result; } @override - RoomSetReadOnlyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingGetSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetReadOnlyResponseApplicationJsonBuilder(); + final result = SignalingGetSettingsResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17257,9 +21679,9 @@ class _$RoomSetReadOnlyResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomSetReadOnlyResponseApplicationJson_Ocs))! - as RoomSetReadOnlyResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingGetSettingsResponseApplicationJson_Ocs))! + as SignalingGetSettingsResponseApplicationJson_Ocs); break; } } @@ -17268,33 +21690,37 @@ class _$RoomSetReadOnlyResponseApplicationJsonSerializer } } -class _$RoomSetListableResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingSessionSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetListableResponseApplicationJson_Ocs, - _$RoomSetListableResponseApplicationJson_Ocs - ]; + final Iterable types = const [SignalingSession, _$SignalingSession]; @override - final String wireName = 'RoomSetListableResponseApplicationJson_Ocs'; + final String wireName = 'SignalingSession'; @override - Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingSession object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'inCall', + serializers.serialize(object.inCall, specifiedType: const FullType(int)), + 'lastPing', + serializers.serialize(object.lastPing, specifiedType: const FullType(int)), + 'participantPermissions', + serializers.serialize(object.participantPermissions, specifiedType: const FullType(int)), + 'roomId', + serializers.serialize(object.roomId, specifiedType: const FullType(int)), + 'sessionId', + serializers.serialize(object.sessionId, specifiedType: const FullType(String)), + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), ]; return result; } @override - RoomSetListableResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingSession deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetListableResponseApplicationJson_OcsBuilder(); + final result = SignalingSessionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17302,11 +21728,23 @@ class _$RoomSetListableResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'inCall': + result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'lastPing': + result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'participantPermissions': + result.participantPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'roomId': + result.roomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'sessionId': + result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -17315,28 +21753,35 @@ class _$RoomSetListableResponseApplicationJson_OcsSerializer } } -class _$RoomSetListableResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingPullMessagesResponseApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomSetListableResponseApplicationJson, _$RoomSetListableResponseApplicationJson]; + final Iterable types = const [ + SignalingPullMessagesResponseApplicationJson_Ocs_Data, + _$SignalingPullMessagesResponseApplicationJson_Ocs_Data + ]; @override - final String wireName = 'RoomSetListableResponseApplicationJson'; + final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, RoomSetListableResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data)), ]; return result; } @override - RoomSetListableResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingPullMessagesResponseApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetListableResponseApplicationJsonBuilder(); + final result = SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17344,10 +21789,13 @@ class _$RoomSetListableResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomSetListableResponseApplicationJson_Ocs))! - as RoomSetListableResponseApplicationJson_Ocs); + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'data': + result.data = serializers.deserialize(value, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data))! + as SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data; break; } } @@ -17356,33 +21804,34 @@ class _$RoomSetListableResponseApplicationJsonSerializer } } -class _$RoomSetPasswordResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingPullMessagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomSetPasswordResponseApplicationJson_Ocs, - _$RoomSetPasswordResponseApplicationJson_Ocs + SignalingPullMessagesResponseApplicationJson_Ocs, + _$SignalingPullMessagesResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomSetPasswordResponseApplicationJson_Ocs'; + final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)])), ]; return result; } @override - RoomSetPasswordResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingPullMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetPasswordResponseApplicationJson_OcsBuilder(); + final result = SignalingPullMessagesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17394,7 +21843,10 @@ class _$RoomSetPasswordResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)]))! + as BuiltList); break; } } @@ -17403,28 +21855,32 @@ class _$RoomSetPasswordResponseApplicationJson_OcsSerializer } } -class _$RoomSetPasswordResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingPullMessagesResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomSetPasswordResponseApplicationJson, _$RoomSetPasswordResponseApplicationJson]; + final Iterable types = const [ + SignalingPullMessagesResponseApplicationJson, + _$SignalingPullMessagesResponseApplicationJson + ]; @override - final String wireName = 'RoomSetPasswordResponseApplicationJson'; + final String wireName = 'SignalingPullMessagesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomSetPasswordResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs)), ]; return result; } @override - RoomSetPasswordResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingPullMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetPasswordResponseApplicationJsonBuilder(); + final result = SignalingPullMessagesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17433,9 +21889,9 @@ class _$RoomSetPasswordResponseApplicationJsonSerializer final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(RoomSetPasswordResponseApplicationJson_Ocs))! - as RoomSetPasswordResponseApplicationJson_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs))! + as SignalingPullMessagesResponseApplicationJson_Ocs); break; } } @@ -17444,78 +21900,33 @@ class _$RoomSetPasswordResponseApplicationJsonSerializer } } -class _$RoomSetPermissionsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingSendMessagesResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomSetPermissionsResponseApplicationJson_Ocs, - _$RoomSetPermissionsResponseApplicationJson_Ocs + SignalingSendMessagesResponseApplicationJson_Ocs, + _$SignalingSendMessagesResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomSetPermissionsResponseApplicationJson_Ocs'; + final String wireName = 'SignalingSendMessagesResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingSendMessagesResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; - - return result; - } - - @override - RoomSetPermissionsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetPermissionsResponseApplicationJson_OcsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } - - return result.build(); - } -} - -class _$RoomSetPermissionsResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomSetPermissionsResponseApplicationJson, - _$RoomSetPermissionsResponseApplicationJson - ]; - @override - final String wireName = 'RoomSetPermissionsResponseApplicationJson'; - - @override - Iterable serialize(Serializers serializers, RoomSetPermissionsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetPermissionsResponseApplicationJson_Ocs)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomSetPermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingSendMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetPermissionsResponseApplicationJsonBuilder(); + final result = SignalingSendMessagesResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17523,10 +21934,11 @@ class _$RoomSetPermissionsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomSetPermissionsResponseApplicationJson_Ocs))! - as RoomSetPermissionsResponseApplicationJson_Ocs); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -17535,85 +21947,32 @@ class _$RoomSetPermissionsResponseApplicationJsonSerializer } } -class _$ParticipantSerializer implements StructuredSerializer { +class _$SignalingSendMessagesResponseApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [Participant, _$Participant]; + final Iterable types = const [ + SignalingSendMessagesResponseApplicationJson, + _$SignalingSendMessagesResponseApplicationJson + ]; @override - final String wireName = 'Participant'; + final String wireName = 'SignalingSendMessagesResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, Participant object, + Iterable serialize(Serializers serializers, SignalingSendMessagesResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'actorId', - serializers.serialize(object.actorId, specifiedType: const FullType(String)), - 'actorType', - serializers.serialize(object.actorType, specifiedType: const FullType(ActorType)), - 'attendeeId', - serializers.serialize(object.attendeeId, specifiedType: const FullType(int)), - 'attendeePermissions', - serializers.serialize(object.attendeePermissions, specifiedType: const FullType(int)), - 'attendeePin', - serializers.serialize(object.attendeePin, specifiedType: const FullType(String)), - 'displayName', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), - 'inCall', - serializers.serialize(object.inCall, specifiedType: const FullType(int)), - 'lastPing', - serializers.serialize(object.lastPing, specifiedType: const FullType(int)), - 'participantType', - serializers.serialize(object.participantType, specifiedType: const FullType(int)), - 'permissions', - serializers.serialize(object.permissions, specifiedType: const FullType(int)), - 'roomToken', - serializers.serialize(object.roomToken, specifiedType: const FullType(String)), - 'sessionIds', - serializers.serialize(object.sessionIds, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(SignalingSendMessagesResponseApplicationJson_Ocs)), ]; - Object? value; - value = object.status; - if (value != null) { - result - ..add('status') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusClearAt; - if (value != null) { - result - ..add('statusClearAt') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.statusIcon; - if (value != null) { - result - ..add('statusIcon') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.statusMessage; - if (value != null) { - result - ..add('statusMessage') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.phoneNumber; - if (value != null) { - result - ..add('phoneNumber') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.callId; - if (value != null) { - result - ..add('callId') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - Participant deserialize(Serializers serializers, Iterable serialized, + SignalingSendMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ParticipantBuilder(); + final result = SignalingSendMessagesResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17621,60 +21980,10 @@ class _$ParticipantSerializer implements StructuredSerializer { iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'actorId': - result.actorId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'actorType': - result.actorType = serializers.deserialize(value, specifiedType: const FullType(ActorType))! as ActorType; - break; - case 'attendeeId': - result.attendeeId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'attendeePermissions': - result.attendeePermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'attendeePin': - result.attendeePin = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'displayName': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'inCall': - result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lastPing': - result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'participantType': - result.participantType = 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 'roomToken': - result.roomToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'sessionIds': - result.sessionIds.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'status': - result.status = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'statusClearAt': - result.statusClearAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'statusIcon': - result.statusIcon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'statusMessage': - result.statusMessage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'phoneNumber': - result.phoneNumber = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'callId': - result.callId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(SignalingSendMessagesResponseApplicationJson_Ocs))! + as SignalingSendMessagesResponseApplicationJson_Ocs); break; } } @@ -17683,33 +21992,35 @@ class _$ParticipantSerializer implements StructuredSerializer { } } -class _$RoomGetParticipantsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$SignalingGetWelcomeMessageResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetParticipantsResponseApplicationJson_Ocs, - _$RoomGetParticipantsResponseApplicationJson_Ocs + SignalingGetWelcomeMessageResponseApplicationJson_Ocs, + _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomGetParticipantsResponseApplicationJson_Ocs'; + final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), + serializers.serialize(object.data, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), ]; return result; } @override - RoomGetParticipantsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + SignalingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetParticipantsResponseApplicationJson_OcsBuilder(); + final result = SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17722,7 +22033,7 @@ class _$RoomGetParticipantsResponseApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); break; } } @@ -17731,31 +22042,32 @@ class _$RoomGetParticipantsResponseApplicationJson_OcsSerializer } } -class _$RoomGetParticipantsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomGetParticipantsResponseApplicationJson, - _$RoomGetParticipantsResponseApplicationJson + SignalingGetWelcomeMessageResponseApplicationJson, + _$SignalingGetWelcomeMessageResponseApplicationJson ]; @override - final String wireName = 'RoomGetParticipantsResponseApplicationJson'; + final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomGetParticipantsResponseApplicationJson object, + Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomGetParticipantsResponseApplicationJson_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs)), ]; return result; } @override - RoomGetParticipantsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + SignalingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetParticipantsResponseApplicationJsonBuilder(); + final result = SignalingGetWelcomeMessageResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17765,8 +22077,8 @@ class _$RoomGetParticipantsResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetParticipantsResponseApplicationJson_Ocs))! - as RoomGetParticipantsResponseApplicationJson_Ocs); + specifiedType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs))! + as SignalingGetWelcomeMessageResponseApplicationJson_Ocs); break; } } @@ -17775,30 +22087,33 @@ class _$RoomGetParticipantsResponseApplicationJsonSerializer } } -class _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer { +class _$TempAvatarPostAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [RoomRoomGetParticipantsHeaders, _$RoomRoomGetParticipantsHeaders]; + final Iterable types = const [ + TempAvatarPostAvatarResponseApplicationJson_Ocs, + _$TempAvatarPostAvatarResponseApplicationJson_Ocs + ]; @override - final String wireName = 'RoomRoomGetParticipantsHeaders'; + final String wireName = 'TempAvatarPostAvatarResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomRoomGetParticipantsHeaders object, + Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.xNextcloudHasUserStatuses; - if (value != null) { - result - ..add('x-nextcloud-has-user-statuses') - ..add(serializers.serialize(value, specifiedType: const FullType(Header, [FullType(bool)]))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + return result; } @override - RoomRoomGetParticipantsHeaders deserialize(Serializers serializers, Iterable serialized, + TempAvatarPostAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRoomGetParticipantsHeadersBuilder(); + final result = TempAvatarPostAvatarResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17806,9 +22121,11 @@ class _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-nextcloud-has-user-statuses': - result.xNextcloudHasUserStatuses.replace( - serializers.deserialize(value, specifiedType: const FullType(Header, [FullType(bool)]))! as Header); + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -17817,32 +22134,31 @@ class _$RoomRoomGetParticipantsHeadersSerializer implements StructuredSerializer } } -class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer - implements StructuredSerializer { +class _$TempAvatarPostAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0, - _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 + TempAvatarPostAvatarResponseApplicationJson, + _$TempAvatarPostAvatarResponseApplicationJson ]; @override - final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0'; + final String wireName = 'TempAvatarPostAvatarResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 object, + Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'type', - serializers.serialize(object.type, specifiedType: const FullType(int)), + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs)), ]; return result; } @override - RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0 deserialize( - Serializers serializers, Iterable serialized, + TempAvatarPostAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Builder(); + final result = TempAvatarPostAvatarResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17850,8 +22166,10 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs))! + as TempAvatarPostAvatarResponseApplicationJson_Ocs); break; } } @@ -17860,34 +22178,33 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data0Serializer } } -class _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$TempAvatarDeleteAvatarResponseApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomAddParticipantToRoomResponseApplicationJson_Ocs, - _$RoomAddParticipantToRoomResponseApplicationJson_Ocs + TempAvatarDeleteAvatarResponseApplicationJson_Ocs, + _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs ]; @override - final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson_Ocs'; + final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - RoomAddParticipantToRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + TempAvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomAddParticipantToRoomResponseApplicationJson_OcsBuilder(); + final result = TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17899,9 +22216,7 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); break; case 'data': - result.data = serializers.deserialize(value, - specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data))! - as RoomAddParticipantToRoomResponseApplicationJson_Ocs_Data; + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -17910,32 +22225,32 @@ class _$RoomAddParticipantToRoomResponseApplicationJson_OcsSerializer } } -class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$TempAvatarDeleteAvatarResponseApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomAddParticipantToRoomResponseApplicationJson, - _$RoomAddParticipantToRoomResponseApplicationJson + TempAvatarDeleteAvatarResponseApplicationJson, + _$TempAvatarDeleteAvatarResponseApplicationJson ]; @override - final String wireName = 'RoomAddParticipantToRoomResponseApplicationJson'; + final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson'; @override - Iterable serialize(Serializers serializers, RoomAddParticipantToRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs)), + specifiedType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs)), ]; return result; } @override - RoomAddParticipantToRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + TempAvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomAddParticipantToRoomResponseApplicationJsonBuilder(); + final result = TempAvatarDeleteAvatarResponseApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17945,8 +22260,8 @@ class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomAddParticipantToRoomResponseApplicationJson_Ocs))! - as RoomAddParticipantToRoomResponseApplicationJson_Ocs); + specifiedType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs))! + as TempAvatarDeleteAvatarResponseApplicationJson_Ocs); break; } } @@ -17955,35 +22270,51 @@ class _$RoomAddParticipantToRoomResponseApplicationJsonSerializer } } -class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$BotWithDetailsAndSecretSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs, - _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs - ]; + final Iterable types = const [BotWithDetailsAndSecret, _$BotWithDetailsAndSecret]; @override - final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs'; + final String wireName = 'BotWithDetailsAndSecret'; @override - Iterable serialize( - Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, BotWithDetailsAndSecret object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(Participant)])), + 'secret', + serializers.serialize(object.secret, specifiedType: const FullType(String)), + 'error_count', + serializers.serialize(object.errorCount, specifiedType: const FullType(int)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(int)), + 'last_error_date', + serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), + 'last_error_message', + serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'url_hash', + serializers.serialize(object.urlHash, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + BotWithDetailsAndSecret deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsBuilder(); + final result = BotWithDetailsAndSecretBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -17991,12 +22322,38 @@ class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'secret': + result.secret = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(Participant)]))! as BuiltList); + case 'error_count': + result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'features': + result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_date': + result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'last_error_message': + result.lastErrorMessage = 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 'url_hash': + result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'state': + result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -18005,33 +22362,39 @@ class _$RoomGetBreakoutRoomParticipantsResponseApplicationJson_OcsSerializer } } -class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$FederationInviteSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomGetBreakoutRoomParticipantsResponseApplicationJson, - _$RoomGetBreakoutRoomParticipantsResponseApplicationJson - ]; + final Iterable types = const [FederationInvite, _$FederationInvite]; @override - final String wireName = 'RoomGetBreakoutRoomParticipantsResponseApplicationJson'; + final String wireName = 'FederationInvite'; @override - Iterable serialize(Serializers serializers, RoomGetBreakoutRoomParticipantsResponseApplicationJson object, + Iterable serialize(Serializers serializers, FederationInvite object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs)), + 'access_token', + serializers.serialize(object.accessToken, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'local_room_id', + serializers.serialize(object.localRoomId, specifiedType: const FullType(int)), + 'remote_attendee_id', + serializers.serialize(object.remoteAttendeeId, specifiedType: const FullType(String)), + 'remote_server_url', + serializers.serialize(object.remoteServerUrl, specifiedType: const FullType(String)), + 'remote_token', + serializers.serialize(object.remoteToken, specifiedType: const FullType(String)), + 'user_id', + serializers.serialize(object.userId, specifiedType: const FullType(String)), ]; return result; } @override - RoomGetBreakoutRoomParticipantsResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, + FederationInvite deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomGetBreakoutRoomParticipantsResponseApplicationJsonBuilder(); + final result = FederationInviteBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18039,10 +22402,26 @@ class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs))! - as RoomGetBreakoutRoomParticipantsResponseApplicationJson_Ocs); + case 'access_token': + result.accessToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'local_room_id': + result.localRoomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'remote_attendee_id': + result.remoteAttendeeId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'remote_server_url': + result.remoteServerUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'remote_token': + result.remoteToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'user_id': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -18051,34 +22430,113 @@ class _$RoomGetBreakoutRoomParticipantsResponseApplicationJsonSerializer } } -class _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_AttachmentsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRoomGetBreakoutRoomParticipantsHeaders, - _$RoomRoomGetBreakoutRoomParticipantsHeaders + PublicCapabilities0_Spreed_Config_Attachments, + _$PublicCapabilities0_Spreed_Config_Attachments ]; @override - final String wireName = 'RoomRoomGetBreakoutRoomParticipantsHeaders'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Attachments'; @override - Iterable serialize(Serializers serializers, RoomRoomGetBreakoutRoomParticipantsHeaders object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Attachments object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'allowed', + serializers.serialize(object.allowed, specifiedType: const FullType(bool)), + ]; + Object? value; + value = object.folder; + if (value != null) { + result + ..add('folder') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + PublicCapabilities0_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = PublicCapabilities0_Spreed_Config_AttachmentsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'allowed': + result.allowed = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'folder': + result.folder = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$PublicCapabilities0_Spreed_Config_CallSerializer + implements StructuredSerializer { + @override + final Iterable types = const [PublicCapabilities0_Spreed_Config_Call, _$PublicCapabilities0_Spreed_Config_Call]; + @override + final String wireName = 'PublicCapabilities0_Spreed_Config_Call'; + + @override + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Call object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'breakout-rooms', + serializers.serialize(object.breakoutRooms, specifiedType: const FullType(bool)), + 'recording', + serializers.serialize(object.recording, specifiedType: const FullType(bool)), + 'supported-reactions', + serializers.serialize(object.supportedReactions, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'predefined-backgrounds', + serializers.serialize(object.predefinedBackgrounds, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'can-upload-background', + serializers.serialize(object.canUploadBackground, specifiedType: const FullType(bool)), + ]; Object? value; - value = object.xNextcloudHasUserStatuses; + value = object.recordingConsent; if (value != null) { result - ..add('x-nextcloud-has-user-statuses') - ..add(serializers.serialize(value, specifiedType: const FullType(Header, [FullType(bool)]))); + ..add('recording-consent') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.sipEnabled; + if (value != null) { + result + ..add('sip-enabled') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.sipDialoutEnabled; + if (value != null) { + result + ..add('sip-dialout-enabled') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.canEnableSip; + if (value != null) { + result + ..add('can-enable-sip') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); } return result; } @override - RoomRoomGetBreakoutRoomParticipantsHeaders deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRoomGetBreakoutRoomParticipantsHeadersBuilder(); + final result = PublicCapabilities0_Spreed_Config_CallBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18086,9 +22544,37 @@ class _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'x-nextcloud-has-user-statuses': - result.xNextcloudHasUserStatuses.replace( - serializers.deserialize(value, specifiedType: const FullType(Header, [FullType(bool)]))! as Header); + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'breakout-rooms': + result.breakoutRooms = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'recording': + result.recording = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'recording-consent': + result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'supported-reactions': + result.supportedReactions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'predefined-backgrounds': + result.predefinedBackgrounds.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'can-upload-background': + result.canUploadBackground = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'sip-enabled': + result.sipEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'sip-dialout-enabled': + result.sipDialoutEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'can-enable-sip': + result.canEnableSip = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; } } @@ -18097,33 +22583,44 @@ class _$RoomRoomGetBreakoutRoomParticipantsHeadersSerializer } } -class _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_ChatSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - RoomRemoveSelfFromRoomResponseApplicationJson_Ocs, - _$RoomRemoveSelfFromRoomResponseApplicationJson_Ocs - ]; + final Iterable types = const [PublicCapabilities0_Spreed_Config_Chat, _$PublicCapabilities0_Spreed_Config_Chat]; @override - final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson_Ocs'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Chat'; @override - Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Chat object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'max-length', + serializers.serialize(object.maxLength, specifiedType: const FullType(int)), + 'read-privacy', + serializers.serialize(object.readPrivacy, specifiedType: const FullType(int)), + 'typing-privacy', + serializers.serialize(object.typingPrivacy, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.hasTranslationProviders; + if (value != null) { + result + ..add('has-translation-providers') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.translations; + if (value != null) { + result + ..add('translations') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } return result; } @override - RoomRemoveSelfFromRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveSelfFromRoomResponseApplicationJson_OcsBuilder(); + final result = PublicCapabilities0_Spreed_Config_ChatBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18131,11 +22628,21 @@ class _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'max-length': + result.maxLength = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'read-privacy': + result.readPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'has-translation-providers': + result.hasTranslationProviders = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'typing-privacy': + result.typingPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'translations': + result.translations.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -18144,32 +22651,31 @@ class _$RoomRemoveSelfFromRoomResponseApplicationJson_OcsSerializer } } -class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_ConversationsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRemoveSelfFromRoomResponseApplicationJson, - _$RoomRemoveSelfFromRoomResponseApplicationJson + PublicCapabilities0_Spreed_Config_Conversations, + _$PublicCapabilities0_Spreed_Config_Conversations ]; @override - final String wireName = 'RoomRemoveSelfFromRoomResponseApplicationJson'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Conversations'; @override - Iterable serialize(Serializers serializers, RoomRemoveSelfFromRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Conversations object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs)), + 'can-create', + serializers.serialize(object.canCreate, specifiedType: const FullType(bool)), ]; return result; } @override - RoomRemoveSelfFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Conversations deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveSelfFromRoomResponseApplicationJsonBuilder(); + final result = PublicCapabilities0_Spreed_Config_ConversationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18177,10 +22683,8 @@ class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomRemoveSelfFromRoomResponseApplicationJson_Ocs))! - as RoomRemoveSelfFromRoomResponseApplicationJson_Ocs); + case 'can-create': + result.canCreate = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -18189,34 +22693,31 @@ class _$RoomRemoveSelfFromRoomResponseApplicationJsonSerializer } } -class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_PreviewsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs, - _$RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs + PublicCapabilities0_Spreed_Config_Previews, + _$PublicCapabilities0_Spreed_Config_Previews ]; @override - final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Previews'; @override - Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Previews object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'max-gif-size', + serializers.serialize(object.maxGifSize, specifiedType: const FullType(int)), ]; return result; } @override - RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsBuilder(); + final result = PublicCapabilities0_Spreed_Config_PreviewsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18224,11 +22725,8 @@ class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'max-gif-size': + result.maxGifSize = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -18237,32 +22735,37 @@ class _$RoomRemoveAttendeeFromRoomResponseApplicationJson_OcsSerializer } } -class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_Config_SignalingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - RoomRemoveAttendeeFromRoomResponseApplicationJson, - _$RoomRemoveAttendeeFromRoomResponseApplicationJson + PublicCapabilities0_Spreed_Config_Signaling, + _$PublicCapabilities0_Spreed_Config_Signaling ]; @override - final String wireName = 'RoomRemoveAttendeeFromRoomResponseApplicationJson'; + final String wireName = 'PublicCapabilities0_Spreed_Config_Signaling'; @override - Iterable serialize(Serializers serializers, RoomRemoveAttendeeFromRoomResponseApplicationJson object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Signaling object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs)), + 'session-ping-limit', + serializers.serialize(object.sessionPingLimit, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.helloV2TokenKey; + if (value != null) { + result + ..add('hello-v2-token-key') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - RoomRemoveAttendeeFromRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveAttendeeFromRoomResponseApplicationJsonBuilder(); + final result = PublicCapabilities0_Spreed_Config_SignalingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18270,10 +22773,11 @@ class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs))! - as RoomRemoveAttendeeFromRoomResponseApplicationJson_Ocs); + case 'session-ping-limit': + result.sessionPingLimit = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'hello-v2-token-key': + result.helloV2TokenKey = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -18282,34 +22786,40 @@ class _$RoomRemoveAttendeeFromRoomResponseApplicationJsonSerializer } } -class _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_Spreed_ConfigSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetAttendeePermissionsResponseApplicationJson_Ocs, - _$RoomSetAttendeePermissionsResponseApplicationJson_Ocs - ]; + final Iterable types = const [PublicCapabilities0_Spreed_Config, _$PublicCapabilities0_Spreed_Config]; @override - final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson_Ocs'; + final String wireName = 'PublicCapabilities0_Spreed_Config'; @override - Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + 'attachments', + serializers.serialize(object.attachments, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments)), + 'call', + serializers.serialize(object.call, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call)), + 'chat', + serializers.serialize(object.chat, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat)), + 'conversations', + serializers.serialize(object.conversations, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations)), + 'previews', + serializers.serialize(object.previews, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews)), + 'signaling', + serializers.serialize(object.signaling, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling)), ]; return result; } @override - RoomSetAttendeePermissionsResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed_Config deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetAttendeePermissionsResponseApplicationJson_OcsBuilder(); + final result = PublicCapabilities0_Spreed_ConfigBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18317,11 +22827,35 @@ class _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); + case 'attachments': + result.attachments.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments))! + as PublicCapabilities0_Spreed_Config_Attachments); break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + case 'call': + result.call.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call))! + as PublicCapabilities0_Spreed_Config_Call); + break; + case 'chat': + result.chat.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat))! + as PublicCapabilities0_Spreed_Config_Chat); + break; + case 'conversations': + result.conversations.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations))! + as PublicCapabilities0_Spreed_Config_Conversations); + break; + case 'previews': + result.previews.replace( + serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews))! + as PublicCapabilities0_Spreed_Config_Previews); + break; + case 'signaling': + result.signaling.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling))! + as PublicCapabilities0_Spreed_Config_Signaling); break; } } @@ -18330,32 +22864,31 @@ class _$RoomSetAttendeePermissionsResponseApplicationJson_OcsSerializer } } -class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$PublicCapabilities0_SpreedSerializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetAttendeePermissionsResponseApplicationJson, - _$RoomSetAttendeePermissionsResponseApplicationJson - ]; + final Iterable types = const [PublicCapabilities0_Spreed, _$PublicCapabilities0_Spreed]; @override - final String wireName = 'RoomSetAttendeePermissionsResponseApplicationJson'; + final String wireName = 'PublicCapabilities0_Spreed'; @override - Iterable serialize(Serializers serializers, RoomSetAttendeePermissionsResponseApplicationJson object, + Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs)), + 'features', + serializers.serialize(object.features, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'config', + serializers.serialize(object.config, specifiedType: const FullType(PublicCapabilities0_Spreed_Config)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), ]; return result; } @override - RoomSetAttendeePermissionsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, + PublicCapabilities0_Spreed deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetAttendeePermissionsResponseApplicationJsonBuilder(); + final result = PublicCapabilities0_SpreedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18363,10 +22896,16 @@ class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(RoomSetAttendeePermissionsResponseApplicationJson_Ocs))! - as RoomSetAttendeePermissionsResponseApplicationJson_Ocs); + case 'features': + result.features.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'config': + result.config.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed_Config))! as PublicCapabilities0_Spreed_Config); + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -18375,34 +22914,27 @@ class _$RoomSetAttendeePermissionsResponseApplicationJsonSerializer } } -class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$PublicCapabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs, - _$RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs - ]; + final Iterable types = const [PublicCapabilities0, _$PublicCapabilities0]; @override - final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs'; + final String wireName = 'PublicCapabilities0'; @override - Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, PublicCapabilities0 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), + 'spreed', + serializers.serialize(object.spreed, specifiedType: const FullType(PublicCapabilities0_Spreed)), ]; return result; } @override - RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, + PublicCapabilities0 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsBuilder(); + final result = PublicCapabilities0Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -18410,11 +22942,9 @@ class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); + case 'spreed': + result.spreed.replace(serializers.deserialize(value, + specifiedType: const FullType(PublicCapabilities0_Spreed))! as PublicCapabilities0_Spreed); break; } } @@ -18423,3313 +22953,3425 @@ class _$RoomSetAllAttendeesPermissionsResponseApplicationJson_OcsSerializer } } -class _$RoomSetAllAttendeesPermissionsResponseApplicationJsonSerializer - implements StructuredSerializer { +abstract mixin class $OCSMetaInterfaceBuilder { + void replace($OCSMetaInterface other); + void update(void Function($OCSMetaInterfaceBuilder) updates); + String? get status; + set status(String? status); + + int? get statuscode; + set statuscode(int? statuscode); + + String? get message; + set message(String? message); + + String? get totalitems; + set totalitems(String? totalitems); + + String? get itemsperpage; + set itemsperpage(String? itemsperpage); +} + +class _$OCSMeta extends OCSMeta { @override - final Iterable types = const [ - RoomSetAllAttendeesPermissionsResponseApplicationJson, - _$RoomSetAllAttendeesPermissionsResponseApplicationJson - ]; + final String status; @override - final String wireName = 'RoomSetAllAttendeesPermissionsResponseApplicationJson'; + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + + _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + } @override - Iterable serialize(Serializers serializers, RoomSetAllAttendeesPermissionsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs)), - ]; + OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); - return result; + @override + OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is OCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; } @override - RoomSetAllAttendeesPermissionsResponseApplicationJson deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetAllAttendeesPermissionsResponseApplicationJsonBuilder(); + 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; + } - 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(RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs))! - as RoomSetAllAttendeesPermissionsResponseApplicationJson_Ocs); - break; - } + @override + String toString() { + return (newBuiltValueToStringHelper(r'OCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class OCSMetaBuilder implements Builder, $OCSMetaInterfaceBuilder { + _$OCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(covariant String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(covariant String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + OCSMetaBuilder(); + + OCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; } + return this; + } - return result.build(); + @override + void replace(covariant OCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$OCSMeta; } -} -class _$RoomJoinRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomJoinRoomResponseApplicationJson_Ocs, - _$RoomJoinRoomResponseApplicationJson_Ocs - ]; @override - final String wireName = 'RoomJoinRoomResponseApplicationJson_Ocs'; + void update(void Function(OCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; + OCSMeta build() => _build(); - return result; + _$OCSMeta _build() { + final _$result = _$v ?? + _$OCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; } +} - @override - RoomJoinRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomJoinRoomResponseApplicationJson_OcsBuilder(); +abstract mixin class $RichObjectParameterAddressbookInterfaceBuilder { + void replace($RichObjectParameterAddressbookInterface other); + void update(void Function($RichObjectParameterAddressbookInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); } -class _$RoomJoinRoomResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterAddressbook extends RichObjectParameterAddressbook { @override - final Iterable types = const [RoomJoinRoomResponseApplicationJson, _$RoomJoinRoomResponseApplicationJson]; + final String type; @override - final String wireName = 'RoomJoinRoomResponseApplicationJson'; - + final String id; @override - Iterable serialize(Serializers serializers, RoomJoinRoomResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomJoinRoomResponseApplicationJson_Ocs)), - ]; + final String name; - return result; + factory _$RichObjectParameterAddressbook([void Function(RichObjectParameterAddressbookBuilder)? updates]) => + (RichObjectParameterAddressbookBuilder()..update(updates))._build(); + + _$RichObjectParameterAddressbook._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAddressbook', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAddressbook', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAddressbook', 'name'); } @override - RoomJoinRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomJoinRoomResponseApplicationJsonBuilder(); + RichObjectParameterAddressbook rebuild(void Function(RichObjectParameterAddressbookBuilder) updates) => + (toBuilder()..update(updates)).build(); - 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(RoomJoinRoomResponseApplicationJson_Ocs))! - as RoomJoinRoomResponseApplicationJson_Ocs); - break; - } - } + @override + RichObjectParameterAddressbookBuilder toBuilder() => RichObjectParameterAddressbookBuilder()..replace(this); - return result.build(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterAddressbook && type == other.type && id == other.id && name == other.name; } -} -class _$RoomLeaveRoomResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomLeaveRoomResponseApplicationJson_Ocs, - _$RoomLeaveRoomResponseApplicationJson_Ocs - ]; @override - final String wireName = 'RoomLeaveRoomResponseApplicationJson_Ocs'; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } @override - Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; - - return result; + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterAddressbook') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); } +} - @override - RoomLeaveRoomResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomLeaveRoomResponseApplicationJson_OcsBuilder(); +class RichObjectParameterAddressbookBuilder + implements + Builder, + $RichObjectParameterAddressbookInterfaceBuilder { + _$RichObjectParameterAddressbook? _$v; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - return result.build(); + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterAddressbookBuilder(); + + RichObjectParameterAddressbookBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$RoomLeaveRoomResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [RoomLeaveRoomResponseApplicationJson, _$RoomLeaveRoomResponseApplicationJson]; @override - final String wireName = 'RoomLeaveRoomResponseApplicationJson'; + void replace(covariant RichObjectParameterAddressbook other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterAddressbook; + } @override - Iterable serialize(Serializers serializers, RoomLeaveRoomResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomLeaveRoomResponseApplicationJson_Ocs)), - ]; - - return result; + void update(void Function(RichObjectParameterAddressbookBuilder)? updates) { + if (updates != null) updates(this); } @override - RoomLeaveRoomResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomLeaveRoomResponseApplicationJsonBuilder(); - - 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(RoomLeaveRoomResponseApplicationJson_Ocs))! - as RoomLeaveRoomResponseApplicationJson_Ocs); - break; - } - } + RichObjectParameterAddressbook build() => _build(); - return result.build(); + _$RichObjectParameterAddressbook _build() { + final _$result = _$v ?? + _$RichObjectParameterAddressbook._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAddressbook', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAddressbook', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAddressbook', 'name')); + replace(_$result); + return _$result; } } -class _$RoomResendInvitationsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomResendInvitationsResponseApplicationJson_Ocs, - _$RoomResendInvitationsResponseApplicationJson_Ocs - ]; - @override - final String wireName = 'RoomResendInvitationsResponseApplicationJson_Ocs'; +abstract mixin class $RichObjectParameterAddressbookContactInterfaceBuilder { + void replace($RichObjectParameterAddressbookContactInterface other); + void update(void Function($RichObjectParameterAddressbookContactInterfaceBuilder) updates); + String? get type; + set type(String? type); - @override - Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + String? get id; + set id(String? id); - return result; - } + String? get name; + set name(String? name); +} +class _$RichObjectParameterAddressbookContact extends RichObjectParameterAddressbookContact { @override - RoomResendInvitationsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomResendInvitationsResponseApplicationJson_OcsBuilder(); + final String type; + @override + final String id; + @override + final String name; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + factory _$RichObjectParameterAddressbookContact( + [void Function(RichObjectParameterAddressbookContactBuilder)? updates]) => + (RichObjectParameterAddressbookContactBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterAddressbookContact._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAddressbookContact', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAddressbookContact', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAddressbookContact', 'name'); } -} -class _$RoomResendInvitationsResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomResendInvitationsResponseApplicationJson, - _$RoomResendInvitationsResponseApplicationJson - ]; + RichObjectParameterAddressbookContact rebuild(void Function(RichObjectParameterAddressbookContactBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomResendInvitationsResponseApplicationJson'; + RichObjectParameterAddressbookContactBuilder toBuilder() => + RichObjectParameterAddressbookContactBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomResendInvitationsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomResendInvitationsResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterAddressbookContact && type == other.type && id == other.id && name == other.name; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomResendInvitationsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomResendInvitationsResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterAddressbookContact') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} - 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(RoomResendInvitationsResponseApplicationJson_Ocs))! - as RoomResendInvitationsResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterAddressbookContactBuilder + implements + Builder, + $RichObjectParameterAddressbookContactInterfaceBuilder { + _$RichObjectParameterAddressbookContact? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterAddressbookContactBuilder(); + + RichObjectParameterAddressbookContactBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$RoomSetSessionStateResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetSessionStateResponseApplicationJson_Ocs, - _$RoomSetSessionStateResponseApplicationJson_Ocs - ]; + void replace(covariant RichObjectParameterAddressbookContact other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterAddressbookContact; + } + @override - final String wireName = 'RoomSetSessionStateResponseApplicationJson_Ocs'; + void update(void Function(RichObjectParameterAddressbookContactBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; + RichObjectParameterAddressbookContact build() => _build(); - return result; + _$RichObjectParameterAddressbookContact _build() { + final _$result = _$v ?? + _$RichObjectParameterAddressbookContact._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAddressbookContact', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAddressbookContact', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAddressbookContact', 'name')); + replace(_$result); + return _$result; } +} - @override - RoomSetSessionStateResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetSessionStateResponseApplicationJson_OcsBuilder(); +abstract mixin class $RichObjectParameterAnnouncementInterfaceBuilder { + void replace($RichObjectParameterAnnouncementInterface other); + void update(void Function($RichObjectParameterAnnouncementInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get link; + set link(String? link); } -class _$RoomSetSessionStateResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterAnnouncement extends RichObjectParameterAnnouncement { @override - final Iterable types = const [ - RoomSetSessionStateResponseApplicationJson, - _$RoomSetSessionStateResponseApplicationJson - ]; + final String type; @override - final String wireName = 'RoomSetSessionStateResponseApplicationJson'; - + final String id; @override - Iterable serialize(Serializers serializers, RoomSetSessionStateResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetSessionStateResponseApplicationJson_Ocs)), - ]; - - return result; - } - + final String name; @override - RoomSetSessionStateResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetSessionStateResponseApplicationJsonBuilder(); + final String? link; - 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(RoomSetSessionStateResponseApplicationJson_Ocs))! - as RoomSetSessionStateResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterAnnouncement([void Function(RichObjectParameterAnnouncementBuilder)? updates]) => + (RichObjectParameterAnnouncementBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterAnnouncement._({required this.type, required this.id, required this.name, this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAnnouncement', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAnnouncement', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAnnouncement', 'name'); } -} -class _$RoomPromoteModeratorResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomPromoteModeratorResponseApplicationJson_Ocs, - _$RoomPromoteModeratorResponseApplicationJson_Ocs - ]; + RichObjectParameterAnnouncement rebuild(void Function(RichObjectParameterAnnouncementBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomPromoteModeratorResponseApplicationJson_Ocs'; + RichObjectParameterAnnouncementBuilder toBuilder() => RichObjectParameterAnnouncementBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterAnnouncement && + type == other.type && + id == other.id && + name == other.name && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomPromoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomPromoteModeratorResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterAnnouncement') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } +class RichObjectParameterAnnouncementBuilder + implements + Builder, + $RichObjectParameterAnnouncementInterfaceBuilder { + _$RichObjectParameterAnnouncement? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterAnnouncementBuilder(); + + RichObjectParameterAnnouncementBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$RoomPromoteModeratorResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomPromoteModeratorResponseApplicationJson, - _$RoomPromoteModeratorResponseApplicationJson - ]; + void replace(covariant RichObjectParameterAnnouncement other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterAnnouncement; + } + @override - final String wireName = 'RoomPromoteModeratorResponseApplicationJson'; + void update(void Function(RichObjectParameterAnnouncementBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomPromoteModeratorResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomPromoteModeratorResponseApplicationJson_Ocs)), - ]; + RichObjectParameterAnnouncement build() => _build(); - return result; + _$RichObjectParameterAnnouncement _build() { + final _$result = _$v ?? + _$RichObjectParameterAnnouncement._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterAnnouncement', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterAnnouncement', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterAnnouncement', 'name'), + link: link); + replace(_$result); + return _$result; } +} + +abstract mixin class $RichObjectParameterAppInterfaceBuilder { + void replace($RichObjectParameterAppInterface other); + void update(void Function($RichObjectParameterAppInterfaceBuilder) updates); + String? get type; + set type(String? type); + + String? get id; + set id(String? id); + + String? get name; + set name(String? name); +} +class _$RichObjectParameterApp extends RichObjectParameterApp { @override - RoomPromoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomPromoteModeratorResponseApplicationJsonBuilder(); + final String type; + @override + final String id; + @override + final String name; - 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(RoomPromoteModeratorResponseApplicationJson_Ocs))! - as RoomPromoteModeratorResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterApp([void Function(RichObjectParameterAppBuilder)? updates]) => + (RichObjectParameterAppBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterApp._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterApp', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterApp', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterApp', 'name'); } -} -class _$RoomDemoteModeratorResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomDemoteModeratorResponseApplicationJson_Ocs, - _$RoomDemoteModeratorResponseApplicationJson_Ocs - ]; + RichObjectParameterApp rebuild(void Function(RichObjectParameterAppBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomDemoteModeratorResponseApplicationJson_Ocs'; + RichObjectParameterAppBuilder toBuilder() => RichObjectParameterAppBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterApp && type == other.type && id == other.id && name == other.name; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomDemoteModeratorResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomDemoteModeratorResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterApp') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } +class RichObjectParameterAppBuilder + implements Builder, $RichObjectParameterAppInterfaceBuilder { + _$RichObjectParameterApp? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterAppBuilder(); + + RichObjectParameterAppBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$RoomDemoteModeratorResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomDemoteModeratorResponseApplicationJson, - _$RoomDemoteModeratorResponseApplicationJson - ]; + void replace(covariant RichObjectParameterApp other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterApp; + } + @override - final String wireName = 'RoomDemoteModeratorResponseApplicationJson'; + void update(void Function(RichObjectParameterAppBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomDemoteModeratorResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomDemoteModeratorResponseApplicationJson_Ocs)), - ]; + RichObjectParameterApp build() => _build(); - return result; + _$RichObjectParameterApp _build() { + final _$result = _$v ?? + _$RichObjectParameterApp._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterApp', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterApp', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterApp', 'name')); + replace(_$result); + return _$result; } +} + +abstract mixin class $RichObjectParameterCalendarInterfaceBuilder { + void replace($RichObjectParameterCalendarInterface other); + void update(void Function($RichObjectParameterCalendarInterfaceBuilder) updates); + String? get type; + set type(String? type); + + String? get id; + set id(String? id); + String? get name; + set name(String? name); +} + +class _$RichObjectParameterCalendar extends RichObjectParameterCalendar { @override - RoomDemoteModeratorResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomDemoteModeratorResponseApplicationJsonBuilder(); + final String type; + @override + final String id; + @override + final String name; - 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(RoomDemoteModeratorResponseApplicationJson_Ocs))! - as RoomDemoteModeratorResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterCalendar([void Function(RichObjectParameterCalendarBuilder)? updates]) => + (RichObjectParameterCalendarBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterCalendar._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCalendar', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCalendar', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCalendar', 'name'); } -} -class _$RoomAddToFavoritesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomAddToFavoritesResponseApplicationJson_Ocs, - _$RoomAddToFavoritesResponseApplicationJson_Ocs - ]; + RichObjectParameterCalendar rebuild(void Function(RichObjectParameterCalendarBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomAddToFavoritesResponseApplicationJson_Ocs'; + RichObjectParameterCalendarBuilder toBuilder() => RichObjectParameterCalendarBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterCalendar && type == other.type && id == other.id && name == other.name; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomAddToFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomAddToFavoritesResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterCalendar') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } +class RichObjectParameterCalendarBuilder + implements + Builder, + $RichObjectParameterCalendarInterfaceBuilder { + _$RichObjectParameterCalendar? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterCalendarBuilder(); + + RichObjectParameterCalendarBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; } + return this; + } - return result.build(); + @override + void replace(covariant RichObjectParameterCalendar other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterCalendar; } -} -class _$RoomAddToFavoritesResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomAddToFavoritesResponseApplicationJson, - _$RoomAddToFavoritesResponseApplicationJson - ]; @override - final String wireName = 'RoomAddToFavoritesResponseApplicationJson'; + void update(void Function(RichObjectParameterCalendarBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomAddToFavoritesResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomAddToFavoritesResponseApplicationJson_Ocs)), - ]; + RichObjectParameterCalendar build() => _build(); - return result; + _$RichObjectParameterCalendar _build() { + final _$result = _$v ?? + _$RichObjectParameterCalendar._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCalendar', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCalendar', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCalendar', 'name')); + replace(_$result); + return _$result; } +} - @override - RoomAddToFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomAddToFavoritesResponseApplicationJsonBuilder(); +abstract mixin class $RichObjectParameterCalendarEventInterfaceBuilder { + void replace($RichObjectParameterCalendarEventInterface other); + void update(void Function($RichObjectParameterCalendarEventInterfaceBuilder) updates); + String? get type; + set type(String? type); - 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(RoomAddToFavoritesResponseApplicationJson_Ocs))! - as RoomAddToFavoritesResponseApplicationJson_Ocs); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get link; + set link(String? link); } -class _$RoomRemoveFromFavoritesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterCalendarEvent extends RichObjectParameterCalendarEvent { @override - final Iterable types = const [ - RoomRemoveFromFavoritesResponseApplicationJson_Ocs, - _$RoomRemoveFromFavoritesResponseApplicationJson_Ocs - ]; + final String type; @override - final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson_Ocs'; - + final String id; @override - Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; - - return result; - } - + final String name; @override - RoomRemoveFromFavoritesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveFromFavoritesResponseApplicationJson_OcsBuilder(); + final String? link; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + factory _$RichObjectParameterCalendarEvent([void Function(RichObjectParameterCalendarEventBuilder)? updates]) => + (RichObjectParameterCalendarEventBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterCalendarEvent._({required this.type, required this.id, required this.name, this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCalendarEvent', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCalendarEvent', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCalendarEvent', 'name'); } -} -class _$RoomRemoveFromFavoritesResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomRemoveFromFavoritesResponseApplicationJson, - _$RoomRemoveFromFavoritesResponseApplicationJson - ]; @override - final String wireName = 'RoomRemoveFromFavoritesResponseApplicationJson'; + RichObjectParameterCalendarEvent rebuild(void Function(RichObjectParameterCalendarEventBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - Iterable serialize(Serializers serializers, RoomRemoveFromFavoritesResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomRemoveFromFavoritesResponseApplicationJson_Ocs)), - ]; + RichObjectParameterCalendarEventBuilder toBuilder() => RichObjectParameterCalendarEventBuilder()..replace(this); - return result; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterCalendarEvent && + type == other.type && + id == other.id && + name == other.name && + link == other.link; } @override - RoomRemoveFromFavoritesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomRemoveFromFavoritesResponseApplicationJsonBuilder(); - - 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(RoomRemoveFromFavoritesResponseApplicationJson_Ocs))! - as RoomRemoveFromFavoritesResponseApplicationJson_Ocs); - break; - } - } + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - return result.build(); + @override + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterCalendarEvent') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); } } -class _$RoomSetNotificationLevelResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomSetNotificationLevelResponseApplicationJson_Ocs, - _$RoomSetNotificationLevelResponseApplicationJson_Ocs - ]; - @override - final String wireName = 'RoomSetNotificationLevelResponseApplicationJson_Ocs'; +class RichObjectParameterCalendarEventBuilder + implements + Builder, + $RichObjectParameterCalendarEventInterfaceBuilder { + _$RichObjectParameterCalendarEvent? _$v; - @override - Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - return result; - } + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - @override - RoomSetNotificationLevelResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetNotificationLevelResponseApplicationJson_OcsBuilder(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; - return result.build(); + RichObjectParameterCalendarEventBuilder(); + + RichObjectParameterCalendarEventBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$RoomSetNotificationLevelResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetNotificationLevelResponseApplicationJson, - _$RoomSetNotificationLevelResponseApplicationJson - ]; + void replace(covariant RichObjectParameterCalendarEvent other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterCalendarEvent; + } + @override - final String wireName = 'RoomSetNotificationLevelResponseApplicationJson'; + void update(void Function(RichObjectParameterCalendarEventBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomSetNotificationLevelResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetNotificationLevelResponseApplicationJson_Ocs)), - ]; + RichObjectParameterCalendarEvent build() => _build(); - return result; + _$RichObjectParameterCalendarEvent _build() { + final _$result = _$v ?? + _$RichObjectParameterCalendarEvent._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCalendarEvent', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCalendarEvent', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCalendarEvent', 'name'), + link: link); + replace(_$result); + return _$result; } +} - @override - RoomSetNotificationLevelResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetNotificationLevelResponseApplicationJsonBuilder(); +abstract mixin class $RichObjectParameterCallInterfaceBuilder { + void replace($RichObjectParameterCallInterface other); + void update(void Function($RichObjectParameterCallInterfaceBuilder) updates); + String? get type; + set type(String? type); - 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(RoomSetNotificationLevelResponseApplicationJson_Ocs))! - as RoomSetNotificationLevelResponseApplicationJson_Ocs); - break; - } - } + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get callType; + set callType(String? callType); + + String? get link; + set link(String? link); + + String? get iconUrl; + set iconUrl(String? iconUrl); - return result.build(); - } + String? get messageId; + set messageId(String? messageId); } -class _$RoomSetNotificationCallsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterCall extends RichObjectParameterCall { @override - final Iterable types = const [ - RoomSetNotificationCallsResponseApplicationJson_Ocs, - _$RoomSetNotificationCallsResponseApplicationJson_Ocs - ]; + final String type; @override - final String wireName = 'RoomSetNotificationCallsResponseApplicationJson_Ocs'; - + final String id; @override - Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; - - return result; - } - + final String name; @override - RoomSetNotificationCallsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetNotificationCallsResponseApplicationJson_OcsBuilder(); + final String callType; + @override + final String? link; + @override + final String? iconUrl; + @override + final String? messageId; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + factory _$RichObjectParameterCall([void Function(RichObjectParameterCallBuilder)? updates]) => + (RichObjectParameterCallBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterCall._( + {required this.type, + required this.id, + required this.name, + required this.callType, + this.link, + this.iconUrl, + this.messageId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCall', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCall', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCall', 'name'); + BuiltValueNullFieldError.checkNotNull(callType, r'RichObjectParameterCall', 'callType'); } -} -class _$RoomSetNotificationCallsResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetNotificationCallsResponseApplicationJson, - _$RoomSetNotificationCallsResponseApplicationJson - ]; + RichObjectParameterCall rebuild(void Function(RichObjectParameterCallBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomSetNotificationCallsResponseApplicationJson'; + RichObjectParameterCallBuilder toBuilder() => RichObjectParameterCallBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomSetNotificationCallsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetNotificationCallsResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterCall && + type == other.type && + id == other.id && + name == other.name && + callType == other.callType && + link == other.link && + iconUrl == other.iconUrl && + messageId == other.messageId; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, callType.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, iconUrl.hashCode); + _$hash = $jc(_$hash, messageId.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomSetNotificationCallsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetNotificationCallsResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterCall') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('callType', callType) + ..add('link', link) + ..add('iconUrl', iconUrl) + ..add('messageId', messageId)) + .toString(); + } +} - 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(RoomSetNotificationCallsResponseApplicationJson_Ocs))! - as RoomSetNotificationCallsResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterCallBuilder + implements + Builder, + $RichObjectParameterCallInterfaceBuilder { + _$RichObjectParameterCall? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _callType; + String? get callType => _$this._callType; + set callType(covariant String? callType) => _$this._callType = callType; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(covariant String? iconUrl) => _$this._iconUrl = iconUrl; + + String? _messageId; + String? get messageId => _$this._messageId; + set messageId(covariant String? messageId) => _$this._messageId = messageId; + + RichObjectParameterCallBuilder(); + + RichObjectParameterCallBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _callType = $v.callType; + _link = $v.link; + _iconUrl = $v.iconUrl; + _messageId = $v.messageId; + _$v = null; + } + return this; } -} -class _$RoomSetLobbyResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetLobbyResponseApplicationJson_Ocs, - _$RoomSetLobbyResponseApplicationJson_Ocs - ]; + void replace(covariant RichObjectParameterCall other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterCall; + } + @override - final String wireName = 'RoomSetLobbyResponseApplicationJson_Ocs'; + void update(void Function(RichObjectParameterCallBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; + RichObjectParameterCall build() => _build(); - return result; + _$RichObjectParameterCall _build() { + final _$result = _$v ?? + _$RichObjectParameterCall._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCall', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCall', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCall', 'name'), + callType: BuiltValueNullFieldError.checkNotNull(callType, r'RichObjectParameterCall', 'callType'), + link: link, + iconUrl: iconUrl, + messageId: messageId); + replace(_$result); + return _$result; } +} + +abstract mixin class $RichObjectParameterCircleInterfaceBuilder { + void replace($RichObjectParameterCircleInterface other); + void update(void Function($RichObjectParameterCircleInterfaceBuilder) updates); + String? get type; + set type(String? type); + + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + String? get link; + set link(String? link); +} + +class _$RichObjectParameterCircle extends RichObjectParameterCircle { @override - RoomSetLobbyResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetLobbyResponseApplicationJson_OcsBuilder(); + final String type; + @override + final String id; + @override + final String name; + @override + final String link; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } + factory _$RichObjectParameterCircle([void Function(RichObjectParameterCircleBuilder)? updates]) => + (RichObjectParameterCircleBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterCircle._({required this.type, required this.id, required this.name, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCircle', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCircle', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCircle', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterCircle', 'link'); } -} -class _$RoomSetLobbyResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [RoomSetLobbyResponseApplicationJson, _$RoomSetLobbyResponseApplicationJson]; + RichObjectParameterCircle rebuild(void Function(RichObjectParameterCircleBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomSetLobbyResponseApplicationJson'; + RichObjectParameterCircleBuilder toBuilder() => RichObjectParameterCircleBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomSetLobbyResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetLobbyResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterCircle && + type == other.type && + id == other.id && + name == other.name && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomSetLobbyResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetLobbyResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterCircle') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); + } +} - 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(RoomSetLobbyResponseApplicationJson_Ocs))! - as RoomSetLobbyResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterCircleBuilder + implements + Builder, + $RichObjectParameterCircleInterfaceBuilder { + _$RichObjectParameterCircle? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - return result.build(); + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterCircleBuilder(); + + RichObjectParameterCircleBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$RoomSetsipEnabledResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetsipEnabledResponseApplicationJson_Ocs, - _$RoomSetsipEnabledResponseApplicationJson_Ocs - ]; + void replace(covariant RichObjectParameterCircle other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterCircle; + } + @override - final String wireName = 'RoomSetsipEnabledResponseApplicationJson_Ocs'; + void update(void Function(RichObjectParameterCircleBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; + RichObjectParameterCircle build() => _build(); - return result; + _$RichObjectParameterCircle _build() { + final _$result = _$v ?? + _$RichObjectParameterCircle._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterCircle', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterCircle', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterCircle', 'name'), + link: BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterCircle', 'link')); + replace(_$result); + return _$result; } +} - @override - RoomSetsipEnabledResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetsipEnabledResponseApplicationJson_OcsBuilder(); +abstract mixin class $RichObjectParameterDeckBoardInterfaceBuilder { + void replace($RichObjectParameterDeckBoardInterface other); + void update(void Function($RichObjectParameterDeckBoardInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get link; + set link(String? link); } -class _$RoomSetsipEnabledResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterDeckBoard extends RichObjectParameterDeckBoard { @override - final Iterable types = const [ - RoomSetsipEnabledResponseApplicationJson, - _$RoomSetsipEnabledResponseApplicationJson - ]; + final String type; @override - final String wireName = 'RoomSetsipEnabledResponseApplicationJson'; - + final String id; @override - Iterable serialize(Serializers serializers, RoomSetsipEnabledResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(RoomSetsipEnabledResponseApplicationJson_Ocs)), - ]; - - return result; - } - + final String name; @override - RoomSetsipEnabledResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetsipEnabledResponseApplicationJsonBuilder(); + final String link; - 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(RoomSetsipEnabledResponseApplicationJson_Ocs))! - as RoomSetsipEnabledResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterDeckBoard([void Function(RichObjectParameterDeckBoardBuilder)? updates]) => + (RichObjectParameterDeckBoardBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterDeckBoard._({required this.type, required this.id, required this.name, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterDeckBoard', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterDeckBoard', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterDeckBoard', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterDeckBoard', 'link'); } -} -class _$RoomSetRecordingConsentResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetRecordingConsentResponseApplicationJson_Ocs, - _$RoomSetRecordingConsentResponseApplicationJson_Ocs - ]; + RichObjectParameterDeckBoard rebuild(void Function(RichObjectParameterDeckBoardBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomSetRecordingConsentResponseApplicationJson_Ocs'; + RichObjectParameterDeckBoardBuilder toBuilder() => RichObjectParameterDeckBoardBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(Room)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterDeckBoard && + type == other.type && + id == other.id && + name == other.name && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomSetRecordingConsentResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetRecordingConsentResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterDeckBoard') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(Room))! as Room); - break; - } - } +class RichObjectParameterDeckBoardBuilder + implements + Builder, + $RichObjectParameterDeckBoardInterfaceBuilder { + _$RichObjectParameterDeckBoard? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterDeckBoardBuilder(); + + RichObjectParameterDeckBoardBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$RoomSetRecordingConsentResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomSetRecordingConsentResponseApplicationJson, - _$RoomSetRecordingConsentResponseApplicationJson - ]; @override - final String wireName = 'RoomSetRecordingConsentResponseApplicationJson'; + void replace(covariant RichObjectParameterDeckBoard other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterDeckBoard; + } @override - Iterable serialize(Serializers serializers, RoomSetRecordingConsentResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetRecordingConsentResponseApplicationJson_Ocs)), - ]; - - return result; + void update(void Function(RichObjectParameterDeckBoardBuilder)? updates) { + if (updates != null) updates(this); } @override - RoomSetRecordingConsentResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetRecordingConsentResponseApplicationJsonBuilder(); - - 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(RoomSetRecordingConsentResponseApplicationJson_Ocs))! - as RoomSetRecordingConsentResponseApplicationJson_Ocs); - break; - } - } + RichObjectParameterDeckBoard build() => _build(); - return result.build(); + _$RichObjectParameterDeckBoard _build() { + final _$result = _$v ?? + _$RichObjectParameterDeckBoard._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterDeckBoard', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterDeckBoard', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterDeckBoard', 'name'), + link: BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterDeckBoard', 'link')); + replace(_$result); + return _$result; } } -class _$RoomSetMessageExpirationResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - RoomSetMessageExpirationResponseApplicationJson_Ocs, - _$RoomSetMessageExpirationResponseApplicationJson_Ocs - ]; - @override - final String wireName = 'RoomSetMessageExpirationResponseApplicationJson_Ocs'; +abstract mixin class $RichObjectParameterDeckCardInterfaceBuilder { + void replace($RichObjectParameterDeckCardInterface other); + void update(void Function($RichObjectParameterDeckCardInterfaceBuilder) updates); + String? get type; + set type(String? type); - @override - Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get boardname; + set boardname(String? boardname); + + String? get stackname; + set stackname(String? stackname); - return result; - } + String? get link; + set link(String? link); +} +class _$RichObjectParameterDeckCard extends RichObjectParameterDeckCard { @override - RoomSetMessageExpirationResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetMessageExpirationResponseApplicationJson_OcsBuilder(); + final String type; + @override + final String id; + @override + final String name; + @override + final String boardname; + @override + final String stackname; + @override + final String link; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + factory _$RichObjectParameterDeckCard([void Function(RichObjectParameterDeckCardBuilder)? updates]) => + (RichObjectParameterDeckCardBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterDeckCard._( + {required this.type, + required this.id, + required this.name, + required this.boardname, + required this.stackname, + required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterDeckCard', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterDeckCard', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterDeckCard', 'name'); + BuiltValueNullFieldError.checkNotNull(boardname, r'RichObjectParameterDeckCard', 'boardname'); + BuiltValueNullFieldError.checkNotNull(stackname, r'RichObjectParameterDeckCard', 'stackname'); + BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterDeckCard', 'link'); } -} -class _$RoomSetMessageExpirationResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - RoomSetMessageExpirationResponseApplicationJson, - _$RoomSetMessageExpirationResponseApplicationJson - ]; + RichObjectParameterDeckCard rebuild(void Function(RichObjectParameterDeckCardBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'RoomSetMessageExpirationResponseApplicationJson'; + RichObjectParameterDeckCardBuilder toBuilder() => RichObjectParameterDeckCardBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, RoomSetMessageExpirationResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(RoomSetMessageExpirationResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterDeckCard && + type == other.type && + id == other.id && + name == other.name && + boardname == other.boardname && + stackname == other.stackname && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, boardname.hashCode); + _$hash = $jc(_$hash, stackname.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - RoomSetMessageExpirationResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = RoomSetMessageExpirationResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterDeckCard') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('boardname', boardname) + ..add('stackname', stackname) + ..add('link', link)) + .toString(); + } +} - 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(RoomSetMessageExpirationResponseApplicationJson_Ocs))! - as RoomSetMessageExpirationResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterDeckCardBuilder + implements + Builder, + $RichObjectParameterDeckCardInterfaceBuilder { + _$RichObjectParameterDeckCard? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _boardname; + String? get boardname => _$this._boardname; + set boardname(covariant String? boardname) => _$this._boardname = boardname; + + String? _stackname; + String? get stackname => _$this._stackname; + set stackname(covariant String? stackname) => _$this._stackname = stackname; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterDeckCardBuilder(); + + RichObjectParameterDeckCardBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _boardname = $v.boardname; + _stackname = $v.stackname; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$SettingsSetUserSettingResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - SettingsSetUserSettingResponseApplicationJson_Ocs, - _$SettingsSetUserSettingResponseApplicationJson_Ocs - ]; + void replace(covariant RichObjectParameterDeckCard other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterDeckCard; + } + @override - final String wireName = 'SettingsSetUserSettingResponseApplicationJson_Ocs'; + void update(void Function(RichObjectParameterDeckCardBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + RichObjectParameterDeckCard build() => _build(); - return result; + _$RichObjectParameterDeckCard _build() { + final _$result = _$v ?? + _$RichObjectParameterDeckCard._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterDeckCard', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterDeckCard', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterDeckCard', 'name'), + boardname: BuiltValueNullFieldError.checkNotNull(boardname, r'RichObjectParameterDeckCard', 'boardname'), + stackname: BuiltValueNullFieldError.checkNotNull(stackname, r'RichObjectParameterDeckCard', 'stackname'), + link: BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterDeckCard', 'link')); + replace(_$result); + return _$result; } +} - @override - SettingsSetUserSettingResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SettingsSetUserSettingResponseApplicationJson_OcsBuilder(); +abstract mixin class $RichObjectParameterEmailInterfaceBuilder { + void replace($RichObjectParameterEmailInterface other); + void update(void Function($RichObjectParameterEmailInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); } -class _$SettingsSetUserSettingResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterEmail extends RichObjectParameterEmail { @override - final Iterable types = const [ - SettingsSetUserSettingResponseApplicationJson, - _$SettingsSetUserSettingResponseApplicationJson - ]; + final String type; @override - final String wireName = 'SettingsSetUserSettingResponseApplicationJson'; - + final String id; @override - Iterable serialize(Serializers serializers, SettingsSetUserSettingResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(SettingsSetUserSettingResponseApplicationJson_Ocs)), - ]; + final String name; - return result; + factory _$RichObjectParameterEmail([void Function(RichObjectParameterEmailBuilder)? updates]) => + (RichObjectParameterEmailBuilder()..update(updates))._build(); + + _$RichObjectParameterEmail._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterEmail', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterEmail', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterEmail', 'name'); } @override - SettingsSetUserSettingResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SettingsSetUserSettingResponseApplicationJsonBuilder(); + RichObjectParameterEmail rebuild(void Function(RichObjectParameterEmailBuilder) updates) => + (toBuilder()..update(updates)).build(); - 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(SettingsSetUserSettingResponseApplicationJson_Ocs))! - as SettingsSetUserSettingResponseApplicationJson_Ocs); - break; - } - } + @override + RichObjectParameterEmailBuilder toBuilder() => RichObjectParameterEmailBuilder()..replace(this); - return result.build(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterEmail && type == other.type && id == other.id && name == other.name; } -} -class _$SettingsSetsipSettingsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - SettingsSetsipSettingsResponseApplicationJson_Ocs, - _$SettingsSetsipSettingsResponseApplicationJson_Ocs - ]; @override - final String wireName = 'SettingsSetsipSettingsResponseApplicationJson_Ocs'; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } @override - Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterEmail') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} + +class RichObjectParameterEmailBuilder + implements + Builder, + $RichObjectParameterEmailInterfaceBuilder { + _$RichObjectParameterEmail? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterEmailBuilder(); + + RichObjectParameterEmailBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; + } - return result; + @override + void replace(covariant RichObjectParameterEmail other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterEmail; } @override - SettingsSetsipSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SettingsSetsipSettingsResponseApplicationJson_OcsBuilder(); + void update(void Function(RichObjectParameterEmailBuilder)? updates) { + if (updates != null) updates(this); + } - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + @override + RichObjectParameterEmail build() => _build(); - return result.build(); + _$RichObjectParameterEmail _build() { + final _$result = _$v ?? + _$RichObjectParameterEmail._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterEmail', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterEmail', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterEmail', 'name')); + replace(_$result); + return _$result; } } -class _$SettingsSetsipSettingsResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - SettingsSetsipSettingsResponseApplicationJson, - _$SettingsSetsipSettingsResponseApplicationJson - ]; - @override - final String wireName = 'SettingsSetsipSettingsResponseApplicationJson'; +abstract mixin class $RichObjectParameterFileInterfaceBuilder { + void replace($RichObjectParameterFileInterface other); + void update(void Function($RichObjectParameterFileInterfaceBuilder) updates); + String? get type; + set type(String? type); - @override - Iterable serialize(Serializers serializers, SettingsSetsipSettingsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(SettingsSetsipSettingsResponseApplicationJson_Ocs)), - ]; + String? get id; + set id(String? id); - return result; - } + String? get name; + set name(String? name); - @override - SettingsSetsipSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SettingsSetsipSettingsResponseApplicationJsonBuilder(); + String? get size; + set size(String? size); - 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(SettingsSetsipSettingsResponseApplicationJson_Ocs))! - as SettingsSetsipSettingsResponseApplicationJson_Ocs); - break; - } - } + String? get path; + set path(String? path); - return result.build(); - } + String? get link; + set link(String? link); + + String? get mimetype; + set mimetype(String? mimetype); + + String? get previewAvailable; + set previewAvailable(String? previewAvailable); + + String? get mtime; + set mtime(String? mtime); } -class _$SignalingSettings_HelloAuthParams_10Serializer - implements StructuredSerializer { +class _$RichObjectParameterFile extends RichObjectParameterFile { @override - final Iterable types = const [SignalingSettings_HelloAuthParams_10, _$SignalingSettings_HelloAuthParams_10]; + final String type; @override - final String wireName = 'SignalingSettings_HelloAuthParams_10'; - + final String id; @override - Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_10 object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ticket', - serializers.serialize(object.ticket, specifiedType: const FullType(String)), - ]; - Object? value; - value = object.userid; - if (value != null) { - result - ..add('userid') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; - } - + final String name; @override - SignalingSettings_HelloAuthParams_10 deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettings_HelloAuthParams_10Builder(); + final String? size; + @override + final String path; + @override + final String? link; + @override + final String? mimetype; + @override + final String? previewAvailable; + @override + final String? mtime; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'userid': - result.userid = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'ticket': - result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - } - } + factory _$RichObjectParameterFile([void Function(RichObjectParameterFileBuilder)? updates]) => + (RichObjectParameterFileBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterFile._( + {required this.type, + required this.id, + required this.name, + this.size, + required this.path, + this.link, + this.mimetype, + this.previewAvailable, + this.mtime}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterFile', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterFile', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterFile', 'name'); + BuiltValueNullFieldError.checkNotNull(path, r'RichObjectParameterFile', 'path'); } -} -class _$SignalingSettings_HelloAuthParams_20Serializer - implements StructuredSerializer { @override - final Iterable types = const [SignalingSettings_HelloAuthParams_20, _$SignalingSettings_HelloAuthParams_20]; + RichObjectParameterFile rebuild(void Function(RichObjectParameterFileBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'SignalingSettings_HelloAuthParams_20'; + RichObjectParameterFileBuilder toBuilder() => RichObjectParameterFileBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams_20 object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterFile && + type == other.type && + id == other.id && + name == other.name && + size == other.size && + path == other.path && + link == other.link && + mimetype == other.mimetype && + previewAvailable == other.previewAvailable && + mtime == other.mtime; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, size.hashCode); + _$hash = $jc(_$hash, path.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, previewAvailable.hashCode); + _$hash = $jc(_$hash, mtime.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - SignalingSettings_HelloAuthParams_20 deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettings_HelloAuthParams_20Builder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterFile') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('size', size) + ..add('path', path) + ..add('link', link) + ..add('mimetype', mimetype) + ..add('previewAvailable', previewAvailable) + ..add('mtime', mtime)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'token': - result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - } - } +class RichObjectParameterFileBuilder + implements + Builder, + $RichObjectParameterFileInterfaceBuilder { + _$RichObjectParameterFile? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _size; + String? get size => _$this._size; + set size(covariant String? size) => _$this._size = size; + + String? _path; + String? get path => _$this._path; + set path(covariant String? path) => _$this._path = path; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(covariant String? mimetype) => _$this._mimetype = mimetype; + + String? _previewAvailable; + String? get previewAvailable => _$this._previewAvailable; + set previewAvailable(covariant String? previewAvailable) => _$this._previewAvailable = previewAvailable; + + String? _mtime; + String? get mtime => _$this._mtime; + set mtime(covariant String? mtime) => _$this._mtime = mtime; + + RichObjectParameterFileBuilder(); + + RichObjectParameterFileBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _size = $v.size; + _path = $v.path; + _link = $v.link; + _mimetype = $v.mimetype; + _previewAvailable = $v.previewAvailable; + _mtime = $v.mtime; + _$v = null; + } + return this; } -} -class _$SignalingSettings_HelloAuthParamsSerializer implements StructuredSerializer { @override - final Iterable types = const [SignalingSettings_HelloAuthParams, _$SignalingSettings_HelloAuthParams]; + void replace(covariant RichObjectParameterFile other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterFile; + } + @override - final String wireName = 'SignalingSettings_HelloAuthParams'; + void update(void Function(RichObjectParameterFileBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, SignalingSettings_HelloAuthParams object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - '1.0', - serializers.serialize(object.$10, specifiedType: const FullType(SignalingSettings_HelloAuthParams_10)), - '2.0', - serializers.serialize(object.$20, specifiedType: const FullType(SignalingSettings_HelloAuthParams_20)), - ]; + RichObjectParameterFile build() => _build(); - return result; + _$RichObjectParameterFile _build() { + final _$result = _$v ?? + _$RichObjectParameterFile._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterFile', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterFile', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterFile', 'name'), + size: size, + path: BuiltValueNullFieldError.checkNotNull(path, r'RichObjectParameterFile', 'path'), + link: link, + mimetype: mimetype, + previewAvailable: previewAvailable, + mtime: mtime); + replace(_$result); + return _$result; } +} - @override - SignalingSettings_HelloAuthParams deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettings_HelloAuthParamsBuilder(); +abstract mixin class $RichObjectParameterFormsFormInterfaceBuilder { + void replace($RichObjectParameterFormsFormInterface other); + void update(void Function($RichObjectParameterFormsFormInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case '1.0': - result.$10.replace( - serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_10))! - as SignalingSettings_HelloAuthParams_10); - break; - case '2.0': - result.$20.replace( - serializers.deserialize(value, specifiedType: const FullType(SignalingSettings_HelloAuthParams_20))! - as SignalingSettings_HelloAuthParams_20); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get link; + set link(String? link); } -class _$SignalingSettings_StunserversSerializer implements StructuredSerializer { +class _$RichObjectParameterFormsForm extends RichObjectParameterFormsForm { @override - final Iterable types = const [SignalingSettings_Stunservers, _$SignalingSettings_Stunservers]; + final String type; @override - final String wireName = 'SignalingSettings_Stunservers'; - + final String id; @override - Iterable serialize(Serializers serializers, SignalingSettings_Stunservers object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'urls', - serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), - ]; - - return result; - } - + final String name; @override - SignalingSettings_Stunservers deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettings_StunserversBuilder(); + final String link; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'urls': - result.urls.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - } - } + factory _$RichObjectParameterFormsForm([void Function(RichObjectParameterFormsFormBuilder)? updates]) => + (RichObjectParameterFormsFormBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterFormsForm._({required this.type, required this.id, required this.name, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterFormsForm', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterFormsForm', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterFormsForm', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterFormsForm', 'link'); } -} -class _$SignalingSettings_TurnserversSerializer implements StructuredSerializer { @override - final Iterable types = const [SignalingSettings_Turnservers, _$SignalingSettings_Turnservers]; + RichObjectParameterFormsForm rebuild(void Function(RichObjectParameterFormsFormBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'SignalingSettings_Turnservers'; + RichObjectParameterFormsFormBuilder toBuilder() => RichObjectParameterFormsFormBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, SignalingSettings_Turnservers object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'urls', - serializers.serialize(object.urls, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'username', - serializers.serialize(object.username, specifiedType: const FullType(String)), - 'credential', - serializers.serialize(object.credential, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterFormsForm && + type == other.type && + id == other.id && + name == other.name && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - SignalingSettings_Turnservers deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettings_TurnserversBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterFormsForm') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'urls': - result.urls.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'username': - result.username = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'credential': - result.credential = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } +class RichObjectParameterFormsFormBuilder + implements + Builder, + $RichObjectParameterFormsFormInterfaceBuilder { + _$RichObjectParameterFormsForm? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterFormsFormBuilder(); + + RichObjectParameterFormsFormBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$SignalingSettingsSerializer implements StructuredSerializer { - @override - final Iterable types = const [SignalingSettings, _$SignalingSettings]; @override - final String wireName = 'SignalingSettings'; + void replace(covariant RichObjectParameterFormsForm other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterFormsForm; + } @override - Iterable serialize(Serializers serializers, SignalingSettings object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'helloAuthParams', - serializers.serialize(object.helloAuthParams, specifiedType: const FullType(SignalingSettings_HelloAuthParams)), - 'hideWarning', - serializers.serialize(object.hideWarning, specifiedType: const FullType(bool)), - 'server', - serializers.serialize(object.server, specifiedType: const FullType(String)), - 'signalingMode', - serializers.serialize(object.signalingMode, specifiedType: const FullType(String)), - 'sipDialinInfo', - serializers.serialize(object.sipDialinInfo, specifiedType: const FullType(String)), - 'stunservers', - serializers.serialize(object.stunservers, - specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)])), - 'ticket', - serializers.serialize(object.ticket, specifiedType: const FullType(String)), - 'turnservers', - serializers.serialize(object.turnservers, - specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)])), - ]; - Object? value; - value = object.userId; - if (value != null) { - result - ..add('userId') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; + void update(void Function(RichObjectParameterFormsFormBuilder)? updates) { + if (updates != null) updates(this); } @override - SignalingSettings deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSettingsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'helloAuthParams': - result.helloAuthParams.replace(serializers.deserialize(value, - specifiedType: const FullType(SignalingSettings_HelloAuthParams))! as SignalingSettings_HelloAuthParams); - break; - case 'hideWarning': - result.hideWarning = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'server': - result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'signalingMode': - result.signalingMode = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'sipDialinInfo': - result.sipDialinInfo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'stunservers': - result.stunservers.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Stunservers)]))! - as BuiltList); - break; - case 'ticket': - result.ticket = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'turnservers': - result.turnservers.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(SignalingSettings_Turnservers)]))! - as BuiltList); - break; - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - } - } + RichObjectParameterFormsForm build() => _build(); - return result.build(); + _$RichObjectParameterFormsForm _build() { + final _$result = _$v ?? + _$RichObjectParameterFormsForm._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterFormsForm', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterFormsForm', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterFormsForm', 'name'), + link: BuiltValueNullFieldError.checkNotNull(link, r'RichObjectParameterFormsForm', 'link')); + replace(_$result); + return _$result; } } -class _$SignalingGetSettingsResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - SignalingGetSettingsResponseApplicationJson_Ocs, - _$SignalingGetSettingsResponseApplicationJson_Ocs - ]; - @override - final String wireName = 'SignalingGetSettingsResponseApplicationJson_Ocs'; +abstract mixin class $RichObjectParameterGuestInterfaceBuilder { + void replace($RichObjectParameterGuestInterface other); + void update(void Function($RichObjectParameterGuestInterfaceBuilder) updates); + String? get type; + set type(String? type); - @override - Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(SignalingSettings)), - ]; + String? get id; + set id(String? id); - return result; - } + String? get name; + set name(String? name); +} +class _$RichObjectParameterGuest extends RichObjectParameterGuest { @override - SignalingGetSettingsResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingGetSettingsResponseApplicationJson_OcsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace( - serializers.deserialize(value, specifiedType: const FullType(SignalingSettings))! as SignalingSettings); - break; - } - } + final String type; + @override + final String id; + @override + final String name; - return result.build(); + factory _$RichObjectParameterGuest([void Function(RichObjectParameterGuestBuilder)? updates]) => + (RichObjectParameterGuestBuilder()..update(updates))._build(); + + _$RichObjectParameterGuest._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterGuest', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterGuest', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterGuest', 'name'); } -} -class _$SignalingGetSettingsResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - SignalingGetSettingsResponseApplicationJson, - _$SignalingGetSettingsResponseApplicationJson - ]; + RichObjectParameterGuest rebuild(void Function(RichObjectParameterGuestBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'SignalingGetSettingsResponseApplicationJson'; + RichObjectParameterGuestBuilder toBuilder() => RichObjectParameterGuestBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, SignalingGetSettingsResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(SignalingGetSettingsResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterGuest && type == other.type && id == other.id && name == other.name; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - SignalingGetSettingsResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingGetSettingsResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterGuest') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} - 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(SignalingGetSettingsResponseApplicationJson_Ocs))! - as SignalingGetSettingsResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterGuestBuilder + implements + Builder, + $RichObjectParameterGuestInterfaceBuilder { + _$RichObjectParameterGuest? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterGuestBuilder(); + + RichObjectParameterGuestBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$SignalingSessionSerializer implements StructuredSerializer { @override - final Iterable types = const [SignalingSession, _$SignalingSession]; + void replace(covariant RichObjectParameterGuest other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterGuest; + } + @override - final String wireName = 'SignalingSession'; + void update(void Function(RichObjectParameterGuestBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, SignalingSession object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'inCall', - serializers.serialize(object.inCall, specifiedType: const FullType(int)), - 'lastPing', - serializers.serialize(object.lastPing, specifiedType: const FullType(int)), - 'participantPermissions', - serializers.serialize(object.participantPermissions, specifiedType: const FullType(int)), - 'roomId', - serializers.serialize(object.roomId, specifiedType: const FullType(int)), - 'sessionId', - serializers.serialize(object.sessionId, specifiedType: const FullType(String)), - 'userId', - serializers.serialize(object.userId, specifiedType: const FullType(String)), - ]; + RichObjectParameterGuest build() => _build(); - return result; + _$RichObjectParameterGuest _build() { + final _$result = _$v ?? + _$RichObjectParameterGuest._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterGuest', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterGuest', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterGuest', 'name')); + replace(_$result); + return _$result; } +} - @override - SignalingSession deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSessionBuilder(); +abstract mixin class $RichObjectParameterHighlightInterfaceBuilder { + void replace($RichObjectParameterHighlightInterface other); + void update(void Function($RichObjectParameterHighlightInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'inCall': - result.inCall = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'lastPing': - result.lastPing = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'participantPermissions': - result.participantPermissions = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'roomId': - result.roomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'sessionId': - result.sessionId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'userId': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get link; + set link(String? link); } -class _$SignalingPullMessagesResponseApplicationJson_Ocs_DataSerializer - implements StructuredSerializer { +class _$RichObjectParameterHighlight extends RichObjectParameterHighlight { @override - final Iterable types = const [ - SignalingPullMessagesResponseApplicationJson_Ocs_Data, - _$SignalingPullMessagesResponseApplicationJson_Ocs_Data - ]; + final String type; @override - final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs_Data'; - + final String id; @override - Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs_Data object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'type', - serializers.serialize(object.type, specifiedType: const FullType(String)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data)), - ]; + final String name; + @override + final String? link; - return result; + factory _$RichObjectParameterHighlight([void Function(RichObjectParameterHighlightBuilder)? updates]) => + (RichObjectParameterHighlightBuilder()..update(updates))._build(); + + _$RichObjectParameterHighlight._({required this.type, required this.id, required this.name, this.link}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterHighlight', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterHighlight', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterHighlight', 'name'); } @override - SignalingPullMessagesResponseApplicationJson_Ocs_Data deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingPullMessagesResponseApplicationJson_Ocs_DataBuilder(); + RichObjectParameterHighlight rebuild(void Function(RichObjectParameterHighlightBuilder) updates) => + (toBuilder()..update(updates)).build(); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'data': - result.data = serializers.deserialize(value, - specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data))! - as SignalingPullMessagesResponseApplicationJson_Ocs_Data_Data; - break; - } - } + @override + RichObjectParameterHighlightBuilder toBuilder() => RichObjectParameterHighlightBuilder()..replace(this); - return result.build(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterHighlight && + type == other.type && + id == other.id && + name == other.name && + link == other.link; } -} -class _$SignalingPullMessagesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - SignalingPullMessagesResponseApplicationJson_Ocs, - _$SignalingPullMessagesResponseApplicationJson_Ocs - ]; @override - final String wireName = 'SignalingPullMessagesResponseApplicationJson_Ocs'; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } @override - Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)])), - ]; + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterHighlight') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('link', link)) + .toString(); + } +} - return result; +class RichObjectParameterHighlightBuilder + implements + Builder, + $RichObjectParameterHighlightInterfaceBuilder { + _$RichObjectParameterHighlight? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterHighlightBuilder(); + + RichObjectParameterHighlightBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _link = $v.link; + _$v = null; + } + return this; } @override - SignalingPullMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingPullMessagesResponseApplicationJson_OcsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, [FullType(SignalingPullMessagesResponseApplicationJson_Ocs_Data)]))! - as BuiltList); - break; - } - } - - return result.build(); + void replace(covariant RichObjectParameterHighlight other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterHighlight; } -} -class _$SignalingPullMessagesResponseApplicationJsonSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - SignalingPullMessagesResponseApplicationJson, - _$SignalingPullMessagesResponseApplicationJson - ]; @override - final String wireName = 'SignalingPullMessagesResponseApplicationJson'; + void update(void Function(RichObjectParameterHighlightBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, SignalingPullMessagesResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(SignalingPullMessagesResponseApplicationJson_Ocs)), - ]; + RichObjectParameterHighlight build() => _build(); - return result; + _$RichObjectParameterHighlight _build() { + final _$result = _$v ?? + _$RichObjectParameterHighlight._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterHighlight', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterHighlight', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterHighlight', 'name'), + link: link); + replace(_$result); + return _$result; } +} - @override - SignalingPullMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingPullMessagesResponseApplicationJsonBuilder(); +abstract mixin class $RichObjectParameterGeoLocationInterfaceBuilder { + void replace($RichObjectParameterGeoLocationInterface other); + void update(void Function($RichObjectParameterGeoLocationInterfaceBuilder) updates); + String? get type; + set type(String? type); - 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(SignalingPullMessagesResponseApplicationJson_Ocs))! - as SignalingPullMessagesResponseApplicationJson_Ocs); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get latitude; + set latitude(String? latitude); + + String? get longitude; + set longitude(String? longitude); } -class _$SignalingSendMessagesResponseApplicationJson_OcsSerializer - implements StructuredSerializer { +class _$RichObjectParameterGeoLocation extends RichObjectParameterGeoLocation { @override - final Iterable types = const [ - SignalingSendMessagesResponseApplicationJson_Ocs, - _$SignalingSendMessagesResponseApplicationJson_Ocs - ]; + final String type; @override - final String wireName = 'SignalingSendMessagesResponseApplicationJson_Ocs'; - + final String id; @override - Iterable serialize(Serializers serializers, SignalingSendMessagesResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; - - return result; - } - + final String name; @override - SignalingSendMessagesResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSendMessagesResponseApplicationJson_OcsBuilder(); + final String latitude; + @override + final String longitude; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } + factory _$RichObjectParameterGeoLocation([void Function(RichObjectParameterGeoLocationBuilder)? updates]) => + (RichObjectParameterGeoLocationBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterGeoLocation._( + {required this.type, required this.id, required this.name, required this.latitude, required this.longitude}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterGeoLocation', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterGeoLocation', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterGeoLocation', 'name'); + BuiltValueNullFieldError.checkNotNull(latitude, r'RichObjectParameterGeoLocation', 'latitude'); + BuiltValueNullFieldError.checkNotNull(longitude, r'RichObjectParameterGeoLocation', 'longitude'); } -} -class _$SignalingSendMessagesResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - SignalingSendMessagesResponseApplicationJson, - _$SignalingSendMessagesResponseApplicationJson - ]; + RichObjectParameterGeoLocation rebuild(void Function(RichObjectParameterGeoLocationBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'SignalingSendMessagesResponseApplicationJson'; + RichObjectParameterGeoLocationBuilder toBuilder() => RichObjectParameterGeoLocationBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, SignalingSendMessagesResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(SignalingSendMessagesResponseApplicationJson_Ocs)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterGeoLocation && + type == other.type && + id == other.id && + name == other.name && + latitude == other.latitude && + longitude == other.longitude; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, latitude.hashCode); + _$hash = $jc(_$hash, longitude.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - SignalingSendMessagesResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingSendMessagesResponseApplicationJsonBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterGeoLocation') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('latitude', latitude) + ..add('longitude', longitude)) + .toString(); + } +} - 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(SignalingSendMessagesResponseApplicationJson_Ocs))! - as SignalingSendMessagesResponseApplicationJson_Ocs); - break; - } - } +class RichObjectParameterGeoLocationBuilder + implements + Builder, + $RichObjectParameterGeoLocationInterfaceBuilder { + _$RichObjectParameterGeoLocation? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _latitude; + String? get latitude => _$this._latitude; + set latitude(covariant String? latitude) => _$this._latitude = latitude; + + String? _longitude; + String? get longitude => _$this._longitude; + set longitude(covariant String? longitude) => _$this._longitude = longitude; + + RichObjectParameterGeoLocationBuilder(); + + RichObjectParameterGeoLocationBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _latitude = $v.latitude; + _longitude = $v.longitude; + _$v = null; + } + return this; } -} -class _$SignalingGetWelcomeMessageResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - SignalingGetWelcomeMessageResponseApplicationJson_Ocs, - _$SignalingGetWelcomeMessageResponseApplicationJson_Ocs - ]; + void replace(covariant RichObjectParameterGeoLocation other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterGeoLocation; + } + @override - final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson_Ocs'; + void update(void Function(RichObjectParameterGeoLocationBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), - ]; + RichObjectParameterGeoLocation build() => _build(); - return result; + _$RichObjectParameterGeoLocation _build() { + final _$result = _$v ?? + _$RichObjectParameterGeoLocation._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterGeoLocation', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterGeoLocation', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterGeoLocation', 'name'), + latitude: BuiltValueNullFieldError.checkNotNull(latitude, r'RichObjectParameterGeoLocation', 'latitude'), + longitude: + BuiltValueNullFieldError.checkNotNull(longitude, r'RichObjectParameterGeoLocation', 'longitude')); + replace(_$result); + return _$result; } +} - @override - SignalingGetWelcomeMessageResponseApplicationJson_Ocs deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingGetWelcomeMessageResponseApplicationJson_OcsBuilder(); +abstract mixin class $RichObjectParameterOpenGraphInterfaceBuilder { + void replace($RichObjectParameterOpenGraphInterface other); + void update(void Function($RichObjectParameterOpenGraphInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); - break; - } - } + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get description; + set description(String? description); - return result.build(); - } + String? get thumb; + set thumb(String? thumb); + + String? get website; + set website(String? website); + + String? get link; + set link(String? link); } -class _$SignalingGetWelcomeMessageResponseApplicationJsonSerializer - implements StructuredSerializer { +class _$RichObjectParameterOpenGraph extends RichObjectParameterOpenGraph { @override - final Iterable types = const [ - SignalingGetWelcomeMessageResponseApplicationJson, - _$SignalingGetWelcomeMessageResponseApplicationJson - ]; + final String type; @override - final String wireName = 'SignalingGetWelcomeMessageResponseApplicationJson'; - + final String id; @override - Iterable serialize(Serializers serializers, SignalingGetWelcomeMessageResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(SignalingGetWelcomeMessageResponseApplicationJson_Ocs)), - ]; - - return result; - } - + final String name; @override - SignalingGetWelcomeMessageResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = SignalingGetWelcomeMessageResponseApplicationJsonBuilder(); + final String? description; + @override + final String? thumb; + @override + final String? website; + @override + final String? link; - 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(SignalingGetWelcomeMessageResponseApplicationJson_Ocs))! - as SignalingGetWelcomeMessageResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterOpenGraph([void Function(RichObjectParameterOpenGraphBuilder)? updates]) => + (RichObjectParameterOpenGraphBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterOpenGraph._( + {required this.type, required this.id, required this.name, this.description, this.thumb, this.website, this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterOpenGraph', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterOpenGraph', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterOpenGraph', 'name'); } -} -class _$TempAvatarPostAvatarResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - TempAvatarPostAvatarResponseApplicationJson_Ocs, - _$TempAvatarPostAvatarResponseApplicationJson_Ocs - ]; + RichObjectParameterOpenGraph rebuild(void Function(RichObjectParameterOpenGraphBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'TempAvatarPostAvatarResponseApplicationJson_Ocs'; + RichObjectParameterOpenGraphBuilder toBuilder() => RichObjectParameterOpenGraphBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterOpenGraph && + type == other.type && + id == other.id && + name == other.name && + description == other.description && + thumb == other.thumb && + website == other.website && + link == other.link; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, thumb.hashCode); + _$hash = $jc(_$hash, website.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - TempAvatarPostAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TempAvatarPostAvatarResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterOpenGraph') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('website', website) + ..add('link', link)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } +class RichObjectParameterOpenGraphBuilder + implements + Builder, + $RichObjectParameterOpenGraphInterfaceBuilder { + _$RichObjectParameterOpenGraph? _$v; - return result.build(); + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _description; + String? get description => _$this._description; + set description(covariant String? description) => _$this._description = description; + + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(covariant String? thumb) => _$this._thumb = thumb; + + String? _website; + String? get website => _$this._website; + set website(covariant String? website) => _$this._website = website; + + String? _link; + String? get link => _$this._link; + set link(covariant String? link) => _$this._link = link; + + RichObjectParameterOpenGraphBuilder(); + + RichObjectParameterOpenGraphBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _website = $v.website; + _link = $v.link; + _$v = null; + } + return this; } -} -class _$TempAvatarPostAvatarResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - TempAvatarPostAvatarResponseApplicationJson, - _$TempAvatarPostAvatarResponseApplicationJson - ]; + void replace(covariant RichObjectParameterOpenGraph other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterOpenGraph; + } + @override - final String wireName = 'TempAvatarPostAvatarResponseApplicationJson'; + void update(void Function(RichObjectParameterOpenGraphBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, TempAvatarPostAvatarResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(TempAvatarPostAvatarResponseApplicationJson_Ocs)), - ]; + RichObjectParameterOpenGraph build() => _build(); - return result; + _$RichObjectParameterOpenGraph _build() { + final _$result = _$v ?? + _$RichObjectParameterOpenGraph._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterOpenGraph', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterOpenGraph', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterOpenGraph', 'name'), + description: description, + thumb: thumb, + website: website, + link: link); + replace(_$result); + return _$result; } +} + +abstract mixin class $RichObjectParameterPendingFederatedShareInterfaceBuilder { + void replace($RichObjectParameterPendingFederatedShareInterface other); + void update(void Function($RichObjectParameterPendingFederatedShareInterfaceBuilder) updates); + String? get type; + set type(String? type); + + String? get id; + set id(String? id); + + String? get name; + set name(String? name); +} +class _$RichObjectParameterPendingFederatedShare extends RichObjectParameterPendingFederatedShare { @override - TempAvatarPostAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TempAvatarPostAvatarResponseApplicationJsonBuilder(); + final String type; + @override + final String id; + @override + final String name; - 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(TempAvatarPostAvatarResponseApplicationJson_Ocs))! - as TempAvatarPostAvatarResponseApplicationJson_Ocs); - break; - } - } + factory _$RichObjectParameterPendingFederatedShare( + [void Function(RichObjectParameterPendingFederatedShareBuilder)? updates]) => + (RichObjectParameterPendingFederatedShareBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterPendingFederatedShare._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterPendingFederatedShare', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterPendingFederatedShare', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterPendingFederatedShare', 'name'); } -} -class _$TempAvatarDeleteAvatarResponseApplicationJson_OcsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - TempAvatarDeleteAvatarResponseApplicationJson_Ocs, - _$TempAvatarDeleteAvatarResponseApplicationJson_Ocs - ]; + RichObjectParameterPendingFederatedShare rebuild( + void Function(RichObjectParameterPendingFederatedShareBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson_Ocs'; + RichObjectParameterPendingFederatedShareBuilder toBuilder() => + RichObjectParameterPendingFederatedShareBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson_Ocs object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(OCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterPendingFederatedShare && + type == other.type && + id == other.id && + name == other.name; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - TempAvatarDeleteAvatarResponseApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TempAvatarDeleteAvatarResponseApplicationJson_OcsBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterPendingFederatedShare') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'meta': - result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(OCSMeta))! as OCSMeta); - break; - case 'data': - result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; - break; - } - } +class RichObjectParameterPendingFederatedShareBuilder + implements + Builder, + $RichObjectParameterPendingFederatedShareInterfaceBuilder { + _$RichObjectParameterPendingFederatedShare? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - return result.build(); + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterPendingFederatedShareBuilder(); + + RichObjectParameterPendingFederatedShareBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$TempAvatarDeleteAvatarResponseApplicationJsonSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - TempAvatarDeleteAvatarResponseApplicationJson, - _$TempAvatarDeleteAvatarResponseApplicationJson - ]; + void replace(covariant RichObjectParameterPendingFederatedShare other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterPendingFederatedShare; + } + @override - final String wireName = 'TempAvatarDeleteAvatarResponseApplicationJson'; + void update(void Function(RichObjectParameterPendingFederatedShareBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, TempAvatarDeleteAvatarResponseApplicationJson object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'ocs', - serializers.serialize(object.ocs, - specifiedType: const FullType(TempAvatarDeleteAvatarResponseApplicationJson_Ocs)), - ]; + RichObjectParameterPendingFederatedShare build() => _build(); - return result; + _$RichObjectParameterPendingFederatedShare _build() { + final _$result = _$v ?? + _$RichObjectParameterPendingFederatedShare._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterPendingFederatedShare', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterPendingFederatedShare', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterPendingFederatedShare', 'name')); + replace(_$result); + return _$result; } +} - @override - TempAvatarDeleteAvatarResponseApplicationJson deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = TempAvatarDeleteAvatarResponseApplicationJsonBuilder(); +abstract mixin class $RichObjectParameterSystemtagInterfaceBuilder { + void replace($RichObjectParameterSystemtagInterface other); + void update(void Function($RichObjectParameterSystemtagInterfaceBuilder) updates); + String? get type; + set type(String? type); - 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(TempAvatarDeleteAvatarResponseApplicationJson_Ocs))! - as TempAvatarDeleteAvatarResponseApplicationJson_Ocs); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get visibility; + set visibility(String? visibility); + + String? get assignable; + set assignable(String? assignable); } -class _$BotWithDetailsAndSecretSerializer implements StructuredSerializer { +class _$RichObjectParameterSystemtag extends RichObjectParameterSystemtag { @override - final Iterable types = const [BotWithDetailsAndSecret, _$BotWithDetailsAndSecret]; + final String type; @override - final String wireName = 'BotWithDetailsAndSecret'; - + final String id; @override - Iterable serialize(Serializers serializers, BotWithDetailsAndSecret object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'secret', - serializers.serialize(object.secret, specifiedType: const FullType(String)), - 'error_count', - serializers.serialize(object.errorCount, specifiedType: const FullType(int)), - 'features', - serializers.serialize(object.features, specifiedType: const FullType(int)), - 'last_error_date', - serializers.serialize(object.lastErrorDate, specifiedType: const FullType(int)), - 'last_error_message', - serializers.serialize(object.lastErrorMessage, specifiedType: const FullType(String)), - 'url', - serializers.serialize(object.url, specifiedType: const FullType(String)), - 'url_hash', - serializers.serialize(object.urlHash, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'state', - serializers.serialize(object.state, specifiedType: const FullType(int)), - ]; - Object? value; - value = object.description; - if (value != null) { - result - ..add('description') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; - } - + final String name; @override - BotWithDetailsAndSecret deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = BotWithDetailsAndSecretBuilder(); + final String visibility; + @override + final String assignable; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'secret': - result.secret = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'error_count': - result.errorCount = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'features': - result.features = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'last_error_date': - result.lastErrorDate = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'last_error_message': - result.lastErrorMessage = 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 'url_hash': - result.urlHash = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'description': - result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'state': - result.state = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - } - } + factory _$RichObjectParameterSystemtag([void Function(RichObjectParameterSystemtagBuilder)? updates]) => + (RichObjectParameterSystemtagBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterSystemtag._( + {required this.type, required this.id, required this.name, required this.visibility, required this.assignable}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterSystemtag', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterSystemtag', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterSystemtag', 'name'); + BuiltValueNullFieldError.checkNotNull(visibility, r'RichObjectParameterSystemtag', 'visibility'); + BuiltValueNullFieldError.checkNotNull(assignable, r'RichObjectParameterSystemtag', 'assignable'); } -} -class _$FederationInviteSerializer implements StructuredSerializer { @override - final Iterable types = const [FederationInvite, _$FederationInvite]; + RichObjectParameterSystemtag rebuild(void Function(RichObjectParameterSystemtagBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'FederationInvite'; + RichObjectParameterSystemtagBuilder toBuilder() => RichObjectParameterSystemtagBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, FederationInvite object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'access_token', - serializers.serialize(object.accessToken, specifiedType: const FullType(String)), - 'id', - serializers.serialize(object.id, specifiedType: const FullType(int)), - 'local_room_id', - serializers.serialize(object.localRoomId, specifiedType: const FullType(int)), - 'remote_attendee_id', - serializers.serialize(object.remoteAttendeeId, specifiedType: const FullType(String)), - 'remote_server_url', - serializers.serialize(object.remoteServerUrl, specifiedType: const FullType(String)), - 'remote_token', - serializers.serialize(object.remoteToken, specifiedType: const FullType(String)), - 'user_id', - serializers.serialize(object.userId, specifiedType: const FullType(String)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterSystemtag && + type == other.type && + id == other.id && + name == other.name && + visibility == other.visibility && + assignable == other.assignable; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, visibility.hashCode); + _$hash = $jc(_$hash, assignable.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - FederationInvite deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = FederationInviteBuilder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterSystemtag') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('visibility', visibility) + ..add('assignable', assignable)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'access_token': - result.accessToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'local_room_id': - result.localRoomId = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'remote_attendee_id': - result.remoteAttendeeId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'remote_server_url': - result.remoteServerUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'remote_token': - result.remoteToken = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'user_id': - result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - } +class RichObjectParameterSystemtagBuilder + implements + Builder, + $RichObjectParameterSystemtagInterfaceBuilder { + _$RichObjectParameterSystemtag? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _visibility; + String? get visibility => _$this._visibility; + set visibility(covariant String? visibility) => _$this._visibility = visibility; + + String? _assignable; + String? get assignable => _$this._assignable; + set assignable(covariant String? assignable) => _$this._assignable = assignable; + + RichObjectParameterSystemtagBuilder(); + + RichObjectParameterSystemtagBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _visibility = $v.visibility; + _assignable = $v.assignable; + _$v = null; } - - return result.build(); + return this; } -} -class _$PublicCapabilities0_Spreed_Config_AttachmentsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - PublicCapabilities0_Spreed_Config_Attachments, - _$PublicCapabilities0_Spreed_Config_Attachments - ]; - @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Attachments'; + void replace(covariant RichObjectParameterSystemtag other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterSystemtag; + } @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Attachments object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'allowed', - serializers.serialize(object.allowed, specifiedType: const FullType(bool)), - ]; - Object? value; - value = object.folder; - if (value != null) { - result - ..add('folder') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; + void update(void Function(RichObjectParameterSystemtagBuilder)? updates) { + if (updates != null) updates(this); } @override - PublicCapabilities0_Spreed_Config_Attachments deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_AttachmentsBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'allowed': - result.allowed = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'folder': - result.folder = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - } - } + RichObjectParameterSystemtag build() => _build(); - return result.build(); + _$RichObjectParameterSystemtag _build() { + final _$result = _$v ?? + _$RichObjectParameterSystemtag._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterSystemtag', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterSystemtag', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterSystemtag', 'name'), + visibility: + BuiltValueNullFieldError.checkNotNull(visibility, r'RichObjectParameterSystemtag', 'visibility'), + assignable: + BuiltValueNullFieldError.checkNotNull(assignable, r'RichObjectParameterSystemtag', 'assignable')); + replace(_$result); + return _$result; } } -class _$PublicCapabilities0_Spreed_Config_CallSerializer - implements StructuredSerializer { +abstract mixin class $RichObjectParameterTalkAttachmentInterfaceBuilder { + void replace($RichObjectParameterTalkAttachmentInterface other); + void update(void Function($RichObjectParameterTalkAttachmentInterfaceBuilder) updates); + String? get type; + set type(String? type); + + String? get id; + set id(String? id); + + String? get name; + set name(String? name); + + String? get conversation; + set conversation(String? conversation); + + String? get mimetype; + set mimetype(String? mimetype); + + String? get previewAvailable; + set previewAvailable(String? previewAvailable); +} + +class _$RichObjectParameterTalkAttachment extends RichObjectParameterTalkAttachment { @override - final Iterable types = const [PublicCapabilities0_Spreed_Config_Call, _$PublicCapabilities0_Spreed_Config_Call]; + final String type; @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Call'; - + final String id; @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Call object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'enabled', - serializers.serialize(object.enabled, specifiedType: const FullType(bool)), - 'breakout-rooms', - serializers.serialize(object.breakoutRooms, specifiedType: const FullType(bool)), - 'recording', - serializers.serialize(object.recording, specifiedType: const FullType(bool)), - 'supported-reactions', - serializers.serialize(object.supportedReactions, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'predefined-backgrounds', - serializers.serialize(object.predefinedBackgrounds, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'can-upload-background', - serializers.serialize(object.canUploadBackground, specifiedType: const FullType(bool)), - ]; - Object? value; - value = object.recordingConsent; - if (value != null) { - result - ..add('recording-consent') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.sipEnabled; - if (value != null) { - result - ..add('sip-enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.sipDialoutEnabled; - if (value != null) { - result - ..add('sip-dialout-enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.canEnableSip; - if (value != null) { - result - ..add('can-enable-sip') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - return result; - } - + final String name; @override - PublicCapabilities0_Spreed_Config_Call deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_CallBuilder(); + final String conversation; + @override + final String? mimetype; + @override + final String? previewAvailable; - 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 'breakout-rooms': - result.breakoutRooms = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'recording': - result.recording = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'recording-consent': - result.recordingConsent = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'supported-reactions': - result.supportedReactions.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'predefined-backgrounds': - result.predefinedBackgrounds.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'can-upload-background': - result.canUploadBackground = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - case 'sip-enabled': - result.sipEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'sip-dialout-enabled': - result.sipDialoutEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'can-enable-sip': - result.canEnableSip = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - } - } + factory _$RichObjectParameterTalkAttachment([void Function(RichObjectParameterTalkAttachmentBuilder)? updates]) => + (RichObjectParameterTalkAttachmentBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterTalkAttachment._( + {required this.type, + required this.id, + required this.name, + required this.conversation, + this.mimetype, + this.previewAvailable}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterTalkAttachment', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterTalkAttachment', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterTalkAttachment', 'name'); + BuiltValueNullFieldError.checkNotNull(conversation, r'RichObjectParameterTalkAttachment', 'conversation'); } -} -class _$PublicCapabilities0_Spreed_Config_ChatSerializer - implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities0_Spreed_Config_Chat, _$PublicCapabilities0_Spreed_Config_Chat]; + RichObjectParameterTalkAttachment rebuild(void Function(RichObjectParameterTalkAttachmentBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Chat'; + RichObjectParameterTalkAttachmentBuilder toBuilder() => RichObjectParameterTalkAttachmentBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Chat object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'max-length', - serializers.serialize(object.maxLength, specifiedType: const FullType(int)), - 'read-privacy', - serializers.serialize(object.readPrivacy, specifiedType: const FullType(int)), - 'typing-privacy', - serializers.serialize(object.typingPrivacy, specifiedType: const FullType(int)), - ]; - Object? value; - value = object.hasTranslationProviders; - if (value != null) { - result - ..add('has-translation-providers') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.translations; - if (value != null) { - result - ..add('translations') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - return result; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterTalkAttachment && + type == other.type && + id == other.id && + name == other.name && + conversation == other.conversation && + mimetype == other.mimetype && + previewAvailable == other.previewAvailable; } @override - PublicCapabilities0_Spreed_Config_Chat deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_ChatBuilder(); + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, conversation.hashCode); + _$hash = $jc(_$hash, mimetype.hashCode); + _$hash = $jc(_$hash, previewAvailable.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'max-length': - result.maxLength = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'read-privacy': - result.readPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'has-translation-providers': - result.hasTranslationProviders = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'typing-privacy': - result.typingPrivacy = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'translations': - result.translations.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - } - } + @override + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterTalkAttachment') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('conversation', conversation) + ..add('mimetype', mimetype) + ..add('previewAvailable', previewAvailable)) + .toString(); + } +} + +class RichObjectParameterTalkAttachmentBuilder + implements + Builder, + $RichObjectParameterTalkAttachmentInterfaceBuilder { + _$RichObjectParameterTalkAttachment? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - return result.build(); + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _conversation; + String? get conversation => _$this._conversation; + set conversation(covariant String? conversation) => _$this._conversation = conversation; + + String? _mimetype; + String? get mimetype => _$this._mimetype; + set mimetype(covariant String? mimetype) => _$this._mimetype = mimetype; + + String? _previewAvailable; + String? get previewAvailable => _$this._previewAvailable; + set previewAvailable(covariant String? previewAvailable) => _$this._previewAvailable = previewAvailable; + + RichObjectParameterTalkAttachmentBuilder(); + + RichObjectParameterTalkAttachmentBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _conversation = $v.conversation; + _mimetype = $v.mimetype; + _previewAvailable = $v.previewAvailable; + _$v = null; + } + return this; } -} -class _$PublicCapabilities0_Spreed_Config_ConversationsSerializer - implements StructuredSerializer { @override - final Iterable types = const [ - PublicCapabilities0_Spreed_Config_Conversations, - _$PublicCapabilities0_Spreed_Config_Conversations - ]; + void replace(covariant RichObjectParameterTalkAttachment other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterTalkAttachment; + } + @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Conversations'; + void update(void Function(RichObjectParameterTalkAttachmentBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Conversations object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'can-create', - serializers.serialize(object.canCreate, specifiedType: const FullType(bool)), - ]; + RichObjectParameterTalkAttachment build() => _build(); - return result; + _$RichObjectParameterTalkAttachment _build() { + final _$result = _$v ?? + _$RichObjectParameterTalkAttachment._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterTalkAttachment', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterTalkAttachment', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterTalkAttachment', 'name'), + conversation: BuiltValueNullFieldError.checkNotNull( + conversation, r'RichObjectParameterTalkAttachment', 'conversation'), + mimetype: mimetype, + previewAvailable: previewAvailable); + replace(_$result); + return _$result; } +} - @override - PublicCapabilities0_Spreed_Config_Conversations deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_ConversationsBuilder(); +abstract mixin class $RichObjectParameterTalkPollInterfaceBuilder { + void replace($RichObjectParameterTalkPollInterface other); + void update(void Function($RichObjectParameterTalkPollInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'can-create': - result.canCreate = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); } -class _$PublicCapabilities0_Spreed_Config_PreviewsSerializer - implements StructuredSerializer { +class _$RichObjectParameterTalkPoll extends RichObjectParameterTalkPoll { @override - final Iterable types = const [ - PublicCapabilities0_Spreed_Config_Previews, - _$PublicCapabilities0_Spreed_Config_Previews - ]; + final String type; @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Previews'; - + final String id; @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Previews object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'max-gif-size', - serializers.serialize(object.maxGifSize, specifiedType: const FullType(int)), - ]; + final String name; - return result; + factory _$RichObjectParameterTalkPoll([void Function(RichObjectParameterTalkPollBuilder)? updates]) => + (RichObjectParameterTalkPollBuilder()..update(updates))._build(); + + _$RichObjectParameterTalkPoll._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterTalkPoll', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterTalkPoll', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterTalkPoll', 'name'); } @override - PublicCapabilities0_Spreed_Config_Previews deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_PreviewsBuilder(); + RichObjectParameterTalkPoll rebuild(void Function(RichObjectParameterTalkPollBuilder) updates) => + (toBuilder()..update(updates)).build(); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'max-gif-size': - result.maxGifSize = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - } - } + @override + RichObjectParameterTalkPollBuilder toBuilder() => RichObjectParameterTalkPollBuilder()..replace(this); - return result.build(); + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterTalkPoll && type == other.type && id == other.id && name == other.name; } -} -class _$PublicCapabilities0_Spreed_Config_SignalingSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - PublicCapabilities0_Spreed_Config_Signaling, - _$PublicCapabilities0_Spreed_Config_Signaling - ]; @override - final String wireName = 'PublicCapabilities0_Spreed_Config_Signaling'; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config_Signaling object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'session-ping-limit', - serializers.serialize(object.sessionPingLimit, specifiedType: const FullType(int)), - ]; - Object? value; - value = object.helloV2TokenKey; - if (value != null) { - result - ..add('hello-v2-token-key') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - return result; + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterTalkPoll') + ..add('type', type) + ..add('id', id) + ..add('name', name)) + .toString(); } +} - @override - PublicCapabilities0_Spreed_Config_Signaling deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_Config_SignalingBuilder(); +class RichObjectParameterTalkPollBuilder + implements + Builder, + $RichObjectParameterTalkPollInterfaceBuilder { + _$RichObjectParameterTalkPoll? _$v; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'session-ping-limit': - result.sessionPingLimit = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'hello-v2-token-key': - result.helloV2TokenKey = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - } - } + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - return result.build(); + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + RichObjectParameterTalkPollBuilder(); + + RichObjectParameterTalkPollBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; } -} -class _$PublicCapabilities0_Spreed_ConfigSerializer implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities0_Spreed_Config, _$PublicCapabilities0_Spreed_Config]; + void replace(covariant RichObjectParameterTalkPoll other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterTalkPoll; + } + @override - final String wireName = 'PublicCapabilities0_Spreed_Config'; + void update(void Function(RichObjectParameterTalkPollBuilder)? updates) { + if (updates != null) updates(this); + } @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed_Config object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'attachments', - serializers.serialize(object.attachments, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments)), - 'call', - serializers.serialize(object.call, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call)), - 'chat', - serializers.serialize(object.chat, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat)), - 'conversations', - serializers.serialize(object.conversations, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations)), - 'previews', - serializers.serialize(object.previews, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews)), - 'signaling', - serializers.serialize(object.signaling, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling)), - ]; + RichObjectParameterTalkPoll build() => _build(); - return result; + _$RichObjectParameterTalkPoll _build() { + final _$result = _$v ?? + _$RichObjectParameterTalkPoll._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterTalkPoll', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterTalkPoll', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterTalkPoll', 'name')); + replace(_$result); + return _$result; } +} - @override - PublicCapabilities0_Spreed_Config deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_Spreed_ConfigBuilder(); +abstract mixin class $RichObjectParameterUserInterfaceBuilder { + void replace($RichObjectParameterUserInterface other); + void update(void Function($RichObjectParameterUserInterfaceBuilder) updates); + String? get type; + set type(String? type); - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'attachments': - result.attachments.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Attachments))! - as PublicCapabilities0_Spreed_Config_Attachments); - break; - case 'call': - result.call.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Call))! - as PublicCapabilities0_Spreed_Config_Call); - break; - case 'chat': - result.chat.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Chat))! - as PublicCapabilities0_Spreed_Config_Chat); - break; - case 'conversations': - result.conversations.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Conversations))! - as PublicCapabilities0_Spreed_Config_Conversations); - break; - case 'previews': - result.previews.replace( - serializers.deserialize(value, specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Previews))! - as PublicCapabilities0_Spreed_Config_Previews); - break; - case 'signaling': - result.signaling.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config_Signaling))! - as PublicCapabilities0_Spreed_Config_Signaling); - break; - } - } + String? get id; + set id(String? id); - return result.build(); - } + String? get name; + set name(String? name); + + String? get server; + set server(String? server); } -class _$PublicCapabilities0_SpreedSerializer implements StructuredSerializer { +class _$RichObjectParameterUser extends RichObjectParameterUser { @override - final Iterable types = const [PublicCapabilities0_Spreed, _$PublicCapabilities0_Spreed]; + final String type; @override - final String wireName = 'PublicCapabilities0_Spreed'; - + final String id; @override - Iterable serialize(Serializers serializers, PublicCapabilities0_Spreed object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'features', - serializers.serialize(object.features, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'config', - serializers.serialize(object.config, specifiedType: const FullType(PublicCapabilities0_Spreed_Config)), - 'version', - serializers.serialize(object.version, specifiedType: const FullType(String)), - ]; - - return result; - } - + final String name; @override - PublicCapabilities0_Spreed deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0_SpreedBuilder(); + final String? server; - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'features': - result.features.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'config': - result.config.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities0_Spreed_Config))! as PublicCapabilities0_Spreed_Config); - break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - } - } + factory _$RichObjectParameterUser([void Function(RichObjectParameterUserBuilder)? updates]) => + (RichObjectParameterUserBuilder()..update(updates))._build(); - return result.build(); + _$RichObjectParameterUser._({required this.type, required this.id, required this.name, this.server}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterUser', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterUser', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterUser', 'name'); } -} -class _$PublicCapabilities0Serializer implements StructuredSerializer { @override - final Iterable types = const [PublicCapabilities0, _$PublicCapabilities0]; + RichObjectParameterUser rebuild(void Function(RichObjectParameterUserBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String wireName = 'PublicCapabilities0'; + RichObjectParameterUserBuilder toBuilder() => RichObjectParameterUserBuilder()..replace(this); @override - Iterable serialize(Serializers serializers, PublicCapabilities0 object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'spreed', - serializers.serialize(object.spreed, specifiedType: const FullType(PublicCapabilities0_Spreed)), - ]; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is RichObjectParameterUser && + type == other.type && + id == other.id && + name == other.name && + server == other.server; + } - return result; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jf(_$hash); + return _$hash; } @override - PublicCapabilities0 deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = PublicCapabilities0Builder(); + String toString() { + return (newBuiltValueToStringHelper(r'RichObjectParameterUser') + ..add('type', type) + ..add('id', id) + ..add('name', name) + ..add('server', server)) + .toString(); + } +} - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'spreed': - result.spreed.replace(serializers.deserialize(value, - specifiedType: const FullType(PublicCapabilities0_Spreed))! as PublicCapabilities0_Spreed); - break; - } +class RichObjectParameterUserBuilder + implements + Builder, + $RichObjectParameterUserInterfaceBuilder { + _$RichObjectParameterUser? _$v; + + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; + + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; + + String? _server; + String? get server => _$this._server; + set server(covariant String? server) => _$this._server = server; + + RichObjectParameterUserBuilder(); + + RichObjectParameterUserBuilder get _$this { + final $v = _$v; + if ($v != null) { + _type = $v.type; + _id = $v.id; + _name = $v.name; + _server = $v.server; + _$v = null; } + return this; + } - return result.build(); + @override + void replace(covariant RichObjectParameterUser other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$RichObjectParameterUser; } -} -abstract mixin class $OCSMetaInterfaceBuilder { - void replace($OCSMetaInterface other); - void update(void Function($OCSMetaInterfaceBuilder) updates); - String? get status; - set status(String? status); + @override + void update(void Function(RichObjectParameterUserBuilder)? updates) { + if (updates != null) updates(this); + } - int? get statuscode; - set statuscode(int? statuscode); + @override + RichObjectParameterUser build() => _build(); - String? get message; - set message(String? message); + _$RichObjectParameterUser _build() { + final _$result = _$v ?? + _$RichObjectParameterUser._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterUser', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterUser', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterUser', 'name'), + server: server); + replace(_$result); + return _$result; + } +} - String? get totalitems; - set totalitems(String? totalitems); +abstract mixin class $RichObjectParameterUserGroupInterfaceBuilder { + void replace($RichObjectParameterUserGroupInterface other); + void update(void Function($RichObjectParameterUserGroupInterfaceBuilder) updates); + String? get type; + set type(String? type); - String? get itemsperpage; - set itemsperpage(String? itemsperpage); + String? get id; + set id(String? id); + + String? get name; + set name(String? name); } -class _$OCSMeta extends OCSMeta { - @override - final String status; - @override - final int statuscode; +class _$RichObjectParameterUserGroup extends RichObjectParameterUserGroup { @override - final String? message; + final String type; @override - final String? totalitems; + final String id; @override - final String? itemsperpage; + final String name; - factory _$OCSMeta([void Function(OCSMetaBuilder)? updates]) => (OCSMetaBuilder()..update(updates))._build(); + factory _$RichObjectParameterUserGroup([void Function(RichObjectParameterUserGroupBuilder)? updates]) => + (RichObjectParameterUserGroupBuilder()..update(updates))._build(); - _$OCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'); + _$RichObjectParameterUserGroup._({required this.type, required this.id, required this.name}) : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterUserGroup', 'type'); + BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterUserGroup', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterUserGroup', 'name'); } @override - OCSMeta rebuild(void Function(OCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + RichObjectParameterUserGroup rebuild(void Function(RichObjectParameterUserGroupBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - OCSMetaBuilder toBuilder() => OCSMetaBuilder()..replace(this); + RichObjectParameterUserGroupBuilder toBuilder() => RichObjectParameterUserGroupBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is OCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is RichObjectParameterUserGroup && type == other.type && id == other.id && name == other.name; } @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, type.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'OCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'RichObjectParameterUserGroup') + ..add('type', type) + ..add('id', id) + ..add('name', name)) .toString(); } } -class OCSMetaBuilder implements Builder, $OCSMetaInterfaceBuilder { - _$OCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(covariant String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(covariant int? statuscode) => _$this._statuscode = statuscode; +class RichObjectParameterUserGroupBuilder + implements + Builder, + $RichObjectParameterUserGroupInterfaceBuilder { + _$RichObjectParameterUserGroup? _$v; - String? _message; - String? get message => _$this._message; - set message(covariant String? message) => _$this._message = message; + String? _type; + String? get type => _$this._type; + set type(covariant String? type) => _$this._type = type; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(covariant String? totalitems) => _$this._totalitems = totalitems; + String? _id; + String? get id => _$this._id; + set id(covariant String? id) => _$this._id = id; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(covariant String? itemsperpage) => _$this._itemsperpage = itemsperpage; + String? _name; + String? get name => _$this._name; + set name(covariant String? name) => _$this._name = name; - OCSMetaBuilder(); + RichObjectParameterUserGroupBuilder(); - OCSMetaBuilder get _$this { + RichObjectParameterUserGroupBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _type = $v.type; + _id = $v.id; + _name = $v.name; _$v = null; } return this; } @override - void replace(covariant OCSMeta other) { + void replace(covariant RichObjectParameterUserGroup other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$OCSMeta; + _$v = other as _$RichObjectParameterUserGroup; } @override - void update(void Function(OCSMetaBuilder)? updates) { + void update(void Function(RichObjectParameterUserGroupBuilder)? updates) { if (updates != null) updates(this); } @override - OCSMeta build() => _build(); + RichObjectParameterUserGroup build() => _build(); - _$OCSMeta _build() { + _$RichObjectParameterUserGroup _build() { final _$result = _$v ?? - _$OCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'OCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'OCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$RichObjectParameterUserGroup._( + type: BuiltValueNullFieldError.checkNotNull(type, r'RichObjectParameterUserGroup', 'type'), + id: BuiltValueNullFieldError.checkNotNull(id, r'RichObjectParameterUserGroup', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'RichObjectParameterUserGroup', 'name')); replace(_$result); return _$result; } @@ -21765,8 +26407,8 @@ abstract mixin class $ChatMessageInterfaceBuilder { String? get message; set message(String? message); - MapBuilder> get messageParameters; - set messageParameters(MapBuilder>? messageParameters); + MapBuilder get messageParameters; + set messageParameters(MapBuilder? messageParameters); MessageType? get messageType; set messageType(MessageType? messageType); @@ -21807,7 +26449,7 @@ class _$ChatMessage extends ChatMessage { @override final String message; @override - final BuiltMap> messageParameters; + final BuiltMap messageParameters; @override final MessageType messageType; @override @@ -21867,6 +26509,7 @@ class _$ChatMessage extends ChatMessage { @override bool operator ==(Object other) { if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; return other is ChatMessage && actorDisplayName == other.actorDisplayName && actorId == other.actorId && @@ -21877,7 +26520,7 @@ class _$ChatMessage extends ChatMessage { isReplyable == other.isReplyable && markdown == other.markdown && message == other.message && - messageParameters == other.messageParameters && + messageParameters == _$dynamicOther.messageParameters && messageType == other.messageType && reactions == other.reactions && referenceId == other.referenceId && @@ -21971,10 +26614,10 @@ class ChatMessageBuilder implements Builder, $C String? get message => _$this._message; set message(covariant String? message) => _$this._message = message; - MapBuilder>? _messageParameters; - MapBuilder> get messageParameters => - _$this._messageParameters ??= MapBuilder>(); - set messageParameters(covariant MapBuilder>? messageParameters) => + MapBuilder? _messageParameters; + MapBuilder get messageParameters => + _$this._messageParameters ??= MapBuilder(); + set messageParameters(covariant MapBuilder? messageParameters) => _$this._messageParameters = messageParameters; MessageType? _messageType; @@ -29662,8 +34305,8 @@ abstract mixin class $ChatMessageWithParentInterfaceBuilder implements $ChatMess String? get message; set message(covariant String? message); - MapBuilder> get messageParameters; - set messageParameters(covariant MapBuilder>? messageParameters); + MapBuilder get messageParameters; + set messageParameters(covariant MapBuilder? messageParameters); MessageType? get messageType; set messageType(covariant MessageType? messageType); @@ -29706,7 +34349,7 @@ class _$ChatMessageWithParent extends ChatMessageWithParent { @override final String message; @override - final BuiltMap> messageParameters; + final BuiltMap messageParameters; @override final MessageType messageType; @override @@ -29768,6 +34411,7 @@ class _$ChatMessageWithParent extends ChatMessageWithParent { @override bool operator ==(Object other) { if (identical(other, this)) return true; + final dynamic _$dynamicOther = other; return other is ChatMessageWithParent && parent == other.parent && actorDisplayName == other.actorDisplayName && @@ -29779,7 +34423,7 @@ class _$ChatMessageWithParent extends ChatMessageWithParent { isReplyable == other.isReplyable && markdown == other.markdown && message == other.message && - messageParameters == other.messageParameters && + messageParameters == _$dynamicOther.messageParameters && messageType == other.messageType && reactions == other.reactions && referenceId == other.referenceId && @@ -29880,10 +34524,10 @@ class ChatMessageWithParentBuilder String? get message => _$this._message; set message(covariant String? message) => _$this._message = message; - MapBuilder>? _messageParameters; - MapBuilder> get messageParameters => - _$this._messageParameters ??= MapBuilder>(); - set messageParameters(covariant MapBuilder>? messageParameters) => + MapBuilder? _messageParameters; + MapBuilder get messageParameters => + _$this._messageParameters ??= MapBuilder(); + set messageParameters(covariant MapBuilder? messageParameters) => _$this._messageParameters = messageParameters; MessageType? _messageType; diff --git a/packages/nextcloud/lib/src/api/spreed.openapi.json b/packages/nextcloud/lib/src/api/spreed.openapi.json index 1a36a3c5042..d8d71097eca 100644 --- a/packages/nextcloud/lib/src/api/spreed.openapi.json +++ b/packages/nextcloud/lib/src/api/spreed.openapi.json @@ -232,10 +232,7 @@ "messageParameters": { "type": "object", "additionalProperties": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/RichObjectParameter" } }, "messageType": { @@ -1244,6 +1241,804 @@ "federated_users", "phones" ] + }, + "RichObjectParameterAddressbook": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the addressbook on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the addressbook which should be used in the visual representation", + "example": "Contacts" + } + } + }, + "RichObjectParameterAddressbookContact": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the contact on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the contact which should be used in the visual representation", + "example": "John Doe" + } + } + }, + "RichObjectParameterAnnouncement": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the announcement on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The announcement subject which should be used in the visual representation", + "example": "file.txt" + }, + "link": { + "type": "string", + "description": "The full URL to the file", + "example": "http://localhost/index.php/apps/announcements/#23" + } + } + }, + "RichObjectParameterApp": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The app id", + "example": "updatenotification" + }, + "name": { + "type": "string", + "description": "The name of the app which should be used in the visual representation", + "example": "Update notification" + } + } + }, + "RichObjectParameterCalendar": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the calendar on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the calendar which should be used in the visual representation", + "example": "Personal" + } + } + }, + "RichObjectParameterCalendarEvent": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the event on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the event which should be used in the visual representation", + "example": "Workout" + }, + "link": { + "type": "string", + "description": "A link to the page displaying the calendar", + "example": "http://localhost/index.php/apps/calendar/dayGridMonth/2020-01-20/edit/sidebar/base64string/1579046400" + } + } + }, + "RichObjectParameterCall": { + "type": "object", + "required": [ + "type", + "id", + "name", + "call-type" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the call on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the call which should be used in the visual representation", + "example": "Company call" + }, + "call-type": { + "type": "string", + "description": "The type of the call: one2one, group or public", + "example": "one2one" + }, + "link": { + "type": "string", + "description": "The link to the conversation", + "example": "https://localhost/index.php/call/R4nd0mToken" + }, + "icon-url": { + "type": "string", + "description": "The icon url to use as avatar", + "example": "https://localhost/ocs/v2.php/apps/spreed/api/v1/room/R4nd0mToken/avatar" + }, + "message-id": { + "type": "string", + "description": "The id of a message that was referred to", + "example": "12345" + } + } + }, + "RichObjectParameterCircle": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the circle on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the circle which should be used in the visual representation", + "example": "My friends" + }, + "link": { + "type": "string", + "description": "The full URL to the circle", + "example": "http://localhost/index.php/apps/circles/#42" + } + } + }, + "RichObjectParameterDeckBoard": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the board on the instance", + "example": "1" + }, + "name": { + "type": "string", + "description": "The display name of the deck board", + "example": "Personal" + }, + "link": { + "type": "string", + "description": "The full URL to the board", + "example": "http://localhost/index.php/apps/deck/#/board/1" + } + } + }, + "RichObjectParameterDeckCard": { + "type": "object", + "required": [ + "type", + "id", + "name", + "boardname", + "stackname", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the card on the instance", + "example": "1" + }, + "name": { + "type": "string", + "description": "The title of the deck card", + "example": "Foo Bar" + }, + "boardname": { + "type": "string", + "description": "The display name of board which contains the card", + "example": "Personal" + }, + "stackname": { + "type": "string", + "description": "The display name of the stack which contains the card in the board", + "example": "To do" + }, + "link": { + "type": "string", + "description": "The full URL to the card directly", + "example": "https://nextcloud21.local/index.php/apps/deck/#/board/1/card/1" + } + } + }, + "RichObjectParameterEmail": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The mail-address used to identify the event on the instance", + "example": "test@localhost" + }, + "name": { + "type": "string", + "description": "The display name of a matching contact or the email (fallback) which should be used in the visual representation", + "example": "Foo Bar" + } + } + }, + "RichObjectParameterFile": { + "type": "object", + "required": [ + "type", + "id", + "name", + "path" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the file on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The file name which should be used in the visual representation", + "example": "file.txt" + }, + "size": { + "type": "string", + "description": "The file size in bytes", + "example": "3145728" + }, + "path": { + "type": "string", + "description": "The full path of the file for the user, should not start with a slash", + "example": "path/to/file.txt" + }, + "link": { + "type": "string", + "description": "The full URL to the file", + "example": "http://localhost/index.php/f/42" + }, + "mimetype": { + "type": "string", + "description": "The mimetype of the file/folder to allow clients to show a placeholder", + "example": "text/plain" + }, + "preview-available": { + "type": "string", + "description": "Whether or not a preview is available. If `no` the mimetype icon should be used", + "example": "yes" + }, + "mtime": { + "type": "string", + "description": "The mtime of the file/folder as unix timestamp", + "example": "1661854213" + } + } + }, + "RichObjectParameterFormsForm": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The form-hash of the form", + "example": "q72GGqbfbLBC6xNB" + }, + "name": { + "type": "string", + "description": "The title of the form", + "example": "Nice Form" + }, + "link": { + "type": "string", + "description": "The full URL to the board", + "example": "http://localhost/index.php/apps/forms/q72GGqbfbLBC6xNB" + } + } + }, + "RichObjectParameterGuest": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the guest user", + "example": "42" + }, + "name": { + "type": "string", + "description": "Potential displayname of the guest user", + "example": "Foobar Cats" + } + } + }, + "RichObjectParameterHighlight": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the highlighted object on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The string that should be highlighted.", + "example": "Hello World" + }, + "link": { + "type": "string", + "description": "The full URL that should be opened when clicking the highlighted text.", + "example": "http://localhost/index.php/f/42" + } + } + }, + "RichObjectParameterGeoLocation": { + "type": "object", + "required": [ + "type", + "id", + "name", + "latitude", + "longitude" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The geo URI (https://en.wikipedia.org/wiki/Geo_URI_scheme) to identify the location", + "example": "geo:52.5450511,13.3741463" + }, + "name": { + "type": "string", + "description": "A description of the location", + "example": "Nextcloud Berlin Office" + }, + "latitude": { + "type": "string", + "description": "The latitude of the location MUST be the same as in the id", + "example": "52.5450511" + }, + "longitude": { + "type": "string", + "description": "The longitude of the location MUST be the same as in the id", + "example": "13.3741463" + } + } + }, + "RichObjectParameterOpenGraph": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the open graph data on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The open graph title of the website", + "example": "This is a website" + }, + "description": { + "type": "string", + "description": "The open graph description from the website", + "example": "This is the description of the website" + }, + "thumb": { + "type": "string", + "description": "The full URL of the open graph thumbnail", + "example": "http://localhost/index.php/apps/mood/data/image?url=https%3A%2F%2Fthumb.example.com%2Fimage.png" + }, + "website": { + "type": "string", + "description": "The name of the described website", + "example": "Nextcloud - App Store" + }, + "link": { + "type": "string", + "description": "The full link to the website", + "example": "https://apps.nextcloud.com/apps/mood" + } + } + }, + "RichObjectParameterPendingFederatedShare": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the federated share on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The name of the shared item which should be used in the visual representation", + "example": "file.txt" + } + } + }, + "RichObjectParameterSystemtag": { + "type": "object", + "required": [ + "type", + "id", + "name", + "visibility", + "assignable" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the systemtag on the instance", + "example": "23" + }, + "name": { + "type": "string", + "description": "The display name of the systemtag which should be used in the visual representation", + "example": "Project 1" + }, + "visibility": { + "type": "string", + "description": "If the user can see the systemtag", + "example": "1" + }, + "assignable": { + "type": "string", + "description": "If the user can assign the systemtag", + "example": "0" + } + } + }, + "RichObjectParameterTalkAttachment": { + "type": "object", + "required": [ + "type", + "id", + "name", + "conversation" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the attachment on the instance", + "example": "12345" + }, + "name": { + "type": "string", + "description": "The name of the attachment", + "example": "John Doe" + }, + "conversation": { + "type": "string", + "description": "The token of the conversation", + "example": "a1b2c3d4" + }, + "mimetype": { + "type": "string", + "description": "The mimetype of the file/folder to allow clients to show a placeholder", + "example": "text/plain" + }, + "preview-available": { + "type": "string", + "description": "Whether or not a preview is available. If `no` the mimetype icon should be used", + "example": "yes" + } + } + }, + "RichObjectParameterTalkPoll": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the poll on the instance", + "example": "12345" + }, + "name": { + "type": "string", + "description": "The poll question", + "example": "What is the question?" + } + } + }, + "RichObjectParameterUser": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the user on the instance", + "example": "johndoe" + }, + "name": { + "type": "string", + "description": "The display name of the user which should be used in the visual representation", + "example": "John Doe" + }, + "server": { + "type": "string", + "description": "The URL of the instance the user lives on", + "example": "localhost" + } + } + }, + "RichObjectParameterUserGroup": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the group on the instance", + "example": "supportteam" + }, + "name": { + "type": "string", + "description": "The display name of the group which should be used in the visual representation", + "example": "Support Team" + } + } + }, + "RichObjectParameter": { + "oneOf": [ + { + "$ref": "#/components/schemas/RichObjectParameterAddressbook" + }, + { + "$ref": "#/components/schemas/RichObjectParameterAddressbookContact" + }, + { + "$ref": "#/components/schemas/RichObjectParameterAnnouncement" + }, + { + "$ref": "#/components/schemas/RichObjectParameterApp" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCalendar" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCalendarEvent" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCall" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCircle" + }, + { + "$ref": "#/components/schemas/RichObjectParameterDeckBoard" + }, + { + "$ref": "#/components/schemas/RichObjectParameterDeckCard" + }, + { + "$ref": "#/components/schemas/RichObjectParameterEmail" + }, + { + "$ref": "#/components/schemas/RichObjectParameterFile" + }, + { + "$ref": "#/components/schemas/RichObjectParameterFormsForm" + }, + { + "$ref": "#/components/schemas/RichObjectParameterGuest" + }, + { + "$ref": "#/components/schemas/RichObjectParameterHighlight" + }, + { + "$ref": "#/components/schemas/RichObjectParameterGeoLocation" + }, + { + "$ref": "#/components/schemas/RichObjectParameterOpenGraph" + }, + { + "$ref": "#/components/schemas/RichObjectParameterPendingFederatedShare" + }, + { + "$ref": "#/components/schemas/RichObjectParameterSystemtag" + }, + { + "$ref": "#/components/schemas/RichObjectParameterTalkAttachment" + }, + { + "$ref": "#/components/schemas/RichObjectParameterTalkPoll" + }, + { + "$ref": "#/components/schemas/RichObjectParameterUser" + }, + { + "$ref": "#/components/schemas/RichObjectParameterUserGroup" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "addressbook": "#/components/schemas/RichObjectParameterAddressbook", + "addressbook-contact": "#/components/schemas/RichObjectParameterAddressbookContact", + "announcement": "#/components/schemas/RichObjectParameterAnnouncement", + "app": "#/components/schemas/RichObjectParameterApp", + "calendar": "#/components/schemas/RichObjectParameterCalendar", + "calendar-event": "#/components/schemas/RichObjectParameterCalendarEvent", + "call": "#/components/schemas/RichObjectParameterCall", + "circle": "#/components/schemas/RichObjectParameterCircle", + "deck-board": "#/components/schemas/RichObjectParameterDeckBoard", + "deck-card": "#/components/schemas/RichObjectParameterDeckCard", + "email": "#/components/schemas/RichObjectParameterEmail", + "file": "#/components/schemas/RichObjectParameterFile", + "forms-form": "#/components/schemas/RichObjectParameterFormsForm", + "guest": "#/components/schemas/RichObjectParameterGuest", + "highlight": "#/components/schemas/RichObjectParameterHighlight", + "geo-location": "#/components/schemas/RichObjectParameterGeoLocation", + "open-graph": "#/components/schemas/RichObjectParameterOpenGraph", + "pending-federated-share": "#/components/schemas/RichObjectParameterPendingFederatedShare", + "systemtag": "#/components/schemas/RichObjectParameterSystemtag", + "talk-attachment": "#/components/schemas/RichObjectParameterTalkAttachment", + "talk-poll": "#/components/schemas/RichObjectParameterTalkPoll", + "user": "#/components/schemas/RichObjectParameterUser", + "user-group": "#/components/schemas/RichObjectParameterUserGroup" + } + } } } }, diff --git a/packages/nextcloud/lib/src/patches/spreed/99-rich-objects.json b/packages/nextcloud/lib/src/patches/spreed/99-rich-objects.json new file mode 100644 index 00000000000..d106205f1af --- /dev/null +++ b/packages/nextcloud/lib/src/patches/spreed/99-rich-objects.json @@ -0,0 +1,903 @@ +[ + { + "op": "replace", + "path": "/components/schemas/ChatMessage/properties/messageParameters/additionalProperties", + "value": { + "$ref": "#/components/schemas/RichObjectParameter" + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterAddressbook", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the addressbook on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the addressbook which should be used in the visual representation", + "example": "Contacts" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterAddressbookContact", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the contact on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the contact which should be used in the visual representation", + "example": "John Doe" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterAnnouncement", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the announcement on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The announcement subject which should be used in the visual representation", + "example": "file.txt" + }, + "link": { + "type": "string", + "description": "The full URL to the file", + "example": "http://localhost/index.php/apps/announcements/#23" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterApp", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The app id", + "example": "updatenotification" + }, + "name": { + "type": "string", + "description": "The name of the app which should be used in the visual representation", + "example": "Update notification" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterCalendar", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the calendar on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the calendar which should be used in the visual representation", + "example": "Personal" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterCalendarEvent", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the event on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the event which should be used in the visual representation", + "example": "Workout" + }, + "link": { + "type": "string", + "description": "A link to the page displaying the calendar", + "example": "http://localhost/index.php/apps/calendar/dayGridMonth/2020-01-20/edit/sidebar/base64string/1579046400" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterCall", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "call-type" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the call on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the call which should be used in the visual representation", + "example": "Company call" + }, + "call-type": { + "type": "string", + "description": "The type of the call: one2one, group or public", + "example": "one2one" + }, + "link": { + "type": "string", + "description": "The link to the conversation", + "example": "https://localhost/index.php/call/R4nd0mToken" + }, + "icon-url": { + "type": "string", + "description": "The icon url to use as avatar", + "example": "https://localhost/ocs/v2.php/apps/spreed/api/v1/room/R4nd0mToken/avatar" + }, + "message-id": { + "type": "string", + "description": "The id of a message that was referred to", + "example": "12345" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterCircle", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the circle on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The display name of the circle which should be used in the visual representation", + "example": "My friends" + }, + "link": { + "type": "string", + "description": "The full URL to the circle", + "example": "http://localhost/index.php/apps/circles/#42" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterDeckBoard", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the board on the instance", + "example": "1" + }, + "name": { + "type": "string", + "description": "The display name of the deck board", + "example": "Personal" + }, + "link": { + "type": "string", + "description": "The full URL to the board", + "example": "http://localhost/index.php/apps/deck/#/board/1" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterDeckCard", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "boardname", + "stackname", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the card on the instance", + "example": "1" + }, + "name": { + "type": "string", + "description": "The title of the deck card", + "example": "Foo Bar" + }, + "boardname": { + "type": "string", + "description": "The display name of board which contains the card", + "example": "Personal" + }, + "stackname": { + "type": "string", + "description": "The display name of the stack which contains the card in the board", + "example": "To do" + }, + "link": { + "type": "string", + "description": "The full URL to the card directly", + "example": "https://nextcloud21.local/index.php/apps/deck/#/board/1/card/1" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterEmail", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The mail-address used to identify the event on the instance", + "example": "test@localhost" + }, + "name": { + "type": "string", + "description": "The display name of a matching contact or the email (fallback) which should be used in the visual representation", + "example": "Foo Bar" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterFile", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "path" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the file on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The file name which should be used in the visual representation", + "example": "file.txt" + }, + "size": { + "type": "string", + "description": "The file size in bytes", + "example": "3145728" + }, + "path": { + "type": "string", + "description": "The full path of the file for the user, should not start with a slash", + "example": "path/to/file.txt" + }, + "link": { + "type": "string", + "description": "The full URL to the file", + "example": "http://localhost/index.php/f/42" + }, + "mimetype": { + "type": "string", + "description": "The mimetype of the file/folder to allow clients to show a placeholder", + "example": "text/plain" + }, + "preview-available": { + "type": "string", + "description": "Whether or not a preview is available. If `no` the mimetype icon should be used", + "example": "yes" + }, + "mtime": { + "type": "string", + "description": "The mtime of the file/folder as unix timestamp", + "example": "1661854213" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterFormsForm", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "link" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The form-hash of the form", + "example": "q72GGqbfbLBC6xNB" + }, + "name": { + "type": "string", + "description": "The title of the form", + "example": "Nice Form" + }, + "link": { + "type": "string", + "description": "The full URL to the board", + "example": "http://localhost/index.php/apps/forms/q72GGqbfbLBC6xNB" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterGuest", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the guest user", + "example": "42" + }, + "name": { + "type": "string", + "description": "Potential displayname of the guest user", + "example": "Foobar Cats" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterHighlight", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the highlighted object on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The string that should be highlighted.", + "example": "Hello World" + }, + "link": { + "type": "string", + "description": "The full URL that should be opened when clicking the highlighted text.", + "example": "http://localhost/index.php/f/42" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterGeoLocation", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "latitude", + "longitude" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The geo URI (https://en.wikipedia.org/wiki/Geo_URI_scheme) to identify the location", + "example": "geo:52.5450511,13.3741463" + }, + "name": { + "type": "string", + "description": "A description of the location", + "example": "Nextcloud Berlin Office" + }, + "latitude": { + "type": "string", + "description": "The latitude of the location MUST be the same as in the id", + "example": "52.5450511" + }, + "longitude": { + "type": "string", + "description": "The longitude of the location MUST be the same as in the id", + "example": "13.3741463" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterOpenGraph", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the open graph data on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The open graph title of the website", + "example": "This is a website" + }, + "description": { + "type": "string", + "description": "The open graph description from the website", + "example": "This is the description of the website" + }, + "thumb": { + "type": "string", + "description": "The full URL of the open graph thumbnail", + "example": "http://localhost/index.php/apps/mood/data/image?url=https%3A%2F%2Fthumb.example.com%2Fimage.png" + }, + "website": { + "type": "string", + "description": "The name of the described website", + "example": "Nextcloud - App Store" + }, + "link": { + "type": "string", + "description": "The full link to the website", + "example": "https://apps.nextcloud.com/apps/mood" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterPendingFederatedShare", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the federated share on the instance", + "example": "42" + }, + "name": { + "type": "string", + "description": "The name of the shared item which should be used in the visual representation", + "example": "file.txt" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterSystemtag", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "visibility", + "assignable" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the systemtag on the instance", + "example": "23" + }, + "name": { + "type": "string", + "description": "The display name of the systemtag which should be used in the visual representation", + "example": "Project 1" + }, + "visibility": { + "type": "string", + "description": "If the user can see the systemtag", + "example": "1" + }, + "assignable": { + "type": "string", + "description": "If the user can assign the systemtag", + "example": "0" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterTalkAttachment", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name", + "conversation" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the attachment on the instance", + "example": "12345" + }, + "name": { + "type": "string", + "description": "The name of the attachment", + "example": "John Doe" + }, + "conversation": { + "type": "string", + "description": "The token of the conversation", + "example": "a1b2c3d4" + }, + "mimetype": { + "type": "string", + "description": "The mimetype of the file/folder to allow clients to show a placeholder", + "example": "text/plain" + }, + "preview-available": { + "type": "string", + "description": "Whether or not a preview is available. If `no` the mimetype icon should be used", + "example": "yes" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterTalkPoll", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the poll on the instance", + "example": "12345" + }, + "name": { + "type": "string", + "description": "The poll question", + "example": "What is the question?" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterUser", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the user on the instance", + "example": "johndoe" + }, + "name": { + "type": "string", + "description": "The display name of the user which should be used in the visual representation", + "example": "John Doe" + }, + "server": { + "type": "string", + "description": "The URL of the instance the user lives on", + "example": "localhost" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameterUserGroup", + "value": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string", + "description": "The id used to identify the group on the instance", + "example": "supportteam" + }, + "name": { + "type": "string", + "description": "The display name of the group which should be used in the visual representation", + "example": "Support Team" + } + } + } + }, + { + "op": "add", + "path": "/components/schemas/RichObjectParameter", + "value": { + "oneOf": [ + { + "$ref": "#/components/schemas/RichObjectParameterAddressbook" + }, + { + "$ref": "#/components/schemas/RichObjectParameterAddressbookContact" + }, + { + "$ref": "#/components/schemas/RichObjectParameterAnnouncement" + }, + { + "$ref": "#/components/schemas/RichObjectParameterApp" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCalendar" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCalendarEvent" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCall" + }, + { + "$ref": "#/components/schemas/RichObjectParameterCircle" + }, + { + "$ref": "#/components/schemas/RichObjectParameterDeckBoard" + }, + { + "$ref": "#/components/schemas/RichObjectParameterDeckCard" + }, + { + "$ref": "#/components/schemas/RichObjectParameterEmail" + }, + { + "$ref": "#/components/schemas/RichObjectParameterFile" + }, + { + "$ref": "#/components/schemas/RichObjectParameterFormsForm" + }, + { + "$ref": "#/components/schemas/RichObjectParameterGuest" + }, + { + "$ref": "#/components/schemas/RichObjectParameterHighlight" + }, + { + "$ref": "#/components/schemas/RichObjectParameterGeoLocation" + }, + { + "$ref": "#/components/schemas/RichObjectParameterOpenGraph" + }, + { + "$ref": "#/components/schemas/RichObjectParameterPendingFederatedShare" + }, + { + "$ref": "#/components/schemas/RichObjectParameterSystemtag" + }, + { + "$ref": "#/components/schemas/RichObjectParameterTalkAttachment" + }, + { + "$ref": "#/components/schemas/RichObjectParameterTalkPoll" + }, + { + "$ref": "#/components/schemas/RichObjectParameterUser" + }, + { + "$ref": "#/components/schemas/RichObjectParameterUserGroup" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "addressbook": "#/components/schemas/RichObjectParameterAddressbook", + "addressbook-contact": "#/components/schemas/RichObjectParameterAddressbookContact", + "announcement": "#/components/schemas/RichObjectParameterAnnouncement", + "app": "#/components/schemas/RichObjectParameterApp", + "calendar": "#/components/schemas/RichObjectParameterCalendar", + "calendar-event": "#/components/schemas/RichObjectParameterCalendarEvent", + "call": "#/components/schemas/RichObjectParameterCall", + "circle": "#/components/schemas/RichObjectParameterCircle", + "deck-board": "#/components/schemas/RichObjectParameterDeckBoard", + "deck-card": "#/components/schemas/RichObjectParameterDeckCard", + "email": "#/components/schemas/RichObjectParameterEmail", + "file": "#/components/schemas/RichObjectParameterFile", + "forms-form": "#/components/schemas/RichObjectParameterFormsForm", + "guest": "#/components/schemas/RichObjectParameterGuest", + "highlight": "#/components/schemas/RichObjectParameterHighlight", + "geo-location": "#/components/schemas/RichObjectParameterGeoLocation", + "open-graph": "#/components/schemas/RichObjectParameterOpenGraph", + "pending-federated-share": "#/components/schemas/RichObjectParameterPendingFederatedShare", + "systemtag": "#/components/schemas/RichObjectParameterSystemtag", + "talk-attachment": "#/components/schemas/RichObjectParameterTalkAttachment", + "talk-poll": "#/components/schemas/RichObjectParameterTalkPoll", + "user": "#/components/schemas/RichObjectParameterUser", + "user-group": "#/components/schemas/RichObjectParameterUserGroup" + } + } + } + } +] \ No newline at end of file diff --git a/tool/generate-rich-objects-patch.php b/tool/generate-rich-objects-patch.php new file mode 100755 index 00000000000..a84b387c12c --- /dev/null +++ b/tool/generate-rich-objects-patch.php @@ -0,0 +1,74 @@ +#!/usr/bin/env php + [], + 'discriminator' => [ + 'propertyName' => 'type', + 'mapping' => [], + ], +]; + +include('external/nextcloud-server/lib/public/RichObjectStrings/Definitions.php'); +$definitions = (new OCP\RichObjectStrings\Definitions())->definitions; + +foreach ($definitions as $type => $object) { + $schema = [ + 'type' => 'object', + ]; + + $required = ['type']; + $properties = [ + 'type' => [ + 'type' => 'string', + ], + ]; + + foreach ($object['parameters'] as $name => $parameter) { + if ($parameter['required'] === true) { + $required[] = $name; + } + + $properties[$name] = [ + 'type' => 'string', + 'description' => $parameter['description'], + 'example' => $parameter['example'], + ]; + } + + $schema['required'] = $required; + $schema['properties'] = $properties; + + $schemaName = 'RichObjectParameter' . ucfirst(str_replace('-', '', ucwords($type, '-'))); + $schemas[$schemaName] = $schema; + + $discriminatorSchema['oneOf'][] = [ + '$ref' => '#/components/schemas/' . $schemaName, + ]; + $discriminatorSchema['discriminator']['mapping'][$type] = '#/components/schemas/' . $schemaName; +} + +$schemas['RichObjectParameter'] = $discriminatorSchema; + +$patch = [ + [ + 'op' => 'replace', + 'path' => '/components/schemas/ChatMessage/properties/messageParameters/additionalProperties', + 'value' => [ + '$ref' => '#/components/schemas/RichObjectParameter', + ], + ] +]; +foreach ($schemas as $name => $schema) { + $patch[] = [ + 'op' => 'add', + 'path' => '/components/schemas/' . $name, + 'value' => $schema, + ]; +} + +file_put_contents('packages/nextcloud/lib/src/patches/spreed/99-rich-objects.json', json_encode($patch, JSON_THROW_ON_ERROR | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT)); diff --git a/tool/generate-specs.sh b/tool/generate-specs.sh index 5cdee32660e..839d595f0c7 100755 --- a/tool/generate-specs.sh +++ b/tool/generate-specs.sh @@ -51,6 +51,8 @@ function generate_spec() { generate_spec "." "drop_account" ) +./tool/generate-rich-objects-patch.php + for spec in /tmp/nextcloud-neon/*.openapi.json; do name="$(basename "$spec" | cut -d "." -f 1)" dir="packages/nextcloud/lib/src/patches/$name"