public static class CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
CreateRepositoryProtectedBranchResponseBodyResult() |
@NameInMap(value="Branch") public String branch
@NameInMap(value="Id") public Long id
@NameInMap(value="MergeRequestSetting") public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultMergeRequestSetting mergeRequestSetting
@NameInMap(value="TestSetting") public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultTestSetting testSetting
public CreateRepositoryProtectedBranchResponseBodyResult()
public static CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult build(Map<String,?> map) throws Exception
Exceptionpublic CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setAllowMergeRoles(List<Integer> allowMergeRoles)
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setAllowPushRoles(List<Integer> allowPushRoles)
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setBranch(String branch)
public String getBranch()
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setId(Long id)
public Long getId()
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setMergeRequestSetting(CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultMergeRequestSetting mergeRequestSetting)
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultMergeRequestSetting getMergeRequestSetting()
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResult setTestSetting(CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultTestSetting testSetting)
public CreateRepositoryProtectedBranchResponseBody.CreateRepositoryProtectedBranchResponseBodyResultTestSetting getTestSetting()
Copyright © 2022. All rights reserved.