LanguageBatchInput.java

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

package com.azure.ai.textanalytics.implementation.models;

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

/** The LanguageBatchInput model. */
@Fluent
public final class LanguageBatchInput {
    /*
     * The documents property.
     */
    @JsonProperty(value = "documents", required = true)
    private List<LanguageInput> documents;

    /**
     * Get the documents property: The documents property.
     *
     * @return the documents value.
     */
    public List<LanguageInput> getDocuments() {
        return this.documents;
    }

    /**
     * Set the documents property: The documents property.
     *
     * @param documents the documents value to set.
     * @return the LanguageBatchInput object itself.
     */
    public LanguageBatchInput setDocuments(List<LanguageInput> documents) {
        this.documents = documents;
        return this;
    }
}