Class: TencentCloud::Waf::V20180125::GoodsDetailNew

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, subproductcode = nil, pid = nil, instancename = nil, autorenewflag = nil, realregion = nil, labeltypes = nil, labelcounts = nil, curdeadline = nil, instanceid = nil, resourceid = nil) ⇒ GoodsDetailNew

Returns a new instance of GoodsDetailNew.



7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
# File 'lib/v20180125/models.rb', line 7672

def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil, resourceid=nil)
  @TimeSpan = timespan
  @TimeUnit = timeunit
  @SubProductCode = subproductcode
  @Pid = pid
  @InstanceName = instancename
  @AutoRenewFlag = autorenewflag
  @RealRegion = realregion
  @LabelTypes = labeltypes
  @LabelCounts = labelcounts
  @CurDeadline = curdeadline
  @InstanceId = instanceid
  @ResourceId = resourceid
end

Instance Attribute Details

#AutoRenewFlagObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def AutoRenewFlag
  @AutoRenewFlag
end

#CurDeadlineObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def CurDeadline
  @CurDeadline
end

#InstanceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def InstanceId
  @InstanceId
end

#InstanceNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def InstanceName
  @InstanceName
end

#LabelCountsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def LabelCounts
  @LabelCounts
end

#LabelTypesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def LabelTypes
  @LabelTypes
end

#PidObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def Pid
  @Pid
end

#RealRegionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def RealRegion
  @RealRegion
end

#ResourceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def ResourceId
  @ResourceId
end

#SubProductCodeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def SubProductCode
  @SubProductCode
end

#TimeSpanObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def TimeSpan
  @TimeSpan
end

#TimeUnitObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LabelCounts:

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

  • CurDeadline:

    变配使用,实例到期时间

  • InstanceId:

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

  • ResourceId:

    资源id



7670
7671
7672
# File 'lib/v20180125/models.rb', line 7670

def TimeUnit
  @TimeUnit
end

Instance Method Details

#deserialize(params) ⇒ Object



7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
# File 'lib/v20180125/models.rb', line 7687

def deserialize(params)
  @TimeSpan = params['TimeSpan']
  @TimeUnit = params['TimeUnit']
  @SubProductCode = params['SubProductCode']
  @Pid = params['Pid']
  @InstanceName = params['InstanceName']
  @AutoRenewFlag = params['AutoRenewFlag']
  @RealRegion = params['RealRegion']
  @LabelTypes = params['LabelTypes']
  @LabelCounts = params['LabelCounts']
  @CurDeadline = params['CurDeadline']
  @InstanceId = params['InstanceId']
  @ResourceId = params['ResourceId']
end