public class DictionariesApi extends CrowdinApi
clientConfig, graphqlUrl, httpClient, url
Constructor and Description |
---|
DictionariesApi(Credentials credentials) |
DictionariesApi(Credentials credentials,
ClientConfig clientConfig) |
Modifier and Type | Method and Description |
---|---|
ResponseObject<Dictionary> |
editDictionary(java.lang.Long projectId,
java.lang.String languageId,
java.util.List<PatchRequest> request) |
ResponseList<Dictionary> |
listDictionaries(java.lang.Long projectId,
java.lang.String languageIds) |
graphql, graphql
public DictionariesApi(Credentials credentials)
public DictionariesApi(Credentials credentials, ClientConfig clientConfig) throws HttpException, HttpBadRequestException
HttpException
HttpBadRequestException
public ResponseList<Dictionary> listDictionaries(java.lang.Long projectId, java.lang.String languageIds) throws HttpException, HttpBadRequestException
projectId
- project identifierlanguageIds
- language identifiersHttpException
HttpBadRequestException
public ResponseObject<Dictionary> editDictionary(java.lang.Long projectId, java.lang.String languageId, java.util.List<PatchRequest> request) throws HttpException, HttpBadRequestException
projectId
- project identifierlanguageId
- language identifierrequest
- request objectHttpException
HttpBadRequestException