Class: TencentCloud::Wedata::V20250806::CreateWorkflowResponse

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

Overview

CreateWorkflow返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateWorkflowResponse.



2438
2439
2440
2441
# File 'lib/v20250806/models.rb', line 2438

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    返回工作流ID

  • RequestId:

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



2436
2437
2438
# File 'lib/v20250806/models.rb', line 2436

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    返回工作流ID

  • RequestId:

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



2436
2437
2438
# File 'lib/v20250806/models.rb', line 2436

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2443
2444
2445
2446
2447
2448
2449
# File 'lib/v20250806/models.rb', line 2443

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