Class: TencentCloud::Cynosdb::V20190107::DescribeParamTemplatesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::DescribeParamTemplatesResponse
- Defined in:
- lib/v20190107/models.rb
Overview
DescribeParamTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeParamTemplatesResponse
constructor
A new instance of DescribeParamTemplatesResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeParamTemplatesResponse
Returns a new instance of DescribeParamTemplatesResponse.
7182 7183 7184 7185 7186 |
# File 'lib/v20190107/models.rb', line 7182 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7180 7181 7182 |
# File 'lib/v20190107/models.rb', line 7180 def Items @Items end |
#RequestId ⇒ Object
7180 7181 7182 |
# File 'lib/v20190107/models.rb', line 7180 def RequestId @RequestId end |
#TotalCount ⇒ Object
7180 7181 7182 |
# File 'lib/v20190107/models.rb', line 7180 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 |
# File 'lib/v20190107/models.rb', line 7188 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| paramtemplatelistinfo_tmp = ParamTemplateListInfo.new paramtemplatelistinfo_tmp.deserialize(i) @Items << paramtemplatelistinfo_tmp end end @RequestId = params['RequestId'] end |