Class: TencentCloud::Teo::V20220901::UpgradePlanRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220901/models.rb

Overview

UpgradePlan请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planid = nil, plantype = nil, autousevoucher = nil) ⇒ UpgradePlanRequest



22558
22559
22560
22561
22562
# File 'lib/v20220901/models.rb', line 22558

def initialize(planid=nil, plantype=nil, autousevoucher=nil)
  @PlanId = planid
  @PlanType = plantype
  @AutoUseVoucher = autousevoucher
end

Instance Attribute Details

#AutoUseVoucherObject



22556
22557
22558
# File 'lib/v20220901/models.rb', line 22556

def AutoUseVoucher
  @AutoUseVoucher
end

#PlanIdObject



22556
22557
22558
# File 'lib/v20220901/models.rb', line 22556

def PlanId
  @PlanId
end

#PlanTypeObject



22556
22557
22558
# File 'lib/v20220901/models.rb', line 22556

def PlanType
  @PlanType
end

Instance Method Details

#deserialize(params) ⇒ Object



22564
22565
22566
22567
22568
# File 'lib/v20220901/models.rb', line 22564

def deserialize(params)
  @PlanId = params['PlanId']
  @PlanType = params['PlanType']
  @AutoUseVoucher = params['AutoUseVoucher']
end