Class: TencentCloud::Bm::V20180423::DescribeDeviceClassResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribeDeviceClassResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribeDeviceClass返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceclassset = nil, requestid = nil) ⇒ DescribeDeviceClassResponse
constructor
A new instance of DescribeDeviceClassResponse.
Constructor Details
#initialize(deviceclassset = nil, requestid = nil) ⇒ DescribeDeviceClassResponse
Returns a new instance of DescribeDeviceClassResponse.
951 952 953 954 |
# File 'lib/v20180423/models.rb', line 951 def initialize(deviceclassset=nil, requestid=nil) @DeviceClassSet = deviceclassset @RequestId = requestid end |
Instance Attribute Details
#DeviceClassSet ⇒ Object
949 950 951 |
# File 'lib/v20180423/models.rb', line 949 def DeviceClassSet @DeviceClassSet end |
#RequestId ⇒ Object
949 950 951 |
# File 'lib/v20180423/models.rb', line 949 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20180423/models.rb', line 956 def deserialize(params) unless params['DeviceClassSet'].nil? @DeviceClassSet = [] params['DeviceClassSet'].each do |i| deviceclass_tmp = DeviceClass.new deviceclass_tmp.deserialize(i) @DeviceClassSet << deviceclass_tmp end end @RequestId = params['RequestId'] end |