Class: TencentCloud::Tbm::V20180129::ProvincePortrait
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbm::V20180129::ProvincePortrait
- Defined in:
- lib/v20180129/models.rb
Overview
省份画像元素
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(province = nil, percent = nil) ⇒ ProvincePortrait
constructor
A new instance of ProvincePortrait.
Constructor Details
#initialize(province = nil, percent = nil) ⇒ ProvincePortrait
Returns a new instance of ProvincePortrait.
888 889 890 891 |
# File 'lib/v20180129/models.rb', line 888 def initialize(province=nil, percent=nil) @Province = province @Percent = percent end |
Instance Attribute Details
#Percent ⇒ Object
886 887 888 |
# File 'lib/v20180129/models.rb', line 886 def Percent @Percent end |
#Province ⇒ Object
886 887 888 |
# File 'lib/v20180129/models.rb', line 886 def Province @Province end |
Instance Method Details
#deserialize(params) ⇒ Object
893 894 895 896 |
# File 'lib/v20180129/models.rb', line 893 def deserialize(params) @Province = params['Province'] @Percent = params['Percent'] end |