Class: TencentCloud::Trp::V20210515::DescribeCodeBatchsResponse

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

Overview

DescribeCodeBatchs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(codebatchs = nil, totalcount = nil, requestid = nil) ⇒ DescribeCodeBatchsResponse

Returns a new instance of DescribeCodeBatchsResponse.



1755
1756
1757
1758
1759
# File 'lib/v20210515/models.rb', line 1755

def initialize(codebatchs=nil, totalcount=nil, requestid=nil)
  @CodeBatchs = codebatchs
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#CodeBatchsObject

Parameters:

  • CodeBatchs:

    批次列表

  • TotalCount:

    总条数

  • RequestId:

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



1753
1754
1755
# File 'lib/v20210515/models.rb', line 1753

def CodeBatchs
  @CodeBatchs
end

#RequestIdObject

Parameters:

  • CodeBatchs:

    批次列表

  • TotalCount:

    总条数

  • RequestId:

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



1753
1754
1755
# File 'lib/v20210515/models.rb', line 1753

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • CodeBatchs:

    批次列表

  • TotalCount:

    总条数

  • RequestId:

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



1753
1754
1755
# File 'lib/v20210515/models.rb', line 1753

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
# File 'lib/v20210515/models.rb', line 1761

def deserialize(params)
  unless params['CodeBatchs'].nil?
    @CodeBatchs = []
    params['CodeBatchs'].each do |i|
      codebatch_tmp = CodeBatch.new
      codebatch_tmp.deserialize(i)
      @CodeBatchs << codebatch_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end