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

package com.azure.resourcemanager.netapp.implementation;

import com.azure.resourcemanager.netapp.fluent.models.SubvolumeModelInner;
import com.azure.resourcemanager.netapp.models.SubvolumeModel;
import java.time.OffsetDateTime;

public final class SubvolumeModelImpl implements SubvolumeModel {
    private SubvolumeModelInner innerObject;

    private final com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager;

    SubvolumeModelImpl(
        SubvolumeModelInner innerObject, com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    private com.azure.resourcemanager.netapp.NetAppFilesManager manager() {
        return this.serviceManager;
    }
}
