Class Entity
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.Entity
-
public final class Entity extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntity._FinalStagestatic classEntity.Builderstatic interfaceEntity.EndStagestatic interfaceEntity.EntityTypeStagestatic interfaceEntity.StartStagestatic interfaceEntity.TextStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Entity.EntityTypeStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()intgetEnd()EntityTypegetEntityType()intgetStart()java.lang.StringgetText()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getEntityType
public EntityType getEntityType()
- Returns:
- The type of entity for the detected entity
-
getText
public java.lang.String getText()
- Returns:
- The text for the detected entity
-
getStart
public int getStart()
- Returns:
- The starting time, in milliseconds, at which the detected entity appears in the audio file
-
getEnd
public int getEnd()
- Returns:
- The ending time, in milliseconds, for the detected entity in the audio file
-
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 Entity.EntityTypeStage builder()
-
-