Class: TencentCloud::Trp::V20210515::DescribeCodeBatchsRequest

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

Overview

DescribeCodeBatchs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(merchantid = nil, productid = nil, keyword = nil, pagesize = nil, pagenumber = nil, batchtype = nil, corpid = nil, status = nil) ⇒ DescribeCodeBatchsRequest

Returns a new instance of DescribeCodeBatchsRequest.



1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'lib/v20210515/models.rb', line 1721

def initialize(merchantid=nil, productid=nil, keyword=nil, pagesize=nil, pagenumber=nil, batchtype=nil, corpid=nil, status=nil)
  @MerchantId = merchantid
  @ProductId = productid
  @Keyword = keyword
  @PageSize = pagesize
  @PageNumber = pagenumber
  @BatchType = batchtype
  @CorpId = corpid
  @Status = status
end

Instance Attribute Details

#BatchTypeObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def BatchType
  @BatchType
end

#CorpIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def CorpId
  @CorpId
end

#KeywordObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def Keyword
  @Keyword
end

#MerchantIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def MerchantId
  @MerchantId
end

#PageNumberObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def PageSize
  @PageSize
end

#ProductIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def ProductId
  @ProductId
end

#StatusObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

    批次类型 0:溯源 1:营销

  • CorpId:

    企业ID

  • Status:

    批次状态



1719
1720
1721
# File 'lib/v20210515/models.rb', line 1719

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
# File 'lib/v20210515/models.rb', line 1732

def deserialize(params)
  @MerchantId = params['MerchantId']
  @ProductId = params['ProductId']
  @Keyword = params['Keyword']
  @PageSize = params['PageSize']
  @PageNumber = params['PageNumber']
  @BatchType = params['BatchType']
  @CorpId = params['CorpId']
  @Status = params['Status']
end