Class: TencentCloud::Waf::V20180125::GoodsDetail

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

Overview

产品明细

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AutoRenewFlagObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def AutoRenewFlag
  @AutoRenewFlag
end

#CurDeadlineObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def CurDeadline
  @CurDeadline
end

#ElasticQpsObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def ElasticQps
  @ElasticQps
end

#FlexBillObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def FlexBill
  @FlexBill
end

#InstanceIdObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def InstanceId
  @InstanceId
end

#InstanceNameObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def InstanceName
  @InstanceName
end

#LabelCountsObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def LabelCounts
  @LabelCounts
end

#LabelTypesObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def LabelTypes
  @LabelTypes
end

#PidObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def Pid
  @Pid
end

#ProductCodeObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def ProductCode
  @ProductCode
end

#ProductInfoObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def ProductInfo
  @ProductInfo
end

#RealRegionObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def RealRegion
  @RealRegion
end

#SubProductCodeObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def SubProductCode
  @SubProductCode
end

#TimeSpanObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def TimeSpan
  @TimeSpan
end

#TimeUnitObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



11745
11746
11747
# File 'lib/v20180125/models.rb', line 11745

def TimeUnit
  @TimeUnit
end

#TypeObject

Parameters:

  • TimeSpan:

    时间间隔

  • TimeUnit:

    单位,支持m、y、d

  • ProductCode:

    产品码

  • SubProductCode:

    二级产品码

  • Pid:

    计费策略id

  • ProductInfo:

    waf产品码

  • InstanceName:

    waf实例名

  • ElasticQps:

    QPS数量

  • FlexBill:

    弹性账单

  • AutoRenewFlag:

    1:自动续费,0:不自动续费

  • RealRegion:

    waf购买的实际地域信息

  • Type:

    Waf实例对应的二级产品码

  • LabelTypes:

    计费细项标签数组

  • LabelCounts:

    计费细项标签数量,一般和SvLabelType一一对应

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

    对存在的实例购买bot 或api 安全



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