Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceGroupResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceGroupResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeDeviceGroup返回参数结构体
Instance Attribute Summary collapse
-
#DevGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devgroups = nil, requestid = nil) ⇒ DescribeDeviceGroupResponse
constructor
A new instance of DescribeDeviceGroupResponse.
Constructor Details
#initialize(devgroups = nil, requestid = nil) ⇒ DescribeDeviceGroupResponse
Returns a new instance of DescribeDeviceGroupResponse.
2164 2165 2166 2167 |
# File 'lib/v20201201/models.rb', line 2164 def initialize(devgroups=nil, requestid=nil) @DevGroups = devgroups @RequestId = requestid end |
Instance Attribute Details
#DevGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2162 2163 2164 |
# File 'lib/v20201201/models.rb', line 2162 def DevGroups @DevGroups end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2162 2163 2164 |
# File 'lib/v20201201/models.rb', line 2162 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 |
# File 'lib/v20201201/models.rb', line 2169 def deserialize(params) unless params['DevGroups'].nil? @DevGroups = [] params['DevGroups'].each do |i| devgroupinfo_tmp = DevGroupInfo.new devgroupinfo_tmp.deserialize(i) @DevGroups << devgroupinfo_tmp end end @RequestId = params['RequestId'] end |