Class: TencentCloud::Oceanus::V20190422::ClazzLevel

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

Overview

{ “Clazz”: “c1”, // java类全路径“Level”: “WARN” // 日志级别 TRACE,DEBUG、INFO、WARN、ERROR }

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ClazzObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Clazz:

    java类全路径

  • Level:

    日志级别 TRACE,DEBUG、INFO、WARN、ERROR



148
149
150
# File 'lib/v20190422/models.rb', line 148

def Clazz
  @Clazz
end

#LevelObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Clazz:

    java类全路径

  • Level:

    日志级别 TRACE,DEBUG、INFO、WARN、ERROR



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