Class: TencentCloud::Wedata::V20210820::ListInstancesResponse

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

Overview

ListInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ ListInstancesResponse

Returns a new instance of ListInstancesResponse.



24893
24894
24895
24896
# File 'lib/v20210820/models.rb', line 24893

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    实例结果集

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



24891
24892
24893
# File 'lib/v20210820/models.rb', line 24891

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    实例结果集

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



24891
24892
24893
# File 'lib/v20210820/models.rb', line 24891

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



24898
24899
24900
24901
24902
24903
24904
# File 'lib/v20210820/models.rb', line 24898

def deserialize(params)
  unless params['Data'].nil?
    @Data = InstancePageVO.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end