Package com.dropbox.core.v2.riviera
Class ApiStructuredTranscript
java.lang.Object
com.dropbox.core.v2.riviera.ApiStructuredTranscript
Structured transcript for APIv2
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ApiTranscriptSegment> protected final String -
Constructor Summary
ConstructorsConstructorDescriptionStructured transcript for APIv2ApiStructuredTranscript(List<ApiTranscriptSegment> segments, String transcriptLocale) Structured transcript for APIv2 -
Method Summary
-
Field Details
-
segments
-
transcriptLocale
-
-
Constructor Details
-
ApiStructuredTranscript
public ApiStructuredTranscript(@Nullable List<ApiTranscriptSegment> segments, @Nonnull String transcriptLocale) Structured transcript for APIv2Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
segments- Must not contain anullitem.transcriptLocale- Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
ApiStructuredTranscript
public ApiStructuredTranscript()Structured transcript for APIv2The default values for unset fields will be used.
-
-
Method Details
-
getSegments
- Returns:
- value for this field, or
nullif not present.
-
getTranscriptLocale
- Returns:
- value for this field, or
nullif not present. Defaults to "".
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-