Class: TencentCloud::Config::V20220802::InputParameterForManage

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

Overview

规则入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(valuetype = nil, parameterkey = nil, type = nil, defaultvalue = nil, description = nil) ⇒ InputParameterForManage

Returns a new instance of InputParameterForManage.



559
560
561
562
563
564
565
# File 'lib/v20220802/models.rb', line 559

def initialize(valuetype=nil, parameterkey=nil, type=nil, defaultvalue=nil, description=nil)
  @ValueType = valuetype
  @ParameterKey = parameterkey
  @Type = type
  @DefaultValue = defaultvalue
  @Description = description
end

Instance Attribute Details

#DefaultValueObject

Parameters:

  • ValueType:

    值类型。数值:Integer, 字符串:String

  • ParameterKey:

    参数Key

  • Type:

    参数类型。必填类型:Require,可选类型:Optional。

  • DefaultValue:

    默认值

  • Description:

    描述



557
558
559
# File 'lib/v20220802/models.rb', line 557

def DefaultValue
  @DefaultValue
end

#DescriptionObject

Parameters:

  • ValueType:

    值类型。数值:Integer, 字符串:String

  • ParameterKey:

    参数Key

  • Type:

    参数类型。必填类型:Require,可选类型:Optional。

  • DefaultValue:

    默认值

  • Description:

    描述



557
558
559
# File 'lib/v20220802/models.rb', line 557

def Description
  @Description
end

#ParameterKeyObject

Parameters:

  • ValueType:

    值类型。数值:Integer, 字符串:String

  • ParameterKey:

    参数Key

  • Type:

    参数类型。必填类型:Require,可选类型:Optional。

  • DefaultValue:

    默认值

  • Description:

    描述



557
558
559
# File 'lib/v20220802/models.rb', line 557

def ParameterKey
  @ParameterKey
end

#TypeObject

Parameters:

  • ValueType:

    值类型。数值:Integer, 字符串:String

  • ParameterKey:

    参数Key

  • Type:

    参数类型。必填类型:Require,可选类型:Optional。

  • DefaultValue:

    默认值

  • Description:

    描述



557
558
559
# File 'lib/v20220802/models.rb', line 557

def Type
  @Type
end

#ValueTypeObject

Parameters:

  • ValueType:

    值类型。数值:Integer, 字符串:String

  • ParameterKey:

    参数Key

  • Type:

    参数类型。必填类型:Require,可选类型:Optional。

  • DefaultValue:

    默认值

  • Description:

    描述



557
558
559
# File 'lib/v20220802/models.rb', line 557

def ValueType
  @ValueType
end

Instance Method Details

#deserialize(params) ⇒ Object



567
568
569
570
571
572
573
# File 'lib/v20220802/models.rb', line 567

def deserialize(params)
  @ValueType = params['ValueType']
  @ParameterKey = params['ParameterKey']
  @Type = params['Type']
  @DefaultValue = params['DefaultValue']
  @Description = params['Description']
end