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