Class: TencentCloud::Vod::V20180717::DescribeAnimatedGraphicsTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeAnimatedGraphicsTemplatesResponse
- Defined in:
- lib/v20180717/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.
9881 9882 9883 9884 9885 |
# File 'lib/v20180717/models.rb', line 9881 def initialize(totalcount=nil, animatedgraphicstemplateset=nil, requestid=nil) @TotalCount = totalcount @AnimatedGraphicsTemplateSet = animatedgraphicstemplateset @RequestId = requestid end |
Instance Attribute Details
#AnimatedGraphicsTemplateSet ⇒ Object
9879 9880 9881 |
# File 'lib/v20180717/models.rb', line 9879 def AnimatedGraphicsTemplateSet @AnimatedGraphicsTemplateSet end |
#RequestId ⇒ Object
9879 9880 9881 |
# File 'lib/v20180717/models.rb', line 9879 def RequestId @RequestId end |
#TotalCount ⇒ Object
9879 9880 9881 |
# File 'lib/v20180717/models.rb', line 9879 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 |
# File 'lib/v20180717/models.rb', line 9887 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 |