Class: TencentCloud::Trp::V20210515::CreateTraceCodesAsyncResponse

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

Overview

CreateTraceCodesAsync返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batchid = nil, requestid = nil) ⇒ CreateTraceCodesAsyncResponse

Returns a new instance of CreateTraceCodesAsyncResponse.



1155
1156
1157
1158
# File 'lib/v20210515/models.rb', line 1155

def initialize(batchid=nil, requestid=nil)
  @BatchId = batchid
  @RequestId = requestid
end

Instance Attribute Details

#BatchIdObject

Parameters:

  • BatchId:

    批次ID

  • RequestId:

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



1153
1154
1155
# File 'lib/v20210515/models.rb', line 1153

def BatchId
  @BatchId
end

#RequestIdObject

Parameters:

  • BatchId:

    批次ID

  • RequestId:

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



1153
1154
1155
# File 'lib/v20210515/models.rb', line 1153

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1160
1161
1162
1163
# File 'lib/v20210515/models.rb', line 1160

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