Class: TencentCloud::Iss::V20230517::ListDeviceSnapshotsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListDeviceSnapshotsResponse
- Defined in:
- lib/v20230517/models.rb
Overview
ListDeviceSnapshots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListDeviceSnapshotsResponse
constructor
A new instance of ListDeviceSnapshotsResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListDeviceSnapshotsResponse
Returns a new instance of ListDeviceSnapshotsResponse.
4806 4807 4808 4809 4810 |
# File 'lib/v20230517/models.rb', line 4806 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
4804 4805 4806 |
# File 'lib/v20230517/models.rb', line 4804 def Data @Data end |
#RequestId ⇒ Object
4804 4805 4806 |
# File 'lib/v20230517/models.rb', line 4804 def RequestId @RequestId end |
#TotalCount ⇒ Object
4804 4805 4806 |
# File 'lib/v20230517/models.rb', line 4804 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 |
# File 'lib/v20230517/models.rb', line 4812 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| gbdevicesnapinfo_tmp = GBDeviceSnapInfo.new gbdevicesnapinfo_tmp.deserialize(i) @Data << gbdevicesnapinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |