toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelMessagePersistenceType.persistent:
      return 'PERSISTENT';
    case ChannelMessagePersistenceType.nonPersistent:
      return 'NON_PERSISTENT';
  }
}