Class: TencentCloud::Lighthouse::V20200324::DescribeGeneralResourceQuotasResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeGeneralResourceQuotasResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeGeneralResourceQuotas返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(generalresourcequotaset = nil, requestid = nil) ⇒ DescribeGeneralResourceQuotasResponse
constructor
A new instance of DescribeGeneralResourceQuotasResponse.
Constructor Details
#initialize(generalresourcequotaset = nil, requestid = nil) ⇒ DescribeGeneralResourceQuotasResponse
Returns a new instance of DescribeGeneralResourceQuotasResponse.
3090 3091 3092 3093 |
# File 'lib/v20200324/models.rb', line 3090 def initialize(generalresourcequotaset=nil, requestid=nil) @GeneralResourceQuotaSet = generalresourcequotaset @RequestId = requestid end |
Instance Attribute Details
#GeneralResourceQuotaSet ⇒ Object
3088 3089 3090 |
# File 'lib/v20200324/models.rb', line 3088 def GeneralResourceQuotaSet @GeneralResourceQuotaSet end |
#RequestId ⇒ Object
3088 3089 3090 |
# File 'lib/v20200324/models.rb', line 3088 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 |
# File 'lib/v20200324/models.rb', line 3095 def deserialize(params) unless params['GeneralResourceQuotaSet'].nil? @GeneralResourceQuotaSet = [] params['GeneralResourceQuotaSet'].each do |i| generalresourcequota_tmp = GeneralResourceQuota.new generalresourcequota_tmp.deserialize(i) @GeneralResourceQuotaSet << generalresourcequota_tmp end end @RequestId = params['RequestId'] end |