Class: TencentCloud::Cdb::V20170320::ModifyDBInstanceReadOnlyStatusRequest

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

Overview

ModifyDBInstanceReadOnlyStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, readonly = nil) ⇒ ModifyDBInstanceReadOnlyStatusRequest

Returns a new instance of ModifyDBInstanceReadOnlyStatusRequest.



10963
10964
10965
10966
# File 'lib/v20170320/models.rb', line 10963

def initialize(instanceid=nil, readonly=nil)
  @InstanceId = instanceid
  @ReadOnly = readonly
end

Instance Attribute Details

#InstanceIdObject

Parameters:



10961
10962
10963
# File 'lib/v20170320/models.rb', line 10961

def InstanceId
  @InstanceId
end

#ReadOnlyObject

Parameters:



10961
10962
10963
# File 'lib/v20170320/models.rb', line 10961

def ReadOnly
  @ReadOnly
end

Instance Method Details

#deserialize(params) ⇒ Object



10968
10969
10970
10971
# File 'lib/v20170320/models.rb', line 10968

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