Class: TencentCloud::Thpc::V20220401::DescribeClusterActivitiesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DescribeClusterActivitiesResponse
- Defined in:
- lib/v20220401/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.
987 988 989 990 991 |
# File 'lib/v20220401/models.rb', line 987 def initialize(clusteractivityset=nil, totalcount=nil, requestid=nil) @ClusterActivitySet = clusteractivityset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterActivitySet ⇒ Object
985 986 987 |
# File 'lib/v20220401/models.rb', line 985 def ClusterActivitySet @ClusterActivitySet end |
#RequestId ⇒ Object
985 986 987 |
# File 'lib/v20220401/models.rb', line 985 def RequestId @RequestId end |
#TotalCount ⇒ Object
985 986 987 |
# File 'lib/v20220401/models.rb', line 985 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
993 994 995 996 997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/v20220401/models.rb', line 993 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 |