Class: TencentCloud::Tke::V20180525::DescribeClusterPendingReleasesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterPendingReleasesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterPendingReleases返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(releaseset = nil, limit = nil, offset = nil, total = nil, requestid = nil) ⇒ DescribeClusterPendingReleasesResponse
constructor
A new instance of DescribeClusterPendingReleasesResponse.
Constructor Details
#initialize(releaseset = nil, limit = nil, offset = nil, total = nil, requestid = nil) ⇒ DescribeClusterPendingReleasesResponse
Returns a new instance of DescribeClusterPendingReleasesResponse.
6783 6784 6785 6786 6787 6788 6789 |
# File 'lib/v20180525/models.rb', line 6783 def initialize(releaseset=nil, limit=nil, offset=nil, total=nil, requestid=nil) @ReleaseSet = releaseset @Limit = limit @Offset = offset @Total = total @RequestId = requestid end |
Instance Attribute Details
#Limit ⇒ Object
6781 6782 6783 |
# File 'lib/v20180525/models.rb', line 6781 def Limit @Limit end |
#Offset ⇒ Object
6781 6782 6783 |
# File 'lib/v20180525/models.rb', line 6781 def Offset @Offset end |
#ReleaseSet ⇒ Object
6781 6782 6783 |
# File 'lib/v20180525/models.rb', line 6781 def ReleaseSet @ReleaseSet end |
#RequestId ⇒ Object
6781 6782 6783 |
# File 'lib/v20180525/models.rb', line 6781 def RequestId @RequestId end |
#Total ⇒ Object
6781 6782 6783 |
# File 'lib/v20180525/models.rb', line 6781 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 |
# File 'lib/v20180525/models.rb', line 6791 def deserialize(params) unless params['ReleaseSet'].nil? @ReleaseSet = [] params['ReleaseSet'].each do |i| pendingrelease_tmp = PendingRelease.new pendingrelease_tmp.deserialize(i) @ReleaseSet << pendingrelease_tmp end end @Limit = params['Limit'] @Offset = params['Offset'] @Total = params['Total'] @RequestId = params['RequestId'] end |