Class: TencentCloud::Thpc::V20230321::SpaceChargePrepaid

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

Overview

描述了工作空间的计费模式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(period = nil, renewflag = nil) ⇒ SpaceChargePrepaid

Returns a new instance of SpaceChargePrepaid.



2620
2621
2622
2623
# File 'lib/v20230321/models.rb', line 2620

def initialize(period=nil, renewflag=nil)
  @Period = period
  @RenewFlag = renewflag
end

Instance Attribute Details

#PeriodObject

默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 注意:此字段可能返回 null,表示取不到有效值。



2618
2619
2620
# File 'lib/v20230321/models.rb', line 2618

def Period
  @Period
end

#RenewFlagObject

默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 注意:此字段可能返回 null,表示取不到有效值。



2618
2619
2620
# File 'lib/v20230321/models.rb', line 2618

def RenewFlag
  @RenewFlag
end

Instance Method Details

#deserialize(params) ⇒ Object



2625
2626
2627
2628
# File 'lib/v20230321/models.rb', line 2625

def deserialize(params)
  @Period = params['Period']
  @RenewFlag = params['RenewFlag']
end