public class AddProtectBranchV2Request extends Object
| Constructor and Description |
|---|
AddProtectBranchV2Request() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AddProtectRequest |
getBody()
Get body
|
String |
getBranchName()
分支名称
|
Integer |
getRepositoryId()
仓库主键id
|
int |
hashCode() |
void |
setBody(AddProtectRequest body) |
void |
setBranchName(String branchName) |
void |
setRepositoryId(Integer repositoryId) |
String |
toString() |
AddProtectBranchV2Request |
withBody(AddProtectRequest body) |
AddProtectBranchV2Request |
withBody(java.util.function.Consumer<AddProtectRequest> bodySetter) |
AddProtectBranchV2Request |
withBranchName(String branchName) |
AddProtectBranchV2Request |
withRepositoryId(Integer repositoryId) |
public AddProtectBranchV2Request withRepositoryId(Integer repositoryId)
public Integer getRepositoryId()
public void setRepositoryId(Integer repositoryId)
public AddProtectBranchV2Request withBranchName(String branchName)
public String getBranchName()
public void setBranchName(String branchName)
public AddProtectBranchV2Request withBody(AddProtectRequest body)
public AddProtectBranchV2Request withBody(java.util.function.Consumer<AddProtectRequest> bodySetter)
public AddProtectRequest getBody()
public void setBody(AddProtectRequest body)
Copyright © 2022. All rights reserved.