Class: TencentCloud::Lighthouse::V20200324::FirewallTemplateApplyRecordDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

防火墙模板应用记录详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

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, errormessage=nil)
  @Instance = instance
  @ApplyState = applystate
  @ErrorMessage = errormessage
end

Instance Attribute Details

#ApplyStateObject

  • SUCCESS:成功
  • FAILED:失败
  • RUNNING:运行中

Parameters:

  • 防火墙模板应用错误信息。



5249
5250
5251
# File 'lib/v20200324/models.rb', line 5249

def ApplyState
  @ApplyState
end

#ErrorMessageObject

  • SUCCESS:成功
  • FAILED:失败
  • RUNNING:运行中

Parameters:

  • 防火墙模板应用错误信息。



5249
5250
5251
# File 'lib/v20200324/models.rb', line 5249

def ErrorMessage
  @ErrorMessage
end

#InstanceObject

  • SUCCESS:成功
  • FAILED:失败
  • RUNNING:运行中

Parameters:

  • 防火墙模板应用错误信息。



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