Class: TencentCloud::Teo::V20220901::DescribeEnvironmentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeEnvironmentsResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribeEnvironments返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, envinfos = nil, requestid = nil) ⇒ DescribeEnvironmentsResponse
constructor
A new instance of DescribeEnvironmentsResponse.
Constructor Details
#initialize(totalcount = nil, envinfos = nil, requestid = nil) ⇒ DescribeEnvironmentsResponse
Returns a new instance of DescribeEnvironmentsResponse.
8600 8601 8602 8603 8604 |
# File 'lib/v20220901/models.rb', line 8600 def initialize(totalcount=nil, envinfos=nil, requestid=nil) @TotalCount = totalcount @EnvInfos = envinfos @RequestId = requestid end |
Instance Attribute Details
#EnvInfos ⇒ Object
8598 8599 8600 |
# File 'lib/v20220901/models.rb', line 8598 def EnvInfos @EnvInfos end |
#RequestId ⇒ Object
8598 8599 8600 |
# File 'lib/v20220901/models.rb', line 8598 def RequestId @RequestId end |
#TotalCount ⇒ Object
8598 8599 8600 |
# File 'lib/v20220901/models.rb', line 8598 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 |
# File 'lib/v20220901/models.rb', line 8606 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EnvInfos'].nil? @EnvInfos = [] params['EnvInfos'].each do |i| envinfo_tmp = EnvInfo.new envinfo_tmp.deserialize(i) @EnvInfos << envinfo_tmp end end @RequestId = params['RequestId'] end |