Class: TencentCloud::Trp::V20210515::DescribeCodeBatchesRequest

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

Overview

DescribeCodeBatches请求参数结构体

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) ⇒ DescribeCodeBatchesRequest

Returns a new instance of DescribeCodeBatchesRequest.



1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
# File 'lib/v20210515/models.rb', line 1646

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:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def BatchType
  @BatchType
end

#CorpIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def CorpId
  @CorpId
end

#KeywordObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def Keyword
  @Keyword
end

#MerchantIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def MerchantId
  @MerchantId
end

#PageNumberObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def PageSize
  @PageSize
end

#ProductIdObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def ProductId
  @ProductId
end

#StatusObject

Parameters:

  • MerchantId:

    查询商户ID

  • ProductId:

    查询商品ID

  • Keyword:

    查询关键字

  • PageSize:

    条数

  • PageNumber:

    页数

  • BatchType:

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

  • CorpId:

    企业ID

  • Status:

    批次状态 0: 未激活 1: 已激活 -1: 已冻结



1644
1645
1646
# File 'lib/v20210515/models.rb', line 1644

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
# File 'lib/v20210515/models.rb', line 1657

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