org.aarboard.nextcloud.api.provisioning.Quota Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nextcloud-api Show documentation
Show all versions of nextcloud-api Show documentation
Java api library to access nextcloud features from java applications
The newest version!
package org.aarboard.nextcloud.api.provisioning;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.Optional;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Quota {
@JsonDeserialize(using = QuotaDeserializer.class)
private Optional quota = Optional.empty();
private long free;
private long used;
private long total;
private float relative;
public Optional getQuota() {
return quota;
}
public long getFree() {
return free;
}
public long getUsed() {
return used;
}
public long getTotal() {
return total;
}
public float getRelative() {
return relative;
}
}