Class: TencentCloud::Tke::V20180525::ClusterLevelAttribute
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterLevelAttribute
- Defined in:
- lib/v20180525/models.rb
Overview
托管集群等级属性
Instance Attribute Summary collapse
- #Alias ⇒ Object
- #ConfigMapCount ⇒ Object
- #CRDCount ⇒ Object
- #Enable ⇒ Object
- #Name ⇒ Object
- #NodeCount ⇒ Object
- #OtherCount ⇒ Object
- #PodCount ⇒ Object
- #RSCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, _alias = nil, nodecount = nil, podcount = nil, configmapcount = nil, rscount = nil, crdcount = nil, enable = nil, othercount = nil) ⇒ ClusterLevelAttribute
constructor
A new instance of ClusterLevelAttribute.
Constructor Details
#initialize(name = nil, _alias = nil, nodecount = nil, podcount = nil, configmapcount = nil, rscount = nil, crdcount = nil, enable = nil, othercount = nil) ⇒ ClusterLevelAttribute
Returns a new instance of ClusterLevelAttribute.
1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'lib/v20180525/models.rb', line 1440 def initialize(name=nil, _alias=nil, nodecount=nil, podcount=nil, configmapcount=nil, rscount=nil, crdcount=nil, enable=nil, othercount=nil) @Name = name @Alias = _alias @NodeCount = nodecount @PodCount = podcount @ConfigMapCount = configmapcount @RSCount = rscount @CRDCount = crdcount @Enable = enable @OtherCount = othercount end |
Instance Attribute Details
#Alias ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def Alias @Alias end |
#ConfigMapCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def ConfigMapCount @ConfigMapCount end |
#CRDCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def CRDCount @CRDCount end |
#Enable ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def Enable @Enable end |
#Name ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def Name @Name end |
#NodeCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def NodeCount @NodeCount end |
#OtherCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def OtherCount @OtherCount end |
#PodCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def PodCount @PodCount end |
#RSCount ⇒ Object
1438 1439 1440 |
# File 'lib/v20180525/models.rb', line 1438 def RSCount @RSCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'lib/v20180525/models.rb', line 1452 def deserialize(params) @Name = params['Name'] @Alias = params['Alias'] @NodeCount = params['NodeCount'] @PodCount = params['PodCount'] @ConfigMapCount = params['ConfigMapCount'] @RSCount = params['RSCount'] @CRDCount = params['CRDCount'] @Enable = params['Enable'] @OtherCount = params['OtherCount'] end |