Class: TencentCloud::Bh::V20230418::DescribeAccessWhiteListRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::DescribeAccessWhiteListRulesResponse
- Defined in:
- lib/v20230418/models.rb
Overview
DescribeAccessWhiteListRules返回参数结构体
Instance Attribute Summary collapse
- #AccessWhiteListRuleSet ⇒ Object
- #AllowAny ⇒ Object
- #AllowAuto ⇒ Object
- #RequestId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accesswhitelistruleset = nil, allowany = nil, allowauto = nil, requestid = nil) ⇒ DescribeAccessWhiteListRulesResponse
constructor
A new instance of DescribeAccessWhiteListRulesResponse.
Constructor Details
#initialize(totalcount = nil, accesswhitelistruleset = nil, allowany = nil, allowauto = nil, requestid = nil) ⇒ DescribeAccessWhiteListRulesResponse
Returns a new instance of DescribeAccessWhiteListRulesResponse.
2367 2368 2369 2370 2371 2372 2373 |
# File 'lib/v20230418/models.rb', line 2367 def initialize(totalcount=nil, accesswhitelistruleset=nil, allowany=nil, allowauto=nil, requestid=nil) @TotalCount = totalcount @AccessWhiteListRuleSet = accesswhitelistruleset @AllowAny = allowany @AllowAuto = allowauto @RequestId = requestid end |
Instance Attribute Details
#AccessWhiteListRuleSet ⇒ Object
2365 2366 2367 |
# File 'lib/v20230418/models.rb', line 2365 def AccessWhiteListRuleSet @AccessWhiteListRuleSet end |
#AllowAny ⇒ Object
2365 2366 2367 |
# File 'lib/v20230418/models.rb', line 2365 def AllowAny @AllowAny end |
#AllowAuto ⇒ Object
2365 2366 2367 |
# File 'lib/v20230418/models.rb', line 2365 def AllowAuto @AllowAuto end |
#RequestId ⇒ Object
2365 2366 2367 |
# File 'lib/v20230418/models.rb', line 2365 def RequestId @RequestId end |
#TotalCount ⇒ Object
2365 2366 2367 |
# File 'lib/v20230418/models.rb', line 2365 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/v20230418/models.rb', line 2375 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AccessWhiteListRuleSet'].nil? @AccessWhiteListRuleSet = [] params['AccessWhiteListRuleSet'].each do |i| accesswhitelistrule_tmp = AccessWhiteListRule.new accesswhitelistrule_tmp.deserialize(i) @AccessWhiteListRuleSet << accesswhitelistrule_tmp end end @AllowAny = params['AllowAny'] @AllowAuto = params['AllowAuto'] @RequestId = params['RequestId'] end |