public static final class GetPluginsResponseBody.Data.Builder extends Object
public GetPluginsResponseBody.Data.Builder category(Integer category)
The type of the plug-in. Valid values:
0: custom
1: permission authorization
2: security protection
3: transmission protocol
4: traffic control
5: traffic observation
example:0
public GetPluginsResponseBody.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 GetPluginsResponseBody.Data.Builder id(Long id)
The ID of the plug-in.
example:1
public GetPluginsResponseBody.Data.Builder maxVersion(String maxVersion)
public GetPluginsResponseBody.Data.Builder mode(Integer mode)
public GetPluginsResponseBody.Data.Builder name(String name)
The name of the plug-in.
example:key-auth
public GetPluginsResponseBody.Data.Builder newVersionPublishingFlag(Boolean newVersionPublishingFlag)
public GetPluginsResponseBody.Data.Builder phase(Integer phase)
The execution stage of the plug-in.
1
public GetPluginsResponseBody.Data.Builder primaryUser(String primaryUser)
The ID of the creator.
example:123
public GetPluginsResponseBody.Data.Builder priority(Integer priority)
The execution priority of the plug-in. A larger value indicates a higher priority.
example:1
public GetPluginsResponseBody.Data.Builder publishState(Integer publishState)
The publish status.
example:1
public GetPluginsResponseBody.Data.Builder status(String status)
Indicates whether the plug-in is enabled.
1
public GetPluginsResponseBody.Data.Builder summary(String summary)
The summary of the plug-in.
example:This is a plug-in.
public GetPluginsResponseBody.Data.Builder summaryEn(String summaryEn)
public GetPluginsResponseBody.Data.Builder version(String version)
The version of the plug-in.
example:v1
public GetPluginsResponseBody.Data.Builder wasmFile(String wasmFile)
The URL of the Object Storage Service (OSS) bucket that stores the WebAssembly plug-in.
public GetPluginsResponseBody.Data.Builder wasmLang(Integer wasmLang)
The WebAssembly language. Valid values:
0
public GetPluginsResponseBody.Data build()
Copyright © 2026. All rights reserved.