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

package com.azure.storage.file.datalake.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/** The FileSystem model. */
@JacksonXmlRootElement(localName = "FileSystem")
@Fluent
public final class FileSystem {
    /*
     * The name property.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * The lastModified property.
     */
    @JsonProperty(value = "lastModified")
    private String lastModified;

    /*
     * The eTag property.
     */
    @JsonProperty(value = "eTag")
    private String eTag;

    /** Creates an instance of FileSystem class. */
    public FileSystem() {}

    /**
     * Get the name property: The name property.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Set the name property: The name property.
     *
     * @param name the name value to set.
     * @return the FileSystem object itself.
     */
    public FileSystem setName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the lastModified property: The lastModified property.
     *
     * @return the lastModified value.
     */
    public String getLastModified() {
        return this.lastModified;
    }

    /**
     * Set the lastModified property: The lastModified property.
     *
     * @param lastModified the lastModified value to set.
     * @return the FileSystem object itself.
     */
    public FileSystem setLastModified(String lastModified) {
        this.lastModified = lastModified;
        return this;
    }

    /**
     * Get the eTag property: The eTag property.
     *
     * @return the eTag value.
     */
    public String getETag() {
        return this.eTag;
    }

    /**
     * Set the eTag property: The eTag property.
     *
     * @param eTag the eTag value to set.
     * @return the FileSystem object itself.
     */
    public FileSystem setETag(String eTag) {
        this.eTag = eTag;
        return this;
    }
}
