Class: TencentCloud::Trp::V20210515::DescribeCodeBatchByIdResponse

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

Overview

DescribeCodeBatchById返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(codebatch = nil, requestid = nil) ⇒ DescribeCodeBatchByIdResponse

Returns a new instance of DescribeCodeBatchByIdResponse.



1611
1612
1613
1614
# File 'lib/v20210515/models.rb', line 1611

def initialize(codebatch=nil, requestid=nil)
  @CodeBatch = codebatch
  @RequestId = requestid
end

Instance Attribute Details

#CodeBatchObject

Parameters:

  • CodeBatch:

    批次

  • RequestId:

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



1609
1610
1611
# File 'lib/v20210515/models.rb', line 1609

def CodeBatch
  @CodeBatch
end

#RequestIdObject

Parameters:

  • CodeBatch:

    批次

  • RequestId:

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



1609
1610
1611
# File 'lib/v20210515/models.rb', line 1609

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1616
1617
1618
1619
1620
1621
1622
# File 'lib/v20210515/models.rb', line 1616

def deserialize(params)
  unless params['CodeBatch'].nil?
    @CodeBatch = CodeBatch.new
    @CodeBatch.deserialize(params['CodeBatch'])
  end
  @RequestId = params['RequestId']
end