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.
3688 3689 3690 3691 3692 |
# File 'lib/v20180606/models.rb', line 3688 def initialize(urlpurge=nil, pathpurge=nil, requestid=nil) @UrlPurge = urlpurge @PathPurge = pathpurge @RequestId = requestid end |
Instance Attribute Details
#PathPurge ⇒ Object
3686 3687 3688 |
# File 'lib/v20180606/models.rb', line 3686 def PathPurge @PathPurge end |
#RequestId ⇒ Object
3686 3687 3688 |
# File 'lib/v20180606/models.rb', line 3686 def RequestId @RequestId end |
#UrlPurge ⇒ Object
3686 3687 3688 |
# File 'lib/v20180606/models.rb', line 3686 def UrlPurge @UrlPurge end |
Instance Method Details
#deserialize(params) ⇒ Object
3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 |
# File 'lib/v20180606/models.rb', line 3694 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 |