Class: TencentCloud::Thpc::V20230321::DescribeWorkspacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeWorkspacesResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeWorkspaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spaceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeWorkspacesResponse
constructor
A new instance of DescribeWorkspacesResponse.
Constructor Details
#initialize(spaceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeWorkspacesResponse
Returns a new instance of DescribeWorkspacesResponse.
1521 1522 1523 1524 1525 |
# File 'lib/v20230321/models.rb', line 1521 def initialize(spaceset=nil, totalcount=nil, requestid=nil) @SpaceSet = spaceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1519 1520 1521 |
# File 'lib/v20230321/models.rb', line 1519 def RequestId @RequestId end |
#SpaceSet ⇒ Object
1519 1520 1521 |
# File 'lib/v20230321/models.rb', line 1519 def SpaceSet @SpaceSet end |
#TotalCount ⇒ Object
1519 1520 1521 |
# File 'lib/v20230321/models.rb', line 1519 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/v20230321/models.rb', line 1527 def deserialize(params) unless params['SpaceSet'].nil? @SpaceSet = [] params['SpaceSet'].each do |i| spaceinfo_tmp = SpaceInfo.new spaceinfo_tmp.deserialize(i) @SpaceSet << spaceinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |