AddChatThreadMembersOptions.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.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The AddChatThreadMembersOptions model. */
@Fluent
public final class AddChatThreadMembersOptions {
    /*
     * Members to add to a chat thread.
     */
    @JsonProperty(value = "members", required = true)
    private List<ChatThreadMember> members;

    /**
     * Get the members property: Members to add to a chat thread.
     *
     * @return the members value.
     */
    public List<ChatThreadMember> getMembers() {
        return this.members;
    }

    /**
     * Set the members property: Members to add to a chat thread.
     *
     * @param members the members value to set.
     * @return the AddChatThreadMembersOptions object itself.
     */
    public AddChatThreadMembersOptions setMembers(List<ChatThreadMember> members) {
        this.members = members;
        return this;
    }
}