MessageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.MessageProperties

public final class MessageProperties

Describes the properties of a Message Details resource.

Constructor Summary

Constructor Description
MessageProperties()

Creates an instance of MessageProperties class.

Method Summary

Modifier and Type Method and Description
String body()

Get the body property: Body of the communication.

CommunicationDirection communicationDirection()

Get the communicationDirection property: Direction of communication.

TranscriptContentType contentType()

Get the contentType property: Content type.

OffsetDateTime createdDate()

Get the createdDate property: Time in UTC (ISO 8601 format) when the communication was created.

String sender()

Get the sender property: Name of the sender.

void validate()

Validates the instance.

MessageProperties withBody(String body)

Set the body property: Body of the communication.

MessageProperties withSender(String sender)

Set the sender property: Name of the sender.

Methods inherited from java.lang.Object

Constructor Details

MessageProperties

public MessageProperties()

Creates an instance of MessageProperties class.

Method Details

body

public String body()

Get the body property: Body of the communication.

Returns:

the body value.

communicationDirection

public CommunicationDirection communicationDirection()

Get the communicationDirection property: Direction of communication.

Returns:

the communicationDirection value.

contentType

public TranscriptContentType contentType()

Get the contentType property: Content type.

Returns:

the contentType value.

createdDate

public OffsetDateTime createdDate()

Get the createdDate property: Time in UTC (ISO 8601 format) when the communication was created.

Returns:

the createdDate value.

sender

public String sender()

Get the sender property: Name of the sender.

Returns:

the sender value.

validate

public void validate()

Validates the instance.

withBody

public MessageProperties withBody(String body)

Set the body property: Body of the communication.

Parameters:

body - the body value to set.

Returns:

the MessageProperties object itself.

withSender

public MessageProperties withSender(String sender)

Set the sender property: Name of the sender.

Parameters:

sender - the sender value to set.

Returns:

the MessageProperties object itself.

Applies to