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.



11796
11797
11798
11799
11800
11801
11802
# File 'lib/v20190423/models.rb', line 11796

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预付费



11794
11795
11796
# File 'lib/v20190423/models.rb', line 11794

def Cnt
  @Cnt
end

#PackageIdObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11794
11795
11796
# File 'lib/v20190423/models.rb', line 11794

def PackageId
  @PackageId
end

#PackageNameObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11794
11795
11796
# File 'lib/v20190423/models.rb', line 11794

def PackageName
  @PackageName
end

#PriceObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11794
11795
11796
# File 'lib/v20190423/models.rb', line 11794

def Price
  @Price
end

#SourceObject

Parameters:

  • PackageId:

    云存套餐包id

  • PackageName:

    云存套餐包名称

  • Cnt:

    消耗个数

  • Price:

    套餐包单价,单位分

  • Source:

    消耗来源,1预付费



11794
11795
11796
# File 'lib/v20190423/models.rb', line 11794

def Source
  @Source
end

Instance Method Details

#deserialize(params) ⇒ Object



11804
11805
11806
11807
11808
11809
11810
# File 'lib/v20190423/models.rb', line 11804

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