Class: TencentCloud::Trp::V20210515::ModifyProductRequest

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

Overview

ModifyProduct请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, productid = nil, remark = nil, specification = nil, logo = nil, corpid = nil, ext = nil) ⇒ ModifyProductRequest

Returns a new instance of ModifyProductRequest.



3430
3431
3432
3433
3434
3435
3436
3437
3438
# File 'lib/v20210515/models.rb', line 3430

def initialize(name=nil, productid=nil, remark=nil, specification=nil, =nil, corpid=nil, ext=nil)
  @Name = name
  @ProductId = productid
  @Remark = remark
  @Specification = specification
  @Logo = 
  @CorpId = corpid
  @Ext = ext
end

Instance Attribute Details

#CorpIdObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def CorpId
  @CorpId
end

#ExtObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def Ext
  @Ext
end

#LogoObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def Logo
  @Logo
end

#NameObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def Name
  @Name
end

#ProductIdObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def ProductId
  @ProductId
end

#RemarkObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def Remark
  @Remark
end

#SpecificationObject

Parameters:

  • Name:

    商品名称

  • ProductId:

    商品ID

  • Remark:

    备注

  • Specification:

    商品规格

  • Logo:

    商品图片

  • CorpId:

    企业ID

  • Ext:

    预留字段



3428
3429
3430
# File 'lib/v20210515/models.rb', line 3428

def Specification
  @Specification
end

Instance Method Details

#deserialize(params) ⇒ Object



3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
# File 'lib/v20210515/models.rb', line 3440

def deserialize(params)
  @Name = params['Name']
  @ProductId = params['ProductId']
  @Remark = params['Remark']
  @Specification = params['Specification']
  @Logo = params['Logo']
  @CorpId = params['CorpId']
  unless params['Ext'].nil?
    @Ext = Ext.new
    @Ext.deserialize(params['Ext'])
  end
end