Class: TencentCloud::Thpc::V20230321::DescribeClusterActivitiesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeClusterActivitiesResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeClusterActivities返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusteractivityset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterActivitiesResponse
constructor
A new instance of DescribeClusterActivitiesResponse.
Constructor Details
#initialize(clusteractivityset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterActivitiesResponse
Returns a new instance of DescribeClusterActivitiesResponse.
1179 1180 1181 1182 1183 |
# File 'lib/v20230321/models.rb', line 1179 def initialize(clusteractivityset=nil, totalcount=nil, requestid=nil) @ClusterActivitySet = clusteractivityset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterActivitySet ⇒ Object
1177 1178 1179 |
# File 'lib/v20230321/models.rb', line 1177 def ClusterActivitySet @ClusterActivitySet end |
#RequestId ⇒ Object
1177 1178 1179 |
# File 'lib/v20230321/models.rb', line 1177 def RequestId @RequestId end |
#TotalCount ⇒ Object
1177 1178 1179 |
# File 'lib/v20230321/models.rb', line 1177 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 |
# File 'lib/v20230321/models.rb', line 1185 def deserialize(params) unless params['ClusterActivitySet'].nil? @ClusterActivitySet = [] params['ClusterActivitySet'].each do |i| clusteractivity_tmp = ClusterActivity.new clusteractivity_tmp.deserialize(i) @ClusterActivitySet << clusteractivity_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |