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