Language

TelephonyCallLifecycleEvent Class

Definition

A bounded durable observation in the lifecycle of one telephony call.

public class TelephonyCallLifecycleEvent : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.TelephonyCallLifecycleEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.TelephonyCallLifecycleEvent>
type TelephonyCallLifecycleEvent = class
    interface IJsonModel<TelephonyCallLifecycleEvent>
    interface IPersistableModel<TelephonyCallLifecycleEvent>
Public Class TelephonyCallLifecycleEvent
Implements IJsonModel(Of TelephonyCallLifecycleEvent), IPersistableModel(Of TelephonyCallLifecycleEvent)
Inheritance
TelephonyCallLifecycleEvent
Implements

Properties

Name Description
Name

The stable provider-neutral event name.

ObservedOn

The Unix timestamp (in seconds) for when the service observed the event.

OccurredOn

The Unix timestamp (in seconds) for when the event occurred according to the provider.

Outcome

The outcome of the observed lifecycle operation.

ProviderEventId

The provider event identifier used for idempotency, when supplied.

ProviderSequence

The provider event sequence, when supplied.

ProviderStatusCode

The provider status code associated with the event.

ProviderSubCode

The provider subcode associated with the event.

Reason

A stable service-generated reason associated with this lifecycle event, not necessarily the final outcome of the call. Additional string codes may be returned.

Sequence

The service-assigned order of the event within the call record.

Source

The component that supplied the observation.

TimestampSource

The source of the event timestamp.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TelephonyCallLifecycleEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TelephonyCallLifecycleEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<TelephonyCallLifecycleEvent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TelephonyCallLifecycleEvent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TelephonyCallLifecycleEvent>.Write(ModelReaderWriterOptions)

Applies to