Class: TencentCloud::Dcdb::V20180411::DescribeProjectsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::DescribeProjectsResponse
- Defined in:
- lib/v20180411/models.rb
Overview
DescribeProjects返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projects = nil, requestid = nil) ⇒ DescribeProjectsResponse
constructor
A new instance of DescribeProjectsResponse.
Constructor Details
#initialize(projects = nil, requestid = nil) ⇒ DescribeProjectsResponse
Returns a new instance of DescribeProjectsResponse.
3976 3977 3978 3979 |
# File 'lib/v20180411/models.rb', line 3976 def initialize(projects=nil, requestid=nil) @Projects = projects @RequestId = requestid end |
Instance Attribute Details
#Projects ⇒ Object
3974 3975 3976 |
# File 'lib/v20180411/models.rb', line 3974 def Projects @Projects end |
#RequestId ⇒ Object
3974 3975 3976 |
# File 'lib/v20180411/models.rb', line 3974 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 |
# File 'lib/v20180411/models.rb', line 3981 def deserialize(params) unless params['Projects'].nil? @Projects = [] params['Projects'].each do |i| project_tmp = Project.new project_tmp.deserialize(i) @Projects << project_tmp end end @RequestId = params['RequestId'] end |