Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add overload methods which accept models #32

Open
hrchu opened this issue Feb 19, 2020 · 0 comments
Open

Add overload methods which accept models #32

hrchu opened this issue Feb 19, 2020 · 0 comments

Comments

@hrchu
Copy link
Member

hrchu commented Feb 19, 2020

Currently, we can set options by, for example, rgwAdmin.setUserQuota(java.lang.String userId, long maxObjects, long maxSizeKB)

Add an overloaded method such as rgwAdmin.setUserQuota(Quota quota) , so that user can :

Quota quota = rgwAdm.getUserQuota(userId)
quota.setMaxObjects = 5566
rgwAdm.setUserQuota(quota)

All "set" methods listed in https://www.javadoc.io/static/io.github.twonote/radosgw-admin4j/2.0.2/org/twonote/rgwadmin4j/RgwAdmin.html are needed to be overloaded.

@hrchu hrchu changed the title Add overload methods which accept model Add overload methods which accept models Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant