Class: TencentCloud::Bsca::V20210811::DescribeKBComponentVersionListResponse

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

Overview

DescribeKBComponentVersionList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(versionlist = nil, requestid = nil) ⇒ DescribeKBComponentVersionListResponse

Returns a new instance of DescribeKBComponentVersionListResponse.



491
492
493
494
# File 'lib/v20210811/models.rb', line 491

def initialize(versionlist=nil, requestid=nil)
  @VersionList = versionlist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VersionList:

    该组件的版本列表信息

  • RequestId:

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



489
490
491
# File 'lib/v20210811/models.rb', line 489

def RequestId
  @RequestId
end

#VersionListObject

Parameters:

  • VersionList:

    该组件的版本列表信息

  • RequestId:

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



489
490
491
# File 'lib/v20210811/models.rb', line 489

def VersionList
  @VersionList
end

Instance Method Details

#deserialize(params) ⇒ Object



496
497
498
499
500
501
502
503
504
505
506
# File 'lib/v20210811/models.rb', line 496

def deserialize(params)
  unless params['VersionList'].nil?
    @VersionList = []
    params['VersionList'].each do |i|
      componentversion_tmp = ComponentVersion.new
      componentversion_tmp.deserialize(i)
      @VersionList << componentversion_tmp
    end
  end
  @RequestId = params['RequestId']
end