Class: TencentCloud::Weilingwith::V20230427::RelatedProduct

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

Overview

关联产品信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil) ⇒ RelatedProduct

Returns a new instance of RelatedProduct.



6491
6492
6493
6494
# File 'lib/v20230427/models.rb', line 6491

def initialize(id=nil, name=nil)
  @Id = id
  @Name = name
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    关联产品pid

  • Name:

    关联产品名字



6489
6490
6491
# File 'lib/v20230427/models.rb', line 6489

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    关联产品pid

  • Name:

    关联产品名字



6489
6490
6491
# File 'lib/v20230427/models.rb', line 6489

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



6496
6497
6498
6499
# File 'lib/v20230427/models.rb', line 6496

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
end