Skip to content

Commit

Permalink
added comment about data length
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Farooq committed Sep 27, 2017
1 parent 3fc5356 commit edaf35b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public final class Organization {
* @param domainName - such as customer.restcomm.com
* @param dateCreated
* @param dateUpdated
* @param Status
* @throws IllegalArgumentException if sid or domainName are null/empty
*/
public Organization(final Sid sid, final String domainName, final DateTime dateCreated, final DateTime dateUpdated, final Status status) throws IllegalArgumentException {
Expand All @@ -56,6 +57,7 @@ public Organization(final Sid sid, final String domainName, final DateTime dateC
}

public enum Status {
// max length of a new status should be under 16 characters otherwise schema update is required.
ACTIVE("active"), CLOSED("closed");

private final String text;
Expand Down

0 comments on commit edaf35b

Please sign in to comment.