Class: TencentCloud::Trp::V20210515::CreateTraceDataRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::CreateTraceDataRequest
- Defined in:
- lib/v20210515/models.rb
Overview
CreateTraceData请求参数结构体
Instance Attribute Summary collapse
- #BatchId ⇒ Object
- #ChainStatus ⇒ Object
- #CorpId ⇒ Object
- #Phase ⇒ Object
- #PhaseData ⇒ Object
- #PhaseName ⇒ Object
- #Status ⇒ Object
- #TaskId ⇒ Object
- #TraceId ⇒ Object
- #TraceItems ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(corpid = nil, batchid = nil, taskid = nil, phase = nil, phasename = nil, chainstatus = nil, type = nil, traceid = nil, traceitems = nil, status = nil, phasedata = nil) ⇒ CreateTraceDataRequest
constructor
A new instance of CreateTraceDataRequest.
Constructor Details
#initialize(corpid = nil, batchid = nil, taskid = nil, phase = nil, phasename = nil, chainstatus = nil, type = nil, traceid = nil, traceitems = nil, status = nil, phasedata = nil) ⇒ CreateTraceDataRequest
Returns a new instance of CreateTraceDataRequest.
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 |
# File 'lib/v20210515/models.rb', line 1264 def initialize(corpid=nil, batchid=nil, taskid=nil, phase=nil, phasename=nil, chainstatus=nil, type=nil, traceid=nil, traceitems=nil, status=nil, phasedata=nil) @CorpId = corpid @BatchId = batchid @TaskId = taskid @Phase = phase @PhaseName = phasename @ChainStatus = chainstatus @Type = type @TraceId = traceid @TraceItems = traceitems @Status = status @PhaseData = phasedata end |
Instance Attribute Details
#BatchId ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def BatchId @BatchId end |
#ChainStatus ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def ChainStatus @ChainStatus end |
#CorpId ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def CorpId @CorpId end |
#Phase ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def Phase @Phase end |
#PhaseData ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def PhaseData @PhaseData end |
#PhaseName ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def PhaseName @PhaseName end |
#Status ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def Status @Status end |
#TaskId ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def TaskId @TaskId end |
#TraceId ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def TraceId @TraceId end |
#TraceItems ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def TraceItems @TraceItems end |
#Type ⇒ Object
1262 1263 1264 |
# File 'lib/v20210515/models.rb', line 1262 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 |
# File 'lib/v20210515/models.rb', line 1278 def deserialize(params) @CorpId = params['CorpId'] @BatchId = params['BatchId'] @TaskId = params['TaskId'] @Phase = params['Phase'] @PhaseName = params['PhaseName'] @ChainStatus = params['ChainStatus'] @Type = params['Type'] @TraceId = params['TraceId'] unless params['TraceItems'].nil? @TraceItems = [] params['TraceItems'].each do |i| traceitem_tmp = TraceItem.new traceitem_tmp.deserialize(i) @TraceItems << traceitem_tmp end end @Status = params['Status'] unless params['PhaseData'].nil? @PhaseData = PhaseData.new @PhaseData.deserialize(params['PhaseData']) end end |