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.
1803 1804 1805 1806 1807 |
# File 'lib/v20230321/models.rb', line 1803 def initialize(spaceset=nil, totalcount=nil, requestid=nil) @SpaceSet = spaceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1801 1802 1803 |
# File 'lib/v20230321/models.rb', line 1801 def RequestId @RequestId end |
#SpaceSet ⇒ Object
1801 1802 1803 |
# File 'lib/v20230321/models.rb', line 1801 def SpaceSet @SpaceSet end |
#TotalCount ⇒ Object
1801 1802 1803 |
# File 'lib/v20230321/models.rb', line 1801 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 |
# File 'lib/v20230321/models.rb', line 1809 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 |