Class: TencentCloud::Ses::V20201002::GetStatisticsReportResponse

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

Overview

GetStatisticsReport返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DailyVolumesObject

Parameters:

  • DailyVolumes:

    发信统计报告,按天

  • OverallVolume:

    发信统计报告,总览

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1030
1031
1032
# File 'lib/v20201002/models.rb', line 1030

def DailyVolumes
  @DailyVolumes
end

#OverallVolumeObject

Parameters:

  • DailyVolumes:

    发信统计报告,按天

  • OverallVolume:

    发信统计报告,总览

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1030
1031
1032
# File 'lib/v20201002/models.rb', line 1030

def OverallVolume
  @OverallVolume
end

#RequestIdObject

Parameters:

  • DailyVolumes:

    发信统计报告,按天

  • OverallVolume:

    发信统计报告,总览

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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