public static final class GetPolicyInfoResponseBody.PromptAttackInfo.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetPolicyInfoResponseBody.PromptAttackInfo |
build() |
GetPolicyInfoResponseBody.PromptAttackInfo.Builder |
isEnabled(Integer isEnabled)
Prompt attack configuration switch
0: Off
1: On
example:
true
|
GetPolicyInfoResponseBody.PromptAttackInfo.Builder |
securityLevel(Integer securityLevel)
Security level
0: Low
1: Medium
2: High
example:
1
|
public GetPolicyInfoResponseBody.PromptAttackInfo.Builder isEnabled(Integer isEnabled)
Prompt attack configuration switch 0: Off 1: On
example:true
public GetPolicyInfoResponseBody.PromptAttackInfo.Builder securityLevel(Integer securityLevel)
Security level 0: Low 1: Medium 2: High
example:1
public GetPolicyInfoResponseBody.PromptAttackInfo build()
Copyright © 2025. All rights reserved.