Class: TencentCloud::Dts::V20211206::CheckStep
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::CheckStep
- Defined in:
- lib/v20211206/models.rb
Overview
检查步骤
Instance Attribute Summary collapse
- #DetailCheckItems ⇒ Object
- #HasSkipped ⇒ Object
- #StepId ⇒ Object
- #StepMessage ⇒ Object
- #StepName ⇒ Object
- #StepNo ⇒ Object
- #StepStatus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stepno = nil, stepid = nil, stepname = nil, stepstatus = nil, stepmessage = nil, detailcheckitems = nil, hasskipped = nil) ⇒ CheckStep
constructor
A new instance of CheckStep.
Constructor Details
#initialize(stepno = nil, stepid = nil, stepname = nil, stepstatus = nil, stepmessage = nil, detailcheckitems = nil, hasskipped = nil) ⇒ CheckStep
Returns a new instance of CheckStep.
71 72 73 74 75 76 77 78 79 |
# File 'lib/v20211206/models.rb', line 71 def initialize(stepno=nil, stepid=nil, stepname=nil, stepstatus=nil, =nil, detailcheckitems=nil, hasskipped=nil) @StepNo = stepno @StepId = stepid @StepName = stepname @StepStatus = stepstatus @StepMessage = @DetailCheckItems = detailcheckitems @HasSkipped = hasskipped end |
Instance Attribute Details
#DetailCheckItems ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def DetailCheckItems @DetailCheckItems end |
#HasSkipped ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def HasSkipped @HasSkipped end |
#StepId ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def StepId @StepId end |
#StepMessage ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def StepMessage @StepMessage end |
#StepName ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def StepName @StepName end |
#StepNo ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def StepNo @StepNo end |
#StepStatus ⇒ Object
69 70 71 |
# File 'lib/v20211206/models.rb', line 69 def StepStatus @StepStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/v20211206/models.rb', line 81 def deserialize(params) @StepNo = params['StepNo'] @StepId = params['StepId'] @StepName = params['StepName'] @StepStatus = params['StepStatus'] @StepMessage = params['StepMessage'] unless params['DetailCheckItems'].nil? @DetailCheckItems = [] params['DetailCheckItems'].each do |i| detailcheckitem_tmp = DetailCheckItem.new detailcheckitem_tmp.deserialize(i) @DetailCheckItems << detailcheckitem_tmp end end @HasSkipped = params['HasSkipped'] end |