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

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

public final class FileImpl implements File {
    private FileInner innerObject;

    private final com.azure.resourcemanager.batchai.BatchAIManager serviceManager;

    FileImpl(FileInner innerObject, com.azure.resourcemanager.batchai.BatchAIManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String name() {
        return this.innerModel().name();
    }

    public FileType fileType() {
        return this.innerModel().fileType();
    }

    public String downloadUrl() {
        return this.innerModel().downloadUrl();
    }

    public OffsetDateTime lastModified() {
        return this.innerModel().lastModified();
    }

    public Long contentLength() {
        return this.innerModel().contentLength();
    }

    public FileInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.batchai.BatchAIManager manager() {
        return this.serviceManager;
    }
}
