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

package com.azure.resourcemanager.batchai.models;

import com.azure.resourcemanager.batchai.fluent.models.FileInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of File. */
public interface File {
    /**
     * Gets the name property: Name of the file.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the fileType property: Type of the file. Possible values are file and directory.
     *
     * @return the fileType value.
     */
    FileType fileType();

    /**
     * Gets the downloadUrl property: URL to download the corresponding file. The downloadUrl is not returned for
     * directories.
     *
     * @return the downloadUrl value.
     */
    String downloadUrl();

    /**
     * Gets the lastModified property: The time at which the file was last modified.
     *
     * @return the lastModified value.
     */
    OffsetDateTime lastModified();

    /**
     * Gets the contentLength property: The file of the size.
     *
     * @return the contentLength value.
     */
    Long contentLength();

    /**
     * Gets the inner com.azure.resourcemanager.batchai.fluent.models.FileInner object.
     *
     * @return the inner object.
     */
    FileInner innerModel();
}
