public class StringCommentsApi extends CrowdinApi
clientConfig, graphqlUrl, httpClient, url| Constructor and Description |
|---|
StringCommentsApi(Credentials credentials) |
StringCommentsApi(Credentials credentials,
ClientConfig clientConfig) |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<StringComment> |
addStringComment(java.lang.Long projectId,
AddStringCommentRequest request) |
void |
deleteAttachmentFromStringComment(java.lang.Long projectId,
java.lang.Long commentId,
java.lang.Long attachmentId) |
void |
deleteStringComment(java.lang.Long projectId,
java.lang.Long stringCommentId) |
ResponseObject<StringComment> |
editStringComment(java.lang.Long projectId,
java.lang.Long stringCommentId,
java.util.List<PatchRequest> request) |
ResponseObject<StringComment> |
getStringComment(java.lang.Long projectId,
java.lang.Long stringCommentId) |
ResponseList<StringComment> |
listStringComments(java.lang.Long projectId,
java.lang.Long stringId,
java.lang.Integer limit,
java.lang.Integer offset,
Type type,
java.lang.String issueType,
IssueStatus issueStatus) |
ResponseList<StringComment> |
listStringComments(java.lang.Long projectId,
java.lang.Long stringId,
java.lang.Integer limit,
java.lang.Integer offset,
Type type,
java.lang.String issueType,
IssueStatus issueStatus,
java.util.List<OrderByField> orderBy) |
ResponseList<StringComment> |
stringCommentBatchOperations(java.lang.Long projectId,
java.util.List<PatchRequest> request) |
graphql, graphqlpublic StringCommentsApi(Credentials credentials)
public StringCommentsApi(Credentials credentials, ClientConfig clientConfig)
public ResponseList<StringComment> listStringComments(java.lang.Long projectId, java.lang.Long stringId, java.lang.Integer limit, java.lang.Integer offset, Type type, java.lang.String issueType, IssueStatus issueStatus)
projectId - project identifierstringId - string Identifierlimit - maximum number of items to retrieve (default 25)offset - starting offset in the collection (default 0)type - defines string comment typeissueType - defines issue typeissueStatus - defines issue resolution statuspublic ResponseList<StringComment> listStringComments(java.lang.Long projectId, java.lang.Long stringId, java.lang.Integer limit, java.lang.Integer offset, Type type, java.lang.String issueType, IssueStatus issueStatus, java.util.List<OrderByField> orderBy)
projectId - project identifierstringId - string Identifierlimit - maximum number of items to retrieve (default 25)offset - starting offset in the collection (default 0)type - defines string comment typeissueType - defines issue typeissueStatus - defines issue resolution statusorderBy - list of OrderByFieldpublic ResponseObject<StringComment> addStringComment(java.lang.Long projectId, AddStringCommentRequest request)
projectId - project identifierrequest - request objectpublic ResponseObject<StringComment> getStringComment(java.lang.Long projectId, java.lang.Long stringCommentId)
projectId - project identifierstringCommentId - string comment identifierpublic void deleteStringComment(java.lang.Long projectId,
java.lang.Long stringCommentId)
projectId - project identifierstringCommentId - string comment identifierpublic ResponseObject<StringComment> editStringComment(java.lang.Long projectId, java.lang.Long stringCommentId, java.util.List<PatchRequest> request)
projectId - project identifierstringCommentId - string comment identifierrequest - request objectpublic ResponseList<StringComment> stringCommentBatchOperations(java.lang.Long projectId, java.util.List<PatchRequest> request)
projectId - project identifierrequest - request objectpublic void deleteAttachmentFromStringComment(java.lang.Long projectId,
java.lang.Long commentId,
java.lang.Long attachmentId)
throws HttpException,
HttpBadRequestException
projectId - project identifiercommentId - comment identifierattachmentId - attachment identifierHttpExceptionHttpBadRequestException