Class: TencentCloud::Cloudhsm::V20191112::DescribeSupportedHsmResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::DescribeSupportedHsmResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeSupportedHsm返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devicetypes = nil, requestid = nil) ⇒ DescribeSupportedHsmResponse
constructor
A new instance of DescribeSupportedHsmResponse.
Constructor Details
#initialize(devicetypes = nil, requestid = nil) ⇒ DescribeSupportedHsmResponse
220 221 222 223 |
# File 'lib/v20191112/models.rb', line 220 def initialize(devicetypes=nil, requestid=nil) @DeviceTypes = devicetypes @RequestId = requestid end |
Instance Attribute Details
#DeviceTypes ⇒ Object
218 219 220 |
# File 'lib/v20191112/models.rb', line 218 def DeviceTypes @DeviceTypes end |
#RequestId ⇒ Object
218 219 220 |
# File 'lib/v20191112/models.rb', line 218 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
225 226 227 228 229 230 231 232 233 234 235 |
# File 'lib/v20191112/models.rb', line 225 def deserialize(params) unless params['DeviceTypes'].nil? @DeviceTypes = [] params['DeviceTypes'].each do |i| deviceinfo_tmp = DeviceInfo.new deviceinfo_tmp.deserialize(i) @DeviceTypes << deviceinfo_tmp end end @RequestId = params['RequestId'] end |