Class: TencentCloud::Antiddos::V20200309::CcBlackWhiteIpPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::CcBlackWhiteIpPolicy
- Defined in:
- lib/v20200309/models.rb
Overview
CC四层黑白名单列表
Instance Attribute Summary collapse
- #BlackWhiteIp ⇒ Object
- #CreateTime ⇒ Object
- #Domain ⇒ Object
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #Mask ⇒ Object
- #ModifyTime ⇒ Object
- #PolicyId ⇒ Object
- #Protocol ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, instanceid = nil, ip = nil, domain = nil, protocol = nil, type = nil, blackwhiteip = nil, mask = nil, createtime = nil, modifytime = nil) ⇒ CcBlackWhiteIpPolicy
constructor
A new instance of CcBlackWhiteIpPolicy.
Constructor Details
#initialize(policyid = nil, instanceid = nil, ip = nil, domain = nil, protocol = nil, type = nil, blackwhiteip = nil, mask = nil, createtime = nil, modifytime = nil) ⇒ CcBlackWhiteIpPolicy
Returns a new instance of CcBlackWhiteIpPolicy.
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 |
# File 'lib/v20200309/models.rb', line 1170 def initialize(policyid=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil, type=nil, blackwhiteip=nil, mask=nil, createtime=nil, modifytime=nil) @PolicyId = policyid @InstanceId = instanceid @Ip = ip @Domain = domain @Protocol = protocol @Type = type @BlackWhiteIp = blackwhiteip @Mask = mask @CreateTime = createtime @ModifyTime = modifytime end |
Instance Attribute Details
#BlackWhiteIp ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def BlackWhiteIp @BlackWhiteIp end |
#CreateTime ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def CreateTime @CreateTime end |
#Domain ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def Domain @Domain end |
#InstanceId ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def InstanceId @InstanceId end |
#Ip ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def Ip @Ip end |
#Mask ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def Mask @Mask end |
#ModifyTime ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def ModifyTime @ModifyTime end |
#PolicyId ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def PolicyId @PolicyId end |
#Protocol ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def Protocol @Protocol end |
#Type ⇒ Object
1168 1169 1170 |
# File 'lib/v20200309/models.rb', line 1168 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'lib/v20200309/models.rb', line 1183 def deserialize(params) @PolicyId = params['PolicyId'] @InstanceId = params['InstanceId'] @Ip = params['Ip'] @Domain = params['Domain'] @Protocol = params['Protocol'] @Type = params['Type'] @BlackWhiteIp = params['BlackWhiteIp'] @Mask = params['Mask'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] end |