Class: TencentCloud::Cvm::V20170312::DescribeAccountQuotaResponse

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

Overview

DescribeAccountQuota返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appid = nil, accountquotaoverview = nil, requestid = nil) ⇒ DescribeAccountQuotaResponse

Returns a new instance of DescribeAccountQuotaResponse.



1847
1848
1849
1850
1851
# File 'lib/v20170312/models.rb', line 1847

def initialize(appid=nil, accountquotaoverview=nil, requestid=nil)
  @AppId = appid
  @AccountQuotaOverview = accountquotaoverview
  @RequestId = requestid
end

Instance Attribute Details

#AccountQuotaOverview ⇒ Object

Parameters:

  • AppId: —

    用户appid

  • AccountQuotaOverview: —

    配额数据

  • RequestId: —

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



1845
1846
1847
# File 'lib/v20170312/models.rb', line 1845

def AccountQuotaOverview
  @AccountQuotaOverview
end

#AppId ⇒ Object

Parameters:

  • AppId: —

    用户appid

  • AccountQuotaOverview: —

    配额数据

  • RequestId: —

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



1845
1846
1847
# File 'lib/v20170312/models.rb', line 1845

def AppId
  @AppId
end

#RequestId ⇒ Object

Parameters:

  • AppId: —

    用户appid

  • AccountQuotaOverview: —

    配额数据

  • RequestId: —

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



1845
1846
1847
# File 'lib/v20170312/models.rb', line 1845

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1853
1854
1855
1856
1857
1858
1859
1860
# File 'lib/v20170312/models.rb', line 1853

def deserialize(params)
  @AppId = params['AppId']
  unless params['AccountQuotaOverview'].nil?
    @AccountQuotaOverview = AccountQuotaOverview.new
    @AccountQuotaOverview.deserialize(params['AccountQuotaOverview'])
  end
  @RequestId = params['RequestId']
end