Class: TencentCloud::Teo::V20220901::CreatePlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::CreatePlanRequest
- Defined in:
- lib/v20220901/models.rb
Overview
CreatePlan请求参数结构体
Instance Attribute Summary collapse
-
#AutoUseVoucher ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。.
-
#PlanType ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。.
-
#PrepaidPlanParam ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(plantype = nil, autousevoucher = nil, prepaidplanparam = nil) ⇒ CreatePlanRequest
constructor
A new instance of CreatePlanRequest.
Constructor Details
#initialize(plantype = nil, autousevoucher = nil, prepaidplanparam = nil) ⇒ CreatePlanRequest
Returns a new instance of CreatePlanRequest.
4876 4877 4878 4879 4880 |
# File 'lib/v20220901/models.rb', line 4876 def initialize(plantype=nil, autousevoucher=nil, prepaidplanparam=nil) @PlanType = plantype @AutoUseVoucher = autousevoucher @PrepaidPlanParam = prepaidplanparam end |
Instance Attribute Details
#AutoUseVoucher ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。
4874 4875 4876 |
# File 'lib/v20220901/models.rb', line 4874 def AutoUseVoucher @AutoUseVoucher end |
#PlanType ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。
4874 4875 4876 |
# File 'lib/v20220901/models.rb', line 4874 def PlanType @PlanType end |
#PrepaidPlanParam ⇒ Object
计费概述参考 [Edgeone计费概述](cloud.tencent.com/document/product/1552/94156) 不同套餐区别参考 [Edgeone计费套餐选型对比](cloud.tencent.com/document/product/1552/94165) 不填写使用默认值 false。不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。
4874 4875 4876 |
# File 'lib/v20220901/models.rb', line 4874 def PrepaidPlanParam @PrepaidPlanParam end |
Instance Method Details
#deserialize(params) ⇒ Object
4882 4883 4884 4885 4886 4887 4888 4889 |
# File 'lib/v20220901/models.rb', line 4882 def deserialize(params) @PlanType = params['PlanType'] @AutoUseVoucher = params['AutoUseVoucher'] unless params['PrepaidPlanParam'].nil? @PrepaidPlanParam = PrepaidPlanParam.new @PrepaidPlanParam.deserialize(params['PrepaidPlanParam']) end end |