Class: TencentCloud::Emr::V20190103::PrePaySetting

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

Overview

Serverless HBase 预付费设置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(period = nil, autorenewflag = nil) ⇒ PrePaySetting

Returns a new instance of PrePaySetting.



11602
11603
11604
11605
# File 'lib/v20190103/models.rb', line 11602

def initialize(period=nil, autorenewflag=nil)
  @Period = period
  @AutoRenewFlag = autorenewflag
end

Instance Attribute Details

#AutoRenewFlagObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Period:

    时间

  • AutoRenewFlag:

    自动续费标记,0:表示通知即将过期,但不自动续费 1:表示通知即将过期,而且自动续费 2:表示不通知即将过期,也不自动续费



11600
11601
11602
# File 'lib/v20190103/models.rb', line 11600

def AutoRenewFlag
  @AutoRenewFlag
end

#PeriodObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Period:

    时间

  • AutoRenewFlag:

    自动续费标记,0:表示通知即将过期,但不自动续费 1:表示通知即将过期,而且自动续费 2:表示不通知即将过期,也不自动续费



11600
11601
11602
# File 'lib/v20190103/models.rb', line 11600

def Period
  @Period
end

Instance Method Details

#deserialize(params) ⇒ Object



11607
11608
11609
11610
11611
11612
11613
# File 'lib/v20190103/models.rb', line 11607

def deserialize(params)
  unless params['Period'].nil?
    @Period = Period.new
    @Period.deserialize(params['Period'])
  end
  @AutoRenewFlag = params['AutoRenewFlag']
end