Class: TencentCloud::Tcb::V20180608::DescribeCloudBaseProjectVersionListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeCloudBaseProjectVersionListResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeCloudBaseProjectVersionList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectversions = nil, totalcount = nil, requestid = nil) ⇒ DescribeCloudBaseProjectVersionListResponse
constructor
A new instance of DescribeCloudBaseProjectVersionListResponse.
Constructor Details
#initialize(projectversions = nil, totalcount = nil, requestid = nil) ⇒ DescribeCloudBaseProjectVersionListResponse
Returns a new instance of DescribeCloudBaseProjectVersionListResponse.
3207 3208 3209 3210 3211 |
# File 'lib/v20180608/models.rb', line 3207 def initialize(projectversions=nil, totalcount=nil, requestid=nil) @ProjectVersions = projectversions @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ProjectVersions ⇒ Object
3205 3206 3207 |
# File 'lib/v20180608/models.rb', line 3205 def ProjectVersions @ProjectVersions end |
#RequestId ⇒ Object
3205 3206 3207 |
# File 'lib/v20180608/models.rb', line 3205 def RequestId @RequestId end |
#TotalCount ⇒ Object
3205 3206 3207 |
# File 'lib/v20180608/models.rb', line 3205 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/v20180608/models.rb', line 3213 def deserialize(params) unless params['ProjectVersions'].nil? @ProjectVersions = [] params['ProjectVersions'].each do |i| cloudbaseprojectversion_tmp = CloudBaseProjectVersion.new cloudbaseprojectversion_tmp.deserialize(i) @ProjectVersions << cloudbaseprojectversion_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |