Class: TencentCloud::Bm::V20180423::DescribeDeviceHardwareInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribeDeviceHardwareInfoResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribeDeviceHardwareInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devicehardwareinfoset = nil, requestid = nil) ⇒ DescribeDeviceHardwareInfoResponse
constructor
A new instance of DescribeDeviceHardwareInfoResponse.
Constructor Details
#initialize(devicehardwareinfoset = nil, requestid = nil) ⇒ DescribeDeviceHardwareInfoResponse
Returns a new instance of DescribeDeviceHardwareInfoResponse.
994 995 996 997 |
# File 'lib/v20180423/models.rb', line 994 def initialize(devicehardwareinfoset=nil, requestid=nil) @DeviceHardwareInfoSet = devicehardwareinfoset @RequestId = requestid end |
Instance Attribute Details
#DeviceHardwareInfoSet ⇒ Object
992 993 994 |
# File 'lib/v20180423/models.rb', line 992 def DeviceHardwareInfoSet @DeviceHardwareInfoSet end |
#RequestId ⇒ Object
992 993 994 |
# File 'lib/v20180423/models.rb', line 992 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 |
# File 'lib/v20180423/models.rb', line 999 def deserialize(params) unless params['DeviceHardwareInfoSet'].nil? @DeviceHardwareInfoSet = [] params['DeviceHardwareInfoSet'].each do |i| devicehardwareinfo_tmp = DeviceHardwareInfo.new devicehardwareinfo_tmp.deserialize(i) @DeviceHardwareInfoSet << devicehardwareinfo_tmp end end @RequestId = params['RequestId'] end |