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 |
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> |
stringCommentBatchOperations(java.lang.Long projectId,
java.util.List<PatchRequest> request) |
graphql, graphql
public 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 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 object