Class: TencentCloud::Cme::V20191029::DescribeTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribeTasksResponse
- Defined in:
- lib/v20191029/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskbaseinfoset = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(totalcount = nil, taskbaseinfoset = nil, requestid = nil) ⇒ DescribeTasksResponse
Returns a new instance of DescribeTasksResponse.
1892 1893 1894 1895 1896 |
# File 'lib/v20191029/models.rb', line 1892 def initialize(totalcount=nil, taskbaseinfoset=nil, requestid=nil) @TotalCount = totalcount @TaskBaseInfoSet = taskbaseinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1890 1891 1892 |
# File 'lib/v20191029/models.rb', line 1890 def RequestId @RequestId end |
#TaskBaseInfoSet ⇒ Object
1890 1891 1892 |
# File 'lib/v20191029/models.rb', line 1890 def TaskBaseInfoSet @TaskBaseInfoSet end |
#TotalCount ⇒ Object
1890 1891 1892 |
# File 'lib/v20191029/models.rb', line 1890 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 |
# File 'lib/v20191029/models.rb', line 1898 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskBaseInfoSet'].nil? @TaskBaseInfoSet = [] params['TaskBaseInfoSet'].each do |i| taskbaseinfo_tmp = TaskBaseInfo.new taskbaseinfo_tmp.deserialize(i) @TaskBaseInfoSet << taskbaseinfo_tmp end end @RequestId = params['RequestId'] end |