Class: TencentCloud::Cvm::V20170312::RebootInstancesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::RebootInstancesRequest
- Defined in:
- lib/v20170312/models.rb
Overview
RebootInstances请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceids = nil, forcereboot = nil, stoptype = nil) ⇒ RebootInstancesRequest
constructor
A new instance of RebootInstancesRequest.
Constructor Details
#initialize(instanceids = nil, forcereboot = nil, stoptype = nil) ⇒ RebootInstancesRequest
Returns a new instance of RebootInstancesRequest.
7038 7039 7040 7041 7042 |
# File 'lib/v20170312/models.rb', line 7038 def initialize(instanceids=nil, forcereboot=nil, stoptype=nil) @InstanceIds = instanceids @ForceReboot = forcereboot @StopType = stoptype end |
Instance Attribute Details
#ForceReboot ⇒ Object
7036 7037 7038 |
# File 'lib/v20170312/models.rb', line 7036 def ForceReboot @ForceReboot end |
#InstanceIds ⇒ Object
7036 7037 7038 |
# File 'lib/v20170312/models.rb', line 7036 def InstanceIds @InstanceIds end |
#StopType ⇒ Object
7036 7037 7038 |
# File 'lib/v20170312/models.rb', line 7036 def StopType @StopType end |
Instance Method Details
#deserialize(params) ⇒ Object
7044 7045 7046 7047 7048 |
# File 'lib/v20170312/models.rb', line 7044 def deserialize(params) @InstanceIds = params['InstanceIds'] @ForceReboot = params['ForceReboot'] @StopType = params['StopType'] end |