Class: TencentCloud::Tbm::V20180129::MoviePortrait

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

Overview

电影喜好画像元素

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#NameObject

Parameters:

  • Name:

    电影名称

  • Percent:

    百分比



843
844
845
# File 'lib/v20180129/models.rb', line 843

def Name
  @Name
end

#PercentObject

Parameters:

  • Name:

    电影名称

  • Percent:

    百分比



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