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()
class NotificationsPushNotificationDecryptedSubject {
NotificationsPushNotificationDecryptedSubject({
required this.nid,
required this.app,
required this.subject,
required this.type,
required this.id,
this.nid,
this.app,
this.subject,
this.type,
this.id,
this.delete,
this.deleteAll,
});
@ -3852,15 +3852,15 @@ class NotificationsPushNotificationDecryptedSubject {
factory NotificationsPushNotificationDecryptedSubject.fromJson(Map<String, dynamic> 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;

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

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

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

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

7
specs/notifications.json

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

Loading…
Cancel
Save