com.nulabinc.backlog4j.api.option.AddWikiAttachmentParams 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 add attachment file to wiki page's API.
*
* @author nulab-inc
*/
public class AddWikiAttachmentParams extends PostParams {
private Object wikiId;
public AddWikiAttachmentParams(Object wikiId, List attachmentIds){
this.wikiId = wikiId;
for (Object attachmentId : attachmentIds) {
parameters.add(new NameValuePair("attachmentId[]", String.valueOf(attachmentId)));
}
}
public String getWikiId() {
return this.wikiId.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy