Class: TencentCloud::Tdmq::V20200217::DescribeEnvironmentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeEnvironmentsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeEnvironments返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, environmentset = nil, requestid = nil) ⇒ DescribeEnvironmentsResponse
constructor
A new instance of DescribeEnvironmentsResponse.
Constructor Details
#initialize(totalcount = nil, environmentset = nil, requestid = nil) ⇒ DescribeEnvironmentsResponse
Returns a new instance of DescribeEnvironmentsResponse.
4293 4294 4295 4296 4297 |
# File 'lib/v20200217/models.rb', line 4293 def initialize(totalcount=nil, environmentset=nil, requestid=nil) @TotalCount = totalcount @EnvironmentSet = environmentset @RequestId = requestid end |
Instance Attribute Details
#EnvironmentSet ⇒ Object
4291 4292 4293 |
# File 'lib/v20200217/models.rb', line 4291 def EnvironmentSet @EnvironmentSet end |
#RequestId ⇒ Object
4291 4292 4293 |
# File 'lib/v20200217/models.rb', line 4291 def RequestId @RequestId end |
#TotalCount ⇒ Object
4291 4292 4293 |
# File 'lib/v20200217/models.rb', line 4291 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 |
# File 'lib/v20200217/models.rb', line 4299 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EnvironmentSet'].nil? @EnvironmentSet = [] params['EnvironmentSet'].each do |i| environment_tmp = Environment.new environment_tmp.deserialize(i) @EnvironmentSet << environment_tmp end end @RequestId = params['RequestId'] end |