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.
3950 3951 3952 3953 3954 |
# File 'lib/v20180608/models.rb', line 3950 def initialize(projectversions=nil, totalcount=nil, requestid=nil) @ProjectVersions = projectversions @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ProjectVersions ⇒ Object
3948 3949 3950 |
# File 'lib/v20180608/models.rb', line 3948 def ProjectVersions @ProjectVersions end |
#RequestId ⇒ Object
3948 3949 3950 |
# File 'lib/v20180608/models.rb', line 3948 def RequestId @RequestId end |
#TotalCount ⇒ Object
3948 3949 3950 |
# File 'lib/v20180608/models.rb', line 3948 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 |
# File 'lib/v20180608/models.rb', line 3956 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 |