Class: TencentCloud::Tke::V20180525::ControllerStatus
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ControllerStatus
- Defined in:
- lib/v20180525/models.rb
Overview
集群中控制器的状态描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, enabled = nil) ⇒ ControllerStatus
constructor
A new instance of ControllerStatus.
Constructor Details
#initialize(name = nil, enabled = nil) ⇒ ControllerStatus
Returns a new instance of ControllerStatus.
1850 1851 1852 1853 |
# File 'lib/v20180525/models.rb', line 1850 def initialize(name=nil, enabled=nil) @Name = name @Enabled = enabled end |
Instance Attribute Details
#Enabled ⇒ Object
1848 1849 1850 |
# File 'lib/v20180525/models.rb', line 1848 def Enabled @Enabled end |
#Name ⇒ Object
1848 1849 1850 |
# File 'lib/v20180525/models.rb', line 1848 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1855 1856 1857 1858 |
# File 'lib/v20180525/models.rb', line 1855 def deserialize(params) @Name = params['Name'] @Enabled = params['Enabled'] end |