Class SpeechTimestamp
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SpeechTimestamp
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SpeechTimestamp
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Transcription timestamp.
-
Constructor Summary
Constructors Constructor Description SpeechTimestamp()
-
Method Summary
Modifier and Type Method Description Double
getEndTime()
Gets the end time.Double
getStartTime()
Gets the start time.String
getWord()
Gets the word.void
setEndTime(Double endTime)
Sets the end time.void
setStartTime(Double startTime)
Sets the start time.void
setWord(String word)
Sets the word.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SpeechTimestamp
public SpeechTimestamp()
-
-
Method Details
-
getEndTime
Gets the end time.- Returns:
- The end time
-
getStartTime
Gets the start time.- Returns:
- The start time
-
getWord
Gets the word.- Returns:
- The word
-
setEndTime
Sets the end time.- Parameters:
endTime
- The end time
-
setStartTime
Sets the start time.- Parameters:
startTime
- The start time
-
setWord
Sets the word.- Parameters:
word
- The word
-