Class: TencentCloud::Tbm::V20180129::Comment
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::Comment
- Defined in:
- lib/v20180129/models.rb
Overview
用户好评差评个数信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(date = nil, negcommentcount = nil, poscommentcount = nil) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(date = nil, negcommentcount = nil, poscommentcount = nil) ⇒ Comment
Returns a new instance of Comment.
122 123 124 125 126 |
# File 'lib/v20180129/models.rb', line 122 def initialize(date=nil, negcommentcount=nil, poscommentcount=nil) @Date = date @NegCommentCount = negcommentcount @PosCommentCount = poscommentcount end |
Instance Attribute Details
#Date ⇒ Object
120 121 122 |
# File 'lib/v20180129/models.rb', line 120 def Date @Date end |
#NegCommentCount ⇒ Object
120 121 122 |
# File 'lib/v20180129/models.rb', line 120 def NegCommentCount @NegCommentCount end |
#PosCommentCount ⇒ Object
120 121 122 |
# File 'lib/v20180129/models.rb', line 120 def PosCommentCount @PosCommentCount end |
Instance Method Details
#deserialize(params) ⇒ Object
128 129 130 131 132 |
# File 'lib/v20180129/models.rb', line 128 def deserialize(params) @Date = params['Date'] @NegCommentCount = params['NegCommentCount'] @PosCommentCount = params['PosCommentCount'] end |