Class: TencentCloud::Ssl::V20191205::TkeInstanceDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::TkeInstanceDetail
- Defined in:
- lib/v20191205/models.rb
Overview
tke实例详情
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #ClusterName ⇒ Object
- #ClusterType ⇒ Object
- #ClusterVersion ⇒ Object
- #NamespaceList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustername = nil, namespacelist = nil, clustertype = nil, clusterversion = nil) ⇒ TkeInstanceDetail
constructor
A new instance of TkeInstanceDetail.
Constructor Details
#initialize(clusterid = nil, clustername = nil, namespacelist = nil, clustertype = nil, clusterversion = nil) ⇒ TkeInstanceDetail
Returns a new instance of TkeInstanceDetail.
7902 7903 7904 7905 7906 7907 7908 |
# File 'lib/v20191205/models.rb', line 7902 def initialize(clusterid=nil, clustername=nil, namespacelist=nil, clustertype=nil, clusterversion=nil) @ClusterId = clusterid @ClusterName = clustername @NamespaceList = namespacelist @ClusterType = clustertype @ClusterVersion = clusterversion end |
Instance Attribute Details
#ClusterId ⇒ Object
7900 7901 7902 |
# File 'lib/v20191205/models.rb', line 7900 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
7900 7901 7902 |
# File 'lib/v20191205/models.rb', line 7900 def ClusterName @ClusterName end |
#ClusterType ⇒ Object
7900 7901 7902 |
# File 'lib/v20191205/models.rb', line 7900 def ClusterType @ClusterType end |
#ClusterVersion ⇒ Object
7900 7901 7902 |
# File 'lib/v20191205/models.rb', line 7900 def ClusterVersion @ClusterVersion end |
#NamespaceList ⇒ Object
7900 7901 7902 |
# File 'lib/v20191205/models.rb', line 7900 def NamespaceList @NamespaceList end |
Instance Method Details
#deserialize(params) ⇒ Object
7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 |
# File 'lib/v20191205/models.rb', line 7910 def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] unless params['NamespaceList'].nil? @NamespaceList = [] params['NamespaceList'].each do |i| tkenamespacedetail_tmp = TkeNameSpaceDetail.new tkenamespacedetail_tmp.deserialize(i) @NamespaceList << tkenamespacedetail_tmp end end @ClusterType = params['ClusterType'] @ClusterVersion = params['ClusterVersion'] end |