Class: TencentCloud::Cdn::V20180606::DescribePurgeQuotaResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribePurgeQuotaResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribePurgeQuota返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(urlpurge = nil, pathpurge = nil, requestid = nil) ⇒ DescribePurgeQuotaResponse
constructor
A new instance of DescribePurgeQuotaResponse.
Constructor Details
#initialize(urlpurge = nil, pathpurge = nil, requestid = nil) ⇒ DescribePurgeQuotaResponse
Returns a new instance of DescribePurgeQuotaResponse.
3824 3825 3826 3827 3828 |
# File 'lib/v20180606/models.rb', line 3824 def initialize(urlpurge=nil, pathpurge=nil, requestid=nil) @UrlPurge = urlpurge @PathPurge = pathpurge @RequestId = requestid end |
Instance Attribute Details
#PathPurge ⇒ Object
3822 3823 3824 |
# File 'lib/v20180606/models.rb', line 3822 def PathPurge @PathPurge end |
#RequestId ⇒ Object
3822 3823 3824 |
# File 'lib/v20180606/models.rb', line 3822 def RequestId @RequestId end |
#UrlPurge ⇒ Object
3822 3823 3824 |
# File 'lib/v20180606/models.rb', line 3822 def UrlPurge @UrlPurge end |
Instance Method Details
#deserialize(params) ⇒ Object
3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 |
# File 'lib/v20180606/models.rb', line 3830 def deserialize(params) unless params['UrlPurge'].nil? @UrlPurge = [] params['UrlPurge'].each do |i| quota_tmp = Quota.new quota_tmp.deserialize(i) @UrlPurge << quota_tmp end end unless params['PathPurge'].nil? @PathPurge = [] params['PathPurge'].each do |i| quota_tmp = Quota.new quota_tmp.deserialize(i) @PathPurge << quota_tmp end end @RequestId = params['RequestId'] end |