Class LabelsApiExecutor
Inheritance
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
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 |
Int32 |
projectId |
|
Int32 |
labelId |
|
ICollection<Int32> |
stringIds |
|
Returns
|
Improve this Doc
View Source
DeleteLabel(Int32, Int32)
Declaration
public async Task DeleteLabel(int projectId, int labelId)
Parameters
Type |
Name |
Description |
Int32 |
projectId |
|
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
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 |
Int32 |
projectId |
|
Int32 |
labelId |
|
Returns
Type |
Description |
Task<Label> |
|
|
Improve this Doc
View Source
ListLabels(Int32, Int32, Int32, Boolean)
Declaration
public async Task<ResponseList<Label>> ListLabels(int projectId, int limit = 25, int offset = 0, bool isSystem = false)
Parameters
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 |
Int32 |
projectId |
|
Int32 |
labelId |
|
IEnumerable<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 |
Int32 |
projectId |
|
Int32 |
labelId |
|
ICollection<Int32> |
stringIds |
|
Returns