mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-20 04:43:01 +00:00
Update operation to get remote user quota
This commit is contained in:
@@ -140,6 +140,17 @@ public class WebdavUtils {
|
||||
return propSet;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a DavPropertyNameSet with properties for user quotas
|
||||
* @return set of quota properties
|
||||
*/
|
||||
public static DavPropertyNameSet getQuotaPropSet() {
|
||||
DavPropertyNameSet propSet = new DavPropertyNameSet();
|
||||
propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_AVAILABLE_BYTES));
|
||||
propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_USED_BYTES));
|
||||
return propSet;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param rawEtag
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* ownCloud Android Library is available under MIT license
|
||||
* Copyright (C) 2016 ownCloud GmbH.
|
||||
* Copyright (C) 2018 ownCloud GmbH.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -55,11 +55,12 @@ import javax.net.ssl.SSLException;
|
||||
|
||||
/**
|
||||
* The result of a remote operation required to an ownCloud server.
|
||||
* <p/>
|
||||
*
|
||||
* Provides a common classification of remote operation results for all the
|
||||
* application.
|
||||
*
|
||||
* @author David A. Velasco
|
||||
* @author David González Verdugo
|
||||
*/
|
||||
public class RemoteOperationResult implements Serializable {
|
||||
|
||||
@@ -378,8 +379,8 @@ public class RemoteOperationResult implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
public void setData(ArrayList<Object> files) {
|
||||
mData = files;
|
||||
public void setData(ArrayList<Object> items) {
|
||||
mData = items;
|
||||
}
|
||||
|
||||
public ArrayList<Object> getData() {
|
||||
|
||||
Reference in New Issue
Block a user