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

/** The AnalyzeTextJobStatistics model. */
@Fluent
public class AnalyzeTextJobStatistics {
    /*
     * if showStats=true was specified in the request this field will contain information about the request payload.
     */
    @JsonProperty(value = "statistics")
    private RequestStatistics statistics;

    /** Creates an instance of AnalyzeTextJobStatistics class. */
    public AnalyzeTextJobStatistics() {}

    /**
     * Get the statistics property: if showStats=true was specified in the request this field will contain information
     * about the request payload.
     *
     * @return the statistics value.
     */
    public RequestStatistics getStatistics() {
        return this.statistics;
    }

    /**
     * Set the statistics property: if showStats=true was specified in the request this field will contain information
     * about the request payload.
     *
     * @param statistics the statistics value to set.
     * @return the AnalyzeTextJobStatistics object itself.
     */
    public AnalyzeTextJobStatistics setStatistics(RequestStatistics statistics) {
        this.statistics = statistics;
        return this;
    }
}
