Class SourceInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.models.SourceInfo
-
public class SourceInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SourceInfo()
SourceInfo(SourceInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCmd()
Get 命令Long
getConn()
Get 客户端连接数量。String
getIp()
Get 来源 IP 地址。void
setCmd(Long Cmd)
Set 命令void
setConn(Long Conn)
Set 客户端连接数量。void
setIp(String Ip)
Set 来源 IP 地址。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SourceInfo
public SourceInfo()
-
SourceInfo
public SourceInfo(SourceInfo 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.
-
-
Method Detail
-
getIp
public String getIp()
Get 来源 IP 地址。- Returns:
- Ip 来源 IP 地址。
-
setIp
public void setIp(String Ip)
Set 来源 IP 地址。- Parameters:
Ip
- 来源 IP 地址。
-
getConn
public Long getConn()
Get 客户端连接数量。- Returns:
- Conn 客户端连接数量。
-
setConn
public void setConn(Long Conn)
Set 客户端连接数量。- Parameters:
Conn
- 客户端连接数量。
-
getCmd
public Long getCmd()
Get 命令- Returns:
- Cmd 命令
-
setCmd
public void setCmd(Long Cmd)
Set 命令- Parameters:
Cmd
- 命令
-
-