Class: TencentCloud::Yunjing::V20180228::DescribeProcessesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeProcessesResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeProcesses返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, processes = nil, requestid = nil) ⇒ DescribeProcessesResponse
constructor
A new instance of DescribeProcessesResponse.
Constructor Details
#initialize(totalcount = nil, processes = nil, requestid = nil) ⇒ DescribeProcessesResponse
Returns a new instance of DescribeProcessesResponse.
3259 3260 3261 3262 3263 |
# File 'lib/v20180228/models.rb', line 3259 def initialize(totalcount=nil, processes=nil, requestid=nil) @TotalCount = totalcount @Processes = processes @RequestId = requestid end |
Instance Attribute Details
#Processes ⇒ Object
3257 3258 3259 |
# File 'lib/v20180228/models.rb', line 3257 def Processes @Processes end |
#RequestId ⇒ Object
3257 3258 3259 |
# File 'lib/v20180228/models.rb', line 3257 def RequestId @RequestId end |
#TotalCount ⇒ Object
3257 3258 3259 |
# File 'lib/v20180228/models.rb', line 3257 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 |
# File 'lib/v20180228/models.rb', line 3265 def deserialize(params) @TotalCount = params['TotalCount'] 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 |