Class: TencentCloud::Cloudaudit::V20190319::ListCosEnableRegionResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::ListCosEnableRegionResponse
- Defined in:
- lib/v20190319/models.rb
Overview
ListCosEnableRegion返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enableregions = nil, requestid = nil) ⇒ ListCosEnableRegionResponse
constructor
A new instance of ListCosEnableRegionResponse.
Constructor Details
#initialize(enableregions = nil, requestid = nil) ⇒ ListCosEnableRegionResponse
Returns a new instance of ListCosEnableRegionResponse.
882 883 884 885 |
# File 'lib/v20190319/models.rb', line 882 def initialize(enableregions=nil, requestid=nil) @EnableRegions = enableregions @RequestId = requestid end |
Instance Attribute Details
#EnableRegions ⇒ Object
880 881 882 |
# File 'lib/v20190319/models.rb', line 880 def EnableRegions @EnableRegions end |
#RequestId ⇒ Object
880 881 882 |
# File 'lib/v20190319/models.rb', line 880 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/v20190319/models.rb', line 887 def deserialize(params) unless params['EnableRegions'].nil? @EnableRegions = [] params['EnableRegions'].each do |i| cosregioninfo_tmp = CosRegionInfo.new cosregioninfo_tmp.deserialize(i) @EnableRegions << cosregioninfo_tmp end end @RequestId = params['RequestId'] end |