Class: TencentCloud::Keewidb::V20220308::ProductConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::ProductConf
- Defined in:
- lib/v20220308/models.rb
Overview
产品规格信息
Instance Attribute Summary collapse
- #Engine ⇒ Object
- #MaxBuyNum ⇒ Object
- #MinBuyNum ⇒ Object
- #PayMode ⇒ Object
- #ReplicaNum ⇒ Object
- #Saleout ⇒ Object
- #Type ⇒ Object
- #TypeName ⇒ Object
- #Version ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, typename = nil, minbuynum = nil, maxbuynum = nil, saleout = nil, engine = nil, version = nil, replicanum = nil, paymode = nil) ⇒ ProductConf
constructor
A new instance of ProductConf.
Constructor Details
#initialize(type = nil, typename = nil, minbuynum = nil, maxbuynum = nil, saleout = nil, engine = nil, version = nil, replicanum = nil, paymode = nil) ⇒ ProductConf
Returns a new instance of ProductConf.
2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'lib/v20220308/models.rb', line 2810 def initialize(type=nil, typename=nil, minbuynum=nil, maxbuynum=nil, saleout=nil, engine=nil, version=nil, replicanum=nil, paymode=nil) @Type = type @TypeName = typename @MinBuyNum = minbuynum @MaxBuyNum = maxbuynum @Saleout = saleout @Engine = engine @Version = version @ReplicaNum = replicanum @PayMode = paymode end |
Instance Attribute Details
#Engine ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def Engine @Engine end |
#MaxBuyNum ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def MaxBuyNum @MaxBuyNum end |
#MinBuyNum ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def MinBuyNum @MinBuyNum end |
#PayMode ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def PayMode @PayMode end |
#ReplicaNum ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def ReplicaNum @ReplicaNum end |
#Saleout ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def Saleout @Saleout end |
#Type ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def Type @Type end |
#TypeName ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def TypeName @TypeName end |
#Version ⇒ Object
2808 2809 2810 |
# File 'lib/v20220308/models.rb', line 2808 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 |
# File 'lib/v20220308/models.rb', line 2822 def deserialize(params) @Type = params['Type'] @TypeName = params['TypeName'] @MinBuyNum = params['MinBuyNum'] @MaxBuyNum = params['MaxBuyNum'] @Saleout = params['Saleout'] @Engine = params['Engine'] @Version = params['Version'] @ReplicaNum = params['ReplicaNum'] @PayMode = params['PayMode'] end |