Partilhar via


ArmSupportModelFactory.ChatTranscriptMessageProperties Method

Definition

Initializes a new instance of ChatTranscriptMessageProperties.

public static Azure.ResourceManager.Support.Models.ChatTranscriptMessageProperties ChatTranscriptMessageProperties (Azure.ResourceManager.Support.Models.TranscriptContentType? contentType = default, Azure.ResourceManager.Support.Models.SupportTicketCommunicationDirection? communicationDirection = default, string sender = default, string body = default, DateTimeOffset? createdOn = default);
static member ChatTranscriptMessageProperties : Nullable<Azure.ResourceManager.Support.Models.TranscriptContentType> * Nullable<Azure.ResourceManager.Support.Models.SupportTicketCommunicationDirection> * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Support.Models.ChatTranscriptMessageProperties
Public Shared Function ChatTranscriptMessageProperties (Optional contentType As Nullable(Of TranscriptContentType) = Nothing, Optional communicationDirection As Nullable(Of SupportTicketCommunicationDirection) = Nothing, Optional sender As String = Nothing, Optional body As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As ChatTranscriptMessageProperties

Parameters

contentType
Nullable<TranscriptContentType>

Content type.

communicationDirection
Nullable<SupportTicketCommunicationDirection>

Direction of communication.

sender
String

Name of the sender.

body
String

Body of the communication.

createdOn
Nullable<DateTimeOffset>

Time in UTC (ISO 8601 format) when the communication was created.

Returns

A new ChatTranscriptMessageProperties instance for mocking.

Applies to