// 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 java.util.List;

/** The PiiResultDocumentsItem model. */
@Fluent
public final class PiiResultDocumentsItem extends PiiEntitiesDocumentResult {
    /** Creates an instance of PiiResultDocumentsItem class. */
    public PiiResultDocumentsItem() {}

    /** {@inheritDoc} */
    @Override
    public PiiResultDocumentsItem setRedactedText(String redactedText) {
        super.setRedactedText(redactedText);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public PiiResultDocumentsItem setEntities(List<Entity> entities) {
        super.setEntities(entities);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public PiiResultDocumentsItem setId(String id) {
        super.setId(id);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public PiiResultDocumentsItem setWarnings(List<DocumentWarning> warnings) {
        super.setWarnings(warnings);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public PiiResultDocumentsItem setStatistics(DocumentStatistics statistics) {
        super.setStatistics(statistics);
        return this;
    }
}
