Class: TencentCloud::Vod::V20180717::DescribeMPSTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeMPSTemplatesResponse
- Defined in:
- lib/v20180717/models.rb
Overview
DescribeMPSTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, mpstemplateset = nil, requestid = nil) ⇒ DescribeMPSTemplatesResponse
constructor
A new instance of DescribeMPSTemplatesResponse.
Constructor Details
#initialize(totalcount = nil, mpstemplateset = nil, requestid = nil) ⇒ DescribeMPSTemplatesResponse
Returns a new instance of DescribeMPSTemplatesResponse.
11503 11504 11505 11506 11507 |
# File 'lib/v20180717/models.rb', line 11503 def initialize(totalcount=nil, mpstemplateset=nil, requestid=nil) @TotalCount = totalcount @MPSTemplateSet = mpstemplateset @RequestId = requestid end |
Instance Attribute Details
#MPSTemplateSet ⇒ Object
11501 11502 11503 |
# File 'lib/v20180717/models.rb', line 11501 def MPSTemplateSet @MPSTemplateSet end |
#RequestId ⇒ Object
11501 11502 11503 |
# File 'lib/v20180717/models.rb', line 11501 def RequestId @RequestId end |
#TotalCount ⇒ Object
11501 11502 11503 |
# File 'lib/v20180717/models.rb', line 11501 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 |
# File 'lib/v20180717/models.rb', line 11509 def deserialize(params) @TotalCount = params['TotalCount'] unless params['MPSTemplateSet'].nil? @MPSTemplateSet = [] params['MPSTemplateSet'].each do |i| mpstemplate_tmp = MPSTemplate.new mpstemplate_tmp.deserialize(i) @MPSTemplateSet << mpstemplate_tmp end end @RequestId = params['RequestId'] end |