public static final class GetPluginConfigResponseBody.Data.Builder extends Object
public GetPluginConfigResponseBody.Data.Builder category(Integer category)
The category of the plug-in. Valid values:
0: user-defined
1: permission authentication
2: security protection
3: transmission protocol
4: traffic control
5: traffic observation
example:0
public GetPluginConfigResponseBody.Data.Builder configCheck(String configCheck)
The information about the plug-in configuration used for checking.
example:# The configuration includes the fields required for checking, such as name, age, and friends. Sample configuration: name: John age: 18 friends: - David - Anne
public GetPluginConfigResponseBody.Data.Builder configExample(String configExample)
public GetPluginConfigResponseBody.Data.Builder domainConfigStartIndex(Integer domainConfigStartIndex)
public GetPluginConfigResponseBody.Data.Builder gatewayConfigList(List<GetPluginConfigResponseBody.GatewayConfigList> gatewayConfigList)
The list of gateway plug-in configurations.
public GetPluginConfigResponseBody.Data.Builder gatewayConfigStartIndex(Integer gatewayConfigStartIndex)
public GetPluginConfigResponseBody.Data.Builder id(Long id)
The ID of the plug-in.
example:1
public GetPluginConfigResponseBody.Data.Builder imageName(String imageName)
The name of the image.
example:name
public GetPluginConfigResponseBody.Data.Builder mode(Integer mode)
The mode.
example:0
public GetPluginConfigResponseBody.Data.Builder name(String name)
The name of the plug-in.
example:name
public GetPluginConfigResponseBody.Data.Builder phase(Integer phase)
The execution stage of the plug-in. Valid values:
0: default stage
1: authorization stage
2: authentication stage
3: statistics stage
example:0
public GetPluginConfigResponseBody.Data.Builder primaryUser(String primaryUser)
The ID of the creator.
example:123
public GetPluginConfigResponseBody.Data.Builder priority(Integer priority)
The execution priority of the plug-in. A larger value indicates a higher priority.
example:1
public GetPluginConfigResponseBody.Data.Builder publishState(Integer publishState)
The publish status.
example:1
public GetPluginConfigResponseBody.Data.Builder readme(String readme)
The description of the README file.
example:read me
public GetPluginConfigResponseBody.Data.Builder readmeEn(String readmeEn)
The description of the README file that is edited in English.
example:read me
public GetPluginConfigResponseBody.Data.Builder routeConfigStartIndex(Integer routeConfigStartIndex)
public GetPluginConfigResponseBody.Data.Builder status(String status)
Indicates whether the plug-in is enabled. Valid values:
0: disabled
1: enabled
example:1
public GetPluginConfigResponseBody.Data.Builder summary(String summary)
The summary of the plug-in.
example:This is a plug-in.
public GetPluginConfigResponseBody.Data.Builder summaryEn(String summaryEn)
public GetPluginConfigResponseBody.Data.Builder type(Integer type)
The type.
example:0
public GetPluginConfigResponseBody.Data.Builder version(String version)
The version of the plug-in.
example:v1
public GetPluginConfigResponseBody.Data.Builder versionJson(String versionJson)
public GetPluginConfigResponseBody.Data.Builder wasmLang(Integer wasmLang)
The WebAssembly language. Valid values:
0: C++
1: TinyGo
2: Rust
3: AssemblyScript
4: Zig
example:0
public GetPluginConfigResponseBody.Data build()
Copyright © 2026. All rights reserved.