Class: TencentCloud::Tke::V20180525::DescribeVersionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeVersionsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeVersions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, versioninstanceset = nil, requestid = nil) ⇒ DescribeVersionsResponse
constructor
A new instance of DescribeVersionsResponse.
Constructor Details
#initialize(totalcount = nil, versioninstanceset = nil, requestid = nil) ⇒ DescribeVersionsResponse
Returns a new instance of DescribeVersionsResponse.
11328 11329 11330 11331 11332 |
# File 'lib/v20180525/models.rb', line 11328 def initialize(totalcount=nil, versioninstanceset=nil, requestid=nil) @TotalCount = totalcount @VersionInstanceSet = versioninstanceset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11326 11327 11328 |
# File 'lib/v20180525/models.rb', line 11326 def RequestId @RequestId end |
#TotalCount ⇒ Object
11326 11327 11328 |
# File 'lib/v20180525/models.rb', line 11326 def TotalCount @TotalCount end |
#VersionInstanceSet ⇒ Object
11326 11327 11328 |
# File 'lib/v20180525/models.rb', line 11326 def VersionInstanceSet @VersionInstanceSet end |
Instance Method Details
#deserialize(params) ⇒ Object
11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 |
# File 'lib/v20180525/models.rb', line 11334 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VersionInstanceSet'].nil? @VersionInstanceSet = [] params['VersionInstanceSet'].each do |i| versioninstance_tmp = VersionInstance.new versioninstance_tmp.deserialize(i) @VersionInstanceSet << versioninstance_tmp end end @RequestId = params['RequestId'] end |