Class: TencentCloud::Dcdb::V20180411::ModifyInstanceProtectedPropertyRequest

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

Overview

ModifyInstanceProtectedProperty请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, protectedproperty = nil) ⇒ ModifyInstanceProtectedPropertyRequest

Returns a new instance of ModifyInstanceProtectedPropertyRequest.



5413
5414
5415
5416
# File 'lib/v20180411/models.rb', line 5413

def initialize(instanceid=nil, protectedproperty=nil)
  @InstanceId = instanceid
  @ProtectedProperty = protectedproperty
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例Id

  • ProtectedProperty:

    0-允许删除,无销毁保护,1-禁止删除,有销毁保护



5411
5412
5413
# File 'lib/v20180411/models.rb', line 5411

def InstanceId
  @InstanceId
end

#ProtectedPropertyObject

Parameters:

  • InstanceId:

    实例Id

  • ProtectedProperty:

    0-允许删除,无销毁保护,1-禁止删除,有销毁保护



5411
5412
5413
# File 'lib/v20180411/models.rb', line 5411

def ProtectedProperty
  @ProtectedProperty
end

Instance Method Details

#deserialize(params) ⇒ Object



5418
5419
5420
5421
# File 'lib/v20180411/models.rb', line 5418

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ProtectedProperty = params['ProtectedProperty']
end