Class: TencentCloud::Clb::V20180317::DescribeQuotaResponse

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

Overview

DescribeQuota返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(quotaset = nil, requestid = nil) ⇒ DescribeQuotaResponse

Returns a new instance of DescribeQuotaResponse.



3796
3797
3798
3799
# File 'lib/v20180317/models.rb', line 3796

def initialize(quotaset=nil, requestid=nil)
  @QuotaSet = quotaset
  @RequestId = requestid
end

Instance Attribute Details

#QuotaSetObject

Parameters:

  • QuotaSet:

    配额列表

  • RequestId:

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



3794
3795
3796
# File 'lib/v20180317/models.rb', line 3794

def QuotaSet
  @QuotaSet
end

#RequestIdObject

Parameters:

  • QuotaSet:

    配额列表

  • RequestId:

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



3794
3795
3796
# File 'lib/v20180317/models.rb', line 3794

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
# File 'lib/v20180317/models.rb', line 3801

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