Package org.codelibs.fess.app.web.api
Class ApiResult.ApiConfigsResponse<T>
java.lang.Object
org.codelibs.fess.app.web.api.ApiResult.ApiResponse
org.codelibs.fess.app.web.api.ApiResult.ApiConfigsResponse<T>
- Type Parameters:
T- the type of the configuration settings
- Enclosing class:
ApiResult
Represents an API response for a list of configuration settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of configuration settings.protected longThe total number of configuration settings.Fields inherited from class org.codelibs.fess.app.web.api.ApiResult.ApiResponse
status, version -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codelibs.fess.app.web.api.ApiResult.ApiResponse
status
-
Field Details
-
settings
The list of configuration settings. -
total
protected long totalThe total number of configuration settings.
-
-
Constructor Details
-
ApiConfigsResponse
public ApiConfigsResponse()Constructs an empty ApiConfigsResponse.
-
-
Method Details
-
settings
Sets the list of configuration settings and updates the total count.- Parameters:
settings- The list of configuration settings.- Returns:
- The ApiConfigsResponse instance.
-
total
Sets the total number of configuration settings.- Parameters:
total- The total number of configuration settings.- Returns:
- The ApiConfigsResponse instance.
-
result
Description copied from class:ApiResult.ApiResponseReturns a new ApiResult instance with this ApiResponse.- Overrides:
resultin classApiResult.ApiResponse- Returns:
- A new ApiResult instance.
-