Class BranchesApiExecutor
Inheritance
System.Object
BranchesApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class BranchesApiExecutor : object
Constructors
|
Improve this Doc
View Source
BranchesApiExecutor(ICrowdinApiClient)
Declaration
public BranchesApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
BranchesApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public BranchesApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddBranch(Int32, AddBranchRequest)
Declaration
public async Task<Branch> AddBranch(int projectId, AddBranchRequest request)
Parameters
Returns
|
Improve this Doc
View Source
CheckBranchCloneStatus(Int32, Int32, String)
Declaration
public async Task<BranchCloneStatus> CheckBranchCloneStatus(int projectId, int branchId, string cloneId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
System.String |
cloneId |
|
Returns
|
Improve this Doc
View Source
CheckBranchMergeStatus(Int32, Int32, String)
Declaration
public async Task<BranchMergeStatus> CheckBranchMergeStatus(int projectId, int branchId, string mergeId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
System.String |
mergeId |
|
Returns
|
Improve this Doc
View Source
CloneBranch(Int32, Int32, CloneBranchRequest)
Declaration
public async Task<BranchCloneStatus> CloneBranch(int projectId, int branchId, CloneBranchRequest request)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
CloneBranchRequest |
request |
|
Returns
|
Improve this Doc
View Source
DeleteBranch(Int32, Int32)
Declaration
public async Task DeleteBranch(int projectId, int branchId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
Returns
|
Improve this Doc
View Source
EditBranch(Int32, Int32, IEnumerable<BranchPatch>)
Declaration
public async Task<Branch> EditBranch(int projectId, int branchId, IEnumerable<BranchPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
IEnumerable<BranchPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
GetBranch(Int32, Int32)
Declaration
public async Task<Branch> GetBranch(int projectId, int branchId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
Returns
|
Improve this Doc
View Source
GetBranchMergeSummary(Int32, Int32, String)
Declaration
public async Task<BranchMergeSummary> GetBranchMergeSummary(int projectId, int branchId, string mergeId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
System.String |
mergeId |
|
Returns
|
Improve this Doc
View Source
GetClonedBranch(Int32, Int32, String)
Declaration
public async Task<Branch> GetClonedBranch(int projectId, int branchId, string cloneId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
System.String |
cloneId |
|
Returns
|
Improve this Doc
View Source
ListBranches(Int32, Nullable<String>, Int32, Int32, Nullable<IEnumerable<SortingRule>>)
Declaration
public async Task<ResponseList<Branch>> ListBranches(int projectId, string? name = null, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Nullable<System.String> |
name |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
Returns
|
Improve this Doc
View Source
MergeBranch(Int32, Int32, MergeBranchRequest)
Declaration
public async Task<BranchMergeStatus> MergeBranch(int projectId, int branchId, MergeBranchRequest request)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
branchId |
|
MergeBranchRequest |
request |
|
Returns