public interface QuotaSetService extends RestService
Modifier and Type | Method and Description |
---|---|
ActionResponse |
delete(String tenantId)
Deletes quotas for a tenant.
|
ActionResponse |
delete(String tenantId,
String userId)
Deletes quotas for a user in a tenant.
|
QuotaSet |
get(String tenantId)
Shows quotas for a tenant.
|
QuotaSet |
get(String tenantId,
String userId)
Shows quotas for a user in a tenant.
|
QuotaSet |
getDefault(String tenantId)
Shows default quotas for a tenant.
|
QuotaSet |
update(String tenantId,
QuotaSetUpdateOptions options)
Updates quotas for a tenant.
|
QuotaSet |
update(String tenantId,
String userId,
QuotaSetUpdateOptions options)
Updates quotas for a user in a tenant.
|
QuotaSet get(String tenantId)
tenantId
- the UUID for the tenant for which you want to show quotasQuotaSet get(String tenantId, String userId)
tenantId
- the UUID for the tenant for which you want to show quotasuserId
- the UUID of the userQuotaSet update(String tenantId, QuotaSetUpdateOptions options)
tenantId
- the UUID for the tenant for which you want to update quotasoptions
- the options to updateQuotaSet update(String tenantId, String userId, QuotaSetUpdateOptions options)
tenantId
- the UUID for the tenant for which you want to update quotasuserId
- the UUID of the useroptions
- the options to updateActionResponse delete(String tenantId)
tenantId
- the UUID for the tenant for which you want to delete quotasActionResponse delete(String tenantId, String userId)
tenantId
- the UUID for the tenant for which you want to delete quotasuserId
- the UUID of the userCopyright © 2017. All rights reserved.