Class: TencentCloud::Wedata::V20210820::DescribeWorkflowListByProjectIdResponse

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

Overview

DescribeWorkflowListByProjectId返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeWorkflowListByProjectIdResponse.



17798
17799
17800
17801
# File 'lib/v20210820/models.rb', line 17798

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

Instance Attribute Details

#DataObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    根据项目id获取项目下所有工作流列表

  • RequestId:

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



17796
17797
17798
# File 'lib/v20210820/models.rb', line 17796

def Data
  @Data
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    根据项目id获取项目下所有工作流列表

  • RequestId:

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



17796
17797
17798
# File 'lib/v20210820/models.rb', line 17796

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
# File 'lib/v20210820/models.rb', line 17803

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