Class: TencentCloud::Tcb::V20180608::DescribeEnvsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeEnvsResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeEnvs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(envlist = nil, total = nil, requestid = nil) ⇒ DescribeEnvsResponse
constructor
A new instance of DescribeEnvsResponse.
Constructor Details
#initialize(envlist = nil, total = nil, requestid = nil) ⇒ DescribeEnvsResponse
Returns a new instance of DescribeEnvsResponse.
5184 5185 5186 5187 5188 |
# File 'lib/v20180608/models.rb', line 5184 def initialize(envlist=nil, total=nil, requestid=nil) @EnvList = envlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#EnvList ⇒ Object
5182 5183 5184 |
# File 'lib/v20180608/models.rb', line 5182 def EnvList @EnvList end |
#RequestId ⇒ Object
5182 5183 5184 |
# File 'lib/v20180608/models.rb', line 5182 def RequestId @RequestId end |
#Total ⇒ Object
5182 5183 5184 |
# File 'lib/v20180608/models.rb', line 5182 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 |
# File 'lib/v20180608/models.rb', line 5190 def deserialize(params) unless params['EnvList'].nil? @EnvList = [] params['EnvList'].each do |i| envinfo_tmp = EnvInfo.new envinfo_tmp.deserialize(i) @EnvList << envinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |