com.github.jamesnetherton.zulip.client.api.stream.RetentionPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zulip-java-client Show documentation
Show all versions of zulip-java-client Show documentation
Java client for the Zulip REST API
The newest version!
package com.github.jamesnetherton.zulip.client.api.stream;
/**
* Defines the type of message retention policy.
*
* See https://zulip.com/help/message-retention-policy
*/
public enum RetentionPolicy {
/**
* Retain unlimited messages.
*/
UNLIMITED,
/**
* Use organization level message retention defaults.
*/
REALM_DEFAULT;
@Override
public String toString() {
return this.name().toLowerCase();
}
}