Class: TencentCloud::Tbm::V20180129::StarPortrait
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::StarPortrait
- Defined in:
- lib/v20180129/models.rb
Overview
明星喜好画像元素
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, percent = nil) ⇒ StarPortrait
constructor
A new instance of StarPortrait.
Constructor Details
#initialize(name = nil, percent = nil) ⇒ StarPortrait
Returns a new instance of StarPortrait.
931 932 933 934 |
# File 'lib/v20180129/models.rb', line 931 def initialize(name=nil, percent=nil) @Name = name @Percent = percent end |
Instance Attribute Details
#Name ⇒ Object
929 930 931 |
# File 'lib/v20180129/models.rb', line 929 def Name @Name end |
#Percent ⇒ Object
929 930 931 |
# File 'lib/v20180129/models.rb', line 929 def Percent @Percent end |
Instance Method Details
#deserialize(params) ⇒ Object
936 937 938 939 |
# File 'lib/v20180129/models.rb', line 936 def deserialize(params) @Name = params['Name'] @Percent = params['Percent'] end |