UpdateChatMessageOptions.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.chat.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The UpdateChatMessageOptions model. */
@Fluent
public final class UpdateChatMessageOptions {
    /*
     * Chat message content.
     */
    @JsonProperty(value = "content")
    private String content;

    /*
     * The chat message priority.
     */
    @JsonProperty(value = "priority")
    private ChatMessagePriority priority;

    /**
     * Get the content property: Chat message content.
     *
     * @return the content value.
     */
    public String getContent() {
        return this.content;
    }

    /**
     * Set the content property: Chat message content.
     *
     * @param content the content value to set.
     * @return the UpdateChatMessageOptions object itself.
     */
    public UpdateChatMessageOptions setContent(String content) {
        this.content = content;
        return this;
    }

    /**
     * Get the priority property: The chat message priority.
     *
     * @return the priority value.
     */
    public ChatMessagePriority getPriority() {
        return this.priority;
    }

    /**
     * Set the priority property: The chat message priority.
     *
     * @param priority the priority value to set.
     * @return the UpdateChatMessageOptions object itself.
     */
    public UpdateChatMessageOptions setPriority(ChatMessagePriority priority) {
        this.priority = priority;
        return this;
    }
}