All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nulabinc.backlog4j.api.option.UpdateIssueCommentParams Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package com.nulabinc.backlog4j.api.option;

import com.nulabinc.backlog4j.http.NameValuePair;

/**
 * Parameters for update issue comment API.
 *
 * @author nulab-inc
 */
public class UpdateIssueCommentParams extends PatchParams {
    private Object issueIdOrKey;
    private Object commentId;

    public UpdateIssueCommentParams(Object issueIdOrKey, Object commentId, String content) {
        this.issueIdOrKey = issueIdOrKey;
        this.commentId = commentId;
        parameters.add(new NameValuePair("content", content));
    }

    public String getCommentId() {
        return commentId.toString();
    }

    public String getIssueIdOrKeyString() {
        return issueIdOrKey.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy