public function getId() { return $this->commentId->getRawId(); }
/** * https://qiita.com/api/v2/docs#delete-apiv2commentscomment_idthank * @param CommentId $commentId */ public function deleteCommentsCommentIdThank(CommentId $commentId) { try { $response = $this->httpClient->delete($this->apiEntryPoint() . 'comments/' . $commentId->getRawId() . '/thank'); } catch (\Exception $e) { return false; } return true; }