public class McpServerEnv extends AbstractModel
header, skipSign
Constructor and Description |
---|
McpServerEnv() |
McpServerEnv(McpServerEnv source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get MCP Server的环境变量键。最大长度:128
|
String |
getValue()
Get MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。
|
void |
setKey(String Key)
Set MCP Server的环境变量键。最大长度:128
|
void |
setValue(String Value)
Set MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public McpServerEnv()
public McpServerEnv(McpServerEnv source)
public String getKey()
public void setKey(String Key)
Key
- MCP Server的环境变量键。最大长度:128public String getValue()
public void setValue(String Value)
Value
- MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。Copyright © 2025. All rights reserved.