public class AddProtectBranchV2Response extends SdkResponse
| Constructor and Description |
|---|
AddProtectBranchV2Response() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Error |
getError()
Get error
|
AddProtectResponse |
getResult()
Get result
|
String |
getStatus()
响应状态
|
int |
hashCode() |
void |
setError(Error error) |
void |
setResult(AddProtectResponse result) |
void |
setStatus(String status) |
String |
toString() |
AddProtectBranchV2Response |
withError(java.util.function.Consumer<Error> errorSetter) |
AddProtectBranchV2Response |
withError(Error error) |
AddProtectBranchV2Response |
withResult(AddProtectResponse result) |
AddProtectBranchV2Response |
withResult(java.util.function.Consumer<AddProtectResponse> resultSetter) |
AddProtectBranchV2Response |
withStatus(String status) |
getHttpStatusCode, setHttpStatusCodepublic AddProtectBranchV2Response withError(Error error)
public AddProtectBranchV2Response withError(java.util.function.Consumer<Error> errorSetter)
public Error getError()
public void setError(Error error)
public AddProtectBranchV2Response withResult(AddProtectResponse result)
public AddProtectBranchV2Response withResult(java.util.function.Consumer<AddProtectResponse> resultSetter)
public AddProtectResponse getResult()
public void setResult(AddProtectResponse result)
public AddProtectBranchV2Response withStatus(String status)
public String getStatus()
public void setStatus(String status)
Copyright © 2022. All rights reserved.