Class: TencentCloud::Wedata::V20210820::GetOfflineInstanceListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

GetOfflineInstanceList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, list = nil, requestid = nil) ⇒ GetOfflineInstanceListResponse



21401
21402
21403
21404
21405
# File 'lib/v20210820/models.rb', line 21401

def initialize(total=nil, list=nil, requestid=nil)
  @Total = total
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject



21399
21400
21401
# File 'lib/v20210820/models.rb', line 21399

def List
  @List
end

#RequestIdObject



21399
21400
21401
# File 'lib/v20210820/models.rb', line 21399

def RequestId
  @RequestId
end

#TotalObject



21399
21400
21401
# File 'lib/v20210820/models.rb', line 21399

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
# File 'lib/v20210820/models.rb', line 21407

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