001package com.plivo.api.validators;
002
003import java.lang.annotation.Retention;
004import java.lang.annotation.Target;
005
006import static java.lang.annotation.ElementType.FIELD;
007import static java.lang.annotation.ElementType.PARAMETER;
008import static java.lang.annotation.RetentionPolicy.RUNTIME;
009
010
011@Target({FIELD, PARAMETER})
012@Retention(value = RUNTIME)
013public @interface SubAccount {
014
015  /**
016   * @return error message to return when validation fails
017   */
018  String message() default "not a valid subAccountId";
019
020}