Class: TencentCloud::Bsca::V20210811::DescribeKBComponentVersionListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bsca::V20210811::DescribeKBComponentVersionListResponse
- Defined in:
- lib/v20210811/models.rb
Overview
DescribeKBComponentVersionList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(versionlist = nil, requestid = nil) ⇒ DescribeKBComponentVersionListResponse
constructor
A new instance of DescribeKBComponentVersionListResponse.
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
#RequestId ⇒ Object
489 490 491 |
# File 'lib/v20210811/models.rb', line 489 def RequestId @RequestId end |
#VersionList ⇒ Object
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 |