Class: TencentCloud::Zj::V20190121::SmsCampaignStatisticsData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::SmsCampaignStatisticsData
- Defined in:
- lib/v20190121/models.rb
Overview
短信活动统计响应
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(campaignid = nil, statistics = nil) ⇒ SmsCampaignStatisticsData
constructor
A new instance of SmsCampaignStatisticsData.
Constructor Details
#initialize(campaignid = nil, statistics = nil) ⇒ SmsCampaignStatisticsData
Returns a new instance of SmsCampaignStatisticsData.
1760 1761 1762 1763 |
# File 'lib/v20190121/models.rb', line 1760 def initialize(campaignid=nil, statistics=nil) @CampaignId = campaignid @Statistics = statistics end |
Instance Attribute Details
#CampaignId ⇒ Object
1758 1759 1760 |
# File 'lib/v20190121/models.rb', line 1758 def CampaignId @CampaignId end |
#Statistics ⇒ Object
1758 1759 1760 |
# File 'lib/v20190121/models.rb', line 1758 def Statistics @Statistics end |
Instance Method Details
#deserialize(params) ⇒ Object
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 |
# File 'lib/v20190121/models.rb', line 1765 def deserialize(params) @CampaignId = params['CampaignId'] unless params['Statistics'].nil? @Statistics = [] params['Statistics'].each do |i| smscampaignstatisticscrowddata_tmp = SmsCampaignStatisticsCrowdData.new smscampaignstatisticscrowddata_tmp.deserialize(i) @Statistics << smscampaignstatisticscrowddata_tmp end end end |