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.
18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 |
# File 'lib/v20180525/models.rb', line 18398 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
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def Enable @Enable end |
#ErrorMsg ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def ErrorMsg @ErrorMsg end |
#LogsetId ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def LogsetId @LogsetId end |
#Status ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def Status @Status end |
#TopicId ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def TopicId @TopicId end |
#TopicRegion ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def TopicRegion @TopicRegion end |
#UpgradeAble ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def UpgradeAble @UpgradeAble end |
#Version ⇒ Object
18396 18397 18398 |
# File 'lib/v20180525/models.rb', line 18396 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 |
# File 'lib/v20180525/models.rb', line 18409 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 |