Class: TencentCloud::Bm::V20180423::DescribeHostedDeviceOutBandInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribeHostedDeviceOutBandInfoResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribeHostedDeviceOutBandInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hosteddeviceoutbandinfoset = nil, requestid = nil) ⇒ DescribeHostedDeviceOutBandInfoResponse
constructor
A new instance of DescribeHostedDeviceOutBandInfoResponse.
Constructor Details
#initialize(hosteddeviceoutbandinfoset = nil, requestid = nil) ⇒ DescribeHostedDeviceOutBandInfoResponse
Returns a new instance of DescribeHostedDeviceOutBandInfoResponse.
1516 1517 1518 1519 |
# File 'lib/v20180423/models.rb', line 1516 def initialize(hosteddeviceoutbandinfoset=nil, requestid=nil) @HostedDeviceOutBandInfoSet = hosteddeviceoutbandinfoset @RequestId = requestid end |
Instance Attribute Details
#HostedDeviceOutBandInfoSet ⇒ Object
1514 1515 1516 |
# File 'lib/v20180423/models.rb', line 1514 def HostedDeviceOutBandInfoSet @HostedDeviceOutBandInfoSet end |
#RequestId ⇒ Object
1514 1515 1516 |
# File 'lib/v20180423/models.rb', line 1514 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'lib/v20180423/models.rb', line 1521 def deserialize(params) unless params['HostedDeviceOutBandInfoSet'].nil? @HostedDeviceOutBandInfoSet = [] params['HostedDeviceOutBandInfoSet'].each do |i| hosteddeviceoutbandinfo_tmp = HostedDeviceOutBandInfo.new hosteddeviceoutbandinfo_tmp.deserialize(i) @HostedDeviceOutBandInfoSet << hosteddeviceoutbandinfo_tmp end end @RequestId = params['RequestId'] end |