Class: TencentCloud::Cdn::V20180606::DescribePushQuotaResponse

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

Overview

DescribePushQuota返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urlpush = nil, requestid = nil) ⇒ DescribePushQuotaResponse

Returns a new instance of DescribePushQuotaResponse.



5298
5299
5300
5301
# File 'lib/v20180606/models.rb', line 5298

def initialize(urlpush=nil, requestid=nil)
  @UrlPush = urlpush
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • UrlPush:

    Url预热用量及配额。

  • RequestId:

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



5296
5297
5298
# File 'lib/v20180606/models.rb', line 5296

def RequestId
  @RequestId
end

#UrlPushObject

Parameters:

  • UrlPush:

    Url预热用量及配额。

  • RequestId:

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



5296
5297
5298
# File 'lib/v20180606/models.rb', line 5296

def UrlPush
  @UrlPush
end

Instance Method Details

#deserialize(params) ⇒ Object



5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
# File 'lib/v20180606/models.rb', line 5303

def deserialize(params)
  unless params['UrlPush'].nil?
    @UrlPush = []
    params['UrlPush'].each do |i|
      quota_tmp = Quota.new
      quota_tmp.deserialize(i)
      @UrlPush << quota_tmp
    end
  end
  @RequestId = params['RequestId']
end