Class: TencentCloud::Cvm::V20170312::InternetChargeTypeConfig

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

Overview

描述了网络计费

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(internetchargetype = nil, description = nil) ⇒ InternetChargeTypeConfig

Returns a new instance of InternetChargeTypeConfig.



5839
5840
5841
5842
# File 'lib/v20170312/models.rb', line 5839

def initialize(internetchargetype=nil, description=nil)
  @InternetChargeType = internetchargetype
  @Description = description
end

Instance Attribute Details

#Description ⇒ Object

Parameters:

  • InternetChargeType: —

    网络计费类型。取值范围:

  • BANDWIDTH_PREPAID:预付费按带宽结算
  • TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
  • BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费
  • BANDWIDTH_PACKAGE:带宽包用户
  • 默认取值:非带宽包用户默认与子机付费类型保持一致,比如子机付费类型为预付费,网络计费类型默认为预付费;子机付费类型为后付费,网络计费类型默认为后付费。

  • Description: —

    网络计费模式描述信息。

  • 
    
    5837
    5838
    5839
    # File 'lib/v20170312/models.rb', line 5837
    
    def Description
      @Description
    end
    

    #InternetChargeType ⇒ Object

    Parameters:

    • InternetChargeType: —

      网络计费类型。取值范围:

    • BANDWIDTH_PREPAID:预付费按带宽结算
    • TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
    • BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费
    • BANDWIDTH_PACKAGE:带宽包用户
    • 默认取值:非带宽包用户默认与子机付费类型保持一致,比如子机付费类型为预付费,网络计费类型默认为预付费;子机付费类型为后付费,网络计费类型默认为后付费。

  • Description: —

    网络计费模式描述信息。

  • 
    
    5837
    5838
    5839
    # File 'lib/v20170312/models.rb', line 5837
    
    def InternetChargeType
      @InternetChargeType
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    5844
    5845
    5846
    5847
    # File 'lib/v20170312/models.rb', line 5844
    
    def deserialize(params)
      @InternetChargeType = params['InternetChargeType']
      @Description = params['Description']
    end