Class: TencentCloud::Dbbrain::V20210527::DescribeRedisProcessListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeRedisProcessListResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeRedisProcessList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxycount = nil, processes = nil, requestid = nil) ⇒ DescribeRedisProcessListResponse
constructor
A new instance of DescribeRedisProcessListResponse.
Constructor Details
#initialize(proxycount = nil, processes = nil, requestid = nil) ⇒ DescribeRedisProcessListResponse
Returns a new instance of DescribeRedisProcessListResponse.
3710 3711 3712 3713 3714 |
# File 'lib/v20210527/models.rb', line 3710 def initialize(proxycount=nil, processes=nil, requestid=nil) @ProxyCount = proxycount @Processes = processes @RequestId = requestid end |
Instance Attribute Details
#Processes ⇒ Object
3708 3709 3710 |
# File 'lib/v20210527/models.rb', line 3708 def Processes @Processes end |
#ProxyCount ⇒ Object
3708 3709 3710 |
# File 'lib/v20210527/models.rb', line 3708 def ProxyCount @ProxyCount end |
#RequestId ⇒ Object
3708 3709 3710 |
# File 'lib/v20210527/models.rb', line 3708 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 |
# File 'lib/v20210527/models.rb', line 3716 def deserialize(params) @ProxyCount = params['ProxyCount'] unless params['Processes'].nil? @Processes = [] params['Processes'].each do |i| process_tmp = Process.new process_tmp.deserialize(i) @Processes << process_tmp end end @RequestId = params['RequestId'] end |