Class: TencentCloud::Cfs::V20190719::DescribeUserQuotaResponse

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

Overview

DescribeUserQuota返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, userquotainfo = nil, requestid = nil) ⇒ DescribeUserQuotaResponse

Returns a new instance of DescribeUserQuotaResponse.



2553
2554
2555
2556
2557
# File 'lib/v20190719/models.rb', line 2553

def initialize(totalcount=nil, userquotainfo=nil, requestid=nil)
  @TotalCount = totalcount
  @UserQuotaInfo = userquotainfo
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    UserQuota条目总数

  • UserQuotaInfo:

    UserQuota条目

  • RequestId:

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



2551
2552
2553
# File 'lib/v20190719/models.rb', line 2551

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    UserQuota条目总数

  • UserQuotaInfo:

    UserQuota条目

  • RequestId:

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



2551
2552
2553
# File 'lib/v20190719/models.rb', line 2551

def TotalCount
  @TotalCount
end

#UserQuotaInfoObject

Parameters:

  • TotalCount:

    UserQuota条目总数

  • UserQuotaInfo:

    UserQuota条目

  • RequestId:

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



2551
2552
2553
# File 'lib/v20190719/models.rb', line 2551

def UserQuotaInfo
  @UserQuotaInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
# File 'lib/v20190719/models.rb', line 2559

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['UserQuotaInfo'].nil?
    @UserQuotaInfo = []
    params['UserQuotaInfo'].each do |i|
      userquota_tmp = UserQuota.new
      userquota_tmp.deserialize(i)
      @UserQuotaInfo << userquota_tmp
    end
  end
  @RequestId = params['RequestId']
end