Class: TencentCloud::Cdb::V20170320::ModifyDBInstanceReadOnlyStatusRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyDBInstanceReadOnlyStatusRequest
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyDBInstanceReadOnlyStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, readonly = nil) ⇒ ModifyDBInstanceReadOnlyStatusRequest
constructor
A new instance of ModifyDBInstanceReadOnlyStatusRequest.
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
#InstanceId ⇒ Object
10961 10962 10963 |
# File 'lib/v20170320/models.rb', line 10961 def InstanceId @InstanceId end |
#ReadOnly ⇒ Object
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 |