Class: TencentCloud::Mps::V20190612::DescribeAnimatedGraphicsTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeAnimatedGraphicsTemplatesResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeAnimatedGraphicsTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, animatedgraphicstemplateset = nil, requestid = nil) ⇒ DescribeAnimatedGraphicsTemplatesResponse
constructor
A new instance of DescribeAnimatedGraphicsTemplatesResponse.
Constructor Details
#initialize(totalcount = nil, animatedgraphicstemplateset = nil, requestid = nil) ⇒ DescribeAnimatedGraphicsTemplatesResponse
Returns a new instance of DescribeAnimatedGraphicsTemplatesResponse.
11852 11853 11854 11855 11856 |
# File 'lib/v20190612/models.rb', line 11852 def initialize(totalcount=nil, animatedgraphicstemplateset=nil, requestid=nil) @TotalCount = totalcount @AnimatedGraphicsTemplateSet = animatedgraphicstemplateset @RequestId = requestid end |
Instance Attribute Details
#AnimatedGraphicsTemplateSet ⇒ Object
11850 11851 11852 |
# File 'lib/v20190612/models.rb', line 11850 def AnimatedGraphicsTemplateSet @AnimatedGraphicsTemplateSet end |
#RequestId ⇒ Object
11850 11851 11852 |
# File 'lib/v20190612/models.rb', line 11850 def RequestId @RequestId end |
#TotalCount ⇒ Object
11850 11851 11852 |
# File 'lib/v20190612/models.rb', line 11850 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 |
# File 'lib/v20190612/models.rb', line 11858 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AnimatedGraphicsTemplateSet'].nil? @AnimatedGraphicsTemplateSet = [] params['AnimatedGraphicsTemplateSet'].each do |i| animatedgraphicstemplate_tmp = AnimatedGraphicsTemplate.new animatedgraphicstemplate_tmp.deserialize(i) @AnimatedGraphicsTemplateSet << animatedgraphicstemplate_tmp end end @RequestId = params['RequestId'] end |