Class: TencentCloud::Cloudaudit::V20190319::ListCmqEnableRegionResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::ListCmqEnableRegionResponse
- Defined in:
- lib/v20190319/models.rb
Overview
ListCmqEnableRegion返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enableregions = nil, requestid = nil) ⇒ ListCmqEnableRegionResponse
constructor
A new instance of ListCmqEnableRegionResponse.
Constructor Details
#initialize(enableregions = nil, requestid = nil) ⇒ ListCmqEnableRegionResponse
Returns a new instance of ListCmqEnableRegionResponse.
839 840 841 842 |
# File 'lib/v20190319/models.rb', line 839 def initialize(enableregions=nil, requestid=nil) @EnableRegions = enableregions @RequestId = requestid end |
Instance Attribute Details
#EnableRegions ⇒ Object
837 838 839 |
# File 'lib/v20190319/models.rb', line 837 def EnableRegions @EnableRegions end |
#RequestId ⇒ Object
837 838 839 |
# File 'lib/v20190319/models.rb', line 837 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
844 845 846 847 848 849 850 851 852 853 854 |
# File 'lib/v20190319/models.rb', line 844 def deserialize(params) unless params['EnableRegions'].nil? @EnableRegions = [] params['EnableRegions'].each do |i| cmqregioninfo_tmp = CmqRegionInfo.new cmqregioninfo_tmp.deserialize(i) @EnableRegions << cmqregioninfo_tmp end end @RequestId = params['RequestId'] end |