Class RevAiAccount
- java.lang.Object
-
- ai.rev.speechtotext.models.asynchronous.RevAiAccount
-
public class RevAiAccount extends Object
The RevAiAccount object provides basic information about a Rev.ai account associated with a valid access token.- See Also:
- https://www.rev.ai/docs#tag/Account
-
-
Constructor Summary
Constructors Constructor Description RevAiAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetBalanceSeconds()Returns the remaining number of credits in seconds that can be used on the account.StringgetEmail()Returns a String containing the account email.voidsetBalanceSeconds(Integer balanceSeconds)Sets the balanceSeconds value.voidsetEmail(String email)Sets the email value.
-
-
-
Method Detail
-
getEmail
public String getEmail()
Returns a String containing the account email.- Returns:
- A String containing the account email.
-
setEmail
public void setEmail(String email)
Sets the email value.- Parameters:
email- The String value to set as theemail.
-
getBalanceSeconds
public Integer getBalanceSeconds()
Returns the remaining number of credits in seconds that can be used on the account.- Returns:
- The number of seconds remaining on the account.
-
setBalanceSeconds
public void setBalanceSeconds(Integer balanceSeconds)
Sets the balanceSeconds value. This cannot be used to affect the actual number of credits remaining.- Parameters:
balanceSeconds- The Integer value to set as thebalanceSeconds.
-
-