mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-13 09:02:09 -04:00
20 lines
601 B
Go
20 lines
601 B
Go
package jmap
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/opencloud-eu/opencloud/pkg/log"
|
|
)
|
|
|
|
func (j *Client) GetQuotas(accountIds []string, session *Session, ctx context.Context, logger *log.Logger, acceptLanguage string) (map[string]QuotaGetResponse, SessionState, State, Language, Error) {
|
|
return getTemplateN(j, "GetQuotas", CommandQuotaGet,
|
|
func(accountId string, ids []string) QuotaGetCommand {
|
|
return QuotaGetCommand{AccountId: accountId}
|
|
},
|
|
identity1,
|
|
identity1,
|
|
func(resp QuotaGetResponse) State { return resp.State },
|
|
accountIds, session, ctx, logger, acceptLanguage, []string{},
|
|
)
|
|
}
|