Class: TencentCloud::As::V20180419::Advice
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::Advice
- Defined in:
- lib/v20180419/models.rb
Overview
伸缩配置建议。
Instance Attribute Summary collapse
-
#Detail ⇒ Object
- WARNING:警告级别
- CRITICAL:严重级别
. -
#Level ⇒ Object
- WARNING:警告级别
- CRITICAL:严重级别
. -
#Problem ⇒ Object
- WARNING:警告级别
- CRITICAL:严重级别
. -
#Solution ⇒ Object
- WARNING:警告级别
- CRITICAL:严重级别
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(problem = nil, detail = nil, solution = nil, level = nil) ⇒ Advice
constructor
A new instance of Advice.
Constructor Details
#initialize(problem = nil, detail = nil, solution = nil, level = nil) ⇒ Advice
Returns a new instance of Advice.
185 186 187 188 189 190 |
# File 'lib/v20180419/models.rb', line 185 def initialize(problem=nil, detail=nil, solution=nil, level=nil) @Problem = problem @Detail = detail @Solution = solution @Level = level end |
Instance Attribute Details
#Detail ⇒ Object
183 184 185 |
# File 'lib/v20180419/models.rb', line 183 def Detail @Detail end |
#Level ⇒ Object
183 184 185 |
# File 'lib/v20180419/models.rb', line 183 def Level @Level end |
#Problem ⇒ Object
183 184 185 |
# File 'lib/v20180419/models.rb', line 183 def Problem @Problem end |
#Solution ⇒ Object
183 184 185 |
# File 'lib/v20180419/models.rb', line 183 def Solution @Solution end |
Instance Method Details
#deserialize(params) ⇒ Object
192 193 194 195 196 197 |
# File 'lib/v20180419/models.rb', line 192 def deserialize(params) @Problem = params['Problem'] @Detail = params['Detail'] @Solution = params['Solution'] @Level = params['Level'] end |