Class: TencentCloud::Cfw::V20190904::DescribeBlockIgnoreListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeBlockIgnoreListResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeBlockIgnoreList返回参数结构体
Instance Attribute Summary collapse
- #Data ⇒ Object
- #RequestId ⇒ Object
- #ReturnCode ⇒ Object
- #ReturnMsg ⇒ Object
- #RuleTypeDataList ⇒ Object
- #SourceList ⇒ Object
- #Total ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, total = nil, returncode = nil, returnmsg = nil, sourcelist = nil, ruletypedatalist = nil, requestid = nil) ⇒ DescribeBlockIgnoreListResponse
constructor
A new instance of DescribeBlockIgnoreListResponse.
Constructor Details
#initialize(data = nil, total = nil, returncode = nil, returnmsg = nil, sourcelist = nil, ruletypedatalist = nil, requestid = nil) ⇒ DescribeBlockIgnoreListResponse
Returns a new instance of DescribeBlockIgnoreListResponse.
3272 3273 3274 3275 3276 3277 3278 3279 3280 |
# File 'lib/v20190904/models.rb', line 3272 def initialize(data=nil, total=nil, returncode=nil, returnmsg=nil, sourcelist=nil, ruletypedatalist=nil, requestid=nil) @Data = data @Total = total @ReturnCode = returncode @ReturnMsg = returnmsg @SourceList = sourcelist @RuleTypeDataList = ruletypedatalist @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def Data @Data end |
#RequestId ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def RequestId @RequestId end |
#ReturnCode ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def ReturnCode @ReturnCode end |
#ReturnMsg ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def ReturnMsg @ReturnMsg end |
#RuleTypeDataList ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def RuleTypeDataList @RuleTypeDataList end |
#SourceList ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def SourceList @SourceList end |
#Total ⇒ Object
3270 3271 3272 |
# File 'lib/v20190904/models.rb', line 3270 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 |
# File 'lib/v20190904/models.rb', line 3282 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| blockignorerule_tmp = BlockIgnoreRule.new blockignorerule_tmp.deserialize(i) @Data << blockignorerule_tmp end end @Total = params['Total'] @ReturnCode = params['ReturnCode'] @ReturnMsg = params['ReturnMsg'] @SourceList = params['SourceList'] @RuleTypeDataList = params['RuleTypeDataList'] @RequestId = params['RequestId'] end |