Share via


ConversationsModelFactory.AnalyzeConversationOperationState Method

Definition

Initializes a new instance of AnalyzeConversationOperationState.

public static Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationState AnalyzeConversationOperationState (string displayName = default, DateTimeOffset createdDateTime = default, DateTimeOffset? expirationDateTime = default, Guid jobId = default, DateTimeOffset lastUpdatedDateTime = default, Azure.AI.Language.Conversations.Models.ConversationActionState status = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.ConversationError> errors = default, string nextLink = default, Azure.AI.Language.Conversations.Models.ConversationActions actions = default, Azure.AI.Language.Conversations.Models.ConversationRequestStatistics statistics = default);
static member AnalyzeConversationOperationState : string * DateTimeOffset * Nullable<DateTimeOffset> * Guid * DateTimeOffset * Azure.AI.Language.Conversations.Models.ConversationActionState * seq<Azure.AI.Language.Conversations.Models.ConversationError> * string * Azure.AI.Language.Conversations.Models.ConversationActions * Azure.AI.Language.Conversations.Models.ConversationRequestStatistics -> Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationState
Public Shared Function AnalyzeConversationOperationState (Optional displayName As String = Nothing, Optional createdDateTime As DateTimeOffset = Nothing, Optional expirationDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional jobId As Guid = Nothing, Optional lastUpdatedDateTime As DateTimeOffset = Nothing, Optional status As ConversationActionState = Nothing, Optional errors As IEnumerable(Of ConversationError) = Nothing, Optional nextLink As String = Nothing, Optional actions As ConversationActions = Nothing, Optional statistics As ConversationRequestStatistics = Nothing) As AnalyzeConversationOperationState

Parameters

displayName
String

display name.

createdDateTime
DateTimeOffset

Date and time job created.

expirationDateTime
Nullable<DateTimeOffset>

Date and time job expires.

jobId
Guid

job ID.

lastUpdatedDateTime
DateTimeOffset

last updated date and time.

status
ConversationActionState

status.

errors
IEnumerable<ConversationError>

errors.

nextLink
String

next link.

actions
ConversationActions

Contains the state for the tasks that are being executed as part of the submitted job for analyzing a conversation.

statistics
ConversationRequestStatistics

Contains the statistics for the submitted job.

Returns

A new AnalyzeConversationOperationState instance for mocking.

Applies to