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.
5557 5558 5559 5560 |
# File 'lib/v20180525/models.rb', line 5557 def initialize(commonnames=nil, requestid=nil) @CommonNames = commonnames @RequestId = requestid end |
Instance Attribute Details
#CommonNames ⇒ Object
5555 5556 5557 |
# File 'lib/v20180525/models.rb', line 5555 def CommonNames @CommonNames end |
#RequestId ⇒ Object
5555 5556 5557 |
# File 'lib/v20180525/models.rb', line 5555 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 |
# File 'lib/v20180525/models.rb', line 5562 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 |