Class: TencentCloud::Tbm::V20180129::DescribeBrandCommentCountResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::DescribeBrandCommentCountResponse
- Defined in:
- lib/v20180129/models.rb
Overview
DescribeBrandCommentCount返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(commentset = nil, requestid = nil) ⇒ DescribeBrandCommentCountResponse
constructor
A new instance of DescribeBrandCommentCountResponse.
Constructor Details
#initialize(commentset = nil, requestid = nil) ⇒ DescribeBrandCommentCountResponse
Returns a new instance of DescribeBrandCommentCountResponse.
208 209 210 211 |
# File 'lib/v20180129/models.rb', line 208 def initialize(commentset=nil, requestid=nil) @CommentSet = commentset @RequestId = requestid end |
Instance Attribute Details
#CommentSet ⇒ Object
206 207 208 |
# File 'lib/v20180129/models.rb', line 206 def CommentSet @CommentSet end |
#RequestId ⇒ Object
206 207 208 |
# File 'lib/v20180129/models.rb', line 206 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/v20180129/models.rb', line 213 def deserialize(params) unless params['CommentSet'].nil? @CommentSet = [] params['CommentSet'].each do |i| comment_tmp = Comment.new comment_tmp.deserialize(i) @CommentSet << comment_tmp end end @RequestId = params['RequestId'] end |