Class: TencentCloud::Rum::V20210622::DescribeProjectsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Rum::V20210622::DescribeProjectsResponse
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeProjects返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, projectset = nil, requestid = nil) ⇒ DescribeProjectsResponse
constructor
A new instance of DescribeProjectsResponse.
Constructor Details
#initialize(totalcount = nil, projectset = nil, requestid = nil) ⇒ DescribeProjectsResponse
Returns a new instance of DescribeProjectsResponse.
2808 2809 2810 2811 2812 |
# File 'lib/v20210622/models.rb', line 2808 def initialize(totalcount=nil, projectset=nil, requestid=nil) @TotalCount = totalcount @ProjectSet = projectset @RequestId = requestid end |
Instance Attribute Details
#ProjectSet ⇒ Object
2806 2807 2808 |
# File 'lib/v20210622/models.rb', line 2806 def ProjectSet @ProjectSet end |
#RequestId ⇒ Object
2806 2807 2808 |
# File 'lib/v20210622/models.rb', line 2806 def RequestId @RequestId end |
#TotalCount ⇒ Object
2806 2807 2808 |
# File 'lib/v20210622/models.rb', line 2806 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 |
# File 'lib/v20210622/models.rb', line 2814 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ProjectSet'].nil? @ProjectSet = [] params['ProjectSet'].each do |i| rumproject_tmp = RumProject.new rumproject_tmp.deserialize(i) @ProjectSet << rumproject_tmp end end @RequestId = params['RequestId'] end |