Class: TencentCloud::Tbm::V20180129::CommentInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::CommentInfo
- Defined in:
- lib/v20180129/models.rb
Overview
用户评论内容类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(comment = nil, date = nil) ⇒ CommentInfo
constructor
A new instance of CommentInfo.
Constructor Details
#initialize(comment = nil, date = nil) ⇒ CommentInfo
Returns a new instance of CommentInfo.
144 145 146 147 |
# File 'lib/v20180129/models.rb', line 144 def initialize(comment=nil, date=nil) @Comment = comment @Date = date end |
Instance Attribute Details
#Comment ⇒ Object
142 143 144 |
# File 'lib/v20180129/models.rb', line 142 def Comment @Comment end |
#Date ⇒ Object
142 143 144 |
# File 'lib/v20180129/models.rb', line 142 def Date @Date end |
Instance Method Details
#deserialize(params) ⇒ Object
149 150 151 152 |
# File 'lib/v20180129/models.rb', line 149 def deserialize(params) @Comment = params['Comment'] @Date = params['Date'] end |