Class StringCommentsApiExecutor
Namespace: Crowdin.Api.StringComments
Assembly: Crowdin.Api.dll
Syntax
public class StringCommentsApiExecutor : object
Constructors
| Improve this Doc View SourceStringCommentsApiExecutor(ICrowdinApiClient)
Declaration
public StringCommentsApiExecutor(ICrowdinApiClient apiClient)
Parameters
Type | Name | Description |
---|---|---|
ICrowdinApiClient | apiClient |
StringCommentsApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public StringCommentsApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Type | Name | Description |
---|---|---|
ICrowdinApiClient | apiClient | |
IJsonParser | jsonParser |
Methods
| Improve this Doc View SourceAddStringComment(Int32, AddStringCommentRequest)
Add string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public async Task<StringComment> AddStringComment(int projectId, AddStringCommentRequest request)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
AddStringCommentRequest | request |
Returns
Type | Description |
---|---|
Task<StringComment> |
DeleteStringComment(Int32, Int32)
Delete string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public async Task DeleteStringComment(int projectId, int stringCommentId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
Int32 | stringCommentId |
Returns
Type | Description |
---|---|
Task |
EditStringComment(Int32, Int32, IEnumerable<StringCommentPatch>)
Edit string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public async Task<StringComment> EditStringComment(int projectId, int stringCommentId, IEnumerable<StringCommentPatch> patches)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
Int32 | stringCommentId | |
IEnumerable<StringCommentPatch> | patches |
Returns
Type | Description |
---|---|
Task<StringComment> |
GetStringComment(Int32, Int32)
Get string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public async Task<StringComment> GetStringComment(int projectId, int stringCommentId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
Int32 | stringCommentId |
Returns
Type | Description |
---|---|
Task<StringComment> |
ListStringComments(Int32, StringCommentsListParams)
List string comments. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public async Task<ResponseList<StringComment>> ListStringComments(int projectId, StringCommentsListParams params)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
StringCommentsListParams | params |
Returns
Type | Description |
---|---|
Task<ResponseList<StringComment>> |
ListStringComments(Int32, Int32, Int32, Nullable<Int32>, Nullable<StringCommentType>, Nullable<ISet<IssueType>>, Nullable<IssueStatus>)
List string comments. Documentation: Crowdin API Crowdin Enterprise API
Declaration
public Task ListStringComments(int projectId, int limit = 25, int offset = 0, int? stringId = null, StringCommentType? type = null, ISet<IssueType>? issueTypes = null, IssueStatus? issueStatus = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
Int32 | limit | |
Int32 | offset | |
Nullable<Int32> | stringId | |
Nullable<StringCommentType> | type | |
Nullable<ISet<IssueType>> | issueTypes | |
Nullable<IssueStatus> | issueStatus |
Returns
Type | Description |
---|---|
Task |