docs: public void writeNotificationSettings(OutputStream out, NotificationSettings value) throws IOException {
          writeStartObject(out);
          writeIntField(out, OM_DELIVERYINTERVAL, value.deliveryInterval);
          writeIntField(out, OM_INBOXEXPIRTY, value.inboxExpiry);
          writeEndObject(out);
      }