Class WordSearchResponse
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.WordSearchResponse
-
public final class WordSearchResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWordSearchResponse._FinalStagestatic classWordSearchResponse.Builderstatic interfaceWordSearchResponse.IdStagestatic interfaceWordSearchResponse.TotalCountStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WordSearchResponse.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetId()java.util.List<WordSearchMatch>getMatches()intgetTotalCount()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- The ID of the transcript
-
getTotalCount
public int getTotalCount()
- Returns:
- The total count of all matched instances. For e.g., word 1 matched 2 times, and word 2 matched 3 times,
total_countwill equal 5.
-
getMatches
public java.util.List<WordSearchMatch> getMatches()
- Returns:
- The matches of the search
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static WordSearchResponse.IdStage builder()
-
-