Class: TencentCloud::Solar::V20181011::DescribeProjectsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Solar::V20181011::DescribeProjectsResponse
- Defined in:
- lib/v20181011/models.rb
Overview
DescribeProjects返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeProjectsResponse
constructor
A new instance of DescribeProjectsResponse.
Constructor Details
#initialize(projectlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeProjectsResponse
Returns a new instance of DescribeProjectsResponse.
812 813 814 815 816 |
# File 'lib/v20181011/models.rb', line 812 def initialize(projectlist=nil, totalcount=nil, requestid=nil) @ProjectList = projectlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ProjectList ⇒ Object
810 811 812 |
# File 'lib/v20181011/models.rb', line 810 def ProjectList @ProjectList end |
#RequestId ⇒ Object
810 811 812 |
# File 'lib/v20181011/models.rb', line 810 def RequestId @RequestId end |
#TotalCount ⇒ Object
810 811 812 |
# File 'lib/v20181011/models.rb', line 810 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'lib/v20181011/models.rb', line 818 def deserialize(params) unless params['ProjectList'].nil? @ProjectList = [] params['ProjectList'].each do |i| projectinfo_tmp = ProjectInfo.new projectinfo_tmp.deserialize(i) @ProjectList << projectinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |