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.
19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 |
# File 'lib/v20180525/models.rb', line 19853 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
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def Enable @Enable end |
#ErrorMsg ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def ErrorMsg @ErrorMsg end |
#LogsetId ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def LogsetId @LogsetId end |
#Status ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def Status @Status end |
#TopicId ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def TopicId @TopicId end |
#TopicRegion ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def TopicRegion @TopicRegion end |
#UpgradeAble ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def UpgradeAble @UpgradeAble end |
#Version ⇒ Object
19851 19852 19853 |
# File 'lib/v20180525/models.rb', line 19851 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 |
# File 'lib/v20180525/models.rb', line 19864 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 |