Class: TencentCloud::Tbm::V20180129::MoviePortrait
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::MoviePortrait
- Defined in:
- lib/v20180129/models.rb
Overview
电影喜好画像元素
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, percent = nil) ⇒ MoviePortrait
constructor
A new instance of MoviePortrait.
Constructor Details
#initialize(name = nil, percent = nil) ⇒ MoviePortrait
Returns a new instance of MoviePortrait.
845 846 847 848 |
# File 'lib/v20180129/models.rb', line 845 def initialize(name=nil, percent=nil) @Name = name @Percent = percent end |
Instance Attribute Details
#Name ⇒ Object
843 844 845 |
# File 'lib/v20180129/models.rb', line 843 def Name @Name end |
#Percent ⇒ Object
843 844 845 |
# File 'lib/v20180129/models.rb', line 843 def Percent @Percent end |
Instance Method Details
#deserialize(params) ⇒ Object
850 851 852 853 |
# File 'lib/v20180129/models.rb', line 850 def deserialize(params) @Name = params['Name'] @Percent = params['Percent'] end |