Class: TencentCloud::Antiddos::V20200309::DescribeListDDoSGeoIPBlockConfigResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DescribeListDDoSGeoIPBlockConfigResponse
- Defined in:
- lib/v20200309/models.rb
Overview
DescribeListDDoSGeoIPBlockConfig返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, configlist = nil, requestid = nil) ⇒ DescribeListDDoSGeoIPBlockConfigResponse
constructor
A new instance of DescribeListDDoSGeoIPBlockConfigResponse.
Constructor Details
#initialize(total = nil, configlist = nil, requestid = nil) ⇒ DescribeListDDoSGeoIPBlockConfigResponse
Returns a new instance of DescribeListDDoSGeoIPBlockConfigResponse.
4870 4871 4872 4873 4874 |
# File 'lib/v20200309/models.rb', line 4870 def initialize(total=nil, configlist=nil, requestid=nil) @Total = total @ConfigList = configlist @RequestId = requestid end |
Instance Attribute Details
#ConfigList ⇒ Object
4868 4869 4870 |
# File 'lib/v20200309/models.rb', line 4868 def ConfigList @ConfigList end |
#RequestId ⇒ Object
4868 4869 4870 |
# File 'lib/v20200309/models.rb', line 4868 def RequestId @RequestId end |
#Total ⇒ Object
4868 4869 4870 |
# File 'lib/v20200309/models.rb', line 4868 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 |
# File 'lib/v20200309/models.rb', line 4876 def deserialize(params) @Total = params['Total'] unless params['ConfigList'].nil? @ConfigList = [] params['ConfigList'].each do |i| ddosgeoipblockconfigrelation_tmp = DDoSGeoIPBlockConfigRelation.new ddosgeoipblockconfigrelation_tmp.deserialize(i) @ConfigList << ddosgeoipblockconfigrelation_tmp end end @RequestId = params['RequestId'] end |