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.
5149 5150 5151 5152 5153 |
# File 'lib/v20180606/models.rb', line 5149 def initialize(urlpurge=nil, pathpurge=nil, requestid=nil) @UrlPurge = urlpurge @PathPurge = pathpurge @RequestId = requestid end |
Instance Attribute Details
#PathPurge ⇒ Object
5147 5148 5149 |
# File 'lib/v20180606/models.rb', line 5147 def PathPurge @PathPurge end |
#RequestId ⇒ Object
5147 5148 5149 |
# File 'lib/v20180606/models.rb', line 5147 def RequestId @RequestId end |
#UrlPurge ⇒ Object
5147 5148 5149 |
# File 'lib/v20180606/models.rb', line 5147 def UrlPurge @UrlPurge end |
Instance Method Details
#deserialize(params) ⇒ Object
5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 |
# File 'lib/v20180606/models.rb', line 5155 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 |