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.



1616
1617
1618
1619
1620
# File 'lib/v20170312/models.rb', line 1616

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

Instance Attribute Details

#AccountQuotaOverviewObject

Parameters:

  • AppId:

    用户appid

  • AccountQuotaOverview:

    配额数据

  • RequestId:

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



1614
1615
1616
# File 'lib/v20170312/models.rb', line 1614

def AccountQuotaOverview
  @AccountQuotaOverview
end

#AppIdObject

Parameters:

  • AppId:

    用户appid

  • AccountQuotaOverview:

    配额数据

  • RequestId:

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



1614
1615
1616
# File 'lib/v20170312/models.rb', line 1614

def AppId
  @AppId
end

#RequestIdObject

Parameters:

  • AppId:

    用户appid

  • AccountQuotaOverview:

    配额数据

  • RequestId:

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



1614
1615
1616
# File 'lib/v20170312/models.rb', line 1614

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/v20170312/models.rb', line 1622

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