Class: TencentCloud::Bm::V20180423::DescribeHostedDeviceOutBandInfoResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180423/models.rb

Overview

DescribeHostedDeviceOutBandInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#HostedDeviceOutBandInfoSetObject

Parameters:

  • HostedDeviceOutBandInfoSet:

    托管设备带外信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1514
1515
1516
# File 'lib/v20180423/models.rb', line 1514

def HostedDeviceOutBandInfoSet
  @HostedDeviceOutBandInfoSet
end

#RequestIdObject

Parameters:

  • HostedDeviceOutBandInfoSet:

    托管设备带外信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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