Files
workavia-mail-front/lib/features/mailbox/data/model/mailbox_change_response.dart
T
2021-10-01 15:48:47 +07:00

36 lines
898 B
Dart

import 'package:equatable/equatable.dart';
import 'package:jmap_dart_client/jmap/core/properties/properties.dart';
import 'package:jmap_dart_client/jmap/core/state.dart';
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
class MailboxChangeResponse with EquatableMixin {
final List<Mailbox>? updated;
final List<Mailbox>? created;
final List<MailboxId>? destroyed;
final State? newStateMailbox;
final State? newStateChanges;
final bool hasMoreChanges;
final Properties? updatedProperties;
MailboxChangeResponse({
this.updated,
this.created,
this.destroyed,
this.newStateMailbox,
this.newStateChanges,
this.hasMoreChanges = false,
this.updatedProperties,
});
@override
List<Object?> get props => [
updated,
created,
destroyed,
newStateMailbox,
newStateChanges,
hasMoreChanges,
updatedProperties
];
}