Class StringCommentsApiExecutor
Implements
Inherited Members
Namespace: Crowdin.Api.StringComments
Assembly: Crowdin.Api.dll
Syntax
public class StringCommentsApiExecutor : IStringCommentsApiExecutor
Constructors
| Edit this page 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
| Edit this page View SourceAddStringComment(long, AddStringCommentRequest)
Add string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task<StringComment> AddStringComment(long projectId, AddStringCommentRequest request)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
AddStringCommentRequest | request |
Returns
Type | Description |
---|---|
Task<StringComment> |
DeleteStringComment(long, long)
Delete string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task DeleteStringComment(long projectId, long stringCommentId)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
long | stringCommentId |
Returns
Type | Description |
---|---|
Task |
EditStringComment(long, long, IEnumerable<StringCommentPatch>)
Edit string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task<StringComment> EditStringComment(long projectId, long stringCommentId, IEnumerable<StringCommentPatch> patches)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
long | stringCommentId | |
IEnumerable<StringCommentPatch> | patches |
Returns
Type | Description |
---|---|
Task<StringComment> |
GetStringComment(long, long)
Get string comment. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task<StringComment> GetStringComment(long projectId, long stringCommentId)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
long | stringCommentId |
Returns
Type | Description |
---|---|
Task<StringComment> |
ListStringComments(long, StringCommentsListParams)
List string comments. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task<ResponseList<StringComment>> ListStringComments(long projectId, StringCommentsListParams @params)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
StringCommentsListParams | params |
Returns
Type | Description |
---|---|
Task<ResponseList<StringComment>> |
ListStringComments(long, int, int, long?, StringCommentType?, ISet<IssueType>?, IssueStatus?, IEnumerable<SortingRule>?)
List string comments. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task ListStringComments(long projectId, int limit = 25, int offset = 0, long? stringId = null, StringCommentType? type = null, ISet<IssueType>? issueTypes = null, IssueStatus? issueStatus = null, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
int | limit | |
int | offset | |
long? | stringId | |
StringCommentType? | type | |
ISet<IssueType> | issueTypes | |
IssueStatus? | issueStatus | |
IEnumerable<SortingRule> | orderBy |
Returns
Type | Description |
---|---|
Task |
StringCommentBatchOperations(long, IEnumerable<StringCommentBatchOpPatch>)
String Comment Batch Operations. Documentation: Crowdin API Crowdin Enterprise API
Declaration
[PublicAPI]
public Task<ResponseList<StringComment>> StringCommentBatchOperations(long projectId, IEnumerable<StringCommentBatchOpPatch> patches)
Parameters
Type | Name | Description |
---|---|---|
long | projectId | |
IEnumerable<StringCommentBatchOpPatch> | patches |
Returns
Type | Description |
---|---|
Task<ResponseList<StringComment>> |