Class: TencentCloud::Mps::V20190612::DescribeWorkflowsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeWorkflowsResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeWorkflows返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, workflowinfoset = nil, requestid = nil) ⇒ DescribeWorkflowsResponse
constructor
A new instance of DescribeWorkflowsResponse.
Constructor Details
#initialize(totalcount = nil, workflowinfoset = nil, requestid = nil) ⇒ DescribeWorkflowsResponse
Returns a new instance of DescribeWorkflowsResponse.
13311 13312 13313 13314 13315 |
# File 'lib/v20190612/models.rb', line 13311 def initialize(totalcount=nil, workflowinfoset=nil, requestid=nil) @TotalCount = totalcount @WorkflowInfoSet = workflowinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
13309 13310 13311 |
# File 'lib/v20190612/models.rb', line 13309 def RequestId @RequestId end |
#TotalCount ⇒ Object
13309 13310 13311 |
# File 'lib/v20190612/models.rb', line 13309 def TotalCount @TotalCount end |
#WorkflowInfoSet ⇒ Object
13309 13310 13311 |
# File 'lib/v20190612/models.rb', line 13309 def WorkflowInfoSet @WorkflowInfoSet end |
Instance Method Details
#deserialize(params) ⇒ Object
13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 |
# File 'lib/v20190612/models.rb', line 13317 def deserialize(params) @TotalCount = params['TotalCount'] unless params['WorkflowInfoSet'].nil? @WorkflowInfoSet = [] params['WorkflowInfoSet'].each do |i| workflowinfo_tmp = WorkflowInfo.new workflowinfo_tmp.deserialize(i) @WorkflowInfoSet << workflowinfo_tmp end end @RequestId = params['RequestId'] end |