Class: TencentCloud::Tcb::V20180608::RunSqlRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::RunSqlRequest
- Defined in:
- lib/v20180608/models.rb
Overview
RunSql请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sql = nil, envid = nil, dbinstance = nil, readonly = nil) ⇒ RunSqlRequest
constructor
A new instance of RunSqlRequest.
Constructor Details
#initialize(sql = nil, envid = nil, dbinstance = nil, readonly = nil) ⇒ RunSqlRequest
Returns a new instance of RunSqlRequest.
8442 8443 8444 8445 8446 8447 |
# File 'lib/v20180608/models.rb', line 8442 def initialize(sql=nil, envid=nil, dbinstance=nil, readonly=nil) @Sql = sql @EnvId = envid @DbInstance = dbinstance @ReadOnly = readonly end |
Instance Attribute Details
#DbInstance ⇒ Object
8440 8441 8442 |
# File 'lib/v20180608/models.rb', line 8440 def DbInstance @DbInstance end |
#EnvId ⇒ Object
8440 8441 8442 |
# File 'lib/v20180608/models.rb', line 8440 def EnvId @EnvId end |
#ReadOnly ⇒ Object
8440 8441 8442 |
# File 'lib/v20180608/models.rb', line 8440 def ReadOnly @ReadOnly end |
#Sql ⇒ Object
8440 8441 8442 |
# File 'lib/v20180608/models.rb', line 8440 def Sql @Sql end |
Instance Method Details
#deserialize(params) ⇒ Object
8449 8450 8451 8452 8453 8454 8455 8456 8457 |
# File 'lib/v20180608/models.rb', line 8449 def deserialize(params) @Sql = params['Sql'] @EnvId = params['EnvId'] unless params['DbInstance'].nil? @DbInstance = DbInstance.new @DbInstance.deserialize(params['DbInstance']) end @ReadOnly = params['ReadOnly'] end |