Class: TencentCloud::Trp::V20210515::DescribeTraceDataListRequest

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

Overview

DescribeTraceDataList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(corpid = nil, batchid = nil, taskid = nil, pagenumber = nil, code = nil, phase = nil, pagesize = nil) ⇒ DescribeTraceDataListRequest

Returns a new instance of DescribeTraceDataListRequest.



2961
2962
2963
2964
2965
2966
2967
2968
2969
# File 'lib/v20210515/models.rb', line 2961

def initialize(corpid=nil, batchid=nil, taskid=nil, pagenumber=nil, code=nil, phase=nil, pagesize=nil)
  @CorpId = corpid
  @BatchId = batchid
  @TaskId = taskid
  @PageNumber = pagenumber
  @Code = code
  @Phase = phase
  @PageSize = pagesize
end

Instance Attribute Details

#BatchIdObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def BatchId
  @BatchId
end

#CodeObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def Code
  @Code
end

#CorpIdObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def CorpId
  @CorpId
end

#PageNumberObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def PageSize
  @PageSize
end

#PhaseObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def Phase
  @Phase
end

#TaskIdObject

Parameters:

  • CorpId:

    企业ID

  • BatchId:

    批次ID

  • TaskId:

    任务ID 用于外部溯源

  • PageNumber:

    页数

  • Code:

    溯源码

  • Phase:

    溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源

  • PageSize:

    数量



2959
2960
2961
# File 'lib/v20210515/models.rb', line 2959

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



2971
2972
2973
2974
2975
2976
2977
2978
2979
# File 'lib/v20210515/models.rb', line 2971

def deserialize(params)
  @CorpId = params['CorpId']
  @BatchId = params['BatchId']
  @TaskId = params['TaskId']
  @PageNumber = params['PageNumber']
  @Code = params['Code']
  @Phase = params['Phase']
  @PageSize = params['PageSize']
end