| 6736 | } |
| 6737 | |
| 6738 | void readEnumReminderEmailConfig(ThriftBinaryBufferReader& r, ReminderEmailConfig::type& e) { |
| 6739 | qint32 i; |
| 6740 | r.readI32(i); |
| 6741 | switch(i) { |
| 6742 | case static_cast<int>(ReminderEmailConfig::DO_NOT_SEND): e = ReminderEmailConfig::DO_NOT_SEND; break; |
| 6743 | case static_cast<int>(ReminderEmailConfig::SEND_DAILY_EMAIL): e = ReminderEmailConfig::SEND_DAILY_EMAIL; break; |
| 6744 | default: throw ThriftException(ThriftException::Type::INVALID_DATA, "Incorrect value for enum ReminderEmailConfig"); |
| 6745 | } |
| 6746 | } |
| 6747 | |
| 6748 | /** @endcond */ |
| 6749 |
no test coverage detected