Class: TencentCloud::Bm::V20180423::DescribeTaskInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DescribeTaskInfoResponse
- Defined in:
- lib/v20180423/models.rb
Overview
DescribeTaskInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskinfoset = nil, requestid = nil) ⇒ DescribeTaskInfoResponse
constructor
A new instance of DescribeTaskInfoResponse.
Constructor Details
#initialize(totalcount = nil, taskinfoset = nil, requestid = nil) ⇒ DescribeTaskInfoResponse
Returns a new instance of DescribeTaskInfoResponse.
1857 1858 1859 1860 1861 |
# File 'lib/v20180423/models.rb', line 1857 def initialize(totalcount=nil, taskinfoset=nil, requestid=nil) @TotalCount = totalcount @TaskInfoSet = taskinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1855 1856 1857 |
# File 'lib/v20180423/models.rb', line 1855 def RequestId @RequestId end |
#TaskInfoSet ⇒ Object
1855 1856 1857 |
# File 'lib/v20180423/models.rb', line 1855 def TaskInfoSet @TaskInfoSet end |
#TotalCount ⇒ Object
1855 1856 1857 |
# File 'lib/v20180423/models.rb', line 1855 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 |
# File 'lib/v20180423/models.rb', line 1863 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskInfoSet'].nil? @TaskInfoSet = [] params['TaskInfoSet'].each do |i| taskinfo_tmp = TaskInfo.new taskinfo_tmp.deserialize(i) @TaskInfoSet << taskinfo_tmp end end @RequestId = params['RequestId'] end |