Class: TencentCloud::Tci::V20190318::HighlightsInfomation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::HighlightsInfomation
- Defined in:
- lib/v20190318/models.rb
Overview
精彩集锦信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(concentration = nil, smile = nil, highlightsurl = nil, personid = nil) ⇒ HighlightsInfomation
constructor
A new instance of HighlightsInfomation.
Constructor Details
#initialize(concentration = nil, smile = nil, highlightsurl = nil, personid = nil) ⇒ HighlightsInfomation
Returns a new instance of HighlightsInfomation.
2286 2287 2288 2289 2290 2291 |
# File 'lib/v20190318/models.rb', line 2286 def initialize(concentration=nil, smile=nil, highlightsurl=nil, personid=nil) @Concentration = concentration @Smile = smile @HighlightsUrl = highlightsurl @PersonId = personid end |
Instance Attribute Details
#Concentration ⇒ Object
2284 2285 2286 |
# File 'lib/v20190318/models.rb', line 2284 def Concentration @Concentration end |
#HighlightsUrl ⇒ Object
2284 2285 2286 |
# File 'lib/v20190318/models.rb', line 2284 def HighlightsUrl @HighlightsUrl end |
#PersonId ⇒ Object
2284 2285 2286 |
# File 'lib/v20190318/models.rb', line 2284 def PersonId @PersonId end |
#Smile ⇒ Object
2284 2285 2286 |
# File 'lib/v20190318/models.rb', line 2284 def Smile @Smile end |
Instance Method Details
#deserialize(params) ⇒ Object
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 |
# File 'lib/v20190318/models.rb', line 2293 def deserialize(params) unless params['Concentration'].nil? @Concentration = [] params['Concentration'].each do |i| timetype_tmp = TimeType.new timetype_tmp.deserialize(i) @Concentration << timetype_tmp end end unless params['Smile'].nil? @Smile = [] params['Smile'].each do |i| timetype_tmp = TimeType.new timetype_tmp.deserialize(i) @Smile << timetype_tmp end end @HighlightsUrl = params['HighlightsUrl'] @PersonId = params['PersonId'] end |