Class: TencentCloud::Antiddos::V20200309::DeleteDDoSBlackWhiteIpListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DeleteDDoSBlackWhiteIpListRequest
- Defined in:
- lib/v20200309/models.rb
Overview
DeleteDDoSBlackWhiteIpList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, iplist = nil, type = nil) ⇒ DeleteDDoSBlackWhiteIpListRequest
constructor
A new instance of DeleteDDoSBlackWhiteIpListRequest.
Constructor Details
#initialize(instanceid = nil, iplist = nil, type = nil) ⇒ DeleteDDoSBlackWhiteIpListRequest
Returns a new instance of DeleteDDoSBlackWhiteIpListRequest.
2837 2838 2839 2840 2841 |
# File 'lib/v20200309/models.rb', line 2837 def initialize(instanceid=nil, iplist=nil, type=nil) @InstanceId = instanceid @IpList = iplist @Type = type end |
Instance Attribute Details
#InstanceId ⇒ Object
2835 2836 2837 |
# File 'lib/v20200309/models.rb', line 2835 def InstanceId @InstanceId end |
#IpList ⇒ Object
2835 2836 2837 |
# File 'lib/v20200309/models.rb', line 2835 def IpList @IpList end |
#Type ⇒ Object
2835 2836 2837 |
# File 'lib/v20200309/models.rb', line 2835 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 |
# File 'lib/v20200309/models.rb', line 2843 def deserialize(params) @InstanceId = params['InstanceId'] unless params['IpList'].nil? @IpList = [] params['IpList'].each do |i| ipsegment_tmp = IpSegment.new ipsegment_tmp.deserialize(i) @IpList << ipsegment_tmp end end @Type = params['Type'] end |