Class: TencentCloud::Bma::V20221115::DescribeBPBrandsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20221115::DescribeBPBrandsResponse
- Defined in:
- lib/v20221115/models.rb
Overview
DescribeBPBrands返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(brands = nil, noticestatus = nil, requestid = nil) ⇒ DescribeBPBrandsResponse
constructor
A new instance of DescribeBPBrandsResponse.
Constructor Details
#initialize(brands = nil, noticestatus = nil, requestid = nil) ⇒ DescribeBPBrandsResponse
Returns a new instance of DescribeBPBrandsResponse.
464 465 466 467 468 |
# File 'lib/v20221115/models.rb', line 464 def initialize(brands=nil, noticestatus=nil, requestid=nil) @Brands = brands @NoticeStatus = noticestatus @RequestId = requestid end |
Instance Attribute Details
#Brands ⇒ Object
462 463 464 |
# File 'lib/v20221115/models.rb', line 462 def Brands @Brands end |
#NoticeStatus ⇒ Object
462 463 464 |
# File 'lib/v20221115/models.rb', line 462 def NoticeStatus @NoticeStatus end |
#RequestId ⇒ Object
462 463 464 |
# File 'lib/v20221115/models.rb', line 462 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
470 471 472 473 474 475 476 477 478 479 480 481 |
# File 'lib/v20221115/models.rb', line 470 def deserialize(params) unless params['Brands'].nil? @Brands = [] params['Brands'].each do |i| branddata_tmp = BrandData.new branddata_tmp.deserialize(i) @Brands << branddata_tmp end end @NoticeStatus = params['NoticeStatus'] @RequestId = params['RequestId'] end |