Class: TencentCloud::Lighthouse::V20200324::FirewallTemplateApplyRecordDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::FirewallTemplateApplyRecordDetail
- Defined in:
- lib/v20200324/models.rb
Overview
防火墙模板应用记录详情。
Instance Attribute Summary collapse
-
#ApplyState ⇒ Object
- SUCCESS:成功 - FAILED:失败 - RUNNING:运行中.
-
#ErrorMessage ⇒ Object
- SUCCESS:成功 - FAILED:失败 - RUNNING:运行中.
-
#Instance ⇒ Object
- SUCCESS:成功 - FAILED:失败 - RUNNING:运行中.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instance = nil, applystate = nil, errormessage = nil) ⇒ FirewallTemplateApplyRecordDetail
constructor
A new instance of FirewallTemplateApplyRecordDetail.
Constructor Details
#initialize(instance = nil, applystate = nil, errormessage = nil) ⇒ FirewallTemplateApplyRecordDetail
Returns a new instance of FirewallTemplateApplyRecordDetail.
5251 5252 5253 5254 5255 |
# File 'lib/v20200324/models.rb', line 5251 def initialize(instance=nil, applystate=nil, =nil) @Instance = instance @ApplyState = applystate @ErrorMessage = end |
Instance Attribute Details
#ApplyState ⇒ Object
- SUCCESS:成功
- FAILED:失败
- RUNNING:运行中
5249 5250 5251 |
# File 'lib/v20200324/models.rb', line 5249 def ApplyState @ApplyState end |
#ErrorMessage ⇒ Object
- SUCCESS:成功
- FAILED:失败
- RUNNING:运行中
5249 5250 5251 |
# File 'lib/v20200324/models.rb', line 5249 def ErrorMessage @ErrorMessage end |
#Instance ⇒ Object
- SUCCESS:成功
- FAILED:失败
- RUNNING:运行中
5249 5250 5251 |
# File 'lib/v20200324/models.rb', line 5249 def Instance @Instance end |
Instance Method Details
#deserialize(params) ⇒ Object
5257 5258 5259 5260 5261 5262 5263 5264 |
# File 'lib/v20200324/models.rb', line 5257 def deserialize(params) unless params['Instance'].nil? @Instance = InstanceIdentifier.new @Instance.deserialize(params['Instance']) end @ApplyState = params['ApplyState'] @ErrorMessage = params['ErrorMessage'] end |