Class: TencentCloud::Oceanus::V20190422::ClazzLevel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::ClazzLevel
- Defined in:
- lib/v20190422/models.rb
Overview
{ “Clazz”: “c1”, // java类全路径“Level”: “WARN” // 日志级别 TRACE,DEBUG、INFO、WARN、ERROR }
Instance Attribute Summary collapse
-
#Clazz ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Level ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clazz = nil, level = nil) ⇒ ClazzLevel
constructor
A new instance of ClazzLevel.
Constructor Details
#initialize(clazz = nil, level = nil) ⇒ ClazzLevel
Returns a new instance of ClazzLevel.
150 151 152 153 |
# File 'lib/v20190422/models.rb', line 150 def initialize(clazz=nil, level=nil) @Clazz = clazz @Level = level end |
Instance Attribute Details
#Clazz ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
148 149 150 |
# File 'lib/v20190422/models.rb', line 148 def Clazz @Clazz end |
#Level ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
148 149 150 |
# File 'lib/v20190422/models.rb', line 148 def Level @Level end |
Instance Method Details
#deserialize(params) ⇒ Object
155 156 157 158 |
# File 'lib/v20190422/models.rb', line 155 def deserialize(params) @Clazz = params['Clazz'] @Level = params['Level'] end |