// 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;

/** Result of the send message operation. */
@Fluent
public final class SendChatMessageResult {
    /*
     * A server-generated message id.
     */
    @JsonProperty(value = "id", required = true)
    private String id;

    /**
     * Get the id property: A server-generated message id.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Set the id property: A server-generated message id.
     *
     * @param id the id value to set.
     * @return the SendChatMessageResult object itself.
     */
    public SendChatMessageResult setId(String id) {
        this.id = id;
        return this;
    }
}
