Enum RevAiFailureType

    • Enum Constant Detail

      • DOWNLOAD_FAILURE

        @SerializedName("download_failure")
        public static final RevAiFailureType DOWNLOAD_FAILURE
        The failure used when the media provided in the submission request fails to download.
      • EMPTY_MEDIA

        @SerializedName("empty_media")
        public static final RevAiFailureType EMPTY_MEDIA
        The failure used when the media provided doesn't contain any audio.
      • INSUFFICIENT_BALANCE

        @SerializedName("insufficient_balance")
        public static final RevAiFailureType INSUFFICIENT_BALANCE
        The failure used when the account does not have enough credits remaining.
      • INTERNAL_PROCESSING

        @SerializedName("internal_processing")
        public static final RevAiFailureType INTERNAL_PROCESSING
        The failure used when there is a processing error.
      • INVALID_MEDIA

        @SerializedName("invalid_media")
        public static final RevAiFailureType INVALID_MEDIA
        The failure used when the file submitted is not a valid or supported media file.
      • INVOICING_LIMIT_EXCEEDED

        @SerializedName("invoicing_limit_exceeded")
        public static final RevAiFailureType INVOICING_LIMIT_EXCEEDED
        The failure used when the account has reached or exceeded its invoicing limit.
      • TRANSCRIPTION

        @SerializedName("transcription")
        public static final RevAiFailureType TRANSCRIPTION
        The failure used when an error occurs during transcription and prevents job completion.
    • Method Detail

      • values

        public static RevAiFailureType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RevAiFailureType c : RevAiFailureType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RevAiFailureType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getFailureType

        public String getFailureType()
        Returns the String value of the enumeration.
        Returns:
        The String value of the enumeration.