Class CustomVocabularyInformation
- java.lang.Object
-
- ai.rev.speechtotext.models.vocabulary.CustomVocabularyInformation
-
public class CustomVocabularyInformation extends Object
-
-
Constructor Summary
Constructors Constructor Description CustomVocabularyInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCallbackUrl()Returns the callback url provided in the submission request.StringgetCompletedOn()Returns a String that contains the date and time the custom vocabulary was completed on in ISO-8601 UTC form.StringgetCreatedOn()Returns a String that contains the date and time the custom vocabulary was created on in ISO-8601 UTC form.CustomVocabularyFailureTypegetFailure()Returns theCustomVocabularyFailureTypeenumeration value.StringgetFailureDetail()Returns a detailed, human readable explanation of the failure.StringgetId()Returns a String that contains the Custom Vocabulary Id.StringgetMetadata()Returns the metadata provided in the submission request.CustomVocabularyStatusgetStatus()Returns theCustomVocabularyStatusenumeration value.voidsetCallbackUrl(String callbackUrl)Sets the callback url.voidsetCompletedOn(String completedOn)Sets the date and time the custom vocabulary was completed on.voidsetCreatedOn(String createdOn)Sets the time and date the custom vocabulary was created on.voidsetFailure(CustomVocabularyFailureType failure)Sets the failure details to the provided value.voidsetFailureDetail(String failureDetail)Sets the failure detail to the provided value.voidsetId(String id)Sets the custom vocabulary Id to the provided value.voidsetMetadata(String metadata)Sets the metadata.voidsetStatus(CustomVocabularyStatus status)Sets the status to the providedCustomVocabularyStatusenumeration value.StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
Returns a String that contains the Custom Vocabulary Id.- Returns:
- A String that contains the Custom Vocabulary Id.
-
setId
public void setId(String id)
Sets the custom vocabulary Id to the provided value.- Parameters:
id- The String value to set as the custom vocabulary Id.
-
getStatus
public CustomVocabularyStatus getStatus()
Returns theCustomVocabularyStatusenumeration value.- Returns:
- The
CustomVocabularyStatusenumeration value.
-
setStatus
public void setStatus(CustomVocabularyStatus status)
Sets the status to the providedCustomVocabularyStatusenumeration value.- Parameters:
status- The enumeration value to set as the custom vocabulary status.
-
getCreatedOn
public String getCreatedOn()
Returns a String that contains the date and time the custom vocabulary was created on in ISO-8601 UTC form.- Returns:
- A String that contains the date and time the custom vocabulary was created on in ISO-8601 UTC form.
-
setCreatedOn
public void setCreatedOn(String createdOn)
Sets the time and date the custom vocabulary was created on.- Parameters:
createdOn- The String value to set as the created on date and time.
-
getCompletedOn
public String getCompletedOn()
Returns a String that contains the date and time the custom vocabulary was completed on in ISO-8601 UTC form.- Returns:
- A String that contains the date and time the custom vocabulary was completed on.
-
setCompletedOn
public void setCompletedOn(String completedOn)
Sets the date and time the custom vocabulary was completed on.- Parameters:
completedOn- The String value to set as the date and time the job was completed on.
-
getMetadata
public String getMetadata()
Returns the metadata provided in the submission request.- Returns:
- A String containing the metadata provided in the submission request.
-
setMetadata
public void setMetadata(String metadata)
Sets the metadata.- Parameters:
metadata- A String to set as the metadata.
-
getCallbackUrl
public String getCallbackUrl()
Returns the callback url provided in the submission request.- Returns:
- A String containing the callback url provided in the submission request.
-
setCallbackUrl
public void setCallbackUrl(String callbackUrl)
Sets the callback url.- Parameters:
callbackUrl- A String value to set as the callback url.
-
getFailure
public CustomVocabularyFailureType getFailure()
Returns theCustomVocabularyFailureTypeenumeration value.- Returns:
- The
CustomVocabularyFailureTypeenumeration value.
-
setFailure
public void setFailure(CustomVocabularyFailureType failure)
Sets the failure details to the provided value.- Parameters:
failure- A String to set as the failure details.
-
getFailureDetail
public String getFailureDetail()
Returns a detailed, human readable explanation of the failure.- Returns:
- A detailed, human readable explanation of the failure.
-
setFailureDetail
public void setFailureDetail(String failureDetail)
Sets the failure detail to the provided value.- Parameters:
failureDetail- A String to set as the failure detail.
-
-