Class: TencentCloud::Dts::V20211206::SubscribeCheckStepInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::SubscribeCheckStepInfo
- Defined in:
- lib/v20211206/models.rb
Overview
订阅校验任务的各步骤信息。
Instance Attribute Summary collapse
- #Errors ⇒ Object
- #Percent ⇒ Object
- #Status ⇒ Object
- #StepId ⇒ Object
- #StepName ⇒ Object
- #StepNo ⇒ Object
- #Warnings ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stepname = nil, stepid = nil, stepno = nil, status = nil, percent = nil, errors = nil, warnings = nil) ⇒ SubscribeCheckStepInfo
constructor
A new instance of SubscribeCheckStepInfo.
Constructor Details
#initialize(stepname = nil, stepid = nil, stepno = nil, status = nil, percent = nil, errors = nil, warnings = nil) ⇒ SubscribeCheckStepInfo
Returns a new instance of SubscribeCheckStepInfo.
7213 7214 7215 7216 7217 7218 7219 7220 7221 |
# File 'lib/v20211206/models.rb', line 7213 def initialize(stepname=nil, stepid=nil, stepno=nil, status=nil, percent=nil, errors=nil, warnings=nil) @StepName = stepname @StepId = stepid @StepNo = stepno @Status = status @Percent = percent @Errors = errors @Warnings = warnings end |
Instance Attribute Details
#Errors ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def Errors @Errors end |
#Percent ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def Percent @Percent end |
#Status ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def Status @Status end |
#StepId ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def StepId @StepId end |
#StepName ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def StepName @StepName end |
#StepNo ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def StepNo @StepNo end |
#Warnings ⇒ Object
7211 7212 7213 |
# File 'lib/v20211206/models.rb', line 7211 def Warnings @Warnings end |
Instance Method Details
#deserialize(params) ⇒ Object
7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 |
# File 'lib/v20211206/models.rb', line 7223 def deserialize(params) @StepName = params['StepName'] @StepId = params['StepId'] @StepNo = params['StepNo'] @Status = params['Status'] @Percent = params['Percent'] unless params['Errors'].nil? @Errors = [] params['Errors'].each do |i| subscribechecksteptip_tmp = SubscribeCheckStepTip.new subscribechecksteptip_tmp.deserialize(i) @Errors << subscribechecksteptip_tmp end end unless params['Warnings'].nil? @Warnings = [] params['Warnings'].each do |i| subscribechecksteptip_tmp = SubscribeCheckStepTip.new subscribechecksteptip_tmp.deserialize(i) @Warnings << subscribechecksteptip_tmp end end end |