Class: TencentCloud::Iecp::V20210914::DescribeEdgeUnitNodeGroupResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::DescribeEdgeUnitNodeGroupResponse
- Defined in:
- lib/v20210914/models.rb
Overview
DescribeEdgeUnitNodeGroup返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, nodegroupinfo = nil, requestid = nil) ⇒ DescribeEdgeUnitNodeGroupResponse
constructor
A new instance of DescribeEdgeUnitNodeGroupResponse.
Constructor Details
#initialize(total = nil, nodegroupinfo = nil, requestid = nil) ⇒ DescribeEdgeUnitNodeGroupResponse
Returns a new instance of DescribeEdgeUnitNodeGroupResponse.
2958 2959 2960 2961 2962 |
# File 'lib/v20210914/models.rb', line 2958 def initialize(total=nil, nodegroupinfo=nil, requestid=nil) @Total = total @NodeGroupInfo = nodegroupinfo @RequestId = requestid end |
Instance Attribute Details
#NodeGroupInfo ⇒ Object
2956 2957 2958 |
# File 'lib/v20210914/models.rb', line 2956 def NodeGroupInfo @NodeGroupInfo end |
#RequestId ⇒ Object
2956 2957 2958 |
# File 'lib/v20210914/models.rb', line 2956 def RequestId @RequestId end |
#Total ⇒ Object
2956 2957 2958 |
# File 'lib/v20210914/models.rb', line 2956 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 |
# File 'lib/v20210914/models.rb', line 2964 def deserialize(params) @Total = params['Total'] unless params['NodeGroupInfo'].nil? @NodeGroupInfo = [] params['NodeGroupInfo'].each do |i| nodegroupinfo_tmp = NodeGroupInfo.new nodegroupinfo_tmp.deserialize(i) @NodeGroupInfo << nodegroupinfo_tmp end end @RequestId = params['RequestId'] end |