Class: TencentCloud::Tke::V20180525::SwitchInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SwitchInfo
- Defined in:
- lib/v20180525/models.rb
Overview
日志开关详细信息
Instance Attribute Summary collapse
- #Enable ⇒ Object
- #ErrorMsg ⇒ Object
- #LogsetId ⇒ Object
- #Status ⇒ Object
- #TopicId ⇒ Object
- #TopicRegion ⇒ Object
- #UpgradeAble ⇒ Object
- #Version ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enable = nil, errormsg = nil, logsetid = nil, status = nil, topicid = nil, topicregion = nil, upgradeable = nil, version = nil) ⇒ SwitchInfo
constructor
A new instance of SwitchInfo.
Constructor Details
#initialize(enable = nil, errormsg = nil, logsetid = nil, status = nil, topicid = nil, topicregion = nil, upgradeable = nil, version = nil) ⇒ SwitchInfo
Returns a new instance of SwitchInfo.
20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 |
# File 'lib/v20180525/models.rb', line 20277 def initialize(enable=nil, errormsg=nil, logsetid=nil, status=nil, topicid=nil, topicregion=nil, upgradeable=nil, version=nil) @Enable = enable @ErrorMsg = errormsg @LogsetId = logsetid @Status = status @TopicId = topicid @TopicRegion = topicregion @UpgradeAble = upgradeable @Version = version end |
Instance Attribute Details
#Enable ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def Enable @Enable end |
#ErrorMsg ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def ErrorMsg @ErrorMsg end |
#LogsetId ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def LogsetId @LogsetId end |
#Status ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def Status @Status end |
#TopicId ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def TopicId @TopicId end |
#TopicRegion ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def TopicRegion @TopicRegion end |
#UpgradeAble ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def UpgradeAble @UpgradeAble end |
#Version ⇒ Object
20275 20276 20277 |
# File 'lib/v20180525/models.rb', line 20275 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 |
# File 'lib/v20180525/models.rb', line 20288 def deserialize(params) @Enable = params['Enable'] @ErrorMsg = params['ErrorMsg'] @LogsetId = params['LogsetId'] @Status = params['Status'] @TopicId = params['TopicId'] @TopicRegion = params['TopicRegion'] @UpgradeAble = params['UpgradeAble'] @Version = params['Version'] end |