Class: TencentCloud::Tat::V20201028::InvocationTask
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::InvocationTask
- Defined in:
- lib/v20201028/models.rb
Overview
执行任务。
Instance Attribute Summary collapse
-
#CommandDocument ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#CommandId ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#CommandName ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#CreatedTime ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#EndTime ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#ErrorInfo ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#InstanceId ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#InvocationId ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#InvocationSource ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#InvocationTaskId ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#StartTime ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#TaskResult ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#TaskStatus ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
-
#UpdatedTime ⇒ Object
- USER:来源于用户调用。 - INVOKER:来源于定时执行。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invocationid = nil, invocationtaskid = nil, commandid = nil, taskstatus = nil, instanceid = nil, taskresult = nil, starttime = nil, endtime = nil, createdtime = nil, updatedtime = nil, commanddocument = nil, errorinfo = nil, invocationsource = nil, commandname = nil) ⇒ InvocationTask
constructor
A new instance of InvocationTask.
Constructor Details
#initialize(invocationid = nil, invocationtaskid = nil, commandid = nil, taskstatus = nil, instanceid = nil, taskresult = nil, starttime = nil, endtime = nil, createdtime = nil, updatedtime = nil, commanddocument = nil, errorinfo = nil, invocationsource = nil, commandname = nil) ⇒ InvocationTask
Returns a new instance of InvocationTask.
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 |
# File 'lib/v20201028/models.rb', line 1822 def initialize(invocationid=nil, invocationtaskid=nil, commandid=nil, taskstatus=nil, instanceid=nil, taskresult=nil, starttime=nil, endtime=nil, createdtime=nil, updatedtime=nil, commanddocument=nil, errorinfo=nil, invocationsource=nil, commandname=nil) @InvocationId = invocationid @InvocationTaskId = invocationtaskid @CommandId = commandid @TaskStatus = taskstatus @InstanceId = instanceid @TaskResult = taskresult @StartTime = starttime @EndTime = endtime @CreatedTime = createdtime @UpdatedTime = updatedtime @CommandDocument = commanddocument @ErrorInfo = errorinfo @InvocationSource = invocationsource @CommandName = commandname end |
Instance Attribute Details
#CommandDocument ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def CommandDocument @CommandDocument end |
#CommandId ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def CommandId @CommandId end |
#CommandName ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def CommandName @CommandName end |
#CreatedTime ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def CreatedTime @CreatedTime end |
#EndTime ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def EndTime @EndTime end |
#ErrorInfo ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def ErrorInfo @ErrorInfo end |
#InstanceId ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def InstanceId @InstanceId end |
#InvocationId ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def InvocationId @InvocationId end |
#InvocationSource ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def InvocationSource @InvocationSource end |
#InvocationTaskId ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def InvocationTaskId @InvocationTaskId end |
#StartTime ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def StartTime @StartTime end |
#TaskResult ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def TaskResult @TaskResult end |
#TaskStatus ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def TaskStatus @TaskStatus end |
#UpdatedTime ⇒ Object
- USER:来源于用户调用。
- INVOKER:来源于定时执行。
1820 1821 1822 |
# File 'lib/v20201028/models.rb', line 1820 def UpdatedTime @UpdatedTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 |
# File 'lib/v20201028/models.rb', line 1839 def deserialize(params) @InvocationId = params['InvocationId'] @InvocationTaskId = params['InvocationTaskId'] @CommandId = params['CommandId'] @TaskStatus = params['TaskStatus'] @InstanceId = params['InstanceId'] unless params['TaskResult'].nil? @TaskResult = TaskResult.new @TaskResult.deserialize(params['TaskResult']) end @StartTime = params['StartTime'] @EndTime = params['EndTime'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] unless params['CommandDocument'].nil? @CommandDocument = CommandDocument.new @CommandDocument.deserialize(params['CommandDocument']) end @ErrorInfo = params['ErrorInfo'] @InvocationSource = params['InvocationSource'] @CommandName = params['CommandName'] end |