Freigeben über


TranscriptionSubscription Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.TranscriptionSubscription

Implements

public final class TranscriptionSubscription
implements JsonSerializable<TranscriptionSubscription>

Transcription Subscription Object.

Method Summary

Modifier and Type Method and Description
static TranscriptionSubscription fromJson(JsonReader jsonReader)

Reads an instance of TranscriptionSubscriptionInternal from the JsonReader.

String getId()

Get the id property: Gets or Sets subscription Id.

String getLocale()

Get the state property: Gets or Sets transcription subscription state.

TranscriptionSubscriptionState getState()

Get the state property: Gets or Sets transcription subscription state.

List<TranscriptionResultState> getSubscribedResultStates()

Get the subscribedResultStates property: Gets or Sets the subscribed transcription result types.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static TranscriptionSubscription fromJson(JsonReader jsonReader)

Reads an instance of TranscriptionSubscriptionInternal from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TranscriptionSubscriptionInternal if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TranscriptionSubscriptionInternal.

getId

public String getId()

Get the id property: Gets or Sets subscription Id.

Returns:

the id value.

getLocale

public String getLocale()

Get the state property: Gets or Sets transcription subscription state.

Returns:

the state value.

getState

public TranscriptionSubscriptionState getState()

Get the state property: Gets or Sets transcription subscription state.

Returns:

the state value.

getSubscribedResultStates

public List<TranscriptionResultState> getSubscribedResultStates()

Get the subscribedResultStates property: Gets or Sets the subscribed transcription result types.

Returns:

the subscribedResultStates value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to