com.nulabinc.backlog4j.api.option.UpdateGroupParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backlog4j Show documentation
Show all versions of backlog4j Show documentation
Backlog4j is a Backlog binding library for Java.
package com.nulabinc.backlog4j.api.option;
import com.nulabinc.backlog4j.http.NameValuePair;
import java.util.List;
/**
* Parameters for update group API.
*
* @author nulab-inc
*/
public class UpdateGroupParams extends PatchParams {
private String groupId;
public UpdateGroupParams(Object groupId){
this.groupId = groupId.toString();
}
public UpdateGroupParams name(String name) {
parameters.add(new NameValuePair("name", name));
return this;
}
public UpdateGroupParams members(List members) {
for (Object member : members) {
parameters.add(new NameValuePair("members[]", member.toString()));
}
return this;
}
public String getGroupId() {
return groupId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy