| 构造器和说明 |
|---|
ServiceListResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ServiceListResponse |
buildFailResponse(String message)
Build fail response.
|
static ServiceListResponse |
buildSuccessResponse(int count,
List<String> serviceNames) |
int |
getCount() |
List<String> |
getServiceNames() |
void |
setCount(int count) |
void |
setServiceNames(List<String> serviceNames) |
getErrorCode, getMessage, getRequestId, getResultCode, isSuccess, setErrorCode, setErrorInfo, setMessage, setRequestId, setResultCode, toStringpublic static ServiceListResponse buildSuccessResponse(int count, List<String> serviceNames)
public static ServiceListResponse buildFailResponse(String message)
message - error messagepublic int getCount()
public void setCount(int count)
Copyright © 2018–2024 Alibaba Group. All rights reserved.