Class: TencentCloud::Trp::V20210515::CreateTraceCodesResponse

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

Overview

CreateTraceCodes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batchid = nil, activecnt = nil, codecnt = nil, requestid = nil) ⇒ CreateTraceCodesResponse

Returns a new instance of CreateTraceCodesResponse.



1222
1223
1224
1225
1226
1227
# File 'lib/v20210515/models.rb', line 1222

def initialize(batchid=nil, activecnt=nil, codecnt=nil, requestid=nil)
  @BatchId = batchid
  @ActiveCnt = activecnt
  @CodeCnt = codecnt
  @RequestId = requestid
end

Instance Attribute Details

#ActiveCntObject

Parameters:

  • BatchId:

    批次ID

  • ActiveCnt:

    导入成功码数量

  • CodeCnt:

    批次码数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1220
1221
1222
# File 'lib/v20210515/models.rb', line 1220

def ActiveCnt
  @ActiveCnt
end

#BatchIdObject

Parameters:

  • BatchId:

    批次ID

  • ActiveCnt:

    导入成功码数量

  • CodeCnt:

    批次码数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1220
1221
1222
# File 'lib/v20210515/models.rb', line 1220

def BatchId
  @BatchId
end

#CodeCntObject

Parameters:

  • BatchId:

    批次ID

  • ActiveCnt:

    导入成功码数量

  • CodeCnt:

    批次码数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1220
1221
1222
# File 'lib/v20210515/models.rb', line 1220

def CodeCnt
  @CodeCnt
end

#RequestIdObject

Parameters:

  • BatchId:

    批次ID

  • ActiveCnt:

    导入成功码数量

  • CodeCnt:

    批次码数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1220
1221
1222
# File 'lib/v20210515/models.rb', line 1220

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1229
1230
1231
1232
1233
1234
# File 'lib/v20210515/models.rb', line 1229

def deserialize(params)
  @BatchId = params['BatchId']
  @ActiveCnt = params['ActiveCnt']
  @CodeCnt = params['CodeCnt']
  @RequestId = params['RequestId']
end