Class ContentSafetyLabel
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.ContentSafetyLabel
-
public final class ContentSafetyLabel extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentSafetyLabel._FinalStagestatic classContentSafetyLabel.Builderstatic interfaceContentSafetyLabel.ConfidenceStagestatic interfaceContentSafetyLabel.LabelStagestatic interfaceContentSafetyLabel.SeverityStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentSafetyLabel.LabelStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()doublegetConfidence()java.lang.StringgetLabel()doublegetSeverity()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
- Returns:
- The label of the sensitive topic
-
getConfidence
public double getConfidence()
- Returns:
- The confidence score for the topic being discussed, from 0 to 1
-
getSeverity
public double getSeverity()
- Returns:
- How severely the topic is discussed in the section, from 0 to 1
-
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 ContentSafetyLabel.LabelStage builder()
-
-