Class: TencentCloud::Tbm::V20180129::DescribeBrandNegCommentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::DescribeBrandNegCommentsResponse
- Defined in:
- lib/v20180129/models.rb
Overview
DescribeBrandNegComments返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(brandcommentset = nil, totalcomments = nil, requestid = nil) ⇒ DescribeBrandNegCommentsResponse
constructor
A new instance of DescribeBrandNegCommentsResponse.
Constructor Details
#initialize(brandcommentset = nil, totalcomments = nil, requestid = nil) ⇒ DescribeBrandNegCommentsResponse
Returns a new instance of DescribeBrandNegCommentsResponse.
379 380 381 382 383 |
# File 'lib/v20180129/models.rb', line 379 def initialize(brandcommentset=nil, totalcomments=nil, requestid=nil) @BrandCommentSet = brandcommentset @TotalComments = totalcomments @RequestId = requestid end |
Instance Attribute Details
#BrandCommentSet ⇒ Object
377 378 379 |
# File 'lib/v20180129/models.rb', line 377 def BrandCommentSet @BrandCommentSet end |
#RequestId ⇒ Object
377 378 379 |
# File 'lib/v20180129/models.rb', line 377 def RequestId @RequestId end |
#TotalComments ⇒ Object
377 378 379 |
# File 'lib/v20180129/models.rb', line 377 def TotalComments @TotalComments end |
Instance Method Details
#deserialize(params) ⇒ Object
385 386 387 388 389 390 391 392 393 394 395 396 |
# File 'lib/v20180129/models.rb', line 385 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 |