All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.obs.services.model.fs.FolderContentSummary Maven / Gradle / Ivy

Go to download

The HuaweiCloud OBS Bundle SDK for Java used for accessing Object Storage Service, this SDK bundle includes third-party libraries and relocated to different namespaces

There is a newer version: 3.24.12
Show newest version
package com.obs.services.model.fs;

import java.util.ArrayList;
import java.util.List;

public class FolderContentSummary {
    private String dir;
    private long dirHeight;
    private List layerSummaries;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public long getDirHeight() {
        return dirHeight;
    }

    public void setDirHeight(long dirHeight) {
        this.dirHeight = dirHeight;
    }

    public List getLayerSummaries() {
        if (layerSummaries == null) {
            this.layerSummaries = new ArrayList();
        }
        return layerSummaries;
    }

    @Override
    public String toString() {
        return "FolderContentSummary{" + "dir='" + dir + '\'' + ", dirHeight=" + dirHeight + ", LayerSummaries="
                + layerSummaries + '}';
    }

    static public class LayerSummary {
        private long summaryHeight;
        private long dirCount;
        private long fileCount;
        private long fileSize;

        public long getSummaryHeight() {
            return summaryHeight;
        }

        public void setSummaryHeight(long summaryHeight) {
            this.summaryHeight = summaryHeight;
        }

        public long getDirCount() {
            return dirCount;
        }

        public void setDirCount(long dirCount) {
            this.dirCount = dirCount;
        }

        public long getFileCount() {
            return fileCount;
        }

        public void setFileCount(long fileCount) {
            this.fileCount = fileCount;
        }

        public long getFileSize() {
            return fileSize;
        }

        public void setFileSize(long fileSize) {
            this.fileSize = fileSize;
        }

        @Override
        public String toString() {
            return "LayerSummary{" + "summaryHeight=" + summaryHeight + ", dirCount=" + dirCount + ", fileCount="
                    + fileCount + ", fileSize=" + fileSize + '}';
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy