DiscoveryModelFactory.DiscoveryConversation Method

Definition

A conversation.

public static Azure.AI.Discovery.DiscoveryConversation DiscoveryConversation(string name = default, DateTimeOffset? createdAt = default, string createdBy = default, Azure.AI.Discovery.DiscoveryActorType? createdByType = default, DateTimeOffset? lastModifiedAt = default, string lastModifiedBy = default, Azure.AI.Discovery.DiscoveryActorType? lastModifiedByType = default, string displayName = default, string investigationName = default, string projectName = default);
static member DiscoveryConversation : string * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> * string * string * string -> Azure.AI.Discovery.DiscoveryConversation
Public Shared Function DiscoveryConversation (Optional name As String = Nothing, Optional createdAt As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional createdByType As Nullable(Of DiscoveryActorType) = Nothing, Optional lastModifiedAt As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional lastModifiedByType As Nullable(Of DiscoveryActorType) = Nothing, Optional displayName As String = Nothing, Optional investigationName As String = Nothing, Optional projectName As String = Nothing) As DiscoveryConversation

Parameters

name
String

The conversation name.

createdAt
Nullable<DateTimeOffset>

The timestamp when the resource was created.

createdBy
String

The ID of the user who created this resource.

createdByType
Nullable<DiscoveryActorType>

The type of user who created this resource.

lastModifiedAt
Nullable<DateTimeOffset>

The timestamp when the resource was last updated.

lastModifiedBy
String

The ID of the user who updated this resource.

lastModifiedByType
Nullable<DiscoveryActorType>

The type of user who updated this resource.

displayName
String

The title.

investigationName
String

The Name of the associated Investigation.

projectName
String

The name of the associated Project.

Returns

A new DiscoveryConversation instance for mocking.

Applies to