/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.vision.contentmoderator.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Terms properties.
 */
public class Terms {
    /**
     * Term data details.
     */
    @JsonProperty(value = "Data")
    private TermsData data;

    /**
     * Paging details.
     */
    @JsonProperty(value = "Paging")
    private TermsPaging paging;

    /**
     * Get the data value.
     *
     * @return the data value
     */
    public TermsData data() {
        return this.data;
    }

    /**
     * Set the data value.
     *
     * @param data the data value to set
     * @return the Terms object itself.
     */
    public Terms withData(TermsData data) {
        this.data = data;
        return this;
    }

    /**
     * Get the paging value.
     *
     * @return the paging value
     */
    public TermsPaging paging() {
        return this.paging;
    }

    /**
     * Set the paging value.
     *
     * @param paging the paging value to set
     * @return the Terms object itself.
     */
    public Terms withPaging(TermsPaging paging) {
        this.paging = paging;
        return this;
    }

}
