Class: TencentCloud::Zj::V20190121::SmsCampaignStatisticsCrowdData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::SmsCampaignStatisticsCrowdData
- Defined in:
- lib/v20190121/models.rb
Overview
短信活动统计人群包数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(crowdid = nil, crowdname = nil, crowdcount = nil, templatelist = nil) ⇒ SmsCampaignStatisticsCrowdData
constructor
A new instance of SmsCampaignStatisticsCrowdData.
Constructor Details
#initialize(crowdid = nil, crowdname = nil, crowdcount = nil, templatelist = nil) ⇒ SmsCampaignStatisticsCrowdData
Returns a new instance of SmsCampaignStatisticsCrowdData.
1729 1730 1731 1732 1733 1734 |
# File 'lib/v20190121/models.rb', line 1729 def initialize(crowdid=nil, crowdname=nil, crowdcount=nil, templatelist=nil) @CrowdId = crowdid @CrowdName = crowdname @CrowdCount = crowdcount @TemplateList = templatelist end |
Instance Attribute Details
#CrowdCount ⇒ Object
1727 1728 1729 |
# File 'lib/v20190121/models.rb', line 1727 def CrowdCount @CrowdCount end |
#CrowdId ⇒ Object
1727 1728 1729 |
# File 'lib/v20190121/models.rb', line 1727 def CrowdId @CrowdId end |
#CrowdName ⇒ Object
1727 1728 1729 |
# File 'lib/v20190121/models.rb', line 1727 def CrowdName @CrowdName end |
#TemplateList ⇒ Object
1727 1728 1729 |
# File 'lib/v20190121/models.rb', line 1727 def TemplateList @TemplateList end |
Instance Method Details
#deserialize(params) ⇒ Object
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 |
# File 'lib/v20190121/models.rb', line 1736 def deserialize(params) @CrowdId = params['CrowdId'] @CrowdName = params['CrowdName'] @CrowdCount = params['CrowdCount'] unless params['TemplateList'].nil? @TemplateList = [] params['TemplateList'].each do |i| smscampaignstatisticstemplatedata_tmp = SmsCampaignStatisticsTemplateData.new smscampaignstatisticstemplatedata_tmp.deserialize(i) @TemplateList << smscampaignstatisticstemplatedata_tmp end end end |