Class: TencentCloud::Cme::V20191029::DescribeProjectsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribeProjectsResponse
- Defined in:
- lib/v20191029/models.rb
Overview
DescribeProjects返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, projectinfoset = nil, requestid = nil) ⇒ DescribeProjectsResponse
constructor
A new instance of DescribeProjectsResponse.
Constructor Details
#initialize(totalcount = nil, projectinfoset = nil, requestid = nil) ⇒ DescribeProjectsResponse
Returns a new instance of DescribeProjectsResponse.
1612 1613 1614 1615 1616 |
# File 'lib/v20191029/models.rb', line 1612 def initialize(totalcount=nil, projectinfoset=nil, requestid=nil) @TotalCount = totalcount @ProjectInfoSet = projectinfoset @RequestId = requestid end |
Instance Attribute Details
#ProjectInfoSet ⇒ Object
1610 1611 1612 |
# File 'lib/v20191029/models.rb', line 1610 def ProjectInfoSet @ProjectInfoSet end |
#RequestId ⇒ Object
1610 1611 1612 |
# File 'lib/v20191029/models.rb', line 1610 def RequestId @RequestId end |
#TotalCount ⇒ Object
1610 1611 1612 |
# File 'lib/v20191029/models.rb', line 1610 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 |
# File 'lib/v20191029/models.rb', line 1618 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ProjectInfoSet'].nil? @ProjectInfoSet = [] params['ProjectInfoSet'].each do |i| projectinfo_tmp = ProjectInfo.new projectinfo_tmp.deserialize(i) @ProjectInfoSet << projectinfo_tmp end end @RequestId = params['RequestId'] end |