Class: TencentCloud::Thpc::V20230321::DescribeWorkspacesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeWorkspacesRequest
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeWorkspaces请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spaceids = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeWorkspacesRequest
constructor
A new instance of DescribeWorkspacesRequest.
Constructor Details
#initialize(spaceids = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeWorkspacesRequest
Returns a new instance of DescribeWorkspacesRequest.
1488 1489 1490 1491 1492 1493 |
# File 'lib/v20230321/models.rb', line 1488 def initialize(spaceids=nil, offset=nil, limit=nil, filters=nil) @SpaceIds = spaceids @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
1486 1487 1488 |
# File 'lib/v20230321/models.rb', line 1486 def Filters @Filters end |
#Limit ⇒ Object
1486 1487 1488 |
# File 'lib/v20230321/models.rb', line 1486 def Limit @Limit end |
#Offset ⇒ Object
1486 1487 1488 |
# File 'lib/v20230321/models.rb', line 1486 def Offset @Offset end |
#SpaceIds ⇒ Object
1486 1487 1488 |
# File 'lib/v20230321/models.rb', line 1486 def SpaceIds @SpaceIds end |
Instance Method Details
#deserialize(params) ⇒ Object
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'lib/v20230321/models.rb', line 1495 def deserialize(params) @SpaceIds = params['SpaceIds'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |