Class: TencentCloud::Mongodb::V20190725::Operation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::Operation
- Defined in:
- lib/v20190725/models.rb
Overview
需要终止的操作。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(replicasetname = nil, nodename = nil, opid = nil) ⇒ Operation
constructor
A new instance of Operation.
Constructor Details
#initialize(replicasetname = nil, nodename = nil, opid = nil) ⇒ Operation
Returns a new instance of Operation.
5304 5305 5306 5307 5308 |
# File 'lib/v20190725/models.rb', line 5304 def initialize(replicasetname=nil, nodename=nil, opid=nil) @ReplicaSetName = replicasetname @NodeName = nodename @OpId = opid end |
Instance Attribute Details
#NodeName ⇒ Object
5302 5303 5304 |
# File 'lib/v20190725/models.rb', line 5302 def NodeName @NodeName end |
#OpId ⇒ Object
5302 5303 5304 |
# File 'lib/v20190725/models.rb', line 5302 def OpId @OpId end |
#ReplicaSetName ⇒ Object
5302 5303 5304 |
# File 'lib/v20190725/models.rb', line 5302 def ReplicaSetName @ReplicaSetName end |
Instance Method Details
#deserialize(params) ⇒ Object
5310 5311 5312 5313 5314 |
# File 'lib/v20190725/models.rb', line 5310 def deserialize(params) @ReplicaSetName = params['ReplicaSetName'] @NodeName = params['NodeName'] @OpId = params['OpId'] end |