Class: TencentCloud::Wedata::V20250806::ListSQLFolderContentsResponse

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

Overview

ListSQLFolderContents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ListSQLFolderContentsResponse.



7871
7872
7873
7874
# File 'lib/v20250806/models.rb', line 7871

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    结果列表

  • RequestId:

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



7869
7870
7871
# File 'lib/v20250806/models.rb', line 7869

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    结果列表

  • RequestId:

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



7869
7870
7871
# File 'lib/v20250806/models.rb', line 7869

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
# File 'lib/v20250806/models.rb', line 7876

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      sqlfoldernode_tmp = SQLFolderNode.new
      sqlfoldernode_tmp.deserialize(i)
      @Data << sqlfoldernode_tmp
    end
  end
  @RequestId = params['RequestId']
end