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.
5161 5162 5163 5164 5165 |
# File 'lib/v20180606/models.rb', line 5161 def initialize(urlpurge=nil, pathpurge=nil, requestid=nil) @UrlPurge = urlpurge @PathPurge = pathpurge @RequestId = requestid end |
Instance Attribute Details
#PathPurge ⇒ Object
5159 5160 5161 |
# File 'lib/v20180606/models.rb', line 5159 def PathPurge @PathPurge end |
#RequestId ⇒ Object
5159 5160 5161 |
# File 'lib/v20180606/models.rb', line 5159 def RequestId @RequestId end |
#UrlPurge ⇒ Object
5159 5160 5161 |
# File 'lib/v20180606/models.rb', line 5159 def UrlPurge @UrlPurge end |
Instance Method Details
#deserialize(params) ⇒ Object
5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 |
# File 'lib/v20180606/models.rb', line 5167 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 |