Class: TencentCloud::Smop::V20201203::TaskEventData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Smop::V20201203::TaskEventData
- Defined in:
- lib/v20201203/models.rb
Overview
后端提交任务事件返回Data复杂类型
Instance Attribute Summary collapse
- #Attach ⇒ Object
- #Code ⇒ Object
- #DoneTimes ⇒ Object
- #GrowScore ⇒ Object
- #Message ⇒ Object
- #TaskCode ⇒ Object
- #TaskCoinNumber ⇒ Object
- #TaskId ⇒ Object
- #TaskName ⇒ Object
- #TaskOrderId ⇒ Object
- #TaskType ⇒ Object
- #TotalCoin ⇒ Object
- #TotalTimes ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(code = nil, message = nil, taskid = nil, taskorderid = nil, taskcode = nil, taskcoinnumber = nil, tasktype = nil, totalcoin = nil, attach = nil, donetimes = nil, totaltimes = nil, taskname = nil, growscore = nil) ⇒ TaskEventData
constructor
A new instance of TaskEventData.
Constructor Details
#initialize(code = nil, message = nil, taskid = nil, taskorderid = nil, taskcode = nil, taskcoinnumber = nil, tasktype = nil, totalcoin = nil, attach = nil, donetimes = nil, totaltimes = nil, taskname = nil, growscore = nil) ⇒ TaskEventData
Returns a new instance of TaskEventData.
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/v20201203/models.rb', line 130 def initialize(code=nil, =nil, taskid=nil, taskorderid=nil, taskcode=nil, taskcoinnumber=nil, tasktype=nil, totalcoin=nil, attach=nil, donetimes=nil, totaltimes=nil, taskname=nil, growscore=nil) @Code = code @Message = @TaskId = taskid @TaskOrderId = taskorderid @TaskCode = taskcode @TaskCoinNumber = taskcoinnumber @TaskType = tasktype @TotalCoin = totalcoin @Attach = attach @DoneTimes = donetimes @TotalTimes = totaltimes @TaskName = taskname @GrowScore = growscore end |
Instance Attribute Details
#Attach ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def Attach @Attach end |
#Code ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def Code @Code end |
#DoneTimes ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def DoneTimes @DoneTimes end |
#GrowScore ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def GrowScore @GrowScore end |
#Message ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def Message @Message end |
#TaskCode ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskCode @TaskCode end |
#TaskCoinNumber ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskCoinNumber @TaskCoinNumber end |
#TaskId ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskId @TaskId end |
#TaskName ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskName @TaskName end |
#TaskOrderId ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskOrderId @TaskOrderId end |
#TaskType ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TaskType @TaskType end |
#TotalCoin ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TotalCoin @TotalCoin end |
#TotalTimes ⇒ Object
128 129 130 |
# File 'lib/v20201203/models.rb', line 128 def TotalTimes @TotalTimes end |
Instance Method Details
#deserialize(params) ⇒ Object
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/v20201203/models.rb', line 146 def deserialize(params) @Code = params['Code'] @Message = params['Message'] @TaskId = params['TaskId'] @TaskOrderId = params['TaskOrderId'] @TaskCode = params['TaskCode'] @TaskCoinNumber = params['TaskCoinNumber'] @TaskType = params['TaskType'] @TotalCoin = params['TotalCoin'] @Attach = params['Attach'] @DoneTimes = params['DoneTimes'] @TotalTimes = params['TotalTimes'] @TaskName = params['TaskName'] @GrowScore = params['GrowScore'] end |