Class: TencentCloud::Mps::V20190612::CreateWorkflowResponse

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

Overview

CreateWorkflow返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateWorkflowResponse.



8993
8994
8995
8996
# File 'lib/v20190612/models.rb', line 8993

def initialize(workflowid=nil, requestid=nil)
  @WorkflowId = workflowid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • WorkflowId:

    工作流 ID。

  • RequestId:

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



8991
8992
8993
# File 'lib/v20190612/models.rb', line 8991

def RequestId
  @RequestId
end

#WorkflowIdObject

Parameters:

  • WorkflowId:

    工作流 ID。

  • RequestId:

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



8991
8992
8993
# File 'lib/v20190612/models.rb', line 8991

def WorkflowId
  @WorkflowId
end

Instance Method Details

#deserialize(params) ⇒ Object



8998
8999
9000
9001
# File 'lib/v20190612/models.rb', line 8998

def deserialize(params)
  @WorkflowId = params['WorkflowId']
  @RequestId = params['RequestId']
end