/**
 * 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.knowledge.qnamaker.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * DTO to hold details of uploaded files.
 */
public class FileDTO {
    /**
     * File name. Supported file types are ".tsv", ".pdf", ".txt", ".docx",
     * ".xlsx".
     */
    @JsonProperty(value = "fileName", required = true)
    private String fileName;

    /**
     * Public URI of the file.
     */
    @JsonProperty(value = "fileUri", required = true)
    private String fileUri;

    /**
     * Get the fileName value.
     *
     * @return the fileName value
     */
    public String fileName() {
        return this.fileName;
    }

    /**
     * Set the fileName value.
     *
     * @param fileName the fileName value to set
     * @return the FileDTO object itself.
     */
    public FileDTO withFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    /**
     * Get the fileUri value.
     *
     * @return the fileUri value
     */
    public String fileUri() {
        return this.fileUri;
    }

    /**
     * Set the fileUri value.
     *
     * @param fileUri the fileUri value to set
     * @return the FileDTO object itself.
     */
    public FileDTO withFileUri(String fileUri) {
        this.fileUri = fileUri;
        return this;
    }

}
