Share via


ChatTranscriptDetailsInner Class

public final class ChatTranscriptDetailsInner
extends ProxyResource

Object that represents a Chat Transcript resource.

Constructor Summary

Constructor Description
ChatTranscriptDetailsInner()

Creates an instance of ChatTranscriptDetailsInner class.

Method Summary

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

Reads an instance of ChatTranscriptDetailsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

List<MessageProperties> messages()

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

String name()

Get the name property: The name of the resource.

OffsetDateTime startTime()

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

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ChatTranscriptDetailsInner withMessages(List<MessageProperties> messages)

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

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ChatTranscriptDetailsInner

public ChatTranscriptDetailsInner()

Creates an instance of ChatTranscriptDetailsInner class.

Method Details

fromJson

public static ChatTranscriptDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of ChatTranscriptDetailsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ChatTranscriptDetailsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ChatTranscriptDetailsInner.id()

Returns:

the id value.

messages

public List<MessageProperties> messages()

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

Returns:

the messages value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ChatTranscriptDetailsInner.name()

Returns:

the name value.

startTime

public OffsetDateTime startTime()

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

Returns:

the startTime value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ChatTranscriptDetailsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ChatTranscriptDetailsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withMessages

public ChatTranscriptDetailsInner withMessages(List<MessageProperties> messages)

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

Parameters:

messages - the messages value to set.

Returns:

the ChatTranscriptDetailsInner object itself.

Applies to