public class KongServiceLightPreview extends AbstractModel
header, skipSign
Constructor and Description |
---|
KongServiceLightPreview() |
KongServiceLightPreview(KongServiceLightPreview 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 |
getCreatedTime()
Get 创建时间
|
String |
getID()
Get 服务ID
|
String |
getName()
Get 服务名字
|
String |
getPath()
Get 请求路径
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getProtocol()
Get 后端协议
|
Long |
getRetries()
Get 重试次数
|
Long |
getTimeout()
Get 后端延时,单位ms
|
KongUpstreamInfo |
getUpstreamInfo()
Get 后端配置
|
String |
getUpstreamType()
Get 后端类型
|
void |
setCreatedTime(String CreatedTime)
Set 创建时间
|
void |
setID(String ID)
Set 服务ID
|
void |
setName(String Name)
Set 服务名字
|
void |
setPath(String Path)
Set 请求路径
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setProtocol(String Protocol)
Set 后端协议
|
void |
setRetries(Long Retries)
Set 重试次数
|
void |
setTimeout(Long Timeout)
Set 后端延时,单位ms
|
void |
setUpstreamInfo(KongUpstreamInfo UpstreamInfo)
Set 后端配置
|
void |
setUpstreamType(String UpstreamType)
Set 后端类型
|
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 KongServiceLightPreview()
public KongServiceLightPreview(KongServiceLightPreview source)
public String getID()
public void setID(String ID)
ID
- 服务IDpublic String getName()
public void setName(String Name)
Name
- 服务名字public KongUpstreamInfo getUpstreamInfo()
public void setUpstreamInfo(KongUpstreamInfo UpstreamInfo)
UpstreamInfo
- 后端配置public String getUpstreamType()
public void setUpstreamType(String UpstreamType)
UpstreamType
- 后端类型public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- 创建时间public String getPath()
public void setPath(String Path)
Path
- 请求路径
注意:此字段可能返回 null,表示取不到有效值。public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 后端协议public Long getRetries()
public void setRetries(Long Retries)
Retries
- 重试次数public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- 后端延时,单位msCopyright © 2025. All rights reserved.