Class: TencentCloud::Antiddos::V20200309::CcGeoIpPolicyNew
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::CcGeoIpPolicyNew
- Defined in:
- lib/v20200309/models.rb
Overview
CC地域封禁列表详情
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AreaList ⇒ Object
- #CreateTime ⇒ Object
- #Domain ⇒ Object
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #ModifyTime ⇒ Object
- #PolicyId ⇒ Object
- #Protocol ⇒ Object
- #RegionType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, instanceid = nil, ip = nil, domain = nil, protocol = nil, action = nil, regiontype = nil, arealist = nil, createtime = nil, modifytime = nil) ⇒ CcGeoIpPolicyNew
constructor
A new instance of CcGeoIpPolicyNew.
Constructor Details
#initialize(policyid = nil, instanceid = nil, ip = nil, domain = nil, protocol = nil, action = nil, regiontype = nil, arealist = nil, createtime = nil, modifytime = nil) ⇒ CcGeoIpPolicyNew
Returns a new instance of CcGeoIpPolicyNew.
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 |
# File 'lib/v20200309/models.rb', line 1257 def initialize(policyid=nil, instanceid=nil, ip=nil, domain=nil, protocol=nil, action=nil, regiontype=nil, arealist=nil, createtime=nil, modifytime=nil) @PolicyId = policyid @InstanceId = instanceid @Ip = ip @Domain = domain @Protocol = protocol @Action = action @RegionType = regiontype @AreaList = arealist @CreateTime = createtime @ModifyTime = modifytime end |
Instance Attribute Details
#Action ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def Action @Action end |
#AreaList ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def AreaList @AreaList end |
#CreateTime ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def CreateTime @CreateTime end |
#Domain ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def Domain @Domain end |
#InstanceId ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def InstanceId @InstanceId end |
#Ip ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def Ip @Ip end |
#ModifyTime ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def ModifyTime @ModifyTime end |
#PolicyId ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def PolicyId @PolicyId end |
#Protocol ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def Protocol @Protocol end |
#RegionType ⇒ Object
1255 1256 1257 |
# File 'lib/v20200309/models.rb', line 1255 def RegionType @RegionType end |
Instance Method Details
#deserialize(params) ⇒ Object
1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 |
# File 'lib/v20200309/models.rb', line 1270 def deserialize(params) @PolicyId = params['PolicyId'] @InstanceId = params['InstanceId'] @Ip = params['Ip'] @Domain = params['Domain'] @Protocol = params['Protocol'] @Action = params['Action'] @RegionType = params['RegionType'] @AreaList = params['AreaList'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] end |