Class: TencentCloud::Iss::V20230517::ListDevicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListDevicesResponse
- Defined in:
- lib/v20230517/models.rb
Overview
ListDevices返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListDevicesResponse
constructor
A new instance of ListDevicesResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListDevicesResponse
Returns a new instance of ListDevicesResponse.
4894 4895 4896 4897 4898 |
# File 'lib/v20230517/models.rb', line 4894 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4892 4893 4894 |
# File 'lib/v20230517/models.rb', line 4892 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4892 4893 4894 |
# File 'lib/v20230517/models.rb', line 4892 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4892 4893 4894 |
# File 'lib/v20230517/models.rb', line 4892 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 |
# File 'lib/v20230517/models.rb', line 4900 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| listdeviceinfo_tmp = ListDeviceInfo.new listdeviceinfo_tmp.deserialize(i) @Data << listdeviceinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |