Browse Source

specs,nextcloud: Fix push notification decrypted subject

pull/100/head
jld3103 2 years ago
parent
commit
806dfe40f6
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 20
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  2. 10
      packages/nextcloud/lib/src/nextcloud.openapi.g.dart
  3. 7
      packages/nextcloud/lib/src/nextcloud.openapi.json
  4. 7
      specs/notifications.json

20
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -3840,11 +3840,11 @@ class UserStatusClient {
@JsonSerializable() @JsonSerializable()
class NotificationsPushNotificationDecryptedSubject { class NotificationsPushNotificationDecryptedSubject {
NotificationsPushNotificationDecryptedSubject({ NotificationsPushNotificationDecryptedSubject({
required this.nid, this.nid,
required this.app, this.app,
required this.subject, this.subject,
required this.type, this.type,
required this.id, this.id,
this.delete, this.delete,
this.deleteAll, this.deleteAll,
}); });
@ -3852,15 +3852,15 @@ class NotificationsPushNotificationDecryptedSubject {
factory NotificationsPushNotificationDecryptedSubject.fromJson(Map<String, dynamic> json) => factory NotificationsPushNotificationDecryptedSubject.fromJson(Map<String, dynamic> json) =>
_$NotificationsPushNotificationDecryptedSubjectFromJson(json); _$NotificationsPushNotificationDecryptedSubjectFromJson(json);
final int nid; final int? nid;
final String app; final String? app;
final String subject; final String? subject;
final String type; final String? type;
final String id; final String? id;
final bool? delete; final bool? delete;

10
packages/nextcloud/lib/src/nextcloud.openapi.g.dart

@ -1627,11 +1627,11 @@ Map<String, dynamic> _$UserStatusPredefinedStatusesToJson(UserStatusPredefinedSt
NotificationsPushNotificationDecryptedSubject _$NotificationsPushNotificationDecryptedSubjectFromJson( NotificationsPushNotificationDecryptedSubject _$NotificationsPushNotificationDecryptedSubjectFromJson(
Map<String, dynamic> json) => Map<String, dynamic> json) =>
NotificationsPushNotificationDecryptedSubject( NotificationsPushNotificationDecryptedSubject(
nid: json['nid'] as int, nid: json['nid'] as int?,
app: json['app'] as String, app: json['app'] as String?,
subject: json['subject'] as String, subject: json['subject'] as String?,
type: json['type'] as String, type: json['type'] as String?,
id: json['id'] as String, id: json['id'] as String?,
delete: json['delete'] as bool?, delete: json['delete'] as bool?,
deleteAll: json['delete-all'] as bool?, deleteAll: json['delete-all'] as bool?,
); );

7
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -1599,13 +1599,6 @@
}, },
"NotificationsPushNotificationDecryptedSubject": { "NotificationsPushNotificationDecryptedSubject": {
"type": "object", "type": "object",
"required": [
"nid",
"app",
"subject",
"type",
"id"
],
"properties": { "properties": {
"nid": { "nid": {
"type": "integer" "type": "integer"

7
specs/notifications.json

@ -307,13 +307,6 @@
}, },
"NotificationsPushNotificationDecryptedSubject": { "NotificationsPushNotificationDecryptedSubject": {
"type": "object", "type": "object",
"required": [
"nid",
"app",
"subject",
"type",
"id"
],
"properties": { "properties": {
"nid": { "nid": {
"type": "integer" "type": "integer"

Loading…
Cancel
Save