Class: TencentCloud::Tat::V20201028::InvocationTask

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201028/models.rb

Overview

执行任务。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CommandDocumentObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def CommandDocument
  @CommandDocument
end

#CommandIdObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def CommandId
  @CommandId
end

#CommandNameObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def CommandName
  @CommandName
end

#CreatedTimeObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def CreatedTime
  @CreatedTime
end

#EndTimeObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def EndTime
  @EndTime
end

#ErrorInfoObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def ErrorInfo
  @ErrorInfo
end

#InstanceIdObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def InstanceId
  @InstanceId
end

#InvocationIdObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def InvocationId
  @InvocationId
end

#InvocationSourceObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def InvocationSource
  @InvocationSource
end

#InvocationTaskIdObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def InvocationTaskId
  @InvocationTaskId
end

#StartTimeObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def StartTime
  @StartTime
end

#TaskResultObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def TaskResult
  @TaskResult
end

#TaskStatusObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



1820
1821
1822
# File 'lib/v20201028/models.rb', line 1820

def TaskStatus
  @TaskStatus
end

#UpdatedTimeObject

  • USER:来源于用户调用。
  • INVOKER:来源于定时执行。

Parameters:

  • CommandName:

    执行的命令的名称。



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