Class: TencentCloud::Trp::V20210515::DescribeCorpQuotasResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::DescribeCorpQuotasResponse
- Defined in:
- lib/v20210515/models.rb
Overview
DescribeCorpQuotas返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(corpquotas = nil, total = nil, requestid = nil) ⇒ DescribeCorpQuotasResponse
constructor
A new instance of DescribeCorpQuotasResponse.
Constructor Details
#initialize(corpquotas = nil, total = nil, requestid = nil) ⇒ DescribeCorpQuotasResponse
Returns a new instance of DescribeCorpQuotasResponse.
2028 2029 2030 2031 2032 |
# File 'lib/v20210515/models.rb', line 2028 def initialize(corpquotas=nil, total=nil, requestid=nil) @CorpQuotas = corpquotas @Total = total @RequestId = requestid end |
Instance Attribute Details
#CorpQuotas ⇒ Object
2026 2027 2028 |
# File 'lib/v20210515/models.rb', line 2026 def CorpQuotas @CorpQuotas end |
#RequestId ⇒ Object
2026 2027 2028 |
# File 'lib/v20210515/models.rb', line 2026 def RequestId @RequestId end |
#Total ⇒ Object
2026 2027 2028 |
# File 'lib/v20210515/models.rb', line 2026 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 |
# File 'lib/v20210515/models.rb', line 2034 def deserialize(params) unless params['CorpQuotas'].nil? @CorpQuotas = [] params['CorpQuotas'].each do |i| corpquota_tmp = CorpQuota.new corpquota_tmp.deserialize(i) @CorpQuotas << corpquota_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |