Class: TencentCloud::Cwp::V20180228::ModifyOrderAttributeRequest

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

Overview

ModifyOrderAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(licensetype = nil, resourceid = nil, attrname = nil, attrvalue = nil) ⇒ ModifyOrderAttributeRequest

Returns a new instance of ModifyOrderAttributeRequest.



33496
33497
33498
33499
33500
33501
# File 'lib/v20180228/models.rb', line 33496

def initialize(licensetype=nil, resourceid=nil, attrname=nil, attrvalue=nil)
  @LicenseType = licensetype
  @ResourceId = resourceid
  @AttrName = attrname
  @AttrValue = attrvalue
end

Instance Attribute Details

#AttrNameObject

alias 资源别名 projectId 项目ID AttrName=alias时,任意字符串,最大字符15长度 AttrName=projectId时,项目ID必须是真实存在的

Parameters:

  • LicenseType:

    授权类型 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月

  • ResourceId:

    资源ID

  • AttrName:

    可编辑的属性名称 ,当前支持的有:

  • AttrValue:

    属性值



33494
33495
33496
# File 'lib/v20180228/models.rb', line 33494

def AttrName
  @AttrName
end

#AttrValueObject

alias 资源别名 projectId 项目ID AttrName=alias时,任意字符串,最大字符15长度 AttrName=projectId时,项目ID必须是真实存在的

Parameters:

  • LicenseType:

    授权类型 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月

  • ResourceId:

    资源ID

  • AttrName:

    可编辑的属性名称 ,当前支持的有:

  • AttrValue:

    属性值



33494
33495
33496
# File 'lib/v20180228/models.rb', line 33494

def AttrValue
  @AttrValue
end

#LicenseTypeObject

alias 资源别名 projectId 项目ID AttrName=alias时,任意字符串,最大字符15长度 AttrName=projectId时,项目ID必须是真实存在的

Parameters:

  • LicenseType:

    授权类型 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月

  • ResourceId:

    资源ID

  • AttrName:

    可编辑的属性名称 ,当前支持的有:

  • AttrValue:

    属性值



33494
33495
33496
# File 'lib/v20180228/models.rb', line 33494

def LicenseType
  @LicenseType
end

#ResourceIdObject

alias 资源别名 projectId 项目ID AttrName=alias时,任意字符串,最大字符15长度 AttrName=projectId时,项目ID必须是真实存在的

Parameters:

  • LicenseType:

    授权类型 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月

  • ResourceId:

    资源ID

  • AttrName:

    可编辑的属性名称 ,当前支持的有:

  • AttrValue:

    属性值



33494
33495
33496
# File 'lib/v20180228/models.rb', line 33494

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



33503
33504
33505
33506
33507
33508
# File 'lib/v20180228/models.rb', line 33503

def deserialize(params)
  @LicenseType = params['LicenseType']
  @ResourceId = params['ResourceId']
  @AttrName = params['AttrName']
  @AttrValue = params['AttrValue']
end