Class: TencentCloud::Mongodb::V20190725::DescribeCurrentOpResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::DescribeCurrentOpResponse
- Defined in:
- lib/v20190725/models.rb
Overview
DescribeCurrentOp返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, currentops = nil, requestid = nil) ⇒ DescribeCurrentOpResponse
constructor
A new instance of DescribeCurrentOpResponse.
Constructor Details
#initialize(totalcount = nil, currentops = nil, requestid = nil) ⇒ DescribeCurrentOpResponse
Returns a new instance of DescribeCurrentOpResponse.
1939 1940 1941 1942 1943 |
# File 'lib/v20190725/models.rb', line 1939 def initialize(totalcount=nil, currentops=nil, requestid=nil) @TotalCount = totalcount @CurrentOps = currentops @RequestId = requestid end |
Instance Attribute Details
#CurrentOps ⇒ Object
1937 1938 1939 |
# File 'lib/v20190725/models.rb', line 1937 def CurrentOps @CurrentOps end |
#RequestId ⇒ Object
1937 1938 1939 |
# File 'lib/v20190725/models.rb', line 1937 def RequestId @RequestId end |
#TotalCount ⇒ Object
1937 1938 1939 |
# File 'lib/v20190725/models.rb', line 1937 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/v20190725/models.rb', line 1945 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CurrentOps'].nil? @CurrentOps = [] params['CurrentOps'].each do |i| currentop_tmp = CurrentOp.new currentop_tmp.deserialize(i) @CurrentOps << currentop_tmp end end @RequestId = params['RequestId'] end |