Class: TencentCloud::Tione::V20211111::SpecUnit

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

Overview

计费项询价单元

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(specname = nil, speccount = nil) ⇒ SpecUnit

Returns a new instance of SpecUnit.



8750
8751
8752
8753
# File 'lib/v20211111/models.rb', line 8750

def initialize(specname=nil, speccount=nil)
  @SpecName = specname
  @SpecCount = speccount
end

Instance Attribute Details

#SpecCountObject

Parameters:

  • SpecName:

    计费项名称

  • SpecCount:

    计费项数量,建议不超过100万



8748
8749
8750
# File 'lib/v20211111/models.rb', line 8748

def SpecCount
  @SpecCount
end

#SpecNameObject

Parameters:

  • SpecName:

    计费项名称

  • SpecCount:

    计费项数量,建议不超过100万



8748
8749
8750
# File 'lib/v20211111/models.rb', line 8748

def SpecName
  @SpecName
end

Instance Method Details

#deserialize(params) ⇒ Object



8755
8756
8757
8758
# File 'lib/v20211111/models.rb', line 8755

def deserialize(params)
  @SpecName = params['SpecName']
  @SpecCount = params['SpecCount']
end