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.



1895
1896
1897
1898
1899
# File 'lib/v20190719/models.rb', line 1895

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。



1893
1894
1895
# File 'lib/v20190719/models.rb', line 1893

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    UserQuota条目总数

  • UserQuotaInfo:

    UserQuota条目

  • RequestId:

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



1893
1894
1895
# File 'lib/v20190719/models.rb', line 1893

def TotalCount
  @TotalCount
end

#UserQuotaInfoObject

Parameters:

  • TotalCount:

    UserQuota条目总数

  • UserQuotaInfo:

    UserQuota条目

  • RequestId:

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



1893
1894
1895
# File 'lib/v20190719/models.rb', line 1893

def UserQuotaInfo
  @UserQuotaInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/v20190719/models.rb', line 1901

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