Class: TencentCloud::Trp::V20210515::ModifyProductRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::ModifyProductRequest
- Defined in:
- lib/v20210515/models.rb
Overview
ModifyProduct请求参数结构体
Instance Attribute Summary collapse
- #CorpId ⇒ Object
- #Ext ⇒ Object
- #Logo ⇒ Object
- #Name ⇒ Object
- #ProductId ⇒ Object
- #Remark ⇒ Object
- #Specification ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, productid = nil, remark = nil, specification = nil, logo = nil, corpid = nil, ext = nil) ⇒ ModifyProductRequest
constructor
A new instance of ModifyProductRequest.
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, logo=nil, corpid=nil, ext=nil) @Name = name @ProductId = productid @Remark = remark @Specification = specification @Logo = logo @CorpId = corpid @Ext = ext end |
Instance Attribute Details
#CorpId ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def CorpId @CorpId end |
#Ext ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def Ext @Ext end |
#Logo ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def Logo @Logo end |
#Name ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def Name @Name end |
#ProductId ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def ProductId @ProductId end |
#Remark ⇒ Object
3428 3429 3430 |
# File 'lib/v20210515/models.rb', line 3428 def Remark @Remark end |
#Specification ⇒ Object
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 |