Class LabelsApiExecutor
Inheritance
System.Object
LabelsApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class LabelsApiExecutor : object
Constructors
|
Improve this Doc
View Source
LabelsApiExecutor(ICrowdinApiClient)
Declaration
public LabelsApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
LabelsApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public LabelsApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddLabel(Int32, AddLabelRequest)
Declaration
public async Task<Label> AddLabel(int projectId, AddLabelRequest request)
Parameters
Returns
Type |
Description |
Task<Label> |
|
|
Improve this Doc
View Source
AddLabel(Int32, String)
Declaration
public Task<Label> AddLabel(int projectId, string title)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.String |
title |
|
Returns
Type |
Description |
Task<Label> |
|
|
Improve this Doc
View Source
AssignLabelToScreenshots(Int32, Int32, AssignLabelToScreenshotsRequest)
Declaration
public async Task<ResponseList<Screenshot>> AssignLabelToScreenshots(int projectId, int labelId, AssignLabelToScreenshotsRequest request)
Parameters
Returns
|
Improve this Doc
View Source
AssignLabelToStrings(Int32, Int32, AssignLabelToStringsRequest)
Declaration
public async Task<ResponseList<SourceString>> AssignLabelToStrings(int projectId, int labelId, AssignLabelToStringsRequest request)
Parameters
Returns
|
Improve this Doc
View Source
AssignLabelToStrings(Int32, Int32, ICollection<Int32>)
Declaration
public Task<ResponseList<SourceString>> AssignLabelToStrings(int projectId, int labelId, ICollection<int> stringIds)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
ICollection<System.Int32> |
stringIds |
|
Returns
|
Improve this Doc
View Source
DeleteLabel(Int32, Int32)
Declaration
public async Task DeleteLabel(int projectId, int labelId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
Returns
|
Improve this Doc
View Source
EditLabel(Int32, Int32, IEnumerable<LabelPatch>)
Declaration
public async Task<Label> EditLabel(int projectId, int labelId, IEnumerable<LabelPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
IEnumerable<LabelPatch> |
patches |
|
Returns
Type |
Description |
Task<Label> |
|
|
Improve this Doc
View Source
GetLabel(Int32, Int32)
Declaration
public async Task<Label> GetLabel(int projectId, int labelId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
Returns
Type |
Description |
Task<Label> |
|
|
Improve this Doc
View Source
ListLabels(Int32, Int32, Int32, Nullable<Boolean>, Nullable<IEnumerable<SortingRule>>)
Declaration
public async Task<ResponseList<Label>> ListLabels(int projectId, int limit = 25, int offset = 0, bool? isSystem = null, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<System.Boolean> |
isSystem |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns
|
Improve this Doc
View Source
UnassignLabelFromScreenshots(Int32, Int32, IEnumerable<Int32>)
Declaration
public async Task<ResponseList<Screenshot>> UnassignLabelFromScreenshots(int projectId, int labelId, IEnumerable<int> screenshotIds)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
IEnumerable<System.Int32> |
screenshotIds |
|
Returns
|
Improve this Doc
View Source
UnassignLabelFromStrings(Int32, Int32, ICollection<Int32>)
Declaration
public async Task<ResponseList<SourceString>> UnassignLabelFromStrings(int projectId, int labelId, ICollection<int> stringIds)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
labelId |
|
ICollection<System.Int32> |
stringIds |
|
Returns