Class: TencentCloud::Tbm::V20180129::CommentInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180129/models.rb

Overview

用户评论内容类型

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CommentObject

Parameters:

  • Comment:

    用户评论内容

  • Date:

    评论的时间



142
143
144
# File 'lib/v20180129/models.rb', line 142

def Comment
  @Comment
end

#DateObject

Parameters:

  • Comment:

    用户评论内容

  • Date:

    评论的时间



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