Class: TencentCloud::Tbm::V20180129::DescribeBrandPosCommentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::DescribeBrandPosCommentsResponse
- Defined in:
- lib/v20180129/models.rb
Overview
DescribeBrandPosComments返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(brandcommentset = nil, totalcomments = nil, requestid = nil) ⇒ DescribeBrandPosCommentsResponse
constructor
A new instance of DescribeBrandPosCommentsResponse.
Constructor Details
#initialize(brandcommentset = nil, totalcomments = nil, requestid = nil) ⇒ DescribeBrandPosCommentsResponse
Returns a new instance of DescribeBrandPosCommentsResponse.
442 443 444 445 446 |
# File 'lib/v20180129/models.rb', line 442 def initialize(brandcommentset=nil, totalcomments=nil, requestid=nil) @BrandCommentSet = brandcommentset @TotalComments = totalcomments @RequestId = requestid end |
Instance Attribute Details
#BrandCommentSet ⇒ Object
440 441 442 |
# File 'lib/v20180129/models.rb', line 440 def BrandCommentSet @BrandCommentSet end |
#RequestId ⇒ Object
440 441 442 |
# File 'lib/v20180129/models.rb', line 440 def RequestId @RequestId end |
#TotalComments ⇒ Object
440 441 442 |
# File 'lib/v20180129/models.rb', line 440 def TotalComments @TotalComments end |
Instance Method Details
#deserialize(params) ⇒ Object
448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/v20180129/models.rb', line 448 def deserialize(params) unless params['BrandCommentSet'].nil? @BrandCommentSet = [] params['BrandCommentSet'].each do |i| commentinfo_tmp = CommentInfo.new commentinfo_tmp.deserialize(i) @BrandCommentSet << commentinfo_tmp end end @TotalComments = params['TotalComments'] @RequestId = params['RequestId'] end |