Class: TencentCloud::Wedata::V20210820::GetOfflineDIInstanceListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::GetOfflineDIInstanceListResponse
- Defined in:
- lib/v20210820/models.rb
Overview
GetOfflineDIInstanceList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ GetOfflineDIInstanceListResponse
constructor
A new instance of GetOfflineDIInstanceListResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ GetOfflineDIInstanceListResponse
Returns a new instance of GetOfflineDIInstanceListResponse.
21339 21340 21341 21342 21343 |
# File 'lib/v20210820/models.rb', line 21339 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
21337 21338 21339 |
# File 'lib/v20210820/models.rb', line 21337 def List @List end |
#RequestId ⇒ Object
21337 21338 21339 |
# File 'lib/v20210820/models.rb', line 21337 def RequestId @RequestId end |
#Total ⇒ Object
21337 21338 21339 |
# File 'lib/v20210820/models.rb', line 21337 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 |
# File 'lib/v20210820/models.rb', line 21345 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| offlineinstance_tmp = OfflineInstance.new offlineinstance_tmp.deserialize(i) @List << offlineinstance_tmp end end @RequestId = params['RequestId'] end |