Class: TencentCloud::Tbm::V20180129::BrandReportArticle
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::BrandReportArticle
- Defined in:
- lib/v20180129/models.rb
Overview
文章信息
Instance Attribute Summary collapse
- #Abstract ⇒ Object
- #ArticleId ⇒ Object
- #Flag ⇒ Object
- #FromSite ⇒ Object
- #Hot ⇒ Object
- #Level ⇒ Object
- #PubTime ⇒ Object
- #Title ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, url = nil, fromsite = nil, pubtime = nil, flag = nil, hot = nil, level = nil, abstract = nil, articleid = nil) ⇒ BrandReportArticle
constructor
A new instance of BrandReportArticle.
Constructor Details
#initialize(title = nil, url = nil, fromsite = nil, pubtime = nil, flag = nil, hot = nil, level = nil, abstract = nil, articleid = nil) ⇒ BrandReportArticle
Returns a new instance of BrandReportArticle.
86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/v20180129/models.rb', line 86 def initialize(title=nil, url=nil, fromsite=nil, pubtime=nil, flag=nil, hot=nil, level=nil, abstract=nil, articleid=nil) @Title = title @Url = url @FromSite = fromsite @PubTime = pubtime @Flag = flag @Hot = hot @Level = level @Abstract = abstract @ArticleId = articleid end |
Instance Attribute Details
#Abstract ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Abstract @Abstract end |
#ArticleId ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def ArticleId @ArticleId end |
#Flag ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Flag @Flag end |
#FromSite ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def FromSite @FromSite end |
#Hot ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Hot @Hot end |
#Level ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Level @Level end |
#PubTime ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def PubTime @PubTime end |
#Title ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Title @Title end |
#Url ⇒ Object
84 85 86 |
# File 'lib/v20180129/models.rb', line 84 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/v20180129/models.rb', line 98 def deserialize(params) @Title = params['Title'] @Url = params['Url'] @FromSite = params['FromSite'] @PubTime = params['PubTime'] @Flag = params['Flag'] @Hot = params['Hot'] @Level = params['Level'] @Abstract = params['Abstract'] @ArticleId = params['ArticleId'] end |