Set the comment for the call

@param id id of the Interaction (required)
@param callCommentData  (required)
@return ApiSuccessResponse
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
342822
public ApiSuccessResponse setCallComment(String id, CallCommentData callCommentData) throws ApiException {
        ApiResponse<ApiSuccessResponse> resp = setCallCommentWithHttpInfo(id, callCommentData);
        return resp.getData();
    }
55554
public void updateComment(int commentId, CommentUpdate comment) {
		getResourceFactory().getApiResource("/comment/" + commentId)
				.entity(comment, MediaType.APPLICATION_JSON_TYPE).put();
	}
644979
def post_comment(self, bugid, comment):
        ''''''
        data = {'id': bugid, "comment": comment}
        return self._post('bug/{bugid}/comment'.format(bugid=bugid), json.dumps(data))
374443
public void setComment(String newComment)
	{
		if (comment.length() > COMMENT_SIZE)
		{
			comment = newComment.substring(0, COMMENT_SIZE);
		}
		else
		{
			comment = newComment;
		}
	}
180311
protected void setCommentLabel(Long id, String caption, String value) {
    Map<String, String> valueMap = answers.get(id);
    if (valueMap == null) {
      valueMap = new LinkedHashMap<>();
    }
    
    valueMap.put(caption, value);
    answers.put(id, valueMap);
  }
948488
public ApiSuccessResponse makeCall(MakeCallData makeCallData) throws ApiException {
        ApiResponse<ApiSuccessResponse> resp = makeCallWithHttpInfo(makeCallData);
        return resp.getData();
    }
795323
function send_comment( $id , $comment , $comment_ori = 0)
	{
		$params = array();
		$params['comment'] = $comment;
		$this->id_format($id);
		$params['id'] = $id;
		$params['comment_ori'] = $comment_ori;
		return $this->oauth->post( 'comments/create', $params );
	}
432707
public void writeComment(String data) throws XMLStreamException {
		if (preserveComment) {
			try {
				this.checkPendingATEvents();
				// TODO improve EXI API
				char[] chars = data.toCharArray();
				encoder.encodeComment(chars, 0, chars.length);
			} catch (Exception e) {
				throw new XMLStreamException(e.getLocalizedMessage(), e);
			}
		}
	}
1365708
def add_comment(self, page_id, text):
        
        data = {'type': 'comment',
                'container': {'id': page_id, 'type': 'page', 'status': 'current'},
                'body': {'storage': {'value': text, 'representation': 'storage'}}}
        return self.post('rest/api/content/', data=data)
841488
private final DoWhile doStatement(Data data) throws TemplateException {
	int pos = data.srcCode.getPos();

	// id
	String id = variableDec(data, false);
	if (id == null) {
	    data.srcCode.setPos(pos);
	    return null;
	}
	if (id.equalsIgnoreCase("do")) {
	    id = null;
	    if (!data.srcCode.isCurrent('{') && !data.srcCode.isCurrent(' ') && !data.srcCode.isCurrent('/')) {
		data.srcCode.setPos(pos);
		return null;
	    }
	}
	else {
	    data.srcCode.removeSpace();
	    if (!data.srcCode.forwardIfCurrent(':')) {
		data.srcCode.setPos(pos);
		return null;
	    }
	    data.srcCode.removeSpace();

	    if (!data.srcCode.forwardIfCurrent("do", '{') && !data.srcCode.forwardIfCurrent("do ") && !data.srcCode.forwardIfCurrent("do", '/')) {
		data.srcCode.setPos(pos);
		return null;
	    }
	    data.srcCode.previous();
	}

	// if(!data.srcCode.forwardIfCurrent("do",'{') && !data.srcCode.forwardIfCurrent("do ") &&
	// !data.srcCode.forwardIfCurrent("do",'/'))
	// return null;

	Position line = data.srcCode.getPosition();
	Body body = new BodyBase(data.factory);

	// data.srcCode.previous();

	Body prior = data.setParent(body);
	statement(data, body, CTX_DO_WHILE);
	data.setParent(prior);

	comments(data);
	if (!data.srcCode.forwardIfCurrent("while", '(')) throw new TemplateException(data.srcCode, "do statement must have a while at the end");

	DoWhile doWhile = new DoWhile(condition(data), body, line, data.srcCode.getPosition(), id);

	if (!data.srcCode.forwardIfCurrent(')')) throw new TemplateException(data.srcCode, "do statement must end with a [)]");

	return doWhile;
    }
382431
public Conversation viewConversation(final String id) throws NotFoundException, GeneralException, UnauthorizedException {
        if (id == null) {
            throw new IllegalArgumentException("Id must be specified");
        }
        String url = CONVERSATIONS_BASE_URL + CONVERSATION_PATH;
        return messageBirdService.requestByID(url, id, Conversation.class);
    }
247450
public WebhookResponseData viewWebHook(String id) throws NotFoundException, GeneralException, UnauthorizedException {
        if (id == null) {
            throw new IllegalArgumentException("Id of webHook must be specified.");
        }

        String url = String.format("%s%s", VOICE_CALLS_BASE_URL, WEBHOOKS);
        return messageBirdService.requestByID(url, id, WebhookResponseData.class);
    }
901409
def update_comment(self, comment_id, body):
        
        path = '/msg/update_comment'
        req = ET.Element('request')
        ET.SubElement(req, 'comment_id').text = str(int(comment_id))
        comment = ET.SubElement(req, 'comment')
        ET.SubElement(comment, 'body').text = str(body)
        return self._request(path, req)
1266744
public byte[] getCommentsTranscript(String accountId, String envelopeId) throws ApiException {
    return getCommentsTranscript(accountId, envelopeId, null);
  }
1291695
function setServerComment($comment, $multicall = false)
    {
        if (!is_string($comment)) {
            throw new InvalidArgumentException('comment = ' . print_r($comment, true));
        }

        return $this->execute(ucfirst(__FUNCTION__), array($comment), $multicall);
    }
650163
public void addComment(String comment) throws IOException {
		prepareToAddChildNode();
		SXCommentNode commentNode = new SXCommentNode(comment, writer, 0, tabString);
		lastChildNode = commentNode;
	}
857025
def help_center_user_comments(self, id, **kwargs):
        ""
        api_path = "/api/v2/help_center/users/{id}/comments.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, **kwargs)