Class: TencentCloud::Tke::V20180525::ClusterVersion

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

集群版本信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, versions = nil) ⇒ ClusterVersion

Returns a new instance of ClusterVersion.



1658
1659
1660
1661
# File 'lib/v20180525/models.rb', line 1658

def initialize(clusterid=nil, versions=nil)
  @ClusterId = clusterid
  @Versions = versions
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Versions:

    集群主版本号列表,例如1.18.4



1656
1657
1658
# File 'lib/v20180525/models.rb', line 1656

def ClusterId
  @ClusterId
end

#VersionsObject

Parameters:

  • ClusterId:

    集群ID

  • Versions:

    集群主版本号列表,例如1.18.4



1656
1657
1658
# File 'lib/v20180525/models.rb', line 1656

def Versions
  @Versions
end

Instance Method Details

#deserialize(params) ⇒ Object



1663
1664
1665
1666
# File 'lib/v20180525/models.rb', line 1663

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Versions = params['Versions']
end