Class: TencentCloud::Batch::V20170312::DescribeTaskLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::DescribeTaskLogsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeTaskLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskinstancelogset = nil, requestid = nil) ⇒ DescribeTaskLogsResponse
constructor
A new instance of DescribeTaskLogsResponse.
Constructor Details
#initialize(totalcount = nil, taskinstancelogset = nil, requestid = nil) ⇒ DescribeTaskLogsResponse
Returns a new instance of DescribeTaskLogsResponse.
1815 1816 1817 1818 1819 |
# File 'lib/v20170312/models.rb', line 1815 def initialize(totalcount=nil, taskinstancelogset=nil, requestid=nil) @TotalCount = totalcount @TaskInstanceLogSet = taskinstancelogset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1813 1814 1815 |
# File 'lib/v20170312/models.rb', line 1813 def RequestId @RequestId end |
#TaskInstanceLogSet ⇒ Object
1813 1814 1815 |
# File 'lib/v20170312/models.rb', line 1813 def TaskInstanceLogSet @TaskInstanceLogSet end |
#TotalCount ⇒ Object
1813 1814 1815 |
# File 'lib/v20170312/models.rb', line 1813 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/v20170312/models.rb', line 1821 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskInstanceLogSet'].nil? @TaskInstanceLogSet = [] params['TaskInstanceLogSet'].each do |i| taskinstancelog_tmp = TaskInstanceLog.new taskinstancelog_tmp.deserialize(i) @TaskInstanceLogSet << taskinstancelog_tmp end end @RequestId = params['RequestId'] end |