Class: TencentCloud::Teo::V20220901::DescribePlansResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribePlansResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribePlans返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, plans = nil, requestid = nil) ⇒ DescribePlansResponse
constructor
A new instance of DescribePlansResponse.
Constructor Details
#initialize(totalcount = nil, plans = nil, requestid = nil) ⇒ DescribePlansResponse
Returns a new instance of DescribePlansResponse.
10024 10025 10026 10027 10028 |
# File 'lib/v20220901/models.rb', line 10024 def initialize(totalcount=nil, plans=nil, requestid=nil) @TotalCount = totalcount @Plans = plans @RequestId = requestid end |
Instance Attribute Details
#Plans ⇒ Object
10022 10023 10024 |
# File 'lib/v20220901/models.rb', line 10022 def Plans @Plans end |
#RequestId ⇒ Object
10022 10023 10024 |
# File 'lib/v20220901/models.rb', line 10022 def RequestId @RequestId end |
#TotalCount ⇒ Object
10022 10023 10024 |
# File 'lib/v20220901/models.rb', line 10022 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 |
# File 'lib/v20220901/models.rb', line 10030 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Plans'].nil? @Plans = [] params['Plans'].each do |i| plan_tmp = Plan.new plan_tmp.deserialize(i) @Plans << plan_tmp end end @RequestId = params['RequestId'] end |