Class: TencentCloud::Iotexplorer::V20190423::PackageConsumeStat

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

Overview

云存套餐包消耗统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(packageid = nil, packagename = nil, cnt = nil, price = nil, source = nil) ⇒ PackageConsumeStat

Returns a new instance of PackageConsumeStat.



11812
11813
11814
11815
11816
11817
11818
# File 'lib/v20190423/models.rb', line 11812

def initialize(packageid=nil, packagename=nil, cnt=nil, price=nil, source=nil)
  @PackageId = packageid
  @PackageName = packagename
  @Cnt = cnt
  @Price = price
  @Source = source
end

Instance Attribute Details

#CntObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11810
11811
11812
# File 'lib/v20190423/models.rb', line 11810

def Cnt
  @Cnt
end

#PackageIdObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11810
11811
11812
# File 'lib/v20190423/models.rb', line 11810

def PackageId
  @PackageId
end

#PackageNameObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11810
11811
11812
# File 'lib/v20190423/models.rb', line 11810

def PackageName
  @PackageName
end

#PriceObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11810
11811
11812
# File 'lib/v20190423/models.rb', line 11810

def Price
  @Price
end

#SourceObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11810
11811
11812
# File 'lib/v20190423/models.rb', line 11810

def Source
  @Source
end

Instance Method Details

#deserialize(params) ⇒ Object



11820
11821
11822
11823
11824
11825
11826
# File 'lib/v20190423/models.rb', line 11820

def deserialize(params)
  @PackageId = params['PackageId']
  @PackageName = params['PackageName']
  @Cnt = params['Cnt']
  @Price = params['Price']
  @Source = params['Source']
end