Class: TencentCloud::Tke::V20180525::DescribeClusterCommonNamesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterCommonNamesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterCommonNames返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(commonnames = nil, requestid = nil) ⇒ DescribeClusterCommonNamesResponse
constructor
A new instance of DescribeClusterCommonNamesResponse.
Constructor Details
#initialize(commonnames = nil, requestid = nil) ⇒ DescribeClusterCommonNamesResponse
Returns a new instance of DescribeClusterCommonNamesResponse.
6103 6104 6105 6106 |
# File 'lib/v20180525/models.rb', line 6103 def initialize(commonnames=nil, requestid=nil) @CommonNames = commonnames @RequestId = requestid end |
Instance Attribute Details
#CommonNames ⇒ Object
6101 6102 6103 |
# File 'lib/v20180525/models.rb', line 6101 def CommonNames @CommonNames end |
#RequestId ⇒ Object
6101 6102 6103 |
# File 'lib/v20180525/models.rb', line 6101 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 |
# File 'lib/v20180525/models.rb', line 6108 def deserialize(params) unless params['CommonNames'].nil? @CommonNames = [] params['CommonNames'].each do |i| commonname_tmp = CommonName.new commonname_tmp.deserialize(i) @CommonNames << commonname_tmp end end @RequestId = params['RequestId'] end |