Class: TencentCloud::Bma::V20221115::DescribeBPWhiteListsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20221115::DescribeBPWhiteListsResponse
- Defined in:
- lib/v20221115/models.rb
Overview
DescribeBPWhiteLists返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(whitelists = nil, totalcount = nil, requestid = nil) ⇒ DescribeBPWhiteListsResponse
constructor
A new instance of DescribeBPWhiteListsResponse.
Constructor Details
#initialize(whitelists = nil, totalcount = nil, requestid = nil) ⇒ DescribeBPWhiteListsResponse
Returns a new instance of DescribeBPWhiteListsResponse.
650 651 652 653 654 |
# File 'lib/v20221115/models.rb', line 650 def initialize(whitelists=nil, totalcount=nil, requestid=nil) @WhiteLists = whitelists @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
648 649 650 |
# File 'lib/v20221115/models.rb', line 648 def RequestId @RequestId end |
#TotalCount ⇒ Object
648 649 650 |
# File 'lib/v20221115/models.rb', line 648 def TotalCount @TotalCount end |
#WhiteLists ⇒ Object
648 649 650 |
# File 'lib/v20221115/models.rb', line 648 def WhiteLists @WhiteLists end |
Instance Method Details
#deserialize(params) ⇒ Object
656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'lib/v20221115/models.rb', line 656 def deserialize(params) unless params['WhiteLists'].nil? @WhiteLists = [] params['WhiteLists'].each do |i| whitelistdata_tmp = WhiteListData.new whitelistdata_tmp.deserialize(i) @WhiteLists << whitelistdata_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |