Class: TencentCloud::Ecm::V20190719::ResetInstancesRequest

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

Overview

ResetInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceidset = nil, imageid = nil, password = nil, enhancedservice = nil, keepdata = nil, keepimagelogin = nil) ⇒ ResetInstancesRequest

Returns a new instance of ResetInstancesRequest.



9774
9775
9776
9777
9778
9779
9780
9781
# File 'lib/v20190719/models.rb', line 9774

def initialize(instanceidset=nil, imageid=nil, password=nil, enhancedservice=nil, keepdata=nil, keepimagelogin=nil)
  @InstanceIdSet = instanceidset
  @ImageId = imageid
  @Password = password
  @EnhancedService = enhancedservice
  @KeepData = keepdata
  @KeepImageLogin = keepimagelogin
end

Instance Attribute Details

#EnhancedServiceObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def EnhancedService
  @EnhancedService
end

#ImageIdObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def ImageId
  @ImageId
end

#InstanceIdSetObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def InstanceIdSet
  @InstanceIdSet
end

#KeepDataObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def KeepData
  @KeepData
end

#KeepImageLoginObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def KeepImageLogin
  @KeepImageLogin
end

#PasswordObject

默认取值:FALSE。注意:此字段可能返回 null,表示取不到有效值。



9772
9773
9774
# File 'lib/v20190719/models.rb', line 9772

def Password
  @Password
end

Instance Method Details

#deserialize(params) ⇒ Object



9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
# File 'lib/v20190719/models.rb', line 9783

def deserialize(params)
  @InstanceIdSet = params['InstanceIdSet']
  @ImageId = params['ImageId']
  @Password = params['Password']
  unless params['EnhancedService'].nil?
    @EnhancedService = EnhancedService.new
    @EnhancedService.deserialize(params['EnhancedService'])
  end
  @KeepData = params['KeepData']
  @KeepImageLogin = params['KeepImageLogin']
end