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