Class: TencentCloud::Ses::V20201002::GetStatisticsReportResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::GetStatisticsReportResponse
- Defined in:
- lib/v20201002/models.rb
Overview
GetStatisticsReport返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dailyvolumes = nil, overallvolume = nil, requestid = nil) ⇒ GetStatisticsReportResponse
constructor
A new instance of GetStatisticsReportResponse.
Constructor Details
#initialize(dailyvolumes = nil, overallvolume = nil, requestid = nil) ⇒ GetStatisticsReportResponse
Returns a new instance of GetStatisticsReportResponse.
1032 1033 1034 1035 1036 |
# File 'lib/v20201002/models.rb', line 1032 def initialize(dailyvolumes=nil, overallvolume=nil, requestid=nil) @DailyVolumes = dailyvolumes @OverallVolume = overallvolume @RequestId = requestid end |
Instance Attribute Details
#DailyVolumes ⇒ Object
1030 1031 1032 |
# File 'lib/v20201002/models.rb', line 1030 def DailyVolumes @DailyVolumes end |
#OverallVolume ⇒ Object
1030 1031 1032 |
# File 'lib/v20201002/models.rb', line 1030 def OverallVolume @OverallVolume end |
#RequestId ⇒ Object
1030 1031 1032 |
# File 'lib/v20201002/models.rb', line 1030 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 |
# File 'lib/v20201002/models.rb', line 1038 def deserialize(params) unless params['DailyVolumes'].nil? @DailyVolumes = [] params['DailyVolumes'].each do |i| volume_tmp = Volume.new volume_tmp.deserialize(i) @DailyVolumes << volume_tmp end end unless params['OverallVolume'].nil? @OverallVolume = Volume.new @OverallVolume.deserialize(params['OverallVolume']) end @RequestId = params['RequestId'] end |