Class: TencentCloud::Lighthouse::V20200324::InstanceViolationDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::InstanceViolationDetail
- Defined in:
- lib/v20200324/models.rb
Overview
实例违规详情。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(source = nil, state = nil, reason = nil, content = nil) ⇒ InstanceViolationDetail
constructor
A new instance of InstanceViolationDetail.
Constructor Details
#initialize(source = nil, state = nil, reason = nil, content = nil) ⇒ InstanceViolationDetail
Returns a new instance of InstanceViolationDetail.
6153 6154 6155 6156 6157 6158 |
# File 'lib/v20200324/models.rb', line 6153 def initialize(source=nil, state=nil, reason=nil, content=nil) @Source = source @State = state @Reason = reason @Content = content end |
Instance Attribute Details
#Content ⇒ Object
6151 6152 6153 |
# File 'lib/v20200324/models.rb', line 6151 def Content @Content end |
#Reason ⇒ Object
6151 6152 6153 |
# File 'lib/v20200324/models.rb', line 6151 def Reason @Reason end |
#Source ⇒ Object
6151 6152 6153 |
# File 'lib/v20200324/models.rb', line 6151 def Source @Source end |
#State ⇒ Object
6151 6152 6153 |
# File 'lib/v20200324/models.rb', line 6151 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
6160 6161 6162 6163 6164 6165 |
# File 'lib/v20200324/models.rb', line 6160 def deserialize(params) @Source = params['Source'] @State = params['State'] @Reason = params['Reason'] @Content = params['Content'] end |