Class: TencentCloud::Waf::V20180125::GoodsDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::GoodsDetail
- Defined in:
- lib/v20180125/models.rb
Overview
产品明细
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #CurDeadline ⇒ Object
- #ElasticQps ⇒ Object
- #FlexBill ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #LabelCounts ⇒ Object
- #LabelTypes ⇒ Object
- #Pid ⇒ Object
- #ProductCode ⇒ Object
- #ProductInfo ⇒ Object
- #RealRegion ⇒ Object
- #SubProductCode ⇒ Object
- #TimeSpan ⇒ Object
- #TimeUnit ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timespan = nil, timeunit = nil, productcode = nil, subproductcode = nil, pid = nil, productinfo = nil, instancename = nil, elasticqps = nil, flexbill = nil, autorenewflag = nil, realregion = nil, type = nil, labeltypes = nil, labelcounts = nil, curdeadline = nil, instanceid = nil) ⇒ GoodsDetail
constructor
A new instance of GoodsDetail.
Constructor Details
#initialize(timespan = nil, timeunit = nil, productcode = nil, subproductcode = nil, pid = nil, productinfo = nil, instancename = nil, elasticqps = nil, flexbill = nil, autorenewflag = nil, realregion = nil, type = nil, labeltypes = nil, labelcounts = nil, curdeadline = nil, instanceid = nil) ⇒ GoodsDetail
Returns a new instance of GoodsDetail.
11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 |
# File 'lib/v20180125/models.rb', line 11747 def initialize(timespan=nil, timeunit=nil, productcode=nil, subproductcode=nil, pid=nil, productinfo=nil, instancename=nil, elasticqps=nil, flexbill=nil, autorenewflag=nil, realregion=nil, type=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil) @TimeSpan = timespan @TimeUnit = timeunit @ProductCode = productcode @SubProductCode = subproductcode @Pid = pid @ProductInfo = productinfo @InstanceName = instancename @ElasticQps = elasticqps @FlexBill = flexbill @AutoRenewFlag = autorenewflag @RealRegion = realregion @Type = type @LabelTypes = labeltypes @LabelCounts = labelcounts @CurDeadline = curdeadline @InstanceId = instanceid end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def AutoRenewFlag @AutoRenewFlag end |
#CurDeadline ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def CurDeadline @CurDeadline end |
#ElasticQps ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def ElasticQps @ElasticQps end |
#FlexBill ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def FlexBill @FlexBill end |
#InstanceId ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def InstanceName @InstanceName end |
#LabelCounts ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def LabelCounts @LabelCounts end |
#LabelTypes ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def LabelTypes @LabelTypes end |
#Pid ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def Pid @Pid end |
#ProductCode ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def ProductCode @ProductCode end |
#ProductInfo ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def ProductInfo @ProductInfo end |
#RealRegion ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def RealRegion @RealRegion end |
#SubProductCode ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def SubProductCode @SubProductCode end |
#TimeSpan ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def TimeSpan @TimeSpan end |
#TimeUnit ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def TimeUnit @TimeUnit end |
#Type ⇒ Object
11745 11746 11747 |
# File 'lib/v20180125/models.rb', line 11745 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 |
# File 'lib/v20180125/models.rb', line 11766 def deserialize(params) @TimeSpan = params['TimeSpan'] @TimeUnit = params['TimeUnit'] @ProductCode = params['ProductCode'] @SubProductCode = params['SubProductCode'] @Pid = params['Pid'] unless params['ProductInfo'].nil? @ProductInfo = [] params['ProductInfo'].each do |i| productinfo_tmp = ProductInfo.new productinfo_tmp.deserialize(i) @ProductInfo << productinfo_tmp end end @InstanceName = params['InstanceName'] @ElasticQps = params['ElasticQps'] @FlexBill = params['FlexBill'] @AutoRenewFlag = params['AutoRenewFlag'] @RealRegion = params['RealRegion'] @Type = params['Type'] @LabelTypes = params['LabelTypes'] @LabelCounts = params['LabelCounts'] @CurDeadline = params['CurDeadline'] @InstanceId = params['InstanceId'] end |