Class: TencentCloud::Lighthouse::V20200324::StopInstancesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

StopInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceids = nil, stoptype = nil) ⇒ StopInstancesRequest

Returns a new instance of StopInstancesRequest.



8489
8490
8491
8492
# File 'lib/v20200324/models.rb', line 8489

def initialize(instanceids=nil, stoptype=nil)
  @InstanceIds = instanceids
  @StopType = stoptype
end

Instance Attribute Details

#InstanceIdsObject

默认取值:SOFT_FIRST



8487
8488
8489
# File 'lib/v20200324/models.rb', line 8487

def InstanceIds
  @InstanceIds
end

#StopTypeObject

默认取值:SOFT_FIRST



8487
8488
8489
# File 'lib/v20200324/models.rb', line 8487

def StopType
  @StopType
end

Instance Method Details

#deserialize(params) ⇒ Object



8494
8495
8496
8497
# File 'lib/v20200324/models.rb', line 8494

def deserialize(params)
  @InstanceIds = params['InstanceIds']
  @StopType = params['StopType']
end