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.
4702 4703 4704 4705 4706 |
# File 'lib/v20180608/models.rb', line 4702 def initialize(envlist=nil, total=nil, requestid=nil) @EnvList = envlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#EnvList ⇒ Object
4700 4701 4702 |
# File 'lib/v20180608/models.rb', line 4700 def EnvList @EnvList end |
#RequestId ⇒ Object
4700 4701 4702 |
# File 'lib/v20180608/models.rb', line 4700 def RequestId @RequestId end |
#Total ⇒ Object
4700 4701 4702 |
# File 'lib/v20180608/models.rb', line 4700 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 |
# File 'lib/v20180608/models.rb', line 4708 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 |