ChatTranscriptDetailsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.support.fluent.models.ChatTranscriptDetailsProperties

Implements

public final class ChatTranscriptDetailsProperties
implements JsonSerializable<ChatTranscriptDetailsProperties>

Describes the properties of a Chat Transcript Details resource.

Constructor Summary

Constructor Description
ChatTranscriptDetailsProperties()

Creates an instance of ChatTranscriptDetailsProperties class.

Method Summary

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

Reads an instance of ChatTranscriptDetailsProperties from the JsonReader.

List<MessageProperties> messages()

Get the messages property: List of chat transcript communication resources.

OffsetDateTime startTime()

Get the startTime property: Time in UTC (ISO 8601 format) when the chat began.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ChatTranscriptDetailsProperties withMessages(List<MessageProperties> messages)

Set the messages property: List of chat transcript communication resources.

Methods inherited from java.lang.Object

Constructor Details

ChatTranscriptDetailsProperties

public ChatTranscriptDetailsProperties()

Creates an instance of ChatTranscriptDetailsProperties class.

Method Details

fromJson

public static ChatTranscriptDetailsProperties fromJson(JsonReader jsonReader)

Reads an instance of ChatTranscriptDetailsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ChatTranscriptDetailsProperties 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 ChatTranscriptDetailsProperties.

messages

public List<MessageProperties> messages()

Get the messages property: List of chat transcript communication resources.

Returns:

the messages value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Time in UTC (ISO 8601 format) when the chat began.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMessages

public ChatTranscriptDetailsProperties withMessages(List<MessageProperties> messages)

Set the messages property: List of chat transcript communication resources.

Parameters:

messages - the messages value to set.

Returns:

the ChatTranscriptDetailsProperties object itself.

Applies to